Greengrass / Client / list_subscription_definition_versions

list_subscription_definition_versions#

Greengrass.Client.list_subscription_definition_versions(**kwargs)#

Lists the versions of a subscription definition.

See also: AWS API Documentation

Request Syntax

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

  • SubscriptionDefinitionId (string) – [REQUIRED] The ID of the subscription definition.

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