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 |
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
Synopsis
- data DescribeDevice = DescribeDevice' {}
- newDescribeDevice :: Text -> DescribeDevice
- describeDevice_deviceId :: Lens' DescribeDevice Text
- data DescribeDeviceResponse = DescribeDeviceResponse' {}
- newDescribeDeviceResponse :: Int -> DescribeDeviceResponse
- describeDeviceResponse_deviceDescription :: Lens' DescribeDeviceResponse (Maybe DeviceDescription)
- describeDeviceResponse_httpStatus :: Lens' DescribeDeviceResponse Int
Creating a Request
data DescribeDevice Source #
See: newDescribeDevice
smart constructor.
Instances
Create a value of DescribeDevice
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:deviceId:DescribeDevice'
, describeDevice_deviceId
- The unique identifier of the device.
Request Lenses
describeDevice_deviceId :: Lens' DescribeDevice Text Source #
The unique identifier of the device.
Destructuring the Response
data DescribeDeviceResponse Source #
See: newDescribeDeviceResponse
smart constructor.
DescribeDeviceResponse' | |
|
Instances
newDescribeDeviceResponse Source #
Create a value of DescribeDeviceResponse
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:deviceDescription:DescribeDeviceResponse'
, describeDeviceResponse_deviceDescription
- Device details.
$sel:httpStatus:DescribeDeviceResponse'
, describeDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
describeDeviceResponse_deviceDescription :: Lens' DescribeDeviceResponse (Maybe DeviceDescription) Source #
Device details.
describeDeviceResponse_httpStatus :: Lens' DescribeDeviceResponse Int Source #
The response's http status code.