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
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginPutQueryDefinition and EndPutQueryDefinition.
public virtual Task<PutQueryDefinitionResponse> PutQueryDefinitionAsync( PutQueryDefinitionRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the PutQueryDefinition service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
.NET Core App:
Supported in: 3.1
Supported in: 2.0, 1.3
Supported in: 4.5