Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PlacementDescription = PlacementDescription' {}
- newPlacementDescription :: Text -> Text -> UTCTime -> UTCTime -> PlacementDescription
- placementDescription_projectName :: Lens' PlacementDescription Text
- placementDescription_placementName :: Lens' PlacementDescription Text
- placementDescription_attributes :: Lens' PlacementDescription (HashMap Text Text)
- placementDescription_createdDate :: Lens' PlacementDescription UTCTime
- placementDescription_updatedDate :: Lens' PlacementDescription UTCTime
Documentation
data PlacementDescription Source #
An object describing a project's placement.
See: newPlacementDescription
smart constructor.
PlacementDescription' | |
|
Instances
newPlacementDescription Source #
:: Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> PlacementDescription |
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_placementName :: Lens' PlacementDescription Text Source #
The name of 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.