Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_traffic_mirror_target

delete_traffic_mirror_target(**kwargs)

Deletes the specified Traffic Mirror target.

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

See also: AWS API Documentation

Request Syntax

response = client.delete_traffic_mirror_target(
    TrafficMirrorTargetId='string',
    DryRun=True|False
)
Parameters
  • TrafficMirrorTargetId (string) --

    [REQUIRED]

    The ID of the Traffic Mirror target.

  • 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

{
    'TrafficMirrorTargetId': 'string'
}

Response Structure

  • (dict) --

    • TrafficMirrorTargetId (string) --

      The ID of the deleted Traffic Mirror target.