View source: R/lightsail_operations.R
lightsail_get_bucket_metric_data | R Documentation |
Returns the data points of a specific metric for an Amazon Lightsail bucket.
See https://www.paws-r-sdk.com/docs/lightsail_get_bucket_metric_data/ for full documentation.
lightsail_get_bucket_metric_data(
bucketName,
metricName,
startTime,
endTime,
period,
statistics,
unit
)
bucketName |
[required] The name of the bucket for which to get metric data. |
metricName |
[required] The metric for which you want to return information. Valid bucket metric names are listed below, along with the most useful statistics to include in your request, and the published unit value. These bucket metrics are reported once per day.
|
startTime |
[required] The timestamp indicating the earliest data to be returned. |
endTime |
[required] The timestamp indicating the latest data to be returned. |
period |
[required] The granularity, in seconds, of the returned data points. Bucket storage metrics are reported once per day. Therefore, you should specify a period of 86400 seconds, which is the number of seconds in a day. |
statistics |
[required] The statistic for the metric. The following statistics are available:
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.