Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CloudWatchMetricsDetail = CloudWatchMetricsDetail' {}
- newCloudWatchMetricsDetail :: CloudWatchMetricsDetail
- cloudWatchMetricsDetail_period :: Lens' CloudWatchMetricsDetail (Maybe Int)
- cloudWatchMetricsDetail_metricName :: Lens' CloudWatchMetricsDetail (Maybe Text)
- cloudWatchMetricsDetail_namespace :: Lens' CloudWatchMetricsDetail (Maybe Text)
- cloudWatchMetricsDetail_stat :: Lens' CloudWatchMetricsDetail (Maybe CloudWatchMetricsStat)
- cloudWatchMetricsDetail_dimensions :: Lens' CloudWatchMetricsDetail (Maybe [CloudWatchMetricsDimension])
- cloudWatchMetricsDetail_unit :: Lens' CloudWatchMetricsDetail (Maybe Text)
Documentation
data CloudWatchMetricsDetail Source #
Information about an Amazon CloudWatch metric.
See: newCloudWatchMetricsDetail
smart constructor.
CloudWatchMetricsDetail' | |
|
Instances
newCloudWatchMetricsDetail :: CloudWatchMetricsDetail Source #
Create a value of CloudWatchMetricsDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:period:CloudWatchMetricsDetail'
, cloudWatchMetricsDetail_period
- The length of time associated with the CloudWatch metric in number of
seconds.
$sel:metricName:CloudWatchMetricsDetail'
, cloudWatchMetricsDetail_metricName
- The name of the CloudWatch metric.
$sel:namespace:CloudWatchMetricsDetail'
, cloudWatchMetricsDetail_namespace
- The namespace of the CloudWatch metric. A namespace is a container for
CloudWatch metrics.
$sel:stat:CloudWatchMetricsDetail'
, cloudWatchMetricsDetail_stat
- The type of statistic associated with the CloudWatch metric. For more
information, see
Statistics
in the Amazon CloudWatch User Guide.
$sel:dimensions:CloudWatchMetricsDetail'
, cloudWatchMetricsDetail_dimensions
- An array of CloudWatch dimensions associated with
$sel:unit:CloudWatchMetricsDetail'
, cloudWatchMetricsDetail_unit
- The unit of measure used for the CloudWatch metric. For example,
Bytes
, Seconds
, Count
, and Percent
.
cloudWatchMetricsDetail_period :: Lens' CloudWatchMetricsDetail (Maybe Int) Source #
The length of time associated with the CloudWatch metric in number of seconds.
cloudWatchMetricsDetail_metricName :: Lens' CloudWatchMetricsDetail (Maybe Text) Source #
The name of the CloudWatch metric.
cloudWatchMetricsDetail_namespace :: Lens' CloudWatchMetricsDetail (Maybe Text) Source #
The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.
cloudWatchMetricsDetail_stat :: Lens' CloudWatchMetricsDetail (Maybe CloudWatchMetricsStat) Source #
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.
cloudWatchMetricsDetail_dimensions :: Lens' CloudWatchMetricsDetail (Maybe [CloudWatchMetricsDimension]) Source #
An array of CloudWatch dimensions associated with
cloudWatchMetricsDetail_unit :: Lens' CloudWatchMetricsDetail (Maybe Text) Source #
The unit of measure used for the CloudWatch metric. For example,
Bytes
, Seconds
, Count
, and Percent
.