:doc:`AuditManager <../../auditmanager>` / Client / list_keywords_for_data_source

*****************************
list_keywords_for_data_source
*****************************



.. py:method:: AuditManager.Client.list_keywords_for_data_source(**kwargs)

  

  Returns a list of keywords that are pre-mapped to the specified control data source.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource>`_  


  **Request Syntax**
  ::

    response = client.list_keywords_for_data_source(
        source='AWS_Cloudtrail'|'AWS_Config'|'AWS_Security_Hub'|'AWS_API_Call'|'MANUAL',
        nextToken='string',
        maxResults=123
    )
    
  :type source: string
  :param source: **[REQUIRED]** 

    The control mapping data source that the keywords apply to.

    

  
  :type nextToken: string
  :param nextToken: 

    The pagination token that's used to fetch the next set of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    Represents the maximum number of results on a page or for an API request call.

    

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

    
    ::

      {
          'keywords': [
              'string',
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **keywords** *(list) --* 

        The list of keywords for the control mapping source.

        
        

        - *(string) --* 
    
      

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

        The pagination token that's used to fetch the next set of results.

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

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

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

  