GetPackageConfiguration - AWS IoT

GetPackageConfiguration

Gets information about the specified software package's configuration.

Requires permission to access the GetPackageConfiguration action.

Request Syntax

GET /package-configuration HTTP/1.1

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "versionUpdateByJobsConfig": { "enabled": boolean, "roleArn": "string" } }

Response Elements

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

The following data is returned in JSON format by the service.

versionUpdateByJobsConfig

The version that is associated to a specific job.

Type: VersionUpdateByJobsConfig object

Errors

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

See Also

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