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 |
Describes a placement in a project.
Synopsis
- data DescribePlacement = DescribePlacement' {
- placementName :: Text
- projectName :: Text
- newDescribePlacement :: Text -> Text -> DescribePlacement
- describePlacement_placementName :: Lens' DescribePlacement Text
- describePlacement_projectName :: Lens' DescribePlacement Text
- data DescribePlacementResponse = DescribePlacementResponse' {}
- newDescribePlacementResponse :: Int -> PlacementDescription -> DescribePlacementResponse
- describePlacementResponse_httpStatus :: Lens' DescribePlacementResponse Int
- describePlacementResponse_placement :: Lens' DescribePlacementResponse PlacementDescription
Creating a Request
data DescribePlacement Source #
See: newDescribePlacement
smart constructor.
DescribePlacement' | |
|
Instances
:: Text | |
-> Text | |
-> DescribePlacement |
Create a value of DescribePlacement
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:placementName:DescribePlacement'
, describePlacement_placementName
- The name of the placement within a project.
$sel:projectName:DescribePlacement'
, describePlacement_projectName
- The project containing the placement to be described.
Request Lenses
describePlacement_placementName :: Lens' DescribePlacement Text Source #
The name of the placement within a project.
describePlacement_projectName :: Lens' DescribePlacement Text Source #
The project containing the placement to be described.
Destructuring the Response
data DescribePlacementResponse Source #
See: newDescribePlacementResponse
smart constructor.
DescribePlacementResponse' | |
|
Instances
newDescribePlacementResponse Source #
Create a value of DescribePlacementResponse
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:httpStatus:DescribePlacementResponse'
, describePlacementResponse_httpStatus
- The response's http status code.
$sel:placement:DescribePlacementResponse'
, describePlacementResponse_placement
- An object describing the placement.
Response Lenses
describePlacementResponse_httpStatus :: Lens' DescribePlacementResponse Int Source #
The response's http status code.
describePlacementResponse_placement :: Lens' DescribePlacementResponse PlacementDescription Source #
An object describing the placement.