IoT / Paginator / ListProvisioningTemplates

ListProvisioningTemplates#

class IoT.Paginator.ListProvisioningTemplates#
paginator = client.get_paginator('list_provisioning_templates')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

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

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

{
    'templates': [
        {
            'templateArn': 'string',
            'templateName': 'string',
            'description': 'string',
            'creationDate': datetime(2015, 1, 1),
            'lastModifiedDate': datetime(2015, 1, 1),
            'enabled': True|False,
            'type': 'FLEET_PROVISIONING'|'JITP'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • templates (list) –

      A list of provisioning templates

      • (dict) –

        A summary of information about a provisioning template.

        • templateArn (string) –

          The ARN of the provisioning template.

        • templateName (string) –

          The name of the provisioning template.

        • description (string) –

          The description of the provisioning template.

        • creationDate (datetime) –

          The date when the provisioning template summary was created.

        • lastModifiedDate (datetime) –

          The date when the provisioning template summary was last modified.

        • enabled (boolean) –

          True if the fleet provision template is enabled, otherwise false.

        • type (string) –

          The type you define in a provisioning template. You can create a template with only one type. You can’t change the template type after its creation. The default value is FLEET_PROVISIONING. For more information about provisioning template, see: Provisioning template.

    • NextToken (string) –

      A token to resume pagination.