update_provisioning_template
(**kwargs)¶Updates a provisioning template.
Requires permission to access the UpdateProvisioningTemplate action.
See also: AWS API Documentation
Request Syntax
response = client.update_provisioning_template(
templateName='string',
description='string',
enabled=True|False,
defaultVersionId=123,
provisioningRoleArn='string',
preProvisioningHook={
'payloadVersion': 'string',
'targetArn': 'string'
},
removePreProvisioningHook=True|False
)
[REQUIRED]
The name of the provisioning template.
Updates the pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For more information about provisioning template types, see type.
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.
dict
Response Syntax
{}
Response Structure
Exceptions
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ConflictingResourceUpdateException