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

*****************************
get_code_security_integration
*****************************



.. py:method:: Inspector2.Client.get_code_security_integration(**kwargs)

  

  Retrieves information about a code security integration.

  

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


  **Request Syntax**
  ::

    response = client.get_code_security_integration(
        integrationArn='string',
        tags={
            'string': 'string'
        }
    )
    
  :type integrationArn: string
  :param integrationArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the code security integration to retrieve.

    

  
  :type tags: dict
  :param tags: 

    The tags associated with the code security integration.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'integrationArn': 'string',
          'name': 'string',
          'type': 'GITLAB_SELF_MANAGED'|'GITHUB',
          'status': 'PENDING'|'IN_PROGRESS'|'ACTIVE'|'INACTIVE'|'DISABLING',
          'statusReason': 'string',
          'createdOn': datetime(2015, 1, 1),
          'lastUpdateOn': datetime(2015, 1, 1),
          'tags': {
              'string': 'string'
          },
          'authorizationUrl': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **integrationArn** *(string) --* 

        The Amazon Resource Name (ARN) of the code security integration.

        
      

      - **name** *(string) --* 

        The name of the code security integration.

        
      

      - **type** *(string) --* 

        The type of repository provider for the integration.

        
      

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

        The current status of the code security integration.

        
      

      - **statusReason** *(string) --* 

        The reason for the current status of the code security integration.

        
      

      - **createdOn** *(datetime) --* 

        The timestamp when the code security integration was created.

        
      

      - **lastUpdateOn** *(datetime) --* 

        The timestamp when the code security integration was last updated.

        
      

      - **tags** *(dict) --* 

        The tags associated with the code security integration.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
      

      - **authorizationUrl** *(string) --* 

        The URL used to authorize the integration with the repository provider. This is only returned if reauthorization is required to fix a connection issue. Otherwise, it is null.

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

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

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

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

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

  