Skip to content

CloudTrail  >  Structures  >  QueryStatisticsForDescribeQuery

QueryStatisticsForDescribeQuery

Structure Class

QueryStatisticsForDescribeQuery dataclass

Gets metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.

Attributes

bytes_scanned class-attribute instance-attribute
bytes_scanned: int | None = None

The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.

creation_time class-attribute instance-attribute
creation_time: datetime | None = None

The creation time of the query.

events_matched class-attribute instance-attribute
events_matched: int | None = None

The number of events that matched a query.

events_scanned class-attribute instance-attribute
events_scanned: int | None = None

The number of events that the query scanned in the event data store.

execution_time_in_millis class-attribute instance-attribute
execution_time_in_millis: int | None = None

The query's run time, in milliseconds.