EC2 / Client / delete_traffic_mirror_filter_rule

delete_traffic_mirror_filter_rule#

EC2.Client.delete_traffic_mirror_filter_rule(**kwargs)#

Deletes the specified Traffic Mirror rule.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the Traffic Mirror rule.

  • 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

{
    'TrafficMirrorFilterRuleId': 'string'
}

Response Structure

  • (dict) –

    • TrafficMirrorFilterRuleId (string) –

      The ID of the deleted Traffic Mirror rule.