amazonka-timestream-write-2.0: Amazon Timestream Write 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.TimeStreamWrite.Types.Dimension

Description

 
Synopsis

Documentation

data Dimension Source #

Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.

See: newDimension smart constructor.

Constructors

Dimension' 

Fields

  • dimensionValueType :: Maybe DimensionValueType

    The data type of the dimension for the time series data point.

  • name :: Text

    Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.

    For constraints on Dimension names, see Naming Constraints.

  • value :: Text

    The value of the dimension.

Instances

Instances details
ToJSON Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Generic Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Associated Types

type Rep Dimension :: Type -> Type #

Read Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Show Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

NFData Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Methods

rnf :: Dimension -> () #

Eq Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Hashable Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

type Rep Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

type Rep Dimension = D1 ('MetaData "Dimension" "Amazonka.TimeStreamWrite.Types.Dimension" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "Dimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensionValueType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DimensionValueType)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDimension Source #

Create a value of Dimension 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:dimensionValueType:Dimension', dimension_dimensionValueType - The data type of the dimension for the time series data point.

$sel:name:Dimension', dimension_name - Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.

For constraints on Dimension names, see Naming Constraints.

$sel:value:Dimension', dimension_value - The value of the dimension.

dimension_dimensionValueType :: Lens' Dimension (Maybe DimensionValueType) Source #

The data type of the dimension for the time series data point.

dimension_name :: Lens' Dimension Text Source #

Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.

For constraints on Dimension names, see Naming Constraints.

dimension_value :: Lens' Dimension Text Source #

The value of the dimension.