Lists all scheduled queries in your account and region¶
Description¶
Lists all scheduled queries in your account and region. You can filter results by state to show only enabled or disabled queries.
Usage¶
Arguments¶
-
maxResultsThe maximum number of scheduled queries to return. Valid range is 1 to 1000.
-
nextTokenThe token for the next set of items to return. The token expires after 24 hours.
-
stateFilter scheduled queries by state. Valid values are
ENABLEDandDISABLED. If not specified, all scheduled queries are returned. -
scheduleTypeFilter scheduled queries by schedule type. Valid values are
CUSTOMER_MANAGEDandAWS_MANAGED. If not specified, scheduled queries of all schedule types are returned.
Value¶
A list with the following syntax:
list(
nextToken = "string",
scheduledQueries = list(
list(
scheduledQueryArn = "string",
name = "string",
state = "ENABLED"|"DISABLED",
scheduleType = "CUSTOMER_MANAGED"|"AWS_MANAGED",
lastTriggeredTime = 123,
lastExecutionStatus = "Running"|"InvalidQuery"|"Complete"|"Failed"|"Timeout",
scheduleExpression = "string",
timezone = "string",
destinationConfiguration = list(
s3Configuration = list(
destinationIdentifier = "string",
roleArn = "string",
ownerAccountId = "string",
kmsKeyId = "string"
),
lookupTableConfiguration = list(
tableName = "string",
roleArn = "string",
description = "string",
kmsKeyId = "string",
tags = list(
"string"
)
)
),
creationTime = 123,
lastUpdatedTime = 123
)
)
)