amazonka-pi-2.0: Amazon Performance Insights SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Pi.Types.ResponseResourceMetric

Description

 
Synopsis

Documentation

data ResponseResourceMetric Source #

An object that contains the full name, description, and unit of a metric.

See: newResponseResourceMetric smart constructor.

Constructors

ResponseResourceMetric' 

Fields

Instances

Instances details
FromJSON ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Generic ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Associated Types

type Rep ResponseResourceMetric :: Type -> Type #

Read ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Show ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

NFData ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Methods

rnf :: ResponseResourceMetric -> () #

Eq ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

Hashable ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

type Rep ResponseResourceMetric Source # 
Instance details

Defined in Amazonka.Pi.Types.ResponseResourceMetric

type Rep ResponseResourceMetric = D1 ('MetaData "ResponseResourceMetric" "Amazonka.Pi.Types.ResponseResourceMetric" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "ResponseResourceMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newResponseResourceMetric :: ResponseResourceMetric Source #

Create a value of ResponseResourceMetric 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:description:ResponseResourceMetric', responseResourceMetric_description - The description of the metric.

$sel:metric:ResponseResourceMetric', responseResourceMetric_metric - The full name of the metric.

$sel:unit:ResponseResourceMetric', responseResourceMetric_unit - The unit of the metric.