1
2package Paws::EC2::CreateRoute {
3  use Moose;
4  has DestinationCidrBlock => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationCidrBlock' , required => 1);
5  has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6  has GatewayId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'gatewayId' );
7  has InstanceId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'instanceId' );
8  has NetworkInterfaceId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'networkInterfaceId' );
9  has RouteTableId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'routeTableId' , required => 1);
10  has VpcPeeringConnectionId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'vpcPeeringConnectionId' );
11
12  use MooseX::ClassAttribute;
13
14  class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateRoute');
15  class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::CreateRouteResult');
16  class_has _result_key => (isa => 'Str', is => 'ro');
17}
181;
19
20### main pod documentation begin ###
21
22=head1 NAME
23
24Paws::EC2::CreateRoute - Arguments for method CreateRoute on Paws::EC2
25
26=head1 DESCRIPTION
27
28This class represents the parameters used for calling the method CreateRoute on the
29Amazon Elastic Compute Cloud service. Use the attributes of this class
30as arguments to method CreateRoute.
31
32You shouln't make instances of this class. Each attribute should be used as a named argument in the call to CreateRoute.
33
34As an example:
35
36  $service_obj->CreateRoute(Att1 => $value1, Att2 => $value2, ...);
37
38Values 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.
39
40=head1 ATTRIBUTES
41
42=head2 B<REQUIRED> DestinationCidrBlock => Str
43
44
45
46The CIDR address block used for the destination match. Routing
47decisions are based on the most specific match.
48
49
50
51
52
53
54
55
56
57
58=head2 DryRun => Bool
59
60
61
62Checks whether you have the required permissions for the action,
63without actually making the request, and provides an error response. If
64you have the required permissions, the error response is
65C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
66
67
68
69
70
71
72
73
74
75
76=head2 GatewayId => Str
77
78
79
80The ID of an Internet gateway or virtual private gateway attached to
81your VPC.
82
83
84
85
86
87
88
89
90
91
92=head2 InstanceId => Str
93
94
95
96The ID of a NAT instance in your VPC. The operation fails if you
97specify an instance ID unless exactly one network interface is
98attached.
99
100
101
102
103
104
105
106
107
108
109=head2 NetworkInterfaceId => Str
110
111
112
113The ID of a network interface.
114
115
116
117
118
119
120
121
122
123
124=head2 B<REQUIRED> RouteTableId => Str
125
126
127
128The ID of the route table for the route.
129
130
131
132
133
134
135
136
137
138
139=head2 VpcPeeringConnectionId => Str
140
141
142
143The ID of a VPC peering connection.
144
145
146
147
148
149
150
151
152
153
154
155
156=head1 SEE ALSO
157
158This class forms part of L<Paws>, documenting arguments for method CreateRoute in L<Paws::EC2>
159
160=head1 BUGS and CONTRIBUTIONS
161
162The source code is located here: https://github.com/pplu/aws-sdk-perl
163
164Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
165
166=cut
167
168