:doc:`IoT <../../iot>` / Client / get_package_configuration

*************************
get_package_configuration
*************************



.. py:method:: IoT.Client.get_package_configuration()

  

  Gets information about the specified software package's configuration.

   

  Requires permission to access the `GetPackageConfiguration <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/GetPackageConfiguration>`_  


  **Request Syntax**
  ::

    response = client.get_package_configuration()
    
    
  
  :rtype: 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**
  
  *   :py:class:`IoT.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoT.Client.exceptions.InternalServerException`

  