aws.internetmonitor.get_query_results
Example SQL Queries
SELECT * FROMaws.internetmonitor.get_query_resultsWHERE"monitor_name" = 'VALUE'AND "query_id" = 'VALUE';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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| monitor_name Required Input Column The name of the monitor to return data for. | VARCHAR |
| query_id Required Input Column The ID of the query that you want to return data results for. A QueryId is an internally-generated identifier for a specific query. | VARCHAR |
| max_results Input Column The number of query results that you want to return with this call. | BIGINT |
| next_token Input Column The token for the next set of results. You receive this token from a previous call. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| data The data results that the query returns. Data is returned in arrays, aligned with the Fields for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then, you can filter the information in the repository by using FilterParameters that you define. | VARCHAR[][] |
Show child fields
| |
| fields The fields that the query returns data for. Fields are name-data type pairs, such as availability_score-float. | STRUCT( |
Show child fields
| |