DescribeTrafficMirrorSessions#

Description#

Retrieves the list of mirror sessions and their descriptions. One or more filters by mirror session parameters can be applied.

Request Parameters#

  • Filter.N — One or more filters.

    • Type: List of Filter objects

    • Required: No

  • TrafficMirrorSessionId.N — The IDs of mirror sessions.

    • Type: Array of strings

    • Required: No

Supported Filters#

  • network-interface-id — The ID of the traffic source network interface.

  • traffic-mirror-target-id — The ID of the mirror target.

  • traffic-mirror-filter-id — The ID of the mirror filter.

  • session-number — The number of the mirror session.

Response Elements#

  • trafficMirrorSessionSet — The list of mirror sessions with descriptions.

Examples#

c2-ec2 DescribeTrafficMirrorSessions trafficMirrorSessionId.1 tms-42D7CAD3

c2-ec2 DescribeTrafficMirrorSessions Filter.1.Name network-interface-id Filter.1.Value eni-A1BF7290

c2-ec2 DescribeTrafficMirrorSessions Filter.1.Name traffic-mirror-filter-id Filter.1.Value tmf-FA88E939 Filter.2.Name session-number Filter.2.Value 10