Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ThingTypeMetadata = ThingTypeMetadata' {}
- newThingTypeMetadata :: ThingTypeMetadata
- thingTypeMetadata_deprecationDate :: Lens' ThingTypeMetadata (Maybe UTCTime)
- thingTypeMetadata_creationDate :: Lens' ThingTypeMetadata (Maybe UTCTime)
- thingTypeMetadata_deprecated :: Lens' ThingTypeMetadata (Maybe Bool)
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.
ThingTypeMetadata' | |
|
Instances
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.