IoT / Paginator / ListManagedJobTemplates

ListManagedJobTemplates#

class IoT.Paginator.ListManagedJobTemplates#
paginator = client.get_paginator('list_managed_job_templates')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from IoT.Client.list_managed_job_templates().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    templateName='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • templateName (string) – An optional parameter for template name. If specified, only the versions of the managed job templates that have the specified template name will be returned.

  • 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

{
    'managedJobTemplates': [
        {
            'templateArn': 'string',
            'templateName': 'string',
            'description': 'string',
            'environments': [
                'string',
            ],
            'templateVersion': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • managedJobTemplates (list) –

      A list of managed job templates that are returned.

      • (dict) –

        An object that contains information about the managed template.

        • templateArn (string) –

          The Amazon Resource Name (ARN) for a managed template.

        • templateName (string) –

          The unique Name for a managed template.

        • description (string) –

          The description for a managed template.

        • environments (list) –

          A list of environments that are supported with the managed job template.

          • (string) –

        • templateVersion (string) –

          The version for a managed template.

    • NextToken (string) –

      A token to resume pagination.