EC2 / Client / delete_traffic_mirror_filter

delete_traffic_mirror_filter#

EC2.Client.delete_traffic_mirror_filter(**kwargs)#

Deletes the specified Traffic Mirror filter.

You cannot delete a Traffic Mirror filter that is in use by a Traffic Mirror session.

See also: AWS API Documentation

Request Syntax

response = client.delete_traffic_mirror_filter(
    TrafficMirrorFilterId='string',
    DryRun=True|False
)
Parameters:
  • TrafficMirrorFilterId (string) –

    [REQUIRED]

    The ID of the Traffic Mirror filter.

  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Return type:

dict

Returns:

Response Syntax

{
    'TrafficMirrorFilterId': 'string'
}

Response Structure

  • (dict) –

    • TrafficMirrorFilterId (string) –

      The ID of the Traffic Mirror filter.