UpdatePackageConfiguration - Amazon IoT
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Updates the software package configuration.

Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.

Request Syntax

PATCH /package-configuration?clientToken=clientToken HTTP/1.1 Content-type: application/json { "versionUpdateByJobsConfig": { "enabled": boolean, "roleArn": "string" } }

URI Request Parameters

The request uses the following URI parameters.


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.

Length Constraints: Minimum length of 36. Maximum length of 64.

Pattern: \S{36,64}

Request Body

The request accepts the following data in JSON format.


Configuration to manage job's package version reporting. This updates the thing's reserved named shadow that the job targets.

Type: VersionUpdateByJobsConfig object

Required: No

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.



A resource with the same name already exists.

HTTP Status Code: 409


Internal error from the service that indicates an unexpected error or that the service is unavailable.

HTTP Status Code: 500


The rate exceeds the limit.

HTTP Status Code: 400


The request is not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: