| 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.IoT1ClickDevices.DescribeDevice
Description
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.
Constructors
| DescribeDevice' | |
Instances
Arguments
| :: Text | |
| -> DescribeDevice |
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:
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.
Constructors
| DescribeDeviceResponse' | |
Fields
| |
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.