View source: R/cloudwatch_operations.R
cloudwatch_get_metric_data | R Documentation |
You can use the get_metric_data
API to retrieve CloudWatch metric values. The operation can also include a CloudWatch Metrics Insights query, and one or more metric math functions.
See https://www.paws-r-sdk.com/docs/cloudwatch_get_metric_data/ for full documentation.
cloudwatch_get_metric_data(
MetricDataQueries,
StartTime,
EndTime,
NextToken = NULL,
ScanBy = NULL,
MaxDatapoints = NULL,
LabelOptions = NULL
)
MetricDataQueries |
[required] The metric queries to be returned. A single
|
StartTime |
[required] The time stamp indicating the earliest data to be returned. The value specified is inclusive; results include data points with the specified time stamp. CloudWatch rounds the specified time stamp as follows:
If you set For better performance, specify |
EndTime |
[required] The time stamp indicating the latest data to be returned. The value specified is exclusive; results include data points up to the specified time stamp. For better performance, specify |
NextToken |
Include this value, if it was returned by the previous
|
ScanBy |
The order in which data points should be returned. If you omit this parameter, the default of |
MaxDatapoints |
The maximum number of data points the request should return before paginating. If you omit this, the default of 100,800 is used. |
LabelOptions |
This structure includes the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.