get_device
(**kwargs)¶Gets the details of a device by device ARN.
See also: AWS API Documentation
Request Syntax
response = client.get_device(
DeviceArn='string'
)
{
'Device': {
'DeviceArn': 'string',
'DeviceSerialNumber': 'string',
'DeviceType': 'string',
'DeviceName': 'string',
'SoftwareVersion': 'string',
'MacAddress': 'string',
'RoomArn': 'string',
'DeviceStatus': 'READY'|'PENDING'|'WAS_OFFLINE'|'DEREGISTERED'|'FAILED',
'DeviceStatusInfo': {
'DeviceStatusDetails': [
{
'Feature': 'BLUETOOTH'|'VOLUME'|'NOTIFICATIONS'|'LISTS'|'SKILLS'|'NETWORK_PROFILE'|'SETTINGS'|'ALL',
'Code': 'DEVICE_SOFTWARE_UPDATE_NEEDED'|'DEVICE_WAS_OFFLINE'|'CREDENTIALS_ACCESS_FAILURE'|'TLS_VERSION_MISMATCH'|'ASSOCIATION_REJECTION'|'AUTHENTICATION_FAILURE'|'DHCP_FAILURE'|'INTERNET_UNAVAILABLE'|'DNS_FAILURE'|'UNKNOWN_FAILURE'|'CERTIFICATE_ISSUING_LIMIT_EXCEEDED'|'INVALID_CERTIFICATE_AUTHORITY'|'NETWORK_PROFILE_NOT_FOUND'|'INVALID_PASSWORD_STATE'|'PASSWORD_NOT_FOUND'|'PASSWORD_MANAGER_ACCESS_DENIED'|'CERTIFICATE_AUTHORITY_ACCESS_DENIED'
},
],
'ConnectionStatus': 'ONLINE'|'OFFLINE',
'ConnectionStatusUpdatedTime': datetime(2015, 1, 1)
},
'NetworkProfileInfo': {
'NetworkProfileArn': 'string',
'CertificateArn': 'string',
'CertificateExpirationTime': datetime(2015, 1, 1)
}
}
}
Response Structure
The details of the device requested. Required.
The ARN of a device.
The serial number of a device.
The type of a device.
The name of a device.
The software version of a device.
The MAC address of a device.
The room ARN of a device.
The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.
Detailed information about a device's status.
One or more device status detail descriptions.
Details of a device’s status.
The list of available features on the device.
The device status detail code.
The latest available information about the connection status of a device.
The time (in epoch) when the device connection status changed.
Detailed information about a device's network profile.
The ARN of the network profile associated with a device.
The ARN of the certificate associated with a device.
The time (in epoch) when the certificate expires.
Exceptions
AlexaForBusiness.Client.exceptions.NotFoundException