IoT / Client / update_package_configuration
update_package_configuration#
- IoT.Client.update_package_configuration(**kwargs)#
- Updates the software package configuration. - Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions. - See also: AWS API Documentation - Request Syntax- response = client.update_package_configuration( versionUpdateByJobsConfig={ 'enabled': True|False, 'roleArn': 'string' }, clientToken='string' ) - Parameters:
- versionUpdateByJobsConfig (dict) – - Configuration to manage job’s package version reporting. This updates the thing’s reserved named shadow that the job targets. - enabled (boolean) – - Indicates whether the Job is enabled or not. 
- roleArn (string) – - The Amazon Resource Name (ARN) of the role that grants permission to the IoT jobs service to update the reserved named shadow when the job successfully completes. 
 
- clientToken (string) – - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don’t reuse this client token if a new idempotent request is required. - This field is autopopulated if not provided. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- IoT.Client.exceptions.ThrottlingException
- IoT.Client.exceptions.ConflictException
- IoT.Client.exceptions.InternalServerException
- IoT.Client.exceptions.ValidationException