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