libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects
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.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
Eq PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

Read PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

Show 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 #

NFData PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

Methods

rnf :: PlacementDescription -> () #

Hashable PlacementDescription Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.PlacementDescription

FromJSON 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" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" '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.