| 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.GetDevicesInPlacement
Description
Returns an object enumerating the devices in a placement.
Synopsis
- data GetDevicesInPlacement = GetDevicesInPlacement' {
- projectName :: Text
- placementName :: Text
- newGetDevicesInPlacement :: Text -> Text -> GetDevicesInPlacement
- getDevicesInPlacement_projectName :: Lens' GetDevicesInPlacement Text
- getDevicesInPlacement_placementName :: Lens' GetDevicesInPlacement Text
- data GetDevicesInPlacementResponse = GetDevicesInPlacementResponse' {}
- newGetDevicesInPlacementResponse :: Int -> GetDevicesInPlacementResponse
- getDevicesInPlacementResponse_httpStatus :: Lens' GetDevicesInPlacementResponse Int
- getDevicesInPlacementResponse_devices :: Lens' GetDevicesInPlacementResponse (HashMap Text Text)
Creating a Request
data GetDevicesInPlacement Source #
See: newGetDevicesInPlacement smart constructor.
Constructors
| GetDevicesInPlacement' | |
Fields
| |
Instances
newGetDevicesInPlacement Source #
Arguments
| :: Text | |
| -> Text | |
| -> GetDevicesInPlacement |
Create a value of GetDevicesInPlacement 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:
GetDevicesInPlacement, getDevicesInPlacement_projectName - The name of the project containing the placement.
GetDevicesInPlacement, getDevicesInPlacement_placementName - The name of the placement to get the devices from.
Request Lenses
getDevicesInPlacement_projectName :: Lens' GetDevicesInPlacement Text Source #
The name of the project containing the placement.
getDevicesInPlacement_placementName :: Lens' GetDevicesInPlacement Text Source #
The name of the placement to get the devices from.
Destructuring the Response
data GetDevicesInPlacementResponse Source #
See: newGetDevicesInPlacementResponse smart constructor.
Constructors
| GetDevicesInPlacementResponse' | |
Instances
newGetDevicesInPlacementResponse Source #
Create a value of GetDevicesInPlacementResponse 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:GetDevicesInPlacementResponse', getDevicesInPlacementResponse_httpStatus - The response's http status code.
$sel:devices:GetDevicesInPlacementResponse', getDevicesInPlacementResponse_devices - An object containing the devices (zero or more) within the placement.
Response Lenses
getDevicesInPlacementResponse_httpStatus :: Lens' GetDevicesInPlacementResponse Int Source #
The response's http status code.
getDevicesInPlacementResponse_devices :: Lens' GetDevicesInPlacementResponse (HashMap Text Text) Source #
An object containing the devices (zero or more) within the placement.