create_provisioning_template_version
(**kwargs)¶Creates a new version of a provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
See also: AWS API Documentation
Request Syntax
response = client.create_provisioning_template_version(
templateName='string',
templateBody='string',
setAsDefault=True|False
)
[REQUIRED]
The name of the provisioning template.
[REQUIRED]
The JSON formatted contents of the provisioning template.
dict
Response Syntax
{
'templateArn': 'string',
'templateName': 'string',
'versionId': 123,
'isDefaultVersion': True|False
}
Response Structure
(dict) --
templateArn (string) --
The ARN that identifies the provisioning template.
templateName (string) --
The name of the provisioning template.
versionId (integer) --
The version of the provisioning template.
isDefaultVersion (boolean) --
True if the provisioning template version is the default version, otherwise false.
Exceptions
IoT.Client.exceptions.VersionsLimitExceededException
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ConflictingResourceUpdateException