EC2.Client.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
)
[REQUIRED]
The ID of the Traffic Mirror target.
DryRunOperation . Otherwise, it is UnauthorizedOperation .dict
Response Syntax
{
'TrafficMirrorTargetId': 'string'
}
Response Structure
(dict) --
TrafficMirrorTargetId (string) --
The ID of the deleted Traffic Mirror target.