1 2package Paws::EC2::CreateFlowLogs { 3 use Moose; 4 has ClientToken => (is => 'ro', isa => 'Str'); 5 has DeliverLogsPermissionArn => (is => 'ro', isa => 'Str', required => 1); 6 has LogGroupName => (is => 'ro', isa => 'Str', required => 1); 7 has ResourceIds => (is => 'ro', isa => 'ArrayRef[Str]', traits => ['NameInRequest'], request_name => 'ResourceId' , required => 1); 8 has ResourceType => (is => 'ro', isa => 'Str', required => 1); 9 has TrafficType => (is => 'ro', isa => 'Str', required => 1); 10 11 use MooseX::ClassAttribute; 12 13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateFlowLogs'); 14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::CreateFlowLogsResult'); 15 class_has _result_key => (isa => 'Str', is => 'ro'); 16} 171; 18 19### main pod documentation begin ### 20 21=head1 NAME 22 23Paws::EC2::CreateFlowLogs - Arguments for method CreateFlowLogs on Paws::EC2 24 25=head1 DESCRIPTION 26 27This class represents the parameters used for calling the method CreateFlowLogs on the 28Amazon Elastic Compute Cloud service. Use the attributes of this class 29as arguments to method CreateFlowLogs. 30 31You shouln't make instances of this class. Each attribute should be used as a named argument in the call to CreateFlowLogs. 32 33As an example: 34 35 $service_obj->CreateFlowLogs(Att1 => $value1, Att2 => $value2, ...); 36 37Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. 38 39=head1 ATTRIBUTES 40 41=head2 ClientToken => Str 42 43 44 45Unique, case-sensitive identifier you provide to ensure the idempotency 46of the request. For more information, see How to Ensure Idempotency. 47 48 49 50 51 52 53 54 55 56 57=head2 B<REQUIRED> DeliverLogsPermissionArn => Str 58 59 60 61The ARN for the IAM role that's used to post flow logs to a CloudWatch 62Logs log group. 63 64 65 66 67 68 69 70 71 72 73=head2 B<REQUIRED> LogGroupName => Str 74 75 76 77The name of the CloudWatch log group. 78 79 80 81 82 83 84 85 86 87 88=head2 B<REQUIRED> ResourceIds => ArrayRef[Str] 89 90 91 92One or more subnet, network interface, or VPC IDs. 93 94 95 96 97 98 99 100 101 102 103=head2 B<REQUIRED> ResourceType => Str 104 105 106 107The type of resource on which to create the flow log. 108 109 110 111 112 113 114 115 116 117 118=head2 B<REQUIRED> TrafficType => Str 119 120 121 122The type of traffic to log. 123 124 125 126 127 128 129 130 131 132 133 134 135=head1 SEE ALSO 136 137This class forms part of L<Paws>, documenting arguments for method CreateFlowLogs in L<Paws::EC2> 138 139=head1 BUGS and CONTRIBUTIONS 140 141The source code is located here: https://github.com/pplu/aws-sdk-perl 142 143Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues 144 145=cut 146 147