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.DimensionKeyDescription

Description

 
Synopsis

Documentation

data DimensionKeyDescription Source #

An object that includes the requested dimension key values and aggregated metric values within a dimension group.

See: newDimensionKeyDescription smart constructor.

Constructors

DimensionKeyDescription' 

Fields

Instances

Instances details
FromJSON DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Generic DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Associated Types

type Rep DimensionKeyDescription :: Type -> Type #

Read DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Show DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

NFData DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Methods

rnf :: DimensionKeyDescription -> () #

Eq DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

Hashable DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

type Rep DimensionKeyDescription Source # 
Instance details

Defined in Amazonka.Pi.Types.DimensionKeyDescription

type Rep DimensionKeyDescription = D1 ('MetaData "DimensionKeyDescription" "Amazonka.Pi.Types.DimensionKeyDescription" "amazonka-pi-2.0-JFFapck1KySFz4VqF9F326" 'False) (C1 ('MetaCons "DimensionKeyDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "additionalMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Double))) :*: S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "partitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Double])) :*: S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newDimensionKeyDescription :: DimensionKeyDescription Source #

Create a value of DimensionKeyDescription 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:additionalMetrics:DimensionKeyDescription', dimensionKeyDescription_additionalMetrics - A map that contains the value for each additional metric.

$sel:dimensions:DimensionKeyDescription', dimensionKeyDescription_dimensions - A map of name-value pairs for the dimensions in the group.

$sel:partitions:DimensionKeyDescription', dimensionKeyDescription_partitions - If PartitionBy was specified, PartitionKeys contains the dimensions that were.

$sel:total:DimensionKeyDescription', dimensionKeyDescription_total - The aggregated metric value for the dimensions, over the requested time range.

dimensionKeyDescription_additionalMetrics :: Lens' DimensionKeyDescription (Maybe (HashMap Text Double)) Source #

A map that contains the value for each additional metric.

dimensionKeyDescription_dimensions :: Lens' DimensionKeyDescription (Maybe (HashMap Text Text)) Source #

A map of name-value pairs for the dimensions in the group.

dimensionKeyDescription_partitions :: Lens' DimensionKeyDescription (Maybe [Double]) Source #

If PartitionBy was specified, PartitionKeys contains the dimensions that were.

dimensionKeyDescription_total :: Lens' DimensionKeyDescription (Maybe Double) Source #

The aggregated metric value for the dimensions, over the requested time range.