Skip to content

/AWS1/CL_EC2=>DESCRTRAFFICMIRRORSESSIONS()

About DescribeTrafficMirrorSessions

Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.

Method Signature

IMPORTING

Optional arguments:

IT_TRAFFICMIRRORSESSIONIDS TYPE /AWS1/CL_EC2TRFMIRRSESSIDLST_W=>TT_TRAFFICMIRRORSESSIONIDLIST TT_TRAFFICMIRRORSESSIONIDLIST

The ID of the Traffic Mirror session.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

IT_FILTERS TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST TT_FILTERLIST

One or more filters. The possible values are:

  • description: The Traffic Mirror session description.

  • network-interface-id: The ID of the Traffic Mirror session network interface.

  • owner-id: The ID of the account that owns the Traffic Mirror session.

  • packet-length: The assigned number of packets to mirror.

  • session-number: The assigned session number.

  • traffic-mirror-filter-id: The ID of the Traffic Mirror filter.

  • traffic-mirror-session-id: The ID of the Traffic Mirror session.

  • traffic-mirror-target-id: The ID of the Traffic Mirror target.

  • virtual-network-id: The virtual network ID of the Traffic Mirror session.

IV_MAXRESULTS TYPE /AWS1/EC2TRAFMIRRINGMAXRESULTS /AWS1/EC2TRAFMIRRINGMAXRESULTS

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

IV_NEXTTOKEN TYPE /AWS1/EC2NEXTTOKEN /AWS1/EC2NEXTTOKEN

The token for the next page of results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DSCTRFMIRRSESSSRS /AWS1/CL_EC2DSCTRFMIRRSESSSRS