Inspector.Client.
list_exclusions
(**kwargs)¶List exclusions that are generated by the assessment run.
See also: AWS API Documentation
Request Syntax
response = client.list_exclusions(
assessmentRunArn='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The ARN of the assessment run that generated the exclusions that you want to list.
dict
Response Syntax
{
'exclusionArns': [
'string',
],
'nextToken': 'string'
}
Response Structure
(dict) --
exclusionArns (list) --
A list of exclusions' ARNs returned by the action.
nextToken (string) --
When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
Exceptions
Inspector.Client.exceptions.InternalException
Inspector.Client.exceptions.InvalidInputException
Inspector.Client.exceptions.AccessDeniedException
Inspector.Client.exceptions.NoSuchEntityException