delete_filter

Inspector2.Client.delete_filter(**kwargs)

Deletes a filter resource.

See also: AWS API Documentation

Request Syntax

response = client.delete_filter(
    arn='string'
)
Parameters
arn (string) --

[REQUIRED]

The Amazon Resource Number (ARN) of the filter to be deleted.

Return type
dict
Returns
Response Syntax
{
    'arn': 'string'
}

Response Structure

  • (dict) --
    • arn (string) --

      The Amazon Resource Number (ARN) of the filter that has been deleted.

Exceptions

  • Inspector2.Client.exceptions.ValidationException
  • Inspector2.Client.exceptions.AccessDeniedException
  • Inspector2.Client.exceptions.ResourceNotFoundException
  • Inspector2.Client.exceptions.ThrottlingException
  • Inspector2.Client.exceptions.InternalServerException