Greengrass / Client / list_device_definition_versions
list_device_definition_versions#
- Greengrass.Client.list_device_definition_versions(**kwargs)#
Lists the versions of a device definition.
See also: AWS API Documentation
Request Syntax
response = client.list_device_definition_versions( DeviceDefinitionId='string', MaxResults='string', NextToken='string' )
- Parameters:
DeviceDefinitionId (string) – [REQUIRED] The ID of the device definition.
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
{ 'NextToken': 'string', 'Versions': [ { 'Arn': 'string', 'CreationTimestamp': 'string', 'Id': 'string', 'Version': 'string' }, ] }
Response Structure
(dict) –
NextToken (string) – The token for the next set of results, or ‘’null’’ if there are no additional results.
Versions (list) – Information about a version.
(dict) – Information about a version.
Arn (string) – The ARN of the version.
CreationTimestamp (string) – The time, in milliseconds since the epoch, when the version was created.
Id (string) – The ID of the parent definition that the version is associated with.
Version (string) – The ID of the version.
Exceptions