IoT1ClickDevicesService.Client.
describe_device
(**kwargs)¶Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
See also: AWS API Documentation
Request Syntax
response = client.describe_device(
DeviceId='string'
)
[REQUIRED]
The unique identifier of the device.
{
'DeviceDescription': {
'Arn': 'string',
'Attributes': {
'string': 'string'
},
'DeviceId': 'string',
'Enabled': True|False,
'RemainingLife': 123.0,
'Type': 'string',
'Tags': {
'string': 'string'
}
}
}
Response Structure
200 response
Device details.
The ARN of the device.
An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.
The unique identifier of the device.
A Boolean value indicating whether or not the device is enabled.
A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.
The type of the device, such as "button".
The tags currently associated with the AWS IoT 1-Click device.
Exceptions
IoT1ClickDevicesService.Client.exceptions.ResourceNotFoundException
IoT1ClickDevicesService.Client.exceptions.InvalidRequestException
IoT1ClickDevicesService.Client.exceptions.InternalFailureException