libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail

Description

 
Synopsis

Documentation

data CloudWatchMetricsDetail Source #

Information about an Amazon CloudWatch metric.

See: newCloudWatchMetricsDetail smart constructor.

Constructors

CloudWatchMetricsDetail' 

Fields

Instances

Instances details
Eq CloudWatchMetricsDetail Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail

Read CloudWatchMetricsDetail Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail

Show CloudWatchMetricsDetail Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail

Generic CloudWatchMetricsDetail Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail

Associated Types

type Rep CloudWatchMetricsDetail :: Type -> Type #

NFData CloudWatchMetricsDetail Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail

Methods

rnf :: CloudWatchMetricsDetail -> () #

Hashable CloudWatchMetricsDetail Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail

FromJSON CloudWatchMetricsDetail Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail

type Rep CloudWatchMetricsDetail Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail

type Rep CloudWatchMetricsDetail = D1 ('MetaData "CloudWatchMetricsDetail" "Amazonka.DevOpsGuru.Types.CloudWatchMetricsDetail" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "CloudWatchMetricsDetail'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "stat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchMetricsStat)) :*: (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CloudWatchMetricsDimension])) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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_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_unit :: Lens' CloudWatchMetricsDetail (Maybe Text) Source #

The unit of measure used for the CloudWatch metric. For example, Bytes, Seconds, Count, and Percent.