Skip to content

DescribeQueriesRequest

Source code in docs_src/capo_cloudwatch_logs/types/describe_queries_request.py
class DescribeQueriesRequest(TypedDict, closed=True):
    log_group_name: NotRequired[
        "capo_cloudwatch_logs.types.log_group_name.LogGroupName"
    ]
    """<p>Limits the returned queries to only those for the specified log group.</p>"""
    status: NotRequired["capo_cloudwatch_logs.types.query_status.QueryStatus"]
    """<p>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>.</p>"""
    max_results: NotRequired[
        "capo_cloudwatch_logs.types.describe_queries_max_results.DescribeQueriesMaxResults"
    ]
    """<p>Limits the number of returned queries to the specified number.</p>"""
    next_token: NotRequired["capo_cloudwatch_logs.types.next_token.NextToken"]
    query_language: NotRequired[
        "capo_cloudwatch_logs.types.query_language.QueryLanguage"
    ]
    """<p>Limits the returned queries to only the queries that use the specified query language.</p>"""

log_group_name instance-attribute

log_group_name: NotRequired[LogGroupName]

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

max_results instance-attribute

max_results: NotRequired[DescribeQueriesMaxResults]

Limits the number of returned queries to the specified number.

next_token instance-attribute

next_token: NotRequired[NextToken]

query_language instance-attribute

query_language: NotRequired[QueryLanguage]

Limits the returned queries to only the queries that use the specified query language.

status instance-attribute

status: NotRequired[QueryStatus]

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