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.
Cancels a query that has been issued. Cancellation is provided only if the query
has not completed running before the cancellation request was issued. Because cancellation
is an idempotent operation, subsequent cancellation requests will return a CancellationMessage
,
indicating that the query has already been canceled. See code
sample for details.
For .NET Core this operation is only available in asynchronous form. Please refer to CancelQueryAsync.
Namespace: Amazon.TimestreamQuery
Assembly: AWSSDK.TimestreamQuery.dll
Version: 3.x.y.z
public virtual CancelQueryResponse CancelQuery( CancelQueryRequest request )
Container for the necessary parameters to execute the CancelQuery service method.
Exception | Condition |
---|---|
AccessDeniedException | You do not have the necessary permissions to access the account settings. |
InternalServerException | An internal server error occurred while processing the request. |
InvalidEndpointException | The requested endpoint is invalid. |
ThrottlingException | The request was throttled due to excessive requests. |
ValidationException | Invalid or malformed request. |
.NET Framework:
Supported in: 4.5 and newer, 3.5