IoT.Client.
describe_provisioning_template_version
(**kwargs)¶Returns information about a provisioning template version.
Requires permission to access the DescribeProvisioningTemplateVersion action.
See also: AWS API Documentation
Request Syntax
response = client.describe_provisioning_template_version(
templateName='string',
versionId=123
)
[REQUIRED]
The template name.
[REQUIRED]
The provisioning template version ID.
dict
Response Syntax
{
'versionId': 123,
'creationDate': datetime(2015, 1, 1),
'templateBody': 'string',
'isDefaultVersion': True|False
}
Response Structure
(dict) --
versionId (integer) --
The provisioning template version ID.
creationDate (datetime) --
The date when the provisioning template version was created.
templateBody (string) --
The JSON formatted contents of the provisioning template version.
isDefaultVersion (boolean) --
True if the provisioning template version is the default version.
Exceptions
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.UnauthorizedException