IoT / Client / get_package_configuration

get_package_configuration#

IoT.Client.get_package_configuration()#

Gets information about the specified software package’s configuration.

Requires permission to access the GetPackageConfiguration action.

See also: AWS API Documentation

Request Syntax

response = client.get_package_configuration()
Return type:

dict

Returns:

Response Syntax

{
    'versionUpdateByJobsConfig': {
        'enabled': True|False,
        'roleArn': 'string'
    }
}

Response Structure

  • (dict) –

    • versionUpdateByJobsConfig (dict) –

      The version that is associated to a specific job.

      • 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.

Exceptions

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.InternalServerException