IoTThingsGraph / Paginator / GetSystemTemplateRevisions

GetSystemTemplateRevisions#

class IoTThingsGraph.Paginator.GetSystemTemplateRevisions#
paginator = client.get_paginator('get_system_template_revisions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from IoTThingsGraph.Client.get_system_template_revisions().

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    id='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • id (string) –

    [REQUIRED]

    The ID of the system template.

    The ID should be in the following format.

    urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'summaries': [
        {
            'id': 'string',
            'arn': 'string',
            'revisionNumber': 123,
            'createdAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • summaries (list) –

      An array of objects that contain summary data about the system template revisions.

      • (dict) –

        An object that contains information about a system.

        • id (string) –

          The ID of the system.

        • arn (string) –

          The ARN of the system.

        • revisionNumber (integer) –

          The revision number of the system.

        • createdAt (datetime) –

          The date when the system was created.

    • NextToken (string) –

      A token to resume pagination.