SnowDeviceManagement.Client.list_device_resources(**kwargs)¶Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.
See also: AWS API Documentation
Request Syntax
response = client.list_device_resources(
    managedDeviceId='string',
    maxResults=123,
    nextToken='string',
    type='string'
)
[REQUIRED]
The ID of the managed device that you are listing the resources of.
dict
Response Syntax
{
    'nextToken': 'string',
    'resources': [
        {
            'arn': 'string',
            'id': 'string',
            'resourceType': 'string'
        },
    ]
}
Response Structure
(dict) --
nextToken (string) --
A pagination token to continue to the next page of results.
resources (list) --
A structure defining the resource's type, Amazon Resource Name (ARN), and ID.
(dict) --
A summary of a resource available on the device.
arn (string) --
The Amazon Resource Name (ARN) of the resource.
id (string) --
The ID of the resource.
resourceType (string) --
The resource type.
Exceptions
SnowDeviceManagement.Client.exceptions.ThrottlingExceptionSnowDeviceManagement.Client.exceptions.InternalServerExceptionSnowDeviceManagement.Client.exceptions.ResourceNotFoundExceptionSnowDeviceManagement.Client.exceptions.ValidationExceptionSnowDeviceManagement.Client.exceptions.AccessDeniedException