libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics
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.IoTAnalytics.Types.TimestampPartition

Description

 
Synopsis

Documentation

data TimestampPartition Source #

A partition dimension defined by a timestamp attribute.

See: newTimestampPartition smart constructor.

Constructors

TimestampPartition' 

Fields

  • timestampFormat :: Maybe Text

    The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).

  • attributeName :: Text

    The attribute name of the partition defined by a timestamp.

Instances

Instances details
Eq TimestampPartition Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.TimestampPartition

Read TimestampPartition Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.TimestampPartition

Show TimestampPartition Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.TimestampPartition

Generic TimestampPartition Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.TimestampPartition

Associated Types

type Rep TimestampPartition :: Type -> Type #

NFData TimestampPartition Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.TimestampPartition

Methods

rnf :: TimestampPartition -> () #

Hashable TimestampPartition Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.TimestampPartition

ToJSON TimestampPartition Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.TimestampPartition

FromJSON TimestampPartition Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.TimestampPartition

type Rep TimestampPartition Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.TimestampPartition

type Rep TimestampPartition = D1 ('MetaData "TimestampPartition" "Amazonka.IoTAnalytics.Types.TimestampPartition" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "TimestampPartition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTimestampPartition Source #

Create a value of TimestampPartition 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:timestampFormat:TimestampPartition', timestampPartition_timestampFormat - The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).

$sel:attributeName:TimestampPartition', timestampPartition_attributeName - The attribute name of the partition defined by a timestamp.

timestampPartition_timestampFormat :: Lens' TimestampPartition (Maybe Text) Source #

The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).

timestampPartition_attributeName :: Lens' TimestampPartition Text Source #

The attribute name of the partition defined by a timestamp.