| 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 |
Amazonka.IoT1ClickProjects.DescribePlacement
Description
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.
Constructors
| DescribePlacement' | |
Fields
| |
Instances
Arguments
| :: 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:
DescribePlacement, describePlacement_placementName - The name of the placement within a project.
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.
Constructors
| DescribePlacementResponse' | |
Fields
| |
Instances
newDescribePlacementResponse Source #
Arguments
| :: Int | |
| -> PlacementDescription | |
| -> DescribePlacementResponse |
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.