Skip to content

Get Query Results

cloudwatchinternetmonitor_get_query_results R Documentation

Return the data for a query with the Amazon CloudWatch Internet Monitor query interface

Description

Return the data for a query with the Amazon CloudWatch Internet Monitor query interface. Specify the query that you want to return results for by providing a QueryId and a monitor name.

For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.

Usage

cloudwatchinternetmonitor_get_query_results(MonitorName, QueryId,
  NextToken, MaxResults)

Arguments

MonitorName

[required] The name of the monitor to return data for.

QueryId

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

NextToken

The token for the next set of results. You receive this token from a previous call.

MaxResults

The number of query results that you want to return with this call.

Value

A list with the following syntax:

list(
  Fields = list(
    list(
      Name = "string",
      Type = "string"
    )
  ),
  Data = list(
    list(
      "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_query_results(
  MonitorName = "string",
  QueryId = "string",
  NextToken = "string",
  MaxResults = 123
)