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 |
Gets information about a device pool.
Synopsis
- data GetDevicePool = GetDevicePool' {}
- newGetDevicePool :: Text -> GetDevicePool
- getDevicePool_arn :: Lens' GetDevicePool Text
- data GetDevicePoolResponse = GetDevicePoolResponse' {}
- newGetDevicePoolResponse :: Int -> GetDevicePoolResponse
- getDevicePoolResponse_devicePool :: Lens' GetDevicePoolResponse (Maybe DevicePool)
- getDevicePoolResponse_httpStatus :: Lens' GetDevicePoolResponse Int
Creating a Request
data GetDevicePool Source #
Represents a request to the get device pool operation.
See: newGetDevicePool
smart constructor.
Instances
Create a value of GetDevicePool
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:arn:GetDevicePool'
, getDevicePool_arn
- The device pool's ARN.
Request Lenses
getDevicePool_arn :: Lens' GetDevicePool Text Source #
The device pool's ARN.
Destructuring the Response
data GetDevicePoolResponse Source #
Represents the result of a get device pool request.
See: newGetDevicePoolResponse
smart constructor.
GetDevicePoolResponse' | |
|
Instances
newGetDevicePoolResponse Source #
Create a value of GetDevicePoolResponse
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:devicePool:GetDevicePoolResponse'
, getDevicePoolResponse_devicePool
- An object that contains information about the requested device pool.
$sel:httpStatus:GetDevicePoolResponse'
, getDevicePoolResponse_httpStatus
- The response's http status code.
Response Lenses
getDevicePoolResponse_devicePool :: Lens' GetDevicePoolResponse (Maybe DevicePool) Source #
An object that contains information about the requested device pool.
getDevicePoolResponse_httpStatus :: Lens' GetDevicePoolResponse Int Source #
The response's http status code.