Module Smaws_Client_CloudWatchLogs.DescribeQueries

Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have been run recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status.

This operation includes both interactive queries started directly by users and automated queries executed by scheduled query configurations. Scheduled query executions appear in the results alongside manually initiated queries, providing visibility into all query activity in your account.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.describe_queries_request -> (Types.describe_queries_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.describe_queries_request -> (Types.describe_queries_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception ] * Smaws_Lib.Response.metadata) Stdlib.result