Smaws_Client_CloudTrail.ListQueries
val request :
Smaws_Lib.Context.t ->
list_queries_request ->
(list_queries_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
| `InvalidDateRangeException of invalid_date_range_exception
| `InvalidMaxResultsException of invalid_max_results_exception
| `InvalidNextTokenException of invalid_next_token_exception
| `InvalidParameterException of invalid_parameter_exception
| `InvalidQueryStatusException of invalid_query_status_exception
| `NoManagementAccountSLRExistsException of
no_management_account_slr_exists_exception
| `OperationNotPermittedException of operation_not_permitted_exception
| `UnsupportedOperationException of unsupported_operation_exception ])
Stdlib.result
Returns a list of queries and query statuses for the past seven days. You must specify an ARN value for EventDataStore
. Optionally, to shorten the list of results, you can specify a time range, formatted as timestamps, by adding StartTime
and EndTime
parameters, and a QueryStatus
value. Valid values for QueryStatus
include QUEUED
, RUNNING
, FINISHED
, FAILED
, TIMED_OUT
, or CANCELLED
.