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.

get_device_definition

get_device_definition(**kwargs)

Retrieves information about a device definition.

See also: AWS API Documentation

Request Syntax

response = client.get_device_definition(
    DeviceDefinitionId='string'
)
Parameters
DeviceDefinitionId (string) -- [REQUIRED] The ID of the device definition.
Return type
dict
Returns
Response Syntax
{
    'Arn': 'string',
    'CreationTimestamp': 'string',
    'Id': 'string',
    'LastUpdatedTimestamp': 'string',
    'LatestVersion': 'string',
    'LatestVersionArn': 'string',
    'Name': 'string',
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • 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) --

Exceptions

  • Greengrass.Client.exceptions.BadRequestException