IoT / Client / list_provisioning_templates
list_provisioning_templates#
- IoT.Client.list_provisioning_templates(**kwargs)#
Lists the provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
See also: AWS API Documentation
Request Syntax
response = client.list_provisioning_templates( maxResults=123, nextToken='string' )
- Parameters:
maxResults (integer) – The maximum number of results to return at one time.
nextToken (string) – A token to retrieve the next set of results.
- 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 retrieve the next set of results.
Exceptions