View source: R/lightsail_operations.R
lightsail_get_distribution_metric_data | R Documentation |
Returns the data points of a specific metric for an Amazon Lightsail content delivery network (CDN) distribution.
See https://www.paws-r-sdk.com/docs/lightsail_get_distribution_metric_data/ for full documentation.
lightsail_get_distribution_metric_data(
distributionName,
metricName,
startTime,
endTime,
period,
unit,
statistics
)
distributionName |
[required] The name of the distribution for which to get metric data. Use the |
metricName |
[required] The metric for which you want to return information. Valid distribution metric names are listed below, along with the most
useful
|
startTime |
[required] The start of the time interval for which to get metric data. Constraints:
You can convert a human-friendly time to Unix time format using a converter like Epoch converter. |
endTime |
[required] The end of the time interval for which to get metric data. Constraints:
You can convert a human-friendly time to Unix time format using a converter like Epoch converter. |
period |
[required] The granularity, in seconds, for the metric data points that will be returned. |
unit |
[required] The unit for the metric data request. Valid units depend on the metric data being requested. For the valid
units with each available metric, see the |
statistics |
[required] The statistic for the metric. The following statistics are available:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.