Smaws_Client_CloudTrail.DescribeQuery
Returns metadata about a query, including query run time in milliseconds, number of events scanned and matched, and query status. If the query results were delivered to an S3 bucket, the response also provides the S3 URI and the delivery status.
You must specify either QueryId
or QueryAlias
. Specifying the QueryAlias
parameter returns information about the last query run for the alias. You can provide RefreshId
along with QueryAlias
to view the query results of a dashboard query for the specified RefreshId
.
val request :
Smaws_Lib.Context.t ->
Types.describe_query_request ->
(Types.describe_query_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `EventDataStoreARNInvalidException of
Types.event_data_store_arn_invalid_exception
| `EventDataStoreNotFoundException of
Types.event_data_store_not_found_exception
| `InactiveEventDataStoreException of
Types.inactive_event_data_store_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NoManagementAccountSLRExistsException of
Types.no_management_account_slr_exists_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `QueryIdNotFoundException of Types.query_id_not_found_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ])
Stdlib.result