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.
Returns the current status of a query for the Amazon CloudWatch Internet Monitor query
interface, for a specified query ID and monitor. When you run a query, check the status
to make sure that the query has SUCCEEDED before you review the results.
QUEUED: The query is scheduled to run.
RUNNING: The query is in progress but not complete.
SUCCEEDED: The query completed sucessfully.
FAILED: The query failed due to an error.
CANCELED: The query was canceled.
This is an asynchronous operation using the standard naming convention for .NET 4.7.2 or higher.
Namespace: Amazon.InternetMonitor
Assembly: AWSSDK.InternetMonitor.dll
Version: 3.x.y.z
public virtual Task<GetQueryStatusResponse> GetQueryStatusAsync( GetQueryStatusRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the GetQueryStatus service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
| Exception | Condition |
|---|---|
| AccessDeniedException | You don't have sufficient permission to perform this action. |
| InternalServerException | An internal error occurred. |
| LimitExceededException | The request exceeded a service quota. |
| ThrottlingException | The request was denied due to request throttling. |
| ValidationException | Invalid request. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer