Skip to content

GetQueryResultsRequest

Source code in docs_src/capo_cloudwatch_logs/types/get_query_results_request.py
class GetQueryResultsRequest(TypedDict, closed=True):
    query_id: "capo_cloudwatch_logs.types.query_id.QueryId"
    """<p>The ID number of the query.</p>"""
    next_token: NotRequired[
        "capo_cloudwatch_logs.types.get_query_results_next_token.GetQueryResultsNextToken"
    ]
    """<p>The token for the next set of items to return. The token expires after 1 hour.</p>"""
    max_items: NotRequired[
        "capo_cloudwatch_logs.types.get_query_results_max_items.GetQueryResultsMaxItems"
    ]
    """<p>The maximum number of log events to return in the response. The maximum is 10,000 log events per request. You can retrieve up to 100,000 log event results from a query by paginating with the <code>nextToken</code>.</p>"""

max_items instance-attribute

max_items: NotRequired[GetQueryResultsMaxItems]

The maximum number of log events to return in the response. The maximum is 10,000 log events per request. You can retrieve up to 100,000 log event results from a query by paginating with the nextToken.

next_token instance-attribute

next_token: NotRequired[GetQueryResultsNextToken]

The token for the next set of items to return. The token expires after 1 hour.

query_id instance-attribute

query_id: QueryId

The ID number of the query.