describe_provisioning_template
(**kwargs)¶Returns information about a provisioning template.
Requires permission to access the DescribeProvisioningTemplate action.
See also: AWS API Documentation
Request Syntax
response = client.describe_provisioning_template(
templateName='string'
)
[REQUIRED]
The name of the provisioning template.
{
'templateArn': 'string',
'templateName': 'string',
'description': 'string',
'creationDate': datetime(2015, 1, 1),
'lastModifiedDate': datetime(2015, 1, 1),
'defaultVersionId': 123,
'templateBody': 'string',
'enabled': True|False,
'provisioningRoleArn': 'string',
'preProvisioningHook': {
'payloadVersion': 'string',
'targetArn': 'string'
},
'type': 'FLEET_PROVISIONING'|'JITP'
}
Response Structure
The ARN of the provisioning template.
The name of the provisioning template.
The description of the provisioning template.
The date when the provisioning template was created.
The date when the provisioning template was last modified.
The default fleet template version ID.
The JSON formatted contents of the provisioning template.
True if the provisioning template is enabled, otherwise false.
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
Gets information about a pre-provisioned hook.
The payload that was sent to the target function.
Note: Only Lambda functions are currently supported.
The ARN of the target function.
Note: Only Lambda functions are currently supported.
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.
Exceptions
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException