ListScheduledQueries - Amazon Timestream


Gets a list of all scheduled queries in the caller's Amazon account and Region. ListScheduledQueries is eventually consistent.

Request Syntax

{ "MaxResults": number, "NextToken": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


The maximum number of items to return in the output. If the total number of items available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as the argument to the subsequent call to ListScheduledQueriesRequest.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 1000.

Required: No


A pagination token to resume pagination.

Type: String

Required: No

Response Syntax

{ "NextToken": "string", "ScheduledQueries": [ { "Arn": "string", "CreationTime": number, "ErrorReportConfiguration": { "S3Configuration": { "BucketName": "string", "EncryptionOption": "string", "ObjectKeyPrefix": "string" } }, "LastRunStatus": "string", "Name": "string", "NextInvocationTime": number, "PreviousInvocationTime": number, "State": "string", "TargetDestination": { "TimestreamDestination": { "DatabaseName": "string", "TableName": "string" } } } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


A token to specify where to start paginating. This is the NextToken from a previously truncated response.

Type: String


A list of scheduled queries.

Type: Array of ScheduledQuery objects


For information about the errors that are common to all actions, see Common Errors.


You are not authorized to perform this action.

HTTP Status Code: 400


Timestream was unable to fully process this request because of an internal server error.

HTTP Status Code: 400


The requested endpoint was not valid.

HTTP Status Code: 400


The request was denied due to request throttling.

HTTP Status Code: 400


Invalid or malformed request.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: