GetFlowTemplateRevisions

class IoTThingsGraph.Paginator.GetFlowTemplateRevisions
paginator = client.get_paginator('get_flow_template_revisions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from IoTThingsGraph.Client.get_flow_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 workflow.

    The ID should be in the following format.

    urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
  • 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 provide summary data about each revision.

      • (dict) --

        An object that contains summary information about a workflow.

        • id (string) --

          The ID of the workflow.

        • arn (string) --

          The ARN of the workflow.

        • revisionNumber (integer) --

          The revision number of the workflow.

        • createdAt (datetime) --

          The date when the workflow was created.

    • NextToken (string) --

      A token to resume pagination.