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

**************************************************
list_code_security_scan_configuration_associations
**************************************************



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

  

  Lists the associations between code repositories and Amazon Inspector code security scan configurations.

  

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


  **Request Syntax**
  ::

    response = client.list_code_security_scan_configuration_associations(
        scanConfigurationArn='string',
        nextToken='string',
        maxResults=123
    )
    
  :type scanConfigurationArn: string
  :param scanConfigurationArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the scan configuration to list associations for.

    

  
  :type nextToken: string
  :param nextToken: 

    A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the ``NextToken`` value returned from the previous request to continue listing results after the first page.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return in the response. If your request would return more than the maximum the response will return a ``nextToken`` value, use this value when you call the action again to get the remaining results.

    

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

    
    ::

      {
          'associations': [
              {
                  'resource': {
                      'projectId': 'string'
                  }
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **associations** *(list) --* 

        A list of associations between code repositories and scan configurations.

        
        

        - *(dict) --* 

          A summary of an association between a code repository and a scan configuration.

          
          

          - **resource** *(dict) --* 

            Identifies a specific resource in a code repository that will be scanned.

            .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``projectId``.     If a client receives an unknown member it will     set ``SDK_UNKNOWN_MEMBER`` as the top level key,     which maps to the name or tag of the unknown     member. The structure of ``SDK_UNKNOWN_MEMBER`` is     as follows::

                        'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}


          
            

            - **projectId** *(string) --* 

              The unique identifier of the project in the code repository.

              
        
      
    
      

      - **nextToken** *(string) --* 

        A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the ``NextToken`` value returned from the previous request to continue listing results after the first page.

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

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

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

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

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

  