| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Paws::EC2::NatGateway; |
|
2
|
1
|
|
|
1
|
|
438
|
use Moose; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
|
|
has CreateTime => (is => 'ro', isa => 'Str', request_name => 'createTime', traits => ['NameInRequest']); |
|
4
|
|
|
|
|
|
|
has DeleteTime => (is => 'ro', isa => 'Str', request_name => 'deleteTime', traits => ['NameInRequest']); |
|
5
|
|
|
|
|
|
|
has FailureCode => (is => 'ro', isa => 'Str', request_name => 'failureCode', traits => ['NameInRequest']); |
|
6
|
|
|
|
|
|
|
has FailureMessage => (is => 'ro', isa => 'Str', request_name => 'failureMessage', traits => ['NameInRequest']); |
|
7
|
|
|
|
|
|
|
has NatGatewayAddresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::NatGatewayAddress]', request_name => 'natGatewayAddressSet', traits => ['NameInRequest']); |
|
8
|
|
|
|
|
|
|
has NatGatewayId => (is => 'ro', isa => 'Str', request_name => 'natGatewayId', traits => ['NameInRequest']); |
|
9
|
|
|
|
|
|
|
has ProvisionedBandwidth => (is => 'ro', isa => 'Paws::EC2::ProvisionedBandwidth', request_name => 'provisionedBandwidth', traits => ['NameInRequest']); |
|
10
|
|
|
|
|
|
|
has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']); |
|
11
|
|
|
|
|
|
|
has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']); |
|
12
|
|
|
|
|
|
|
has VpcId => (is => 'ro', isa => 'Str', request_name => 'vpcId', traits => ['NameInRequest']); |
|
13
|
|
|
|
|
|
|
1; |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 NAME |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Paws::EC2::NatGateway |
|
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::NatGateway object: |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { CreateTime => $value, ..., VpcId => $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::NatGateway object: |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
|
39
|
|
|
|
|
|
|
$result->Att1->CreateTime |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
This class has no description |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 CreateTime => Str |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The date and time the NAT gateway was created. |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 DeleteTime => Str |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
The date and time the NAT gateway was deleted, if applicable. |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 FailureCode => Str |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
If the NAT gateway could not be created, specifies the error code for |
|
61
|
|
|
|
|
|
|
the failure. (C<InsufficientFreeAddressesInSubnet> | |
|
62
|
|
|
|
|
|
|
C<Gateway.NotAttached> | C<InvalidAllocationID.NotFound> | |
|
63
|
|
|
|
|
|
|
C<Resource.AlreadyAssociated> | C<InternalError> | |
|
64
|
|
|
|
|
|
|
C<InvalidSubnetID.NotFound>) |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 FailureMessage => Str |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
If the NAT gateway could not be created, specifies the error message |
|
70
|
|
|
|
|
|
|
for the failure, that corresponds to the error code. |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=over |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=item * |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free |
|
77
|
|
|
|
|
|
|
addresses to create this NAT gateway" |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway |
|
82
|
|
|
|
|
|
|
attached" |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=item * |
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx |
|
87
|
|
|
|
|
|
|
could not be associated with this NAT gateway" |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=item * |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx |
|
92
|
|
|
|
|
|
|
is already associated" |
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=item * |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
For InternalError: "Network interface eni-xxxxxxxx, created and used |
|
97
|
|
|
|
|
|
|
internally by this NAT gateway is in an invalid state. Please try |
|
98
|
|
|
|
|
|
|
again." |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=item * |
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx |
|
103
|
|
|
|
|
|
|
does not exist or could not be found." |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=back |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head2 NatGatewayAddresses => ArrayRef[L<Paws::EC2::NatGatewayAddress>] |
|
110
|
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Information about the IP addresses and network interface associated |
|
112
|
|
|
|
|
|
|
with the NAT gateway. |
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 NatGatewayId => Str |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
The ID of the NAT gateway. |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 ProvisionedBandwidth => L<Paws::EC2::ProvisionedBandwidth> |
|
121
|
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Reserved. If you need to sustain traffic greater than the documented |
|
123
|
|
|
|
|
|
|
limits, contact us through the Support Center. |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head2 State => Str |
|
127
|
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
The state of the NAT gateway. |
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=over |
|
131
|
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=item * |
|
133
|
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
C<pending>: The NAT gateway is being created and is not ready to |
|
135
|
|
|
|
|
|
|
process traffic. |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=item * |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
C<failed>: The NAT gateway could not be created. Check the |
|
140
|
|
|
|
|
|
|
C<failureCode> and C<failureMessage> fields for the reason. |
|
141
|
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=item * |
|
143
|
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
C<available>: The NAT gateway is able to process traffic. This status |
|
145
|
|
|
|
|
|
|
remains until you delete the NAT gateway, and does not indicate the |
|
146
|
|
|
|
|
|
|
health of the NAT gateway. |
|
147
|
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=item * |
|
149
|
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
C<deleting>: The NAT gateway is in the process of being terminated and |
|
151
|
|
|
|
|
|
|
may still be processing traffic. |
|
152
|
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=item * |
|
154
|
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
C<deleted>: The NAT gateway has been terminated and is no longer |
|
156
|
|
|
|
|
|
|
processing traffic. |
|
157
|
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=back |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 SubnetId => Str |
|
163
|
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
The ID of the subnet in which the NAT gateway is located. |
|
165
|
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head2 VpcId => Str |
|
168
|
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
The ID of the VPC in which the NAT gateway is located. |
|
170
|
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
174
|
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::EC2> |
|
176
|
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
|
178
|
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
|
182
|
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=cut |