DataPipeline.Paginator.
QueryObjects
¶paginator = client.get_paginator('query_objects')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from DataPipeline.Client.query_objects()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
pipelineId='string',
query={
'selectors': [
{
'fieldName': 'string',
'operator': {
'type': 'EQ'|'REF_EQ'|'LE'|'GE'|'BETWEEN',
'values': [
'string',
]
}
},
]
},
sphere='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the pipeline.
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors. The conditions in the query are limited to top-level String fields in the object. These filters can be applied to components, instances, and attempts.
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
A comparision that is used to determine whether a query should return this object.
The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.
Contains a logical operation for comparing the value of a field with a specified value.
The logical operation to be performed: equal ( EQ
), equal reference ( REF_EQ
), less than or equal ( LE
), greater than or equal ( GE
), or between ( BETWEEN
). Equal reference ( REF_EQ
) can be used only with reference fields. The other comparison types can be used only with String fields. The comparison types you can use apply only to certain object fields, as detailed below.
The comparison operators EQ and REF_EQ act on the following fields:
The comparison operators GE
, LE
, and BETWEEN
act on the following fields:
Note that fields beginning with the at sign (@) are read-only and set by the web service. When you name fields, you should choose names containing only alpha-numeric values, as symbols may be reserved by AWS Data Pipeline. User-defined fields that you add to a pipeline should prefix their name with the string "my".
The value that the actual field value will be compared with.
[REQUIRED]
Indicates whether the query applies to components or instances. The possible values are: COMPONENT
, INSTANCE
, and ATTEMPT
.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'ids': [
'string',
],
'hasMoreResults': True|False,
'NextToken': 'string'
}
Response Structure
(dict) --
Contains the output of QueryObjects.
ids (list) --
The identifiers that match the query selectors.
hasMoreResults (boolean) --
Indicates whether there are more results that can be obtained by a subsequent call.
NextToken (string) --
A token to resume pagination.