Skip to content

Get Query Status

cloudwatchinternetmonitor_get_query_status R Documentation

Returns the current status of a query for the Amazon CloudWatch Internet Monitor query interface, for a specified query ID and monitor

Description

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.

Usage

cloudwatchinternetmonitor_get_query_status(MonitorName, QueryId)

Arguments

MonitorName

[required] The name of the monitor.

QueryId

[required] The ID of the query that you want to return the status for. A QueryId is an internally-generated dentifier for a specific query.

Value

A list with the following syntax:

list(
  Status = "QUEUED"|"RUNNING"|"SUCCEEDED"|"FAILED"|"CANCELED"
)

Request syntax

svc$get_query_status(
  MonitorName = "string",
  QueryId = "string"
)