Skip to main content

objects

Creates, updates, deletes, gets or lists an objects resource.

Overview

Nameobjects
TypeResource
Idaws.datapipeline.objects

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the object. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
namestringThe name of the object. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
fieldsarrayKey-value pairs that define the properties of the object.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_objectsselectregionGets the object definitions for a set of objects associated with the pipeline. Object definitions are composed of a set of fields that define the properties of the object.
query_objectsexecregion, pipelineId, sphereQueries the specified pipeline for the names of objects that match the specified set of conditions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the object definitions for a set of objects associated with the pipeline. Object definitions are composed of a set of fields that define the properties of the object.

SELECT
id,
name,
fields
FROM aws.datapipeline.objects
WHERE region = '{{ region }}' -- required
;

Lifecycle Methods

Queries the specified pipeline for the names of objects that match the specified set of conditions.

EXEC aws.datapipeline.objects.query_objects
@region='{{ region }}' --required
@@json=
'{
"pipelineId": "{{ pipelineId }}",
"query": "{{ query }}",
"sphere": "{{ sphere }}",
"marker": "{{ marker }}",
"limit": {{ limit }}
}'
;