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 |
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.
GetDevicesInPlacement' | |
|
Instances
newGetDevicesInPlacement Source #
:: 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:
$sel:projectName:GetDevicesInPlacement'
, getDevicesInPlacement_projectName
- The name of the project containing the placement.
$sel:placementName: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.
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.