TimestreamQuery.Paginator.
ListScheduledQueries
¶paginator = client.get_paginator('list_scheduled_queries')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from TimestreamQuery.Client.list_scheduled_queries()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
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.
{
'ScheduledQueries': [
{
'Arn': 'string',
'Name': 'string',
'CreationTime': datetime(2015, 1, 1),
'State': 'ENABLED'|'DISABLED',
'PreviousInvocationTime': datetime(2015, 1, 1),
'NextInvocationTime': datetime(2015, 1, 1),
'ErrorReportConfiguration': {
'S3Configuration': {
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'EncryptionOption': 'SSE_S3'|'SSE_KMS'
}
},
'TargetDestination': {
'TimestreamDestination': {
'DatabaseName': 'string',
'TableName': 'string'
}
},
'LastRunStatus': 'AUTO_TRIGGER_SUCCESS'|'AUTO_TRIGGER_FAILURE'|'MANUAL_TRIGGER_SUCCESS'|'MANUAL_TRIGGER_FAILURE'
},
],
}
Response Structure
A list of scheduled queries.
Scheduled Query
The Amazon Resource Name.
The name of the scheduled query.
The creation time of the scheduled query.
State of scheduled query.
The last time the scheduled query was run.
The next time the scheduled query is to be run.
Configuration for scheduled query error reporting.
The S3 configuration for the error reports.
Name of the S3 bucket under which error reports will be created.
Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
Target data source where final scheduled query result will be written.
Query result destination details for Timestream data source.
Timestream database name.
Timestream table name.
Status of the last scheduled query run.