:doc:`Inspector2 <../../inspector2>` / Client / get_ec2_deep_inspection_configuration

*************************************
get_ec2_deep_inspection_configuration
*************************************



.. py:method:: Inspector2.Client.get_ec2_deep_inspection_configuration()

  

  Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfiguration>`_  


  **Request Syntax**
  ::

    response = client.get_ec2_deep_inspection_configuration()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'packagePaths': [
              'string',
          ],
          'orgPackagePaths': [
              'string',
          ],
          'status': 'ACTIVATED'|'DEACTIVATED'|'PENDING'|'FAILED',
          'errorMessage': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **packagePaths** *(list) --* 

        The Amazon Inspector deep inspection custom paths for your account.

        
        

        - *(string) --* 
    
      

      - **orgPackagePaths** *(list) --* 

        The Amazon Inspector deep inspection custom paths for your organization.

        
        

        - *(string) --* 
    
      

      - **status** *(string) --* 

        The activation status of Amazon Inspector deep inspection in your account.

        
      

      - **errorMessage** *(string) --* 

        An error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.

        
  
  **Exceptions**
  
  *   :py:class:`Inspector2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Inspector2.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Inspector2.Client.exceptions.ThrottlingException`

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

  