You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::DescribeTrafficMirrorSessionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DescribeTrafficMirrorSessionsRequest
- Defined in:
- (unknown)
Overview
When passing DescribeTrafficMirrorSessionsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
traffic_mirror_session_ids: ["TrafficMirrorSessionId"],
dry_run: false,
filters: [
{
name: "String",
values: ["String"],
},
],
max_results: 1,
next_token: "NextToken",
}
Instance Attribute Summary collapse
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#filters ⇒ Array<Types::Filter>
One or more filters.
-
#max_results ⇒ Integer
The maximum number of results to return with a single call.
-
#next_token ⇒ String
The token for the next page of results.
-
#traffic_mirror_session_ids ⇒ Array<String>
The ID of the Traffic Mirror session.
Instance Attribute Details
#dry_run ⇒ 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
.
#filters ⇒ Array<Types::Filter>
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.
#max_results ⇒ Integer
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
#next_token ⇒ String
The token for the next page of results.
#traffic_mirror_session_ids ⇒ Array<String>
The ID of the Traffic Mirror session.