Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

list_device_definitions

list_device_definitions(**kwargs)

Retrieves a list of device definitions.

See also: AWS API Documentation

Request Syntax

response = client.list_device_definitions(
    MaxResults='string',
    NextToken='string'
)
Parameters
  • MaxResults (string) -- The maximum number of results to be returned per request.
  • NextToken (string) -- The token for the next set of results, or ''null'' if there are no additional results.
Return type

dict

Returns

Response Syntax

{
    'Definitions': [
        {
            'Arn': 'string',
            'CreationTimestamp': 'string',
            'Id': 'string',
            'LastUpdatedTimestamp': 'string',
            'LatestVersion': 'string',
            'LatestVersionArn': 'string',
            'Name': 'string',
            'Tags': {
                'string': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --
    • Definitions (list) -- Information about a definition.
      • (dict) -- Information about a definition.
        • Arn (string) -- The ARN of the definition.
        • CreationTimestamp (string) -- The time, in milliseconds since the epoch, when the definition was created.
        • Id (string) -- The ID of the definition.
        • LastUpdatedTimestamp (string) -- The time, in milliseconds since the epoch, when the definition was last updated.
        • LatestVersion (string) -- The ID of the latest version associated with the definition.
        • LatestVersionArn (string) -- The ARN of the latest version associated with the definition.
        • Name (string) -- The name of the definition.
        • Tags (dict) -- Tag(s) attached to the resource arn.
          • (string) --
            • (string) --
    • NextToken (string) -- The token for the next set of results, or ''null'' if there are no additional results.