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 information about a device.
Synopsis
- data DescribeDevice = DescribeDevice' {}
- newDescribeDevice :: Text -> DescribeDevice
- describeDevice_deviceId :: Lens' DescribeDevice Text
- data DescribeDeviceResponse = DescribeDeviceResponse' {
- latestSoftware :: Maybe Text
- provisioningStatus :: Maybe DeviceStatus
- arn :: Maybe Text
- createdTime :: Maybe POSIX
- currentSoftware :: Maybe Text
- name :: Maybe Text
- deviceConnectionStatus :: Maybe DeviceConnectionStatus
- deviceId :: Maybe Text
- type' :: Maybe DeviceType
- leaseExpirationTime :: Maybe POSIX
- serialNumber :: Maybe Text
- currentNetworkingStatus :: Maybe NetworkStatus
- description :: Maybe Text
- networkingConfiguration :: Maybe NetworkPayload
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newDescribeDeviceResponse :: Int -> DescribeDeviceResponse
- describeDeviceResponse_latestSoftware :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_provisioningStatus :: Lens' DescribeDeviceResponse (Maybe DeviceStatus)
- describeDeviceResponse_arn :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_createdTime :: Lens' DescribeDeviceResponse (Maybe UTCTime)
- describeDeviceResponse_currentSoftware :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_name :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_deviceConnectionStatus :: Lens' DescribeDeviceResponse (Maybe DeviceConnectionStatus)
- describeDeviceResponse_deviceId :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_type :: Lens' DescribeDeviceResponse (Maybe DeviceType)
- describeDeviceResponse_leaseExpirationTime :: Lens' DescribeDeviceResponse (Maybe UTCTime)
- describeDeviceResponse_serialNumber :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_currentNetworkingStatus :: Lens' DescribeDeviceResponse (Maybe NetworkStatus)
- describeDeviceResponse_description :: Lens' DescribeDeviceResponse (Maybe Text)
- describeDeviceResponse_networkingConfiguration :: Lens' DescribeDeviceResponse (Maybe NetworkPayload)
- describeDeviceResponse_tags :: Lens' DescribeDeviceResponse (Maybe (HashMap Text Text))
- 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 device's ID.
Request Lenses
describeDevice_deviceId :: Lens' DescribeDevice Text Source #
The device's ID.
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:latestSoftware:DescribeDeviceResponse'
, describeDeviceResponse_latestSoftware
- The latest software version available for the device.
$sel:provisioningStatus:DescribeDeviceResponse'
, describeDeviceResponse_provisioningStatus
- The device's provisioning status.
$sel:arn:DescribeDeviceResponse'
, describeDeviceResponse_arn
- The device's ARN.
$sel:createdTime:DescribeDeviceResponse'
, describeDeviceResponse_createdTime
- When the device was created.
$sel:currentSoftware:DescribeDeviceResponse'
, describeDeviceResponse_currentSoftware
- The device's current software version.
$sel:name:DescribeDeviceResponse'
, describeDeviceResponse_name
- The device's name.
$sel:deviceConnectionStatus:DescribeDeviceResponse'
, describeDeviceResponse_deviceConnectionStatus
- The device's connection status.
$sel:deviceId:DescribeDevice'
, describeDeviceResponse_deviceId
- The device's ID.
$sel:type':DescribeDeviceResponse'
, describeDeviceResponse_type
- The device's type.
$sel:leaseExpirationTime:DescribeDeviceResponse'
, describeDeviceResponse_leaseExpirationTime
- The device's lease expiration time.
$sel:serialNumber:DescribeDeviceResponse'
, describeDeviceResponse_serialNumber
- The device's serial number.
$sel:currentNetworkingStatus:DescribeDeviceResponse'
, describeDeviceResponse_currentNetworkingStatus
- The device's networking status.
$sel:description:DescribeDeviceResponse'
, describeDeviceResponse_description
- The device's description.
$sel:networkingConfiguration:DescribeDeviceResponse'
, describeDeviceResponse_networkingConfiguration
- The device's networking configuration.
$sel:tags:DescribeDeviceResponse'
, describeDeviceResponse_tags
- The device's tags.
$sel:httpStatus:DescribeDeviceResponse'
, describeDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
describeDeviceResponse_latestSoftware :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The latest software version available for the device.
describeDeviceResponse_provisioningStatus :: Lens' DescribeDeviceResponse (Maybe DeviceStatus) Source #
The device's provisioning status.
describeDeviceResponse_arn :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The device's ARN.
describeDeviceResponse_createdTime :: Lens' DescribeDeviceResponse (Maybe UTCTime) Source #
When the device was created.
describeDeviceResponse_currentSoftware :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The device's current software version.
describeDeviceResponse_name :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The device's name.
describeDeviceResponse_deviceConnectionStatus :: Lens' DescribeDeviceResponse (Maybe DeviceConnectionStatus) Source #
The device's connection status.
describeDeviceResponse_deviceId :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The device's ID.
describeDeviceResponse_type :: Lens' DescribeDeviceResponse (Maybe DeviceType) Source #
The device's type.
describeDeviceResponse_leaseExpirationTime :: Lens' DescribeDeviceResponse (Maybe UTCTime) Source #
The device's lease expiration time.
describeDeviceResponse_serialNumber :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The device's serial number.
describeDeviceResponse_currentNetworkingStatus :: Lens' DescribeDeviceResponse (Maybe NetworkStatus) Source #
The device's networking status.
describeDeviceResponse_description :: Lens' DescribeDeviceResponse (Maybe Text) Source #
The device's description.
describeDeviceResponse_networkingConfiguration :: Lens' DescribeDeviceResponse (Maybe NetworkPayload) Source #
The device's networking configuration.
describeDeviceResponse_tags :: Lens' DescribeDeviceResponse (Maybe (HashMap Text Text)) Source #
The device's tags.
describeDeviceResponse_httpStatus :: Lens' DescribeDeviceResponse Int Source #
The response's http status code.