delete_traffic_mirror_session

delete_traffic_mirror_session(**kwargs)

Deletes the specified Traffic Mirror session.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the Traffic Mirror session.

  • 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

{
    'TrafficMirrorSessionId': 'string'
}

Response Structure

  • (dict) --

    • TrafficMirrorSessionId (string) --

      The ID of the deleted Traffic Mirror session.