line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::Lightsail; |
2
|
1
|
|
|
1
|
|
1174
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
3
|
|
|
|
|
|
|
sub service { 'lightsail' } |
4
|
|
|
|
|
|
|
sub version { '2016-11-28' } |
5
|
|
|
|
|
|
|
sub target_prefix { 'Lightsail_20161128' } |
6
|
|
|
|
|
|
|
sub json_version { "1.1" } |
7
|
|
|
|
|
|
|
has max_attempts => (is => 'ro', isa => 'Int', default => 5); |
8
|
|
|
|
|
|
|
has retry => (is => 'ro', isa => 'HashRef', default => sub { |
9
|
|
|
|
|
|
|
{ base => 'rand', type => 'exponential', growth_factor => 2 } |
10
|
|
|
|
|
|
|
}); |
11
|
|
|
|
|
|
|
has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ |
12
|
|
|
|
|
|
|
] }); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub AllocateStaticIp { |
18
|
|
|
|
|
|
|
my $self = shift; |
19
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::AllocateStaticIp', @_); |
20
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
sub AttachStaticIp { |
23
|
|
|
|
|
|
|
my $self = shift; |
24
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::AttachStaticIp', @_); |
25
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
sub CloseInstancePublicPorts { |
28
|
|
|
|
|
|
|
my $self = shift; |
29
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::CloseInstancePublicPorts', @_); |
30
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
sub CreateDomain { |
33
|
|
|
|
|
|
|
my $self = shift; |
34
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::CreateDomain', @_); |
35
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
sub CreateDomainEntry { |
38
|
|
|
|
|
|
|
my $self = shift; |
39
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::CreateDomainEntry', @_); |
40
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
sub CreateInstances { |
43
|
|
|
|
|
|
|
my $self = shift; |
44
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::CreateInstances', @_); |
45
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
sub CreateInstancesFromSnapshot { |
48
|
|
|
|
|
|
|
my $self = shift; |
49
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::CreateInstancesFromSnapshot', @_); |
50
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
sub CreateInstanceSnapshot { |
53
|
|
|
|
|
|
|
my $self = shift; |
54
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::CreateInstanceSnapshot', @_); |
55
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
sub CreateKeyPair { |
58
|
|
|
|
|
|
|
my $self = shift; |
59
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::CreateKeyPair', @_); |
60
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
sub DeleteDomain { |
63
|
|
|
|
|
|
|
my $self = shift; |
64
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::DeleteDomain', @_); |
65
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
sub DeleteDomainEntry { |
68
|
|
|
|
|
|
|
my $self = shift; |
69
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::DeleteDomainEntry', @_); |
70
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
sub DeleteInstance { |
73
|
|
|
|
|
|
|
my $self = shift; |
74
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::DeleteInstance', @_); |
75
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
sub DeleteInstanceSnapshot { |
78
|
|
|
|
|
|
|
my $self = shift; |
79
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::DeleteInstanceSnapshot', @_); |
80
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
sub DeleteKeyPair { |
83
|
|
|
|
|
|
|
my $self = shift; |
84
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::DeleteKeyPair', @_); |
85
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
86
|
|
|
|
|
|
|
} |
87
|
|
|
|
|
|
|
sub DetachStaticIp { |
88
|
|
|
|
|
|
|
my $self = shift; |
89
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::DetachStaticIp', @_); |
90
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
91
|
|
|
|
|
|
|
} |
92
|
|
|
|
|
|
|
sub DownloadDefaultKeyPair { |
93
|
|
|
|
|
|
|
my $self = shift; |
94
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::DownloadDefaultKeyPair', @_); |
95
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
96
|
|
|
|
|
|
|
} |
97
|
|
|
|
|
|
|
sub GetActiveNames { |
98
|
|
|
|
|
|
|
my $self = shift; |
99
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetActiveNames', @_); |
100
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
sub GetBlueprints { |
103
|
|
|
|
|
|
|
my $self = shift; |
104
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetBlueprints', @_); |
105
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
106
|
|
|
|
|
|
|
} |
107
|
|
|
|
|
|
|
sub GetBundles { |
108
|
|
|
|
|
|
|
my $self = shift; |
109
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetBundles', @_); |
110
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
sub GetDomain { |
113
|
|
|
|
|
|
|
my $self = shift; |
114
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetDomain', @_); |
115
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
sub GetDomains { |
118
|
|
|
|
|
|
|
my $self = shift; |
119
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetDomains', @_); |
120
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
121
|
|
|
|
|
|
|
} |
122
|
|
|
|
|
|
|
sub GetInstance { |
123
|
|
|
|
|
|
|
my $self = shift; |
124
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetInstance', @_); |
125
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
126
|
|
|
|
|
|
|
} |
127
|
|
|
|
|
|
|
sub GetInstanceAccessDetails { |
128
|
|
|
|
|
|
|
my $self = shift; |
129
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetInstanceAccessDetails', @_); |
130
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
131
|
|
|
|
|
|
|
} |
132
|
|
|
|
|
|
|
sub GetInstanceMetricData { |
133
|
|
|
|
|
|
|
my $self = shift; |
134
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetInstanceMetricData', @_); |
135
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
136
|
|
|
|
|
|
|
} |
137
|
|
|
|
|
|
|
sub GetInstancePortStates { |
138
|
|
|
|
|
|
|
my $self = shift; |
139
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetInstancePortStates', @_); |
140
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
141
|
|
|
|
|
|
|
} |
142
|
|
|
|
|
|
|
sub GetInstances { |
143
|
|
|
|
|
|
|
my $self = shift; |
144
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetInstances', @_); |
145
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
146
|
|
|
|
|
|
|
} |
147
|
|
|
|
|
|
|
sub GetInstanceSnapshot { |
148
|
|
|
|
|
|
|
my $self = shift; |
149
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetInstanceSnapshot', @_); |
150
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
sub GetInstanceSnapshots { |
153
|
|
|
|
|
|
|
my $self = shift; |
154
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetInstanceSnapshots', @_); |
155
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
156
|
|
|
|
|
|
|
} |
157
|
|
|
|
|
|
|
sub GetInstanceState { |
158
|
|
|
|
|
|
|
my $self = shift; |
159
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetInstanceState', @_); |
160
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
161
|
|
|
|
|
|
|
} |
162
|
|
|
|
|
|
|
sub GetKeyPair { |
163
|
|
|
|
|
|
|
my $self = shift; |
164
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetKeyPair', @_); |
165
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
sub GetKeyPairs { |
168
|
|
|
|
|
|
|
my $self = shift; |
169
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetKeyPairs', @_); |
170
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
171
|
|
|
|
|
|
|
} |
172
|
|
|
|
|
|
|
sub GetOperation { |
173
|
|
|
|
|
|
|
my $self = shift; |
174
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetOperation', @_); |
175
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
176
|
|
|
|
|
|
|
} |
177
|
|
|
|
|
|
|
sub GetOperations { |
178
|
|
|
|
|
|
|
my $self = shift; |
179
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetOperations', @_); |
180
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
181
|
|
|
|
|
|
|
} |
182
|
|
|
|
|
|
|
sub GetOperationsForResource { |
183
|
|
|
|
|
|
|
my $self = shift; |
184
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetOperationsForResource', @_); |
185
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
186
|
|
|
|
|
|
|
} |
187
|
|
|
|
|
|
|
sub GetRegions { |
188
|
|
|
|
|
|
|
my $self = shift; |
189
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetRegions', @_); |
190
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
191
|
|
|
|
|
|
|
} |
192
|
|
|
|
|
|
|
sub GetStaticIp { |
193
|
|
|
|
|
|
|
my $self = shift; |
194
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetStaticIp', @_); |
195
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
196
|
|
|
|
|
|
|
} |
197
|
|
|
|
|
|
|
sub GetStaticIps { |
198
|
|
|
|
|
|
|
my $self = shift; |
199
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::GetStaticIps', @_); |
200
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
sub ImportKeyPair { |
203
|
|
|
|
|
|
|
my $self = shift; |
204
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::ImportKeyPair', @_); |
205
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
206
|
|
|
|
|
|
|
} |
207
|
|
|
|
|
|
|
sub IsVpcPeered { |
208
|
|
|
|
|
|
|
my $self = shift; |
209
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::IsVpcPeered', @_); |
210
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
211
|
|
|
|
|
|
|
} |
212
|
|
|
|
|
|
|
sub OpenInstancePublicPorts { |
213
|
|
|
|
|
|
|
my $self = shift; |
214
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::OpenInstancePublicPorts', @_); |
215
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
216
|
|
|
|
|
|
|
} |
217
|
|
|
|
|
|
|
sub PeerVpc { |
218
|
|
|
|
|
|
|
my $self = shift; |
219
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::PeerVpc', @_); |
220
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
221
|
|
|
|
|
|
|
} |
222
|
|
|
|
|
|
|
sub PutInstancePublicPorts { |
223
|
|
|
|
|
|
|
my $self = shift; |
224
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::PutInstancePublicPorts', @_); |
225
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
226
|
|
|
|
|
|
|
} |
227
|
|
|
|
|
|
|
sub RebootInstance { |
228
|
|
|
|
|
|
|
my $self = shift; |
229
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::RebootInstance', @_); |
230
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
231
|
|
|
|
|
|
|
} |
232
|
|
|
|
|
|
|
sub ReleaseStaticIp { |
233
|
|
|
|
|
|
|
my $self = shift; |
234
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::ReleaseStaticIp', @_); |
235
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
236
|
|
|
|
|
|
|
} |
237
|
|
|
|
|
|
|
sub StartInstance { |
238
|
|
|
|
|
|
|
my $self = shift; |
239
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::StartInstance', @_); |
240
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
241
|
|
|
|
|
|
|
} |
242
|
|
|
|
|
|
|
sub StopInstance { |
243
|
|
|
|
|
|
|
my $self = shift; |
244
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::StopInstance', @_); |
245
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
246
|
|
|
|
|
|
|
} |
247
|
|
|
|
|
|
|
sub UnpeerVpc { |
248
|
|
|
|
|
|
|
my $self = shift; |
249
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::UnpeerVpc', @_); |
250
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
251
|
|
|
|
|
|
|
} |
252
|
|
|
|
|
|
|
sub UpdateDomainEntry { |
253
|
|
|
|
|
|
|
my $self = shift; |
254
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Lightsail::UpdateDomainEntry', @_); |
255
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
256
|
|
|
|
|
|
|
} |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
sub GetAllActiveNames { |
259
|
|
|
|
|
|
|
my $self = shift; |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
262
|
|
|
|
|
|
|
my $result = $self->GetActiveNames(@_); |
263
|
|
|
|
|
|
|
my $next_result = $result; |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
if (not defined $callback) { |
266
|
|
|
|
|
|
|
while ($next_result->nextPageToken) { |
267
|
|
|
|
|
|
|
$next_result = $self->GetActiveNames(@_, pageToken => $next_result->nextPageToken); |
268
|
|
|
|
|
|
|
push @{ $result->activeNames }, @{ $next_result->activeNames }; |
269
|
|
|
|
|
|
|
} |
270
|
|
|
|
|
|
|
return $result; |
271
|
|
|
|
|
|
|
} else { |
272
|
|
|
|
|
|
|
while ($result->nextPageToken) { |
273
|
|
|
|
|
|
|
$callback->($_ => 'activeNames') foreach (@{ $result->activeNames }); |
274
|
|
|
|
|
|
|
$result = $self->GetActiveNames(@_, pageToken => $result->nextPageToken); |
275
|
|
|
|
|
|
|
} |
276
|
|
|
|
|
|
|
$callback->($_ => 'activeNames') foreach (@{ $result->activeNames }); |
277
|
|
|
|
|
|
|
} |
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
return undef |
280
|
|
|
|
|
|
|
} |
281
|
|
|
|
|
|
|
sub GetAllBlueprints { |
282
|
|
|
|
|
|
|
my $self = shift; |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
285
|
|
|
|
|
|
|
my $result = $self->GetBlueprints(@_); |
286
|
|
|
|
|
|
|
my $next_result = $result; |
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
if (not defined $callback) { |
289
|
|
|
|
|
|
|
while ($next_result->nextPageToken) { |
290
|
|
|
|
|
|
|
$next_result = $self->GetBlueprints(@_, pageToken => $next_result->nextPageToken); |
291
|
|
|
|
|
|
|
push @{ $result->blueprints }, @{ $next_result->blueprints }; |
292
|
|
|
|
|
|
|
} |
293
|
|
|
|
|
|
|
return $result; |
294
|
|
|
|
|
|
|
} else { |
295
|
|
|
|
|
|
|
while ($result->nextPageToken) { |
296
|
|
|
|
|
|
|
$callback->($_ => 'blueprints') foreach (@{ $result->blueprints }); |
297
|
|
|
|
|
|
|
$result = $self->GetBlueprints(@_, pageToken => $result->nextPageToken); |
298
|
|
|
|
|
|
|
} |
299
|
|
|
|
|
|
|
$callback->($_ => 'blueprints') foreach (@{ $result->blueprints }); |
300
|
|
|
|
|
|
|
} |
301
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
return undef |
303
|
|
|
|
|
|
|
} |
304
|
|
|
|
|
|
|
sub GetAllBundles { |
305
|
|
|
|
|
|
|
my $self = shift; |
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
308
|
|
|
|
|
|
|
my $result = $self->GetBundles(@_); |
309
|
|
|
|
|
|
|
my $next_result = $result; |
310
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
if (not defined $callback) { |
312
|
|
|
|
|
|
|
while ($next_result->nextPageToken) { |
313
|
|
|
|
|
|
|
$next_result = $self->GetBundles(@_, pageToken => $next_result->nextPageToken); |
314
|
|
|
|
|
|
|
push @{ $result->bundles }, @{ $next_result->bundles }; |
315
|
|
|
|
|
|
|
} |
316
|
|
|
|
|
|
|
return $result; |
317
|
|
|
|
|
|
|
} else { |
318
|
|
|
|
|
|
|
while ($result->nextPageToken) { |
319
|
|
|
|
|
|
|
$callback->($_ => 'bundles') foreach (@{ $result->bundles }); |
320
|
|
|
|
|
|
|
$result = $self->GetBundles(@_, pageToken => $result->nextPageToken); |
321
|
|
|
|
|
|
|
} |
322
|
|
|
|
|
|
|
$callback->($_ => 'bundles') foreach (@{ $result->bundles }); |
323
|
|
|
|
|
|
|
} |
324
|
|
|
|
|
|
|
|
325
|
|
|
|
|
|
|
return undef |
326
|
|
|
|
|
|
|
} |
327
|
|
|
|
|
|
|
sub GetAllDomains { |
328
|
|
|
|
|
|
|
my $self = shift; |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
331
|
|
|
|
|
|
|
my $result = $self->GetDomains(@_); |
332
|
|
|
|
|
|
|
my $next_result = $result; |
333
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
if (not defined $callback) { |
335
|
|
|
|
|
|
|
while ($next_result->nextPageToken) { |
336
|
|
|
|
|
|
|
$next_result = $self->GetDomains(@_, pageToken => $next_result->nextPageToken); |
337
|
|
|
|
|
|
|
push @{ $result->domains }, @{ $next_result->domains }; |
338
|
|
|
|
|
|
|
} |
339
|
|
|
|
|
|
|
return $result; |
340
|
|
|
|
|
|
|
} else { |
341
|
|
|
|
|
|
|
while ($result->nextPageToken) { |
342
|
|
|
|
|
|
|
$callback->($_ => 'domains') foreach (@{ $result->domains }); |
343
|
|
|
|
|
|
|
$result = $self->GetDomains(@_, pageToken => $result->nextPageToken); |
344
|
|
|
|
|
|
|
} |
345
|
|
|
|
|
|
|
$callback->($_ => 'domains') foreach (@{ $result->domains }); |
346
|
|
|
|
|
|
|
} |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
return undef |
349
|
|
|
|
|
|
|
} |
350
|
|
|
|
|
|
|
sub GetAllInstances { |
351
|
|
|
|
|
|
|
my $self = shift; |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
354
|
|
|
|
|
|
|
my $result = $self->GetInstances(@_); |
355
|
|
|
|
|
|
|
my $next_result = $result; |
356
|
|
|
|
|
|
|
|
357
|
|
|
|
|
|
|
if (not defined $callback) { |
358
|
|
|
|
|
|
|
while ($next_result->nextPageToken) { |
359
|
|
|
|
|
|
|
$next_result = $self->GetInstances(@_, pageToken => $next_result->nextPageToken); |
360
|
|
|
|
|
|
|
push @{ $result->instances }, @{ $next_result->instances }; |
361
|
|
|
|
|
|
|
} |
362
|
|
|
|
|
|
|
return $result; |
363
|
|
|
|
|
|
|
} else { |
364
|
|
|
|
|
|
|
while ($result->nextPageToken) { |
365
|
|
|
|
|
|
|
$callback->($_ => 'instances') foreach (@{ $result->instances }); |
366
|
|
|
|
|
|
|
$result = $self->GetInstances(@_, pageToken => $result->nextPageToken); |
367
|
|
|
|
|
|
|
} |
368
|
|
|
|
|
|
|
$callback->($_ => 'instances') foreach (@{ $result->instances }); |
369
|
|
|
|
|
|
|
} |
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
return undef |
372
|
|
|
|
|
|
|
} |
373
|
|
|
|
|
|
|
sub GetAllInstanceSnapshots { |
374
|
|
|
|
|
|
|
my $self = shift; |
375
|
|
|
|
|
|
|
|
376
|
|
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
377
|
|
|
|
|
|
|
my $result = $self->GetInstanceSnapshots(@_); |
378
|
|
|
|
|
|
|
my $next_result = $result; |
379
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
if (not defined $callback) { |
381
|
|
|
|
|
|
|
while ($next_result->nextPageToken) { |
382
|
|
|
|
|
|
|
$next_result = $self->GetInstanceSnapshots(@_, pageToken => $next_result->nextPageToken); |
383
|
|
|
|
|
|
|
push @{ $result->instanceSnapshots }, @{ $next_result->instanceSnapshots }; |
384
|
|
|
|
|
|
|
} |
385
|
|
|
|
|
|
|
return $result; |
386
|
|
|
|
|
|
|
} else { |
387
|
|
|
|
|
|
|
while ($result->nextPageToken) { |
388
|
|
|
|
|
|
|
$callback->($_ => 'instanceSnapshots') foreach (@{ $result->instanceSnapshots }); |
389
|
|
|
|
|
|
|
$result = $self->GetInstanceSnapshots(@_, pageToken => $result->nextPageToken); |
390
|
|
|
|
|
|
|
} |
391
|
|
|
|
|
|
|
$callback->($_ => 'instanceSnapshots') foreach (@{ $result->instanceSnapshots }); |
392
|
|
|
|
|
|
|
} |
393
|
|
|
|
|
|
|
|
394
|
|
|
|
|
|
|
return undef |
395
|
|
|
|
|
|
|
} |
396
|
|
|
|
|
|
|
sub GetAllKeyPairs { |
397
|
|
|
|
|
|
|
my $self = shift; |
398
|
|
|
|
|
|
|
|
399
|
|
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
400
|
|
|
|
|
|
|
my $result = $self->GetKeyPairs(@_); |
401
|
|
|
|
|
|
|
my $next_result = $result; |
402
|
|
|
|
|
|
|
|
403
|
|
|
|
|
|
|
if (not defined $callback) { |
404
|
|
|
|
|
|
|
while ($next_result->nextPageToken) { |
405
|
|
|
|
|
|
|
$next_result = $self->GetKeyPairs(@_, pageToken => $next_result->nextPageToken); |
406
|
|
|
|
|
|
|
push @{ $result->keyPairs }, @{ $next_result->keyPairs }; |
407
|
|
|
|
|
|
|
} |
408
|
|
|
|
|
|
|
return $result; |
409
|
|
|
|
|
|
|
} else { |
410
|
|
|
|
|
|
|
while ($result->nextPageToken) { |
411
|
|
|
|
|
|
|
$callback->($_ => 'keyPairs') foreach (@{ $result->keyPairs }); |
412
|
|
|
|
|
|
|
$result = $self->GetKeyPairs(@_, pageToken => $result->nextPageToken); |
413
|
|
|
|
|
|
|
} |
414
|
|
|
|
|
|
|
$callback->($_ => 'keyPairs') foreach (@{ $result->keyPairs }); |
415
|
|
|
|
|
|
|
} |
416
|
|
|
|
|
|
|
|
417
|
|
|
|
|
|
|
return undef |
418
|
|
|
|
|
|
|
} |
419
|
|
|
|
|
|
|
sub GetAllOperations { |
420
|
|
|
|
|
|
|
my $self = shift; |
421
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
423
|
|
|
|
|
|
|
my $result = $self->GetOperations(@_); |
424
|
|
|
|
|
|
|
my $next_result = $result; |
425
|
|
|
|
|
|
|
|
426
|
|
|
|
|
|
|
if (not defined $callback) { |
427
|
|
|
|
|
|
|
while ($next_result->nextPageToken) { |
428
|
|
|
|
|
|
|
$next_result = $self->GetOperations(@_, pageToken => $next_result->nextPageToken); |
429
|
|
|
|
|
|
|
push @{ $result->operations }, @{ $next_result->operations }; |
430
|
|
|
|
|
|
|
} |
431
|
|
|
|
|
|
|
return $result; |
432
|
|
|
|
|
|
|
} else { |
433
|
|
|
|
|
|
|
while ($result->nextPageToken) { |
434
|
|
|
|
|
|
|
$callback->($_ => 'operations') foreach (@{ $result->operations }); |
435
|
|
|
|
|
|
|
$result = $self->GetOperations(@_, pageToken => $result->nextPageToken); |
436
|
|
|
|
|
|
|
} |
437
|
|
|
|
|
|
|
$callback->($_ => 'operations') foreach (@{ $result->operations }); |
438
|
|
|
|
|
|
|
} |
439
|
|
|
|
|
|
|
|
440
|
|
|
|
|
|
|
return undef |
441
|
|
|
|
|
|
|
} |
442
|
|
|
|
|
|
|
sub GetAllStaticIps { |
443
|
|
|
|
|
|
|
my $self = shift; |
444
|
|
|
|
|
|
|
|
445
|
|
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
446
|
|
|
|
|
|
|
my $result = $self->GetStaticIps(@_); |
447
|
|
|
|
|
|
|
my $next_result = $result; |
448
|
|
|
|
|
|
|
|
449
|
|
|
|
|
|
|
if (not defined $callback) { |
450
|
|
|
|
|
|
|
while ($next_result->nextPageToken) { |
451
|
|
|
|
|
|
|
$next_result = $self->GetStaticIps(@_, pageToken => $next_result->nextPageToken); |
452
|
|
|
|
|
|
|
push @{ $result->staticIps }, @{ $next_result->staticIps }; |
453
|
|
|
|
|
|
|
} |
454
|
|
|
|
|
|
|
return $result; |
455
|
|
|
|
|
|
|
} else { |
456
|
|
|
|
|
|
|
while ($result->nextPageToken) { |
457
|
|
|
|
|
|
|
$callback->($_ => 'staticIps') foreach (@{ $result->staticIps }); |
458
|
|
|
|
|
|
|
$result = $self->GetStaticIps(@_, pageToken => $result->nextPageToken); |
459
|
|
|
|
|
|
|
} |
460
|
|
|
|
|
|
|
$callback->($_ => 'staticIps') foreach (@{ $result->staticIps }); |
461
|
|
|
|
|
|
|
} |
462
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
return undef |
464
|
|
|
|
|
|
|
} |
465
|
|
|
|
|
|
|
|
466
|
|
|
|
|
|
|
|
467
|
|
|
|
|
|
|
sub operations { qw/AllocateStaticIp AttachStaticIp CloseInstancePublicPorts CreateDomain CreateDomainEntry CreateInstances CreateInstancesFromSnapshot CreateInstanceSnapshot CreateKeyPair DeleteDomain DeleteDomainEntry DeleteInstance DeleteInstanceSnapshot DeleteKeyPair DetachStaticIp DownloadDefaultKeyPair GetActiveNames GetBlueprints GetBundles GetDomain GetDomains GetInstance GetInstanceAccessDetails GetInstanceMetricData GetInstancePortStates GetInstances GetInstanceSnapshot GetInstanceSnapshots GetInstanceState GetKeyPair GetKeyPairs GetOperation GetOperations GetOperationsForResource GetRegions GetStaticIp GetStaticIps ImportKeyPair IsVpcPeered OpenInstancePublicPorts PeerVpc PutInstancePublicPorts RebootInstance ReleaseStaticIp StartInstance StopInstance UnpeerVpc UpdateDomainEntry / } |
468
|
|
|
|
|
|
|
|
469
|
|
|
|
|
|
|
1; |
470
|
|
|
|
|
|
|
|
471
|
|
|
|
|
|
|
### main pod documentation begin ### |
472
|
|
|
|
|
|
|
|
473
|
|
|
|
|
|
|
=head1 NAME |
474
|
|
|
|
|
|
|
|
475
|
|
|
|
|
|
|
Paws::Lightsail - Perl Interface to AWS Amazon Lightsail |
476
|
|
|
|
|
|
|
|
477
|
|
|
|
|
|
|
=head1 SYNOPSIS |
478
|
|
|
|
|
|
|
|
479
|
|
|
|
|
|
|
use Paws; |
480
|
|
|
|
|
|
|
|
481
|
|
|
|
|
|
|
my $obj = Paws->service('Lightsail'); |
482
|
|
|
|
|
|
|
my $res = $obj->Method( |
483
|
|
|
|
|
|
|
Arg1 => $val1, |
484
|
|
|
|
|
|
|
Arg2 => [ 'V1', 'V2' ], |
485
|
|
|
|
|
|
|
# if Arg3 is an object, the HashRef will be used as arguments to the constructor |
486
|
|
|
|
|
|
|
# of the arguments type |
487
|
|
|
|
|
|
|
Arg3 => { Att1 => 'Val1' }, |
488
|
|
|
|
|
|
|
# if Arg4 is an array of objects, the HashRefs will be passed as arguments to |
489
|
|
|
|
|
|
|
# the constructor of the arguments type |
490
|
|
|
|
|
|
|
Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], |
491
|
|
|
|
|
|
|
); |
492
|
|
|
|
|
|
|
|
493
|
|
|
|
|
|
|
=head1 DESCRIPTION |
494
|
|
|
|
|
|
|
|
495
|
|
|
|
|
|
|
Amazon Lightsail is the easiest way to get started with AWS for |
496
|
|
|
|
|
|
|
developers who just need virtual private servers. Lightsail includes |
497
|
|
|
|
|
|
|
everything you need to launch your project quickly - a virtual machine, |
498
|
|
|
|
|
|
|
SSD-based storage, data transfer, DNS management, and a static IP - for |
499
|
|
|
|
|
|
|
a low, predictable price. You manage those Lightsail servers through |
500
|
|
|
|
|
|
|
the Lightsail console or by using the API or command-line interface |
501
|
|
|
|
|
|
|
(CLI). |
502
|
|
|
|
|
|
|
|
503
|
|
|
|
|
|
|
For more information about Lightsail concepts and tasks, see the |
504
|
|
|
|
|
|
|
Lightsail Dev Guide. |
505
|
|
|
|
|
|
|
|
506
|
|
|
|
|
|
|
To use the Lightsail API or the CLI, you will need to use AWS Identity |
507
|
|
|
|
|
|
|
and Access Management (IAM) to generate access keys. For details about |
508
|
|
|
|
|
|
|
how to set this up, see the Lightsail Dev Guide. |
509
|
|
|
|
|
|
|
|
510
|
|
|
|
|
|
|
=head1 METHODS |
511
|
|
|
|
|
|
|
|
512
|
|
|
|
|
|
|
=head2 AllocateStaticIp(StaticIpName => Str) |
513
|
|
|
|
|
|
|
|
514
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::AllocateStaticIp> |
515
|
|
|
|
|
|
|
|
516
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::AllocateStaticIpResult> instance |
517
|
|
|
|
|
|
|
|
518
|
|
|
|
|
|
|
Allocates a static IP address. |
519
|
|
|
|
|
|
|
|
520
|
|
|
|
|
|
|
|
521
|
|
|
|
|
|
|
=head2 AttachStaticIp(InstanceName => Str, StaticIpName => Str) |
522
|
|
|
|
|
|
|
|
523
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::AttachStaticIp> |
524
|
|
|
|
|
|
|
|
525
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::AttachStaticIpResult> instance |
526
|
|
|
|
|
|
|
|
527
|
|
|
|
|
|
|
Attaches a static IP address to a specific Amazon Lightsail instance. |
528
|
|
|
|
|
|
|
|
529
|
|
|
|
|
|
|
|
530
|
|
|
|
|
|
|
=head2 CloseInstancePublicPorts(InstanceName => Str, PortInfo => L<Paws::Lightsail::PortInfo>) |
531
|
|
|
|
|
|
|
|
532
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::CloseInstancePublicPorts> |
533
|
|
|
|
|
|
|
|
534
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::CloseInstancePublicPortsResult> instance |
535
|
|
|
|
|
|
|
|
536
|
|
|
|
|
|
|
Closes the public ports on a specific Amazon Lightsail instance. |
537
|
|
|
|
|
|
|
|
538
|
|
|
|
|
|
|
|
539
|
|
|
|
|
|
|
=head2 CreateDomain(DomainName => Str) |
540
|
|
|
|
|
|
|
|
541
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::CreateDomain> |
542
|
|
|
|
|
|
|
|
543
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::CreateDomainResult> instance |
544
|
|
|
|
|
|
|
|
545
|
|
|
|
|
|
|
Creates a domain resource for the specified domain (e.g., example.com). |
546
|
|
|
|
|
|
|
|
547
|
|
|
|
|
|
|
|
548
|
|
|
|
|
|
|
=head2 CreateDomainEntry(DomainEntry => L<Paws::Lightsail::DomainEntry>, DomainName => Str) |
549
|
|
|
|
|
|
|
|
550
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::CreateDomainEntry> |
551
|
|
|
|
|
|
|
|
552
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::CreateDomainEntryResult> instance |
553
|
|
|
|
|
|
|
|
554
|
|
|
|
|
|
|
Creates one of the following entry records associated with the domain: |
555
|
|
|
|
|
|
|
A record, CNAME record, TXT record, or MX record. |
556
|
|
|
|
|
|
|
|
557
|
|
|
|
|
|
|
|
558
|
|
|
|
|
|
|
=head2 CreateInstances(AvailabilityZone => Str, BlueprintId => Str, BundleId => Str, InstanceNames => ArrayRef[Str|Undef], [CustomImageName => Str, KeyPairName => Str, UserData => Str]) |
559
|
|
|
|
|
|
|
|
560
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::CreateInstances> |
561
|
|
|
|
|
|
|
|
562
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::CreateInstancesResult> instance |
563
|
|
|
|
|
|
|
|
564
|
|
|
|
|
|
|
Creates one or more Amazon Lightsail virtual private servers, or |
565
|
|
|
|
|
|
|
I<instances>. |
566
|
|
|
|
|
|
|
|
567
|
|
|
|
|
|
|
|
568
|
|
|
|
|
|
|
=head2 CreateInstancesFromSnapshot(AvailabilityZone => Str, BundleId => Str, InstanceNames => ArrayRef[Str|Undef], InstanceSnapshotName => Str, [KeyPairName => Str, UserData => Str]) |
569
|
|
|
|
|
|
|
|
570
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::CreateInstancesFromSnapshot> |
571
|
|
|
|
|
|
|
|
572
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::CreateInstancesFromSnapshotResult> instance |
573
|
|
|
|
|
|
|
|
574
|
|
|
|
|
|
|
Uses a specific snapshot as a blueprint for creating one or more new |
575
|
|
|
|
|
|
|
instances that are based on that identical configuration. |
576
|
|
|
|
|
|
|
|
577
|
|
|
|
|
|
|
|
578
|
|
|
|
|
|
|
=head2 CreateInstanceSnapshot(InstanceName => Str, InstanceSnapshotName => Str) |
579
|
|
|
|
|
|
|
|
580
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::CreateInstanceSnapshot> |
581
|
|
|
|
|
|
|
|
582
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::CreateInstanceSnapshotResult> instance |
583
|
|
|
|
|
|
|
|
584
|
|
|
|
|
|
|
Creates a snapshot of a specific virtual private server, or |
585
|
|
|
|
|
|
|
I<instance>. You can use a snapshot to create a new instance that is |
586
|
|
|
|
|
|
|
based on that snapshot. |
587
|
|
|
|
|
|
|
|
588
|
|
|
|
|
|
|
|
589
|
|
|
|
|
|
|
=head2 CreateKeyPair(KeyPairName => Str) |
590
|
|
|
|
|
|
|
|
591
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::CreateKeyPair> |
592
|
|
|
|
|
|
|
|
593
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::CreateKeyPairResult> instance |
594
|
|
|
|
|
|
|
|
595
|
|
|
|
|
|
|
Creates sn SSH key pair. |
596
|
|
|
|
|
|
|
|
597
|
|
|
|
|
|
|
|
598
|
|
|
|
|
|
|
=head2 DeleteDomain(DomainName => Str) |
599
|
|
|
|
|
|
|
|
600
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::DeleteDomain> |
601
|
|
|
|
|
|
|
|
602
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::DeleteDomainResult> instance |
603
|
|
|
|
|
|
|
|
604
|
|
|
|
|
|
|
Deletes the specified domain recordset and all of its domain records. |
605
|
|
|
|
|
|
|
|
606
|
|
|
|
|
|
|
|
607
|
|
|
|
|
|
|
=head2 DeleteDomainEntry(DomainEntry => L<Paws::Lightsail::DomainEntry>, DomainName => Str) |
608
|
|
|
|
|
|
|
|
609
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::DeleteDomainEntry> |
610
|
|
|
|
|
|
|
|
611
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::DeleteDomainEntryResult> instance |
612
|
|
|
|
|
|
|
|
613
|
|
|
|
|
|
|
Deletes a specific domain entry. |
614
|
|
|
|
|
|
|
|
615
|
|
|
|
|
|
|
|
616
|
|
|
|
|
|
|
=head2 DeleteInstance(InstanceName => Str) |
617
|
|
|
|
|
|
|
|
618
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::DeleteInstance> |
619
|
|
|
|
|
|
|
|
620
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::DeleteInstanceResult> instance |
621
|
|
|
|
|
|
|
|
622
|
|
|
|
|
|
|
Deletes a specific Amazon Lightsail virtual private server, or |
623
|
|
|
|
|
|
|
I<instance>. |
624
|
|
|
|
|
|
|
|
625
|
|
|
|
|
|
|
|
626
|
|
|
|
|
|
|
=head2 DeleteInstanceSnapshot(InstanceSnapshotName => Str) |
627
|
|
|
|
|
|
|
|
628
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::DeleteInstanceSnapshot> |
629
|
|
|
|
|
|
|
|
630
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::DeleteInstanceSnapshotResult> instance |
631
|
|
|
|
|
|
|
|
632
|
|
|
|
|
|
|
Deletes a specific snapshot of a virtual private server (or |
633
|
|
|
|
|
|
|
I<instance>). |
634
|
|
|
|
|
|
|
|
635
|
|
|
|
|
|
|
|
636
|
|
|
|
|
|
|
=head2 DeleteKeyPair(KeyPairName => Str) |
637
|
|
|
|
|
|
|
|
638
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::DeleteKeyPair> |
639
|
|
|
|
|
|
|
|
640
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::DeleteKeyPairResult> instance |
641
|
|
|
|
|
|
|
|
642
|
|
|
|
|
|
|
Deletes a specific SSH key pair. |
643
|
|
|
|
|
|
|
|
644
|
|
|
|
|
|
|
|
645
|
|
|
|
|
|
|
=head2 DetachStaticIp(StaticIpName => Str) |
646
|
|
|
|
|
|
|
|
647
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::DetachStaticIp> |
648
|
|
|
|
|
|
|
|
649
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::DetachStaticIpResult> instance |
650
|
|
|
|
|
|
|
|
651
|
|
|
|
|
|
|
Detaches a static IP from the Amazon Lightsail instance to which it is |
652
|
|
|
|
|
|
|
attached. |
653
|
|
|
|
|
|
|
|
654
|
|
|
|
|
|
|
|
655
|
|
|
|
|
|
|
=head2 DownloadDefaultKeyPair() |
656
|
|
|
|
|
|
|
|
657
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::DownloadDefaultKeyPair> |
658
|
|
|
|
|
|
|
|
659
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::DownloadDefaultKeyPairResult> instance |
660
|
|
|
|
|
|
|
|
661
|
|
|
|
|
|
|
Downloads the default SSH key pair from the user's account. |
662
|
|
|
|
|
|
|
|
663
|
|
|
|
|
|
|
|
664
|
|
|
|
|
|
|
=head2 GetActiveNames([PageToken => Str]) |
665
|
|
|
|
|
|
|
|
666
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetActiveNames> |
667
|
|
|
|
|
|
|
|
668
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetActiveNamesResult> instance |
669
|
|
|
|
|
|
|
|
670
|
|
|
|
|
|
|
Returns the names of all active (not deleted) resources. |
671
|
|
|
|
|
|
|
|
672
|
|
|
|
|
|
|
|
673
|
|
|
|
|
|
|
=head2 GetBlueprints([IncludeInactive => Bool, PageToken => Str]) |
674
|
|
|
|
|
|
|
|
675
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetBlueprints> |
676
|
|
|
|
|
|
|
|
677
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetBlueprintsResult> instance |
678
|
|
|
|
|
|
|
|
679
|
|
|
|
|
|
|
Returns the list of available instance images, or I<blueprints>. You |
680
|
|
|
|
|
|
|
can use a blueprint to create a new virtual private server already |
681
|
|
|
|
|
|
|
running a specific operating system, as well as a preinstalled app or |
682
|
|
|
|
|
|
|
development stack. The software each instance is running depends on the |
683
|
|
|
|
|
|
|
blueprint image you choose. |
684
|
|
|
|
|
|
|
|
685
|
|
|
|
|
|
|
|
686
|
|
|
|
|
|
|
=head2 GetBundles([IncludeInactive => Bool, PageToken => Str]) |
687
|
|
|
|
|
|
|
|
688
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetBundles> |
689
|
|
|
|
|
|
|
|
690
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetBundlesResult> instance |
691
|
|
|
|
|
|
|
|
692
|
|
|
|
|
|
|
Returns the list of bundles that are available for purchase. A bundle |
693
|
|
|
|
|
|
|
describes the specs for your virtual private server (or I<instance>). |
694
|
|
|
|
|
|
|
|
695
|
|
|
|
|
|
|
|
696
|
|
|
|
|
|
|
=head2 GetDomain(DomainName => Str) |
697
|
|
|
|
|
|
|
|
698
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetDomain> |
699
|
|
|
|
|
|
|
|
700
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetDomainResult> instance |
701
|
|
|
|
|
|
|
|
702
|
|
|
|
|
|
|
Returns information about a specific domain recordset. |
703
|
|
|
|
|
|
|
|
704
|
|
|
|
|
|
|
|
705
|
|
|
|
|
|
|
=head2 GetDomains([PageToken => Str]) |
706
|
|
|
|
|
|
|
|
707
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetDomains> |
708
|
|
|
|
|
|
|
|
709
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetDomainsResult> instance |
710
|
|
|
|
|
|
|
|
711
|
|
|
|
|
|
|
Returns a list of all domains in the user's account. |
712
|
|
|
|
|
|
|
|
713
|
|
|
|
|
|
|
|
714
|
|
|
|
|
|
|
=head2 GetInstance(InstanceName => Str) |
715
|
|
|
|
|
|
|
|
716
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetInstance> |
717
|
|
|
|
|
|
|
|
718
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetInstanceResult> instance |
719
|
|
|
|
|
|
|
|
720
|
|
|
|
|
|
|
Returns information about a specific Amazon Lightsail instance, which |
721
|
|
|
|
|
|
|
is a virtual private server. |
722
|
|
|
|
|
|
|
|
723
|
|
|
|
|
|
|
|
724
|
|
|
|
|
|
|
=head2 GetInstanceAccessDetails(InstanceName => Str, [Protocol => Str]) |
725
|
|
|
|
|
|
|
|
726
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetInstanceAccessDetails> |
727
|
|
|
|
|
|
|
|
728
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetInstanceAccessDetailsResult> instance |
729
|
|
|
|
|
|
|
|
730
|
|
|
|
|
|
|
Returns temporary SSH keys you can use to connect to a specific virtual |
731
|
|
|
|
|
|
|
private server, or I<instance>. |
732
|
|
|
|
|
|
|
|
733
|
|
|
|
|
|
|
|
734
|
|
|
|
|
|
|
=head2 GetInstanceMetricData(EndTime => Str, InstanceName => Str, MetricName => Str, Period => Int, StartTime => Str, Statistics => ArrayRef[Str|Undef], Unit => Str) |
735
|
|
|
|
|
|
|
|
736
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetInstanceMetricData> |
737
|
|
|
|
|
|
|
|
738
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetInstanceMetricDataResult> instance |
739
|
|
|
|
|
|
|
|
740
|
|
|
|
|
|
|
Returns the data points for the specified Amazon Lightsail instance |
741
|
|
|
|
|
|
|
metric, given an instance name. |
742
|
|
|
|
|
|
|
|
743
|
|
|
|
|
|
|
|
744
|
|
|
|
|
|
|
=head2 GetInstancePortStates(InstanceName => Str) |
745
|
|
|
|
|
|
|
|
746
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetInstancePortStates> |
747
|
|
|
|
|
|
|
|
748
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetInstancePortStatesResult> instance |
749
|
|
|
|
|
|
|
|
750
|
|
|
|
|
|
|
Returns the port states for a specific virtual private server, or |
751
|
|
|
|
|
|
|
I<instance>. |
752
|
|
|
|
|
|
|
|
753
|
|
|
|
|
|
|
|
754
|
|
|
|
|
|
|
=head2 GetInstances([PageToken => Str]) |
755
|
|
|
|
|
|
|
|
756
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetInstances> |
757
|
|
|
|
|
|
|
|
758
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetInstancesResult> instance |
759
|
|
|
|
|
|
|
|
760
|
|
|
|
|
|
|
Returns information about all Amazon Lightsail virtual private servers, |
761
|
|
|
|
|
|
|
or I<instances>. |
762
|
|
|
|
|
|
|
|
763
|
|
|
|
|
|
|
|
764
|
|
|
|
|
|
|
=head2 GetInstanceSnapshot(InstanceSnapshotName => Str) |
765
|
|
|
|
|
|
|
|
766
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetInstanceSnapshot> |
767
|
|
|
|
|
|
|
|
768
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetInstanceSnapshotResult> instance |
769
|
|
|
|
|
|
|
|
770
|
|
|
|
|
|
|
Returns information about a specific instance snapshot. |
771
|
|
|
|
|
|
|
|
772
|
|
|
|
|
|
|
|
773
|
|
|
|
|
|
|
=head2 GetInstanceSnapshots([PageToken => Str]) |
774
|
|
|
|
|
|
|
|
775
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetInstanceSnapshots> |
776
|
|
|
|
|
|
|
|
777
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetInstanceSnapshotsResult> instance |
778
|
|
|
|
|
|
|
|
779
|
|
|
|
|
|
|
Returns all instance snapshots for the user's account. |
780
|
|
|
|
|
|
|
|
781
|
|
|
|
|
|
|
|
782
|
|
|
|
|
|
|
=head2 GetInstanceState(InstanceName => Str) |
783
|
|
|
|
|
|
|
|
784
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetInstanceState> |
785
|
|
|
|
|
|
|
|
786
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetInstanceStateResult> instance |
787
|
|
|
|
|
|
|
|
788
|
|
|
|
|
|
|
Returns the state of a specific instance. Works on one instance at a |
789
|
|
|
|
|
|
|
time. |
790
|
|
|
|
|
|
|
|
791
|
|
|
|
|
|
|
|
792
|
|
|
|
|
|
|
=head2 GetKeyPair(KeyPairName => Str) |
793
|
|
|
|
|
|
|
|
794
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetKeyPair> |
795
|
|
|
|
|
|
|
|
796
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetKeyPairResult> instance |
797
|
|
|
|
|
|
|
|
798
|
|
|
|
|
|
|
Returns information about a specific key pair. |
799
|
|
|
|
|
|
|
|
800
|
|
|
|
|
|
|
|
801
|
|
|
|
|
|
|
=head2 GetKeyPairs([PageToken => Str]) |
802
|
|
|
|
|
|
|
|
803
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetKeyPairs> |
804
|
|
|
|
|
|
|
|
805
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetKeyPairsResult> instance |
806
|
|
|
|
|
|
|
|
807
|
|
|
|
|
|
|
Returns information about all key pairs in the user's account. |
808
|
|
|
|
|
|
|
|
809
|
|
|
|
|
|
|
|
810
|
|
|
|
|
|
|
=head2 GetOperation(OperationId => Str) |
811
|
|
|
|
|
|
|
|
812
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetOperation> |
813
|
|
|
|
|
|
|
|
814
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetOperationResult> instance |
815
|
|
|
|
|
|
|
|
816
|
|
|
|
|
|
|
Returns information about a specific operation. Operations include |
817
|
|
|
|
|
|
|
events such as when you create an instance, allocate a static IP, |
818
|
|
|
|
|
|
|
attach a static IP, and so on. |
819
|
|
|
|
|
|
|
|
820
|
|
|
|
|
|
|
|
821
|
|
|
|
|
|
|
=head2 GetOperations([PageToken => Str]) |
822
|
|
|
|
|
|
|
|
823
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetOperations> |
824
|
|
|
|
|
|
|
|
825
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetOperationsResult> instance |
826
|
|
|
|
|
|
|
|
827
|
|
|
|
|
|
|
Returns information about all operations. |
828
|
|
|
|
|
|
|
|
829
|
|
|
|
|
|
|
Results are returned from oldest to newest, up to a maximum of 200. |
830
|
|
|
|
|
|
|
Results can be paged by making each subsequent call to C<GetOperations> |
831
|
|
|
|
|
|
|
use the maximum (last) C<statusChangedAt> value from the previous |
832
|
|
|
|
|
|
|
request. |
833
|
|
|
|
|
|
|
|
834
|
|
|
|
|
|
|
|
835
|
|
|
|
|
|
|
=head2 GetOperationsForResource(ResourceName => Str, [PageToken => Str]) |
836
|
|
|
|
|
|
|
|
837
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetOperationsForResource> |
838
|
|
|
|
|
|
|
|
839
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetOperationsForResourceResult> instance |
840
|
|
|
|
|
|
|
|
841
|
|
|
|
|
|
|
Gets operations for a specific resource (e.g., an instance or a static |
842
|
|
|
|
|
|
|
IP). |
843
|
|
|
|
|
|
|
|
844
|
|
|
|
|
|
|
|
845
|
|
|
|
|
|
|
=head2 GetRegions([IncludeAvailabilityZones => Bool]) |
846
|
|
|
|
|
|
|
|
847
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetRegions> |
848
|
|
|
|
|
|
|
|
849
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetRegionsResult> instance |
850
|
|
|
|
|
|
|
|
851
|
|
|
|
|
|
|
Returns a list of all valid regions for Amazon Lightsail. Use the |
852
|
|
|
|
|
|
|
C<include availability zones> parameter to also return the availability |
853
|
|
|
|
|
|
|
zones in a region. |
854
|
|
|
|
|
|
|
|
855
|
|
|
|
|
|
|
|
856
|
|
|
|
|
|
|
=head2 GetStaticIp(StaticIpName => Str) |
857
|
|
|
|
|
|
|
|
858
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetStaticIp> |
859
|
|
|
|
|
|
|
|
860
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetStaticIpResult> instance |
861
|
|
|
|
|
|
|
|
862
|
|
|
|
|
|
|
Returns information about a specific static IP. |
863
|
|
|
|
|
|
|
|
864
|
|
|
|
|
|
|
|
865
|
|
|
|
|
|
|
=head2 GetStaticIps([PageToken => Str]) |
866
|
|
|
|
|
|
|
|
867
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::GetStaticIps> |
868
|
|
|
|
|
|
|
|
869
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::GetStaticIpsResult> instance |
870
|
|
|
|
|
|
|
|
871
|
|
|
|
|
|
|
Returns information about all static IPs in the user's account. |
872
|
|
|
|
|
|
|
|
873
|
|
|
|
|
|
|
|
874
|
|
|
|
|
|
|
=head2 ImportKeyPair(KeyPairName => Str, PublicKeyBase64 => Str) |
875
|
|
|
|
|
|
|
|
876
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::ImportKeyPair> |
877
|
|
|
|
|
|
|
|
878
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::ImportKeyPairResult> instance |
879
|
|
|
|
|
|
|
|
880
|
|
|
|
|
|
|
Imports a public SSH key from a specific key pair. |
881
|
|
|
|
|
|
|
|
882
|
|
|
|
|
|
|
|
883
|
|
|
|
|
|
|
=head2 IsVpcPeered() |
884
|
|
|
|
|
|
|
|
885
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::IsVpcPeered> |
886
|
|
|
|
|
|
|
|
887
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::IsVpcPeeredResult> instance |
888
|
|
|
|
|
|
|
|
889
|
|
|
|
|
|
|
Returns a Boolean value indicating whether your Lightsail VPC is |
890
|
|
|
|
|
|
|
peered. |
891
|
|
|
|
|
|
|
|
892
|
|
|
|
|
|
|
|
893
|
|
|
|
|
|
|
=head2 OpenInstancePublicPorts(InstanceName => Str, PortInfo => L<Paws::Lightsail::PortInfo>) |
894
|
|
|
|
|
|
|
|
895
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::OpenInstancePublicPorts> |
896
|
|
|
|
|
|
|
|
897
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::OpenInstancePublicPortsResult> instance |
898
|
|
|
|
|
|
|
|
899
|
|
|
|
|
|
|
Adds public ports to an Amazon Lightsail instance. |
900
|
|
|
|
|
|
|
|
901
|
|
|
|
|
|
|
|
902
|
|
|
|
|
|
|
=head2 PeerVpc() |
903
|
|
|
|
|
|
|
|
904
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::PeerVpc> |
905
|
|
|
|
|
|
|
|
906
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::PeerVpcResult> instance |
907
|
|
|
|
|
|
|
|
908
|
|
|
|
|
|
|
Tries to peer the Lightsail VPC with the user's default VPC. |
909
|
|
|
|
|
|
|
|
910
|
|
|
|
|
|
|
|
911
|
|
|
|
|
|
|
=head2 PutInstancePublicPorts(InstanceName => Str, PortInfos => ArrayRef[L<Paws::Lightsail::PortInfo>]) |
912
|
|
|
|
|
|
|
|
913
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::PutInstancePublicPorts> |
914
|
|
|
|
|
|
|
|
915
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::PutInstancePublicPortsResult> instance |
916
|
|
|
|
|
|
|
|
917
|
|
|
|
|
|
|
Sets the specified open ports for an Amazon Lightsail instance, and |
918
|
|
|
|
|
|
|
closes all ports for every protocol not included in the current |
919
|
|
|
|
|
|
|
request. |
920
|
|
|
|
|
|
|
|
921
|
|
|
|
|
|
|
|
922
|
|
|
|
|
|
|
=head2 RebootInstance(InstanceName => Str) |
923
|
|
|
|
|
|
|
|
924
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::RebootInstance> |
925
|
|
|
|
|
|
|
|
926
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::RebootInstanceResult> instance |
927
|
|
|
|
|
|
|
|
928
|
|
|
|
|
|
|
Restarts a specific instance. When your Amazon Lightsail instance is |
929
|
|
|
|
|
|
|
finished rebooting, Lightsail assigns a new public IP address. To use |
930
|
|
|
|
|
|
|
the same IP address after restarting, create a static IP address and |
931
|
|
|
|
|
|
|
attach it to the instance. |
932
|
|
|
|
|
|
|
|
933
|
|
|
|
|
|
|
|
934
|
|
|
|
|
|
|
=head2 ReleaseStaticIp(StaticIpName => Str) |
935
|
|
|
|
|
|
|
|
936
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::ReleaseStaticIp> |
937
|
|
|
|
|
|
|
|
938
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::ReleaseStaticIpResult> instance |
939
|
|
|
|
|
|
|
|
940
|
|
|
|
|
|
|
Deletes a specific static IP from your account. |
941
|
|
|
|
|
|
|
|
942
|
|
|
|
|
|
|
|
943
|
|
|
|
|
|
|
=head2 StartInstance(InstanceName => Str) |
944
|
|
|
|
|
|
|
|
945
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::StartInstance> |
946
|
|
|
|
|
|
|
|
947
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::StartInstanceResult> instance |
948
|
|
|
|
|
|
|
|
949
|
|
|
|
|
|
|
Starts a specific Amazon Lightsail instance from a stopped state. To |
950
|
|
|
|
|
|
|
restart an instance, use the reboot instance operation. |
951
|
|
|
|
|
|
|
|
952
|
|
|
|
|
|
|
|
953
|
|
|
|
|
|
|
=head2 StopInstance(InstanceName => Str) |
954
|
|
|
|
|
|
|
|
955
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::StopInstance> |
956
|
|
|
|
|
|
|
|
957
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::StopInstanceResult> instance |
958
|
|
|
|
|
|
|
|
959
|
|
|
|
|
|
|
Stops a specific Amazon Lightsail instance that is currently running. |
960
|
|
|
|
|
|
|
|
961
|
|
|
|
|
|
|
|
962
|
|
|
|
|
|
|
=head2 UnpeerVpc() |
963
|
|
|
|
|
|
|
|
964
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::UnpeerVpc> |
965
|
|
|
|
|
|
|
|
966
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::UnpeerVpcResult> instance |
967
|
|
|
|
|
|
|
|
968
|
|
|
|
|
|
|
Attempts to unpeer the Lightsail VPC from the user's default VPC. |
969
|
|
|
|
|
|
|
|
970
|
|
|
|
|
|
|
|
971
|
|
|
|
|
|
|
=head2 UpdateDomainEntry(DomainEntry => L<Paws::Lightsail::DomainEntry>, DomainName => Str) |
972
|
|
|
|
|
|
|
|
973
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Lightsail::UpdateDomainEntry> |
974
|
|
|
|
|
|
|
|
975
|
|
|
|
|
|
|
Returns: a L<Paws::Lightsail::UpdateDomainEntryResult> instance |
976
|
|
|
|
|
|
|
|
977
|
|
|
|
|
|
|
Updates a domain recordset after it is created. |
978
|
|
|
|
|
|
|
|
979
|
|
|
|
|
|
|
|
980
|
|
|
|
|
|
|
|
981
|
|
|
|
|
|
|
|
982
|
|
|
|
|
|
|
=head1 PAGINATORS |
983
|
|
|
|
|
|
|
|
984
|
|
|
|
|
|
|
Paginator methods are helpers that repetively call methods that return partial results |
985
|
|
|
|
|
|
|
|
986
|
|
|
|
|
|
|
=head2 GetAllActiveNames(sub { },[PageToken => Str]) |
987
|
|
|
|
|
|
|
|
988
|
|
|
|
|
|
|
=head2 GetAllActiveNames([PageToken => Str]) |
989
|
|
|
|
|
|
|
|
990
|
|
|
|
|
|
|
|
991
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
992
|
|
|
|
|
|
|
|
993
|
|
|
|
|
|
|
- activeNames, passing the object as the first parameter, and the string 'activeNames' as the second parameter |
994
|
|
|
|
|
|
|
|
995
|
|
|
|
|
|
|
If not, it will return a a L<Paws::Lightsail::GetActiveNamesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
996
|
|
|
|
|
|
|
|
997
|
|
|
|
|
|
|
|
998
|
|
|
|
|
|
|
=head2 GetAllBlueprints(sub { },[IncludeInactive => Bool, PageToken => Str]) |
999
|
|
|
|
|
|
|
|
1000
|
|
|
|
|
|
|
=head2 GetAllBlueprints([IncludeInactive => Bool, PageToken => Str]) |
1001
|
|
|
|
|
|
|
|
1002
|
|
|
|
|
|
|
|
1003
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1004
|
|
|
|
|
|
|
|
1005
|
|
|
|
|
|
|
- blueprints, passing the object as the first parameter, and the string 'blueprints' as the second parameter |
1006
|
|
|
|
|
|
|
|
1007
|
|
|
|
|
|
|
If not, it will return a a L<Paws::Lightsail::GetBlueprintsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1008
|
|
|
|
|
|
|
|
1009
|
|
|
|
|
|
|
|
1010
|
|
|
|
|
|
|
=head2 GetAllBundles(sub { },[IncludeInactive => Bool, PageToken => Str]) |
1011
|
|
|
|
|
|
|
|
1012
|
|
|
|
|
|
|
=head2 GetAllBundles([IncludeInactive => Bool, PageToken => Str]) |
1013
|
|
|
|
|
|
|
|
1014
|
|
|
|
|
|
|
|
1015
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1016
|
|
|
|
|
|
|
|
1017
|
|
|
|
|
|
|
- bundles, passing the object as the first parameter, and the string 'bundles' as the second parameter |
1018
|
|
|
|
|
|
|
|
1019
|
|
|
|
|
|
|
If not, it will return a a L<Paws::Lightsail::GetBundlesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1020
|
|
|
|
|
|
|
|
1021
|
|
|
|
|
|
|
|
1022
|
|
|
|
|
|
|
=head2 GetAllDomains(sub { },[PageToken => Str]) |
1023
|
|
|
|
|
|
|
|
1024
|
|
|
|
|
|
|
=head2 GetAllDomains([PageToken => Str]) |
1025
|
|
|
|
|
|
|
|
1026
|
|
|
|
|
|
|
|
1027
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1028
|
|
|
|
|
|
|
|
1029
|
|
|
|
|
|
|
- domains, passing the object as the first parameter, and the string 'domains' as the second parameter |
1030
|
|
|
|
|
|
|
|
1031
|
|
|
|
|
|
|
If not, it will return a a L<Paws::Lightsail::GetDomainsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1032
|
|
|
|
|
|
|
|
1033
|
|
|
|
|
|
|
|
1034
|
|
|
|
|
|
|
=head2 GetAllInstances(sub { },[PageToken => Str]) |
1035
|
|
|
|
|
|
|
|
1036
|
|
|
|
|
|
|
=head2 GetAllInstances([PageToken => Str]) |
1037
|
|
|
|
|
|
|
|
1038
|
|
|
|
|
|
|
|
1039
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1040
|
|
|
|
|
|
|
|
1041
|
|
|
|
|
|
|
- instances, passing the object as the first parameter, and the string 'instances' as the second parameter |
1042
|
|
|
|
|
|
|
|
1043
|
|
|
|
|
|
|
If not, it will return a a L<Paws::Lightsail::GetInstancesResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1044
|
|
|
|
|
|
|
|
1045
|
|
|
|
|
|
|
|
1046
|
|
|
|
|
|
|
=head2 GetAllInstanceSnapshots(sub { },[PageToken => Str]) |
1047
|
|
|
|
|
|
|
|
1048
|
|
|
|
|
|
|
=head2 GetAllInstanceSnapshots([PageToken => Str]) |
1049
|
|
|
|
|
|
|
|
1050
|
|
|
|
|
|
|
|
1051
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1052
|
|
|
|
|
|
|
|
1053
|
|
|
|
|
|
|
- instanceSnapshots, passing the object as the first parameter, and the string 'instanceSnapshots' as the second parameter |
1054
|
|
|
|
|
|
|
|
1055
|
|
|
|
|
|
|
If not, it will return a a L<Paws::Lightsail::GetInstanceSnapshotsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1056
|
|
|
|
|
|
|
|
1057
|
|
|
|
|
|
|
|
1058
|
|
|
|
|
|
|
=head2 GetAllKeyPairs(sub { },[PageToken => Str]) |
1059
|
|
|
|
|
|
|
|
1060
|
|
|
|
|
|
|
=head2 GetAllKeyPairs([PageToken => Str]) |
1061
|
|
|
|
|
|
|
|
1062
|
|
|
|
|
|
|
|
1063
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1064
|
|
|
|
|
|
|
|
1065
|
|
|
|
|
|
|
- keyPairs, passing the object as the first parameter, and the string 'keyPairs' as the second parameter |
1066
|
|
|
|
|
|
|
|
1067
|
|
|
|
|
|
|
If not, it will return a a L<Paws::Lightsail::GetKeyPairsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1068
|
|
|
|
|
|
|
|
1069
|
|
|
|
|
|
|
|
1070
|
|
|
|
|
|
|
=head2 GetAllOperations(sub { },[PageToken => Str]) |
1071
|
|
|
|
|
|
|
|
1072
|
|
|
|
|
|
|
=head2 GetAllOperations([PageToken => Str]) |
1073
|
|
|
|
|
|
|
|
1074
|
|
|
|
|
|
|
|
1075
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1076
|
|
|
|
|
|
|
|
1077
|
|
|
|
|
|
|
- operations, passing the object as the first parameter, and the string 'operations' as the second parameter |
1078
|
|
|
|
|
|
|
|
1079
|
|
|
|
|
|
|
If not, it will return a a L<Paws::Lightsail::GetOperationsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1080
|
|
|
|
|
|
|
|
1081
|
|
|
|
|
|
|
|
1082
|
|
|
|
|
|
|
=head2 GetAllStaticIps(sub { },[PageToken => Str]) |
1083
|
|
|
|
|
|
|
|
1084
|
|
|
|
|
|
|
=head2 GetAllStaticIps([PageToken => Str]) |
1085
|
|
|
|
|
|
|
|
1086
|
|
|
|
|
|
|
|
1087
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1088
|
|
|
|
|
|
|
|
1089
|
|
|
|
|
|
|
- staticIps, passing the object as the first parameter, and the string 'staticIps' as the second parameter |
1090
|
|
|
|
|
|
|
|
1091
|
|
|
|
|
|
|
If not, it will return a a L<Paws::Lightsail::GetStaticIpsResult> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1092
|
|
|
|
|
|
|
|
1093
|
|
|
|
|
|
|
|
1094
|
|
|
|
|
|
|
|
1095
|
|
|
|
|
|
|
|
1096
|
|
|
|
|
|
|
|
1097
|
|
|
|
|
|
|
=head1 SEE ALSO |
1098
|
|
|
|
|
|
|
|
1099
|
|
|
|
|
|
|
This service class forms part of L<Paws> |
1100
|
|
|
|
|
|
|
|
1101
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
1102
|
|
|
|
|
|
|
|
1103
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
1104
|
|
|
|
|
|
|
|
1105
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
1106
|
|
|
|
|
|
|
|
1107
|
|
|
|
|
|
|
=cut |
1108
|
|
|
|
|
|
|
|