UpdatePackageConfiguration - AWS IoT

UpdatePackageConfiguration

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.

clientToken

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.

versionUpdateByJobsConfig

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.

Errors

ConflictException

A resource with the same name already exists.

HTTP Status Code: 409

InternalServerException

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

HTTP Status Code: 500

ThrottlingException

The rate exceeds the limit.

HTTP Status Code: 400

ValidationException

The request is not valid.

HTTP Status Code: 400

See Also

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