amazonka-iot1click-projects-2.0: Amazon IoT 1-Click Projects Service 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.IoT1ClickProjects.Types.PlacementDescription

Description

 
Synopsis

Documentation

data PlacementDescription Source #

An object describing a project's placement.

See: newPlacementDescription smart constructor.

Constructors

PlacementDescription' 

Fields

  • projectName :: Text

    The name of the project containing the placement.

  • placementName :: Text

    The name of the placement.

  • attributes :: HashMap Text Text

    The user-defined attributes associated with the placement.

  • createdDate :: POSIX

    The date when the placement was initially created, in UNIX epoch time format.

  • updatedDate :: POSIX

    The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.

Instances

Instances details
FromJSON PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

Generic PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

Associated Types

type Rep PlacementDescription :: Type -> Type #

Read PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

Show PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

NFData PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

Methods

rnf :: PlacementDescription -> () #

Eq PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

Hashable PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

type Rep PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

type Rep PlacementDescription = D1 ('MetaData "PlacementDescription" "Amazonka.IoT1ClickProjects.Types.PlacementDescription" "amazonka-iot1click-projects-2.0-KLltusBcTZO1f6G5pKsT1G" 'False) (C1 ('MetaCons "PlacementDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "projectName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "placementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "updatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))

newPlacementDescription Source #

Create a value of PlacementDescription 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:projectName:PlacementDescription', placementDescription_projectName - The name of the project containing the placement.

$sel:placementName:PlacementDescription', placementDescription_placementName - The name of the placement.

$sel:attributes:PlacementDescription', placementDescription_attributes - The user-defined attributes associated with the placement.

$sel:createdDate:PlacementDescription', placementDescription_createdDate - The date when the placement was initially created, in UNIX epoch time format.

$sel:updatedDate:PlacementDescription', placementDescription_updatedDate - The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.

placementDescription_projectName :: Lens' PlacementDescription Text Source #

The name of the project containing the placement.

placementDescription_attributes :: Lens' PlacementDescription (HashMap Text Text) Source #

The user-defined attributes associated with the placement.

placementDescription_createdDate :: Lens' PlacementDescription UTCTime Source #

The date when the placement was initially created, in UNIX epoch time format.

placementDescription_updatedDate :: Lens' PlacementDescription UTCTime Source #

The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.