Greengrass / Client / list_resource_definition_versions

list_resource_definition_versions#

Greengrass.Client.list_resource_definition_versions(**kwargs)#

Lists the versions of a resource definition.

See also: AWS API Documentation

Request Syntax

response = client.list_resource_definition_versions(
    MaxResults='string',
    NextToken='string',
    ResourceDefinitionId='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.

  • ResourceDefinitionId (string) – [REQUIRED] The ID of the resource definition.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'Versions': [
        {
            'Arn': 'string',
            'CreationTimestamp': 'string',
            'Id': 'string',
            'Version': 'string'
        },
    ]
}

Response Structure

  • (dict) – success

    • 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