Smaws_Client_CloudTrail.DescribeQuery
val request :
Smaws_Lib.Context.t ->
describe_query_request ->
(describe_query_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `EventDataStoreARNInvalidException of
event_data_store_arn_invalid_exception
| `EventDataStoreNotFoundException of event_data_store_not_found_exception
| `InactiveEventDataStoreException of inactive_event_data_store_exception
| `InvalidParameterException of invalid_parameter_exception
| `NoManagementAccountSLRExistsException of
no_management_account_slr_exists_exception
| `OperationNotPermittedException of operation_not_permitted_exception
| `QueryIdNotFoundException of query_id_not_found_exception
| `UnsupportedOperationException of unsupported_operation_exception ])
Stdlib.result
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 a QueryID
or a QueryAlias
. Specifying the QueryAlias
parameter returns information about the last query run for the alias.