IoTThingsGraph / Client / get_flow_template_revisions

get_flow_template_revisions#

IoTThingsGraph.Client.get_flow_template_revisions(**kwargs)#

Gets revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated, this action will return revisions that occurred before the deprecation. This action won’t work for workflows that have been deleted.

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 = client.get_flow_template_revisions(
    id='string',
    nextToken='string',
    maxResults=123
)
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

  • nextToken (string) – The string that specifies the next page of results. Use this when you’re paginating results.

  • maxResults (integer) – The maximum number of results to return in the 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) –

      The string to specify as nextToken when you request the next page of results.

Exceptions

  • IoTThingsGraph.Client.exceptions.InvalidRequestException

  • IoTThingsGraph.Client.exceptions.ThrottlingException

  • IoTThingsGraph.Client.exceptions.InternalFailureException

  • IoTThingsGraph.Client.exceptions.ResourceNotFoundException