IoT.Paginator.
ListProvisioningTemplateVersions
¶paginator = client.get_paginator('list_provisioning_template_versions')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from IoT.Client.list_provisioning_template_versions()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
templateName='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The name of the provisioning template.
A dictionary that provides parameters to control pagination.
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.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'versions': [
{
'versionId': 123,
'creationDate': datetime(2015, 1, 1),
'isDefaultVersion': True|False
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
versions (list) --
The list of provisioning template versions.
(dict) --
A summary of information about a fleet provision template version.
versionId (integer) --
The ID of the fleet provisioning template version.
creationDate (datetime) --
The date when the provisioning template version was created
isDefaultVersion (boolean) --
True if the provisioning template version is the default version, otherwise false.
NextToken (string) --
A token to resume pagination.