class Aws::CloudWatchLogs::Types::PutQueryDefinitionRequest


@see docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutQueryDefinitionRequest AWS API Documentation
@return [String]
not need to pass this option.
**A suitable default value is auto-generated.** You should normally
service receives the same request twice because of a network error.
Used as an idempotency token, to avoid returning an exception if the
@!attribute [rw] client_token
@return [String]<br>: docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html<br><br><br><br>see [CloudWatch Logs Insights Query Syntax].
The query string to use for this definition. For more information,
@!attribute [rw] query_string
@return [Array<String>]
then the updated definition will contain no log groups.
Insights QL or OpenSearch Service PPL and you omit this parameter,
If you are updating an existing query definition for the Logs
instead of here.
language, you specify the log group names inside the ‘querystring`
query definition. If your query uses the OpenSearch Service query
Use this parameter to include specific log groups as part of your
@!attribute [rw] log_group_names
@return [String]<br>: docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html<br><br><br><br>definition and include it in the response to this operation.
parameter. CloudWatch generates a unique ID for the new query
If you are creating a query definition, do not specify this
saved query definitions.
can use [DescribeQueryDefinitions] to retrieve the IDs of your
specify the ID of the query definition that you want to update. You
If you are updating a query definition, use this parameter to
@!attribute [rw] query_definition_id
@return [String]<br>: docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html<br><br><br><br>[DescribeQueryDefinitions][1].
the `queryDefinitionNamePrefix` parameter of
the ones you want by using the first part of the name as a filter in
definitions, we recommend that you name them. This way, you can find
A name for the query definition. If you are saving numerous query
@!attribute [rw] name
@return [String]<br>: docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData_Languages.html<br><br><br><br>see [Supported query languages].
information about the query languages that CloudWatch Logs supports,
Logs Insights QL, OpenSearch PPL, and OpenSearch SQL. For more
Specify the query language to use for this query. The options are
@!attribute [rw] query_language