« blib/lib/Paws/EC2/TrafficMirrorPortRangeRequest.pm
↑ Summary
blib/lib/Paws/EC2/TrafficMirrorTarget.pm »
| 1 | package Paws::EC2::TrafficMirrorSession; | ||
| 2 | use Moose; | ||
| 3 | has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']); | ||
| 4 | has NetworkInterfaceId => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceId', traits => ['NameInRequest']); | ||
| 5 | has OwnerId => (is => 'ro', isa => 'Str', request_name => 'ownerId', traits => ['NameInRequest']); | ||
| 6 | has PacketLength => (is => 'ro', isa => 'Int', request_name => 'packetLength', traits => ['NameInRequest']); | ||
| 7 | has SessionNumber => (is => 'ro', isa => 'Int', request_name => 'sessionNumber', traits => ['NameInRequest']); | ||
| 8 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']); | ||
| 9 | has TrafficMirrorFilterId => (is => 'ro', isa => 'Str', request_name => 'trafficMirrorFilterId', traits => ['NameInRequest']); | ||
| 10 | has TrafficMirrorSessionId => (is => 'ro', isa => 'Str', request_name => 'trafficMirrorSessionId', traits => ['NameInRequest']); | ||
| 11 | has TrafficMirrorTargetId => (is => 'ro', isa => 'Str', request_name => 'trafficMirrorTargetId', traits => ['NameInRequest']); | ||
| 12 | has VirtualNetworkId => (is => 'ro', isa => 'Int', request_name => 'virtualNetworkId', traits => ['NameInRequest']); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::EC2::TrafficMirrorSession | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::EC2::TrafficMirrorSession object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { Description => $value, ..., VirtualNetworkId => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::TrafficMirrorSession object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->Description | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | This class has no description | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 Description => Str | ||
| 49 | |||
| 50 | The description of the Traffic Mirror session. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 NetworkInterfaceId => Str | ||
| 54 | |||
| 55 | The ID of the Traffic Mirror session's network interface. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 OwnerId => Str | ||
| 59 | |||
| 60 | The ID of the account that owns the Traffic Mirror session. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 PacketLength => Int | ||
| 64 | |||
| 65 | The number of bytes in each packet to mirror. These are the bytes after | ||
| 66 | the VXLAN header. To mirror a subset, set this to the length (in bytes) | ||
| 67 | to mirror. For example, if you set this value to 100, then the first | ||
| 68 | 100 bytes that meet the filter criteria are copied to the target. Do | ||
| 69 | not specify this parameter when you want to mirror the entire packet | ||
| 70 | |||
| 71 | |||
| 72 | =head2 SessionNumber => Int | ||
| 73 | |||
| 74 | The session number determines the order in which sessions are evaluated | ||
| 75 | when an interface is used by multiple sessions. The first session with | ||
| 76 | a matching filter is the one that mirrors the packets. | ||
| 77 | |||
| 78 | Valid values are 1-32766. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 Tags => ArrayRef[L<Paws::EC2::Tag>] | ||
| 82 | |||
| 83 | The tags assigned to the Traffic Mirror session. | ||
| 84 | |||
| 85 | |||
| 86 | =head2 TrafficMirrorFilterId => Str | ||
| 87 | |||
| 88 | The ID of the Traffic Mirror filter. | ||
| 89 | |||
| 90 | |||
| 91 | =head2 TrafficMirrorSessionId => Str | ||
| 92 | |||
| 93 | The ID for the Traffic Mirror session. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 TrafficMirrorTargetId => Str | ||
| 97 | |||
| 98 | The ID of the Traffic Mirror target. | ||
| 99 | |||
| 100 | |||
| 101 | =head2 VirtualNetworkId => Int | ||
| 102 | |||
| 103 | The virtual network ID associated with the Traffic Mirror session. | ||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | =head1 SEE ALSO | ||
| 108 | |||
| 109 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 110 | |||
| 111 | =head1 BUGS and CONTRIBUTIONS | ||
| 112 | |||
| 113 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 114 | |||
| 115 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 116 | |||
| 117 | =cut |