Skip to content

ListQueriesRequest

Source code in docs_src/capo_cloudtrail/types/list_queries_request.py
class ListQueriesRequest(TypedDict, closed=True):
    event_data_store: "capo_cloudtrail.types.event_data_store_arn.EventDataStoreArn"
    """<p>The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.</p>"""
    next_token: NotRequired["capo_cloudtrail.types.pagination_token.PaginationToken"]
    """<p>A token you can use to get the next page of results.</p>"""
    max_results: NotRequired[
        "capo_cloudtrail.types.list_queries_max_results_count.ListQueriesMaxResultsCount"
    ]
    """<p>The maximum number of queries to show on a page.</p>"""
    start_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>Use with <code>EndTime</code> to bound a <code>ListQueries</code> request, and limit its results to only those queries run within a specified time period.</p>"""
    end_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>Use with <code>StartTime</code> to bound a <code>ListQueries</code> request, and limit its results to only those queries run within a specified time period.</p>"""
    query_status: NotRequired["capo_cloudtrail.types.query_status.QueryStatus"]
    """<p>The status of queries that you want to return in results. Valid values for <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>, <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>"""

end_time instance-attribute

end_time: NotRequired[Date]

Use with StartTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.

event_data_store instance-attribute

event_data_store: EventDataStoreArn

The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.

max_results instance-attribute

max_results: NotRequired[ListQueriesMaxResultsCount]

The maximum number of queries to show on a page.

next_token instance-attribute

next_token: NotRequired[PaginationToken]

A token you can use to get the next page of results.

query_status instance-attribute

query_status: NotRequired[QueryStatus]

The status of queries that you want to return in results. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.

start_time instance-attribute

start_time: NotRequired[Date]

Use with EndTime to bound a ListQueries request, and limit its results to only those queries run within a specified time period.