libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.ThingTypeMetadata

Description

 
Synopsis

Documentation

data ThingTypeMetadata Source #

The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.

See: newThingTypeMetadata smart constructor.

Constructors

ThingTypeMetadata' 

Fields

Instances

Instances details
Eq ThingTypeMetadata Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingTypeMetadata

Read ThingTypeMetadata Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingTypeMetadata

Show ThingTypeMetadata Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingTypeMetadata

Generic ThingTypeMetadata Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingTypeMetadata

Associated Types

type Rep ThingTypeMetadata :: Type -> Type #

NFData ThingTypeMetadata Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingTypeMetadata

Methods

rnf :: ThingTypeMetadata -> () #

Hashable ThingTypeMetadata Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingTypeMetadata

FromJSON ThingTypeMetadata Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingTypeMetadata

type Rep ThingTypeMetadata Source # 
Instance details

Defined in Amazonka.IoT.Types.ThingTypeMetadata

type Rep ThingTypeMetadata = D1 ('MetaData "ThingTypeMetadata" "Amazonka.IoT.Types.ThingTypeMetadata" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ThingTypeMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deprecationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "deprecated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newThingTypeMetadata :: ThingTypeMetadata Source #

Create a value of ThingTypeMetadata 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:deprecationDate:ThingTypeMetadata', thingTypeMetadata_deprecationDate - The date and time when the thing type was deprecated.

$sel:creationDate:ThingTypeMetadata', thingTypeMetadata_creationDate - The date and time when the thing type was created.

$sel:deprecated:ThingTypeMetadata', thingTypeMetadata_deprecated - Whether the thing type is deprecated. If true, no new things could be associated with this type.

thingTypeMetadata_deprecationDate :: Lens' ThingTypeMetadata (Maybe UTCTime) Source #

The date and time when the thing type was deprecated.

thingTypeMetadata_creationDate :: Lens' ThingTypeMetadata (Maybe UTCTime) Source #

The date and time when the thing type was created.

thingTypeMetadata_deprecated :: Lens' ThingTypeMetadata (Maybe Bool) Source #

Whether the thing type is deprecated. If true, no new things could be associated with this type.