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.
Container for the parameters to the StopQuery operation. Stops a CloudWatch Logs Insights query that is in progress. If the query has already ended, the operation returns an error indicating that the specified query is not running.
This operation can be used to cancel both interactive queries and individual scheduled
query executions. When used with scheduled queries, StopQuery cancels only
the specific execution identified by the query ID, not the scheduled query configuration
itself.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class StopQueryRequest : AmazonCloudWatchLogsRequest IAmazonWebServiceRequest
The StopQueryRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
StopQueryRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
QueryId | System.String |
Gets and sets the property QueryId.
The ID number of the query to stop. To find this ID number, use |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5