v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1448206184.6 KB

Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have been run recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status.

post/#X-Amz-Target=Logs_20140328.DescribeQueries

Headers

X-Amz-Target'Logs_20140328.DescribeQueries' required

Request body

logGroupNamestring

Limits the returned queries to only those for the specified log group.

status'Scheduled' | 'Running' | 'Complete' | 'Failed' | 'Cancelled' | 'Timeout' | 'Unknown'

Limits the returned queries to only those that have the specified status. Valid values are <code>Cancelled</code>, <code>Complete</code>, <code>Failed</code>, <code>Running</code>, and <code>Scheduled</code>.

maxResultsinteger

Limits the number of returned queries to the specified number.

nextTokenstring

The token for the next set of items to return. The token expires after 24 hours.

Response

Success

nextTokenstring

The token for the next set of items to return. The token expires after 24 hours.