libZSservicesZSamazonka-service-quotasZSamazonka-service-quotas
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.ServiceQuotas.Types.MetricInfo

Description

 
Synopsis

Documentation

data MetricInfo Source #

Information about the CloudWatch metric that reflects quota usage.

See: newMetricInfo smart constructor.

Constructors

MetricInfo' 

Fields

Instances

Instances details
Eq MetricInfo Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.MetricInfo

Read MetricInfo Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.MetricInfo

Show MetricInfo Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.MetricInfo

Generic MetricInfo Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.MetricInfo

Associated Types

type Rep MetricInfo :: Type -> Type #

NFData MetricInfo Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.MetricInfo

Methods

rnf :: MetricInfo -> () #

Hashable MetricInfo Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.MetricInfo

FromJSON MetricInfo Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.MetricInfo

type Rep MetricInfo Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.MetricInfo

type Rep MetricInfo = D1 ('MetaData "MetricInfo" "Amazonka.ServiceQuotas.Types.MetricInfo" "libZSservicesZSamazonka-service-quotasZSamazonka-service-quotas" 'False) (C1 ('MetaCons "MetricInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "metricDimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "metricStatisticRecommendation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metricNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newMetricInfo :: MetricInfo Source #

Create a value of MetricInfo 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:metricDimensions:MetricInfo', metricInfo_metricDimensions - The metric dimension. This is a name/value pair that is part of the identity of a metric.

$sel:metricName:MetricInfo', metricInfo_metricName - The name of the metric.

$sel:metricStatisticRecommendation:MetricInfo', metricInfo_metricStatisticRecommendation - The metric statistic that we recommend you use when determining quota usage.

$sel:metricNamespace:MetricInfo', metricInfo_metricNamespace - The namespace of the metric.

metricInfo_metricDimensions :: Lens' MetricInfo (Maybe (HashMap Text Text)) Source #

The metric dimension. This is a name/value pair that is part of the identity of a metric.

metricInfo_metricStatisticRecommendation :: Lens' MetricInfo (Maybe Text) Source #

The metric statistic that we recommend you use when determining quota usage.

metricInfo_metricNamespace :: Lens' MetricInfo (Maybe Text) Source #

The namespace of the metric.