describe_device
(**kwargs)¶Checks device-specific information, such as the device type, software version, IP addresses, and lock status.
See also: AWS API Documentation
Request Syntax
response = client.describe_device(
managedDeviceId='string'
)
[REQUIRED]
The ID of the device that you are checking the information of.
{
'associatedWithJob': 'string',
'deviceCapacities': [
{
'available': 123,
'name': 'string',
'total': 123,
'unit': 'string',
'used': 123
},
],
'deviceState': 'UNLOCKED'|'LOCKED'|'UNLOCKING',
'deviceType': 'string',
'lastReachedOutAt': datetime(2015, 1, 1),
'lastUpdatedAt': datetime(2015, 1, 1),
'managedDeviceArn': 'string',
'managedDeviceId': 'string',
'physicalNetworkInterfaces': [
{
'defaultGateway': 'string',
'ipAddress': 'string',
'ipAddressAssignment': 'DHCP'|'STATIC',
'macAddress': 'string',
'netmask': 'string',
'physicalConnectorType': 'RJ45'|'SFP_PLUS'|'QSFP'|'RJ45_2'|'WIFI',
'physicalNetworkInterfaceId': 'string'
},
],
'software': {
'installState': 'string',
'installedVersion': 'string',
'installingVersion': 'string'
},
'tags': {
'string': 'string'
}
}
Response Structure
The ID of the job used when ordering the device.
The hardware specifications of the device.
The physical capacity of the Amazon Web Services Snow Family device.
The amount of capacity available for use on the device.
The name of the type of capacity, such as memory.
The total capacity on the device.
The unit of measure for the type of capacity.
The amount of capacity used on the device.
The current state of the device.
The type of Amazon Web Services Snow Family device.
When the device last contacted the Amazon Web Services Cloud. Indicates that the device is online.
When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache was refreshed.
The Amazon Resource Name (ARN) of the device.
The ID of the device that you checked the information for.
The network interfaces available on the device.
The details about the physical network interface for the device.
The default gateway of the device.
The IP address of the device.
A value that describes whether the IP address is dynamic or persistent.
The MAC address of the device.
The netmask used to divide the IP address into subnets.
The physical connector type.
The physical network interface ID.
The software installed on the device.
The state of the software that is installed or that is being installed on the device.
The version of the software currently installed on the device.
The version of the software being installed on the device.
Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.
Exceptions
SnowDeviceManagement.Client.exceptions.ThrottlingException
SnowDeviceManagement.Client.exceptions.InternalServerException
SnowDeviceManagement.Client.exceptions.ResourceNotFoundException
SnowDeviceManagement.Client.exceptions.ValidationException
SnowDeviceManagement.Client.exceptions.AccessDeniedException