AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates or updates a query definition for CloudWatch Logs Insights. For more information, see Analyzing Log Data with CloudWatch Logs Insights.
To update a query definition, specify its
queryDefinitionId in your request.
The values of
are changed to the values that you specify in your update operation. No current values
are retained from the current query definition. For example, if you update a current
query definition that includes log groups, and you don't specify the
parameter in your update operation, the query definition changes to contain no log
You must have the
logs:PutQueryDefinition permission to be able to perform
For .NET Core this operation is only available in asynchronous form. Please refer to PutQueryDefinitionAsync.
public virtual PutQueryDefinitionResponse PutQueryDefinition( PutQueryDefinitionRequest request )
Container for the necessary parameters to execute the PutQueryDefinition service method.
Supported in: 4.5, 4.0, 3.5