AuditManager / Client / list_keywords_for_data_source
list_keywords_for_data_source#
- 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
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 )
- Parameters:
source (string) –
[REQUIRED]
The control mapping data source that the keywords apply to.
nextToken (string) – The pagination token that’s used to fetch the next set of results.
maxResults (integer) – Represents the maximum number of results on a page or for an API request call.
- Return type:
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
AuditManager.Client.exceptions.AccessDeniedException
AuditManager.Client.exceptions.ValidationException
AuditManager.Client.exceptions.InternalServerException