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