File Coverage

blib/lib/Paws/StorageGateway.pm
Criterion Covered Total %
statement 7 305 2.3
branch 0 24 0.0
condition n/a
subroutine 3 75 4.0
pod 68 73 93.1
total 78 477 16.3


line stmt bran cond sub pod time code
1             package Paws::StorageGateway;
2 1     1   3745 use Moose;
  1     1   3  
  1         12  
  1         46248  
  1         6  
  1         21  
3 9     9 0 41 sub service { 'storagegateway' }
4 0     0 0   sub version { '2013-06-30' }
5 0     0 0   sub target_prefix { 'StorageGateway_20130630' }
6 0     0 0   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 ActivateGateway {
18 0     0 1   my $self = shift;
19 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ActivateGateway', @_);
20 0           return $self->caller->do_call($self, $call_object);
21             }
22             sub AddCache {
23 0     0 1   my $self = shift;
24 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::AddCache', @_);
25 0           return $self->caller->do_call($self, $call_object);
26             }
27             sub AddTagsToResource {
28 0     0 1   my $self = shift;
29 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::AddTagsToResource', @_);
30 0           return $self->caller->do_call($self, $call_object);
31             }
32             sub AddUploadBuffer {
33 0     0 1   my $self = shift;
34 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::AddUploadBuffer', @_);
35 0           return $self->caller->do_call($self, $call_object);
36             }
37             sub AddWorkingStorage {
38 0     0 1   my $self = shift;
39 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::AddWorkingStorage', @_);
40 0           return $self->caller->do_call($self, $call_object);
41             }
42             sub CancelArchival {
43 0     0 1   my $self = shift;
44 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::CancelArchival', @_);
45 0           return $self->caller->do_call($self, $call_object);
46             }
47             sub CancelRetrieval {
48 0     0 1   my $self = shift;
49 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::CancelRetrieval', @_);
50 0           return $self->caller->do_call($self, $call_object);
51             }
52             sub CreateCachediSCSIVolume {
53 0     0 1   my $self = shift;
54 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::CreateCachediSCSIVolume', @_);
55 0           return $self->caller->do_call($self, $call_object);
56             }
57             sub CreateNFSFileShare {
58 0     0 1   my $self = shift;
59 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::CreateNFSFileShare', @_);
60 0           return $self->caller->do_call($self, $call_object);
61             }
62             sub CreateSnapshot {
63 0     0 1   my $self = shift;
64 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::CreateSnapshot', @_);
65 0           return $self->caller->do_call($self, $call_object);
66             }
67             sub CreateSnapshotFromVolumeRecoveryPoint {
68 0     0 1   my $self = shift;
69 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::CreateSnapshotFromVolumeRecoveryPoint', @_);
70 0           return $self->caller->do_call($self, $call_object);
71             }
72             sub CreateStorediSCSIVolume {
73 0     0 1   my $self = shift;
74 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::CreateStorediSCSIVolume', @_);
75 0           return $self->caller->do_call($self, $call_object);
76             }
77             sub CreateTapes {
78 0     0 1   my $self = shift;
79 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::CreateTapes', @_);
80 0           return $self->caller->do_call($self, $call_object);
81             }
82             sub CreateTapeWithBarcode {
83 0     0 1   my $self = shift;
84 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::CreateTapeWithBarcode', @_);
85 0           return $self->caller->do_call($self, $call_object);
86             }
87             sub DeleteBandwidthRateLimit {
88 0     0 1   my $self = shift;
89 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DeleteBandwidthRateLimit', @_);
90 0           return $self->caller->do_call($self, $call_object);
91             }
92             sub DeleteChapCredentials {
93 0     0 1   my $self = shift;
94 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DeleteChapCredentials', @_);
95 0           return $self->caller->do_call($self, $call_object);
96             }
97             sub DeleteFileShare {
98 0     0 1   my $self = shift;
99 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DeleteFileShare', @_);
100 0           return $self->caller->do_call($self, $call_object);
101             }
102             sub DeleteGateway {
103 0     0 1   my $self = shift;
104 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DeleteGateway', @_);
105 0           return $self->caller->do_call($self, $call_object);
106             }
107             sub DeleteSnapshotSchedule {
108 0     0 1   my $self = shift;
109 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DeleteSnapshotSchedule', @_);
110 0           return $self->caller->do_call($self, $call_object);
111             }
112             sub DeleteTape {
113 0     0 1   my $self = shift;
114 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DeleteTape', @_);
115 0           return $self->caller->do_call($self, $call_object);
116             }
117             sub DeleteTapeArchive {
118 0     0 1   my $self = shift;
119 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DeleteTapeArchive', @_);
120 0           return $self->caller->do_call($self, $call_object);
121             }
122             sub DeleteVolume {
123 0     0 1   my $self = shift;
124 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DeleteVolume', @_);
125 0           return $self->caller->do_call($self, $call_object);
126             }
127             sub DescribeBandwidthRateLimit {
128 0     0 1   my $self = shift;
129 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeBandwidthRateLimit', @_);
130 0           return $self->caller->do_call($self, $call_object);
131             }
132             sub DescribeCache {
133 0     0 1   my $self = shift;
134 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeCache', @_);
135 0           return $self->caller->do_call($self, $call_object);
136             }
137             sub DescribeCachediSCSIVolumes {
138 0     0 1   my $self = shift;
139 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeCachediSCSIVolumes', @_);
140 0           return $self->caller->do_call($self, $call_object);
141             }
142             sub DescribeChapCredentials {
143 0     0 1   my $self = shift;
144 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeChapCredentials', @_);
145 0           return $self->caller->do_call($self, $call_object);
146             }
147             sub DescribeGatewayInformation {
148 0     0 1   my $self = shift;
149 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeGatewayInformation', @_);
150 0           return $self->caller->do_call($self, $call_object);
151             }
152             sub DescribeMaintenanceStartTime {
153 0     0 1   my $self = shift;
154 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeMaintenanceStartTime', @_);
155 0           return $self->caller->do_call($self, $call_object);
156             }
157             sub DescribeNFSFileShares {
158 0     0 1   my $self = shift;
159 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeNFSFileShares', @_);
160 0           return $self->caller->do_call($self, $call_object);
161             }
162             sub DescribeSnapshotSchedule {
163 0     0 1   my $self = shift;
164 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeSnapshotSchedule', @_);
165 0           return $self->caller->do_call($self, $call_object);
166             }
167             sub DescribeStorediSCSIVolumes {
168 0     0 1   my $self = shift;
169 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeStorediSCSIVolumes', @_);
170 0           return $self->caller->do_call($self, $call_object);
171             }
172             sub DescribeTapeArchives {
173 0     0 1   my $self = shift;
174 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeTapeArchives', @_);
175 0           return $self->caller->do_call($self, $call_object);
176             }
177             sub DescribeTapeRecoveryPoints {
178 0     0 1   my $self = shift;
179 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeTapeRecoveryPoints', @_);
180 0           return $self->caller->do_call($self, $call_object);
181             }
182             sub DescribeTapes {
183 0     0 1   my $self = shift;
184 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeTapes', @_);
185 0           return $self->caller->do_call($self, $call_object);
186             }
187             sub DescribeUploadBuffer {
188 0     0 1   my $self = shift;
189 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeUploadBuffer', @_);
190 0           return $self->caller->do_call($self, $call_object);
191             }
192             sub DescribeVTLDevices {
193 0     0 1   my $self = shift;
194 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeVTLDevices', @_);
195 0           return $self->caller->do_call($self, $call_object);
196             }
197             sub DescribeWorkingStorage {
198 0     0 1   my $self = shift;
199 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DescribeWorkingStorage', @_);
200 0           return $self->caller->do_call($self, $call_object);
201             }
202             sub DisableGateway {
203 0     0 1   my $self = shift;
204 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::DisableGateway', @_);
205 0           return $self->caller->do_call($self, $call_object);
206             }
207             sub ListFileShares {
208 0     0 1   my $self = shift;
209 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ListFileShares', @_);
210 0           return $self->caller->do_call($self, $call_object);
211             }
212             sub ListGateways {
213 0     0 1   my $self = shift;
214 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ListGateways', @_);
215 0           return $self->caller->do_call($self, $call_object);
216             }
217             sub ListLocalDisks {
218 0     0 1   my $self = shift;
219 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ListLocalDisks', @_);
220 0           return $self->caller->do_call($self, $call_object);
221             }
222             sub ListTagsForResource {
223 0     0 1   my $self = shift;
224 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ListTagsForResource', @_);
225 0           return $self->caller->do_call($self, $call_object);
226             }
227             sub ListTapes {
228 0     0 1   my $self = shift;
229 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ListTapes', @_);
230 0           return $self->caller->do_call($self, $call_object);
231             }
232             sub ListVolumeInitiators {
233 0     0 1   my $self = shift;
234 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ListVolumeInitiators', @_);
235 0           return $self->caller->do_call($self, $call_object);
236             }
237             sub ListVolumeRecoveryPoints {
238 0     0 1   my $self = shift;
239 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ListVolumeRecoveryPoints', @_);
240 0           return $self->caller->do_call($self, $call_object);
241             }
242             sub ListVolumes {
243 0     0 1   my $self = shift;
244 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ListVolumes', @_);
245 0           return $self->caller->do_call($self, $call_object);
246             }
247             sub RefreshCache {
248 0     0 1   my $self = shift;
249 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::RefreshCache', @_);
250 0           return $self->caller->do_call($self, $call_object);
251             }
252             sub RemoveTagsFromResource {
253 0     0 1   my $self = shift;
254 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::RemoveTagsFromResource', @_);
255 0           return $self->caller->do_call($self, $call_object);
256             }
257             sub ResetCache {
258 0     0 1   my $self = shift;
259 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ResetCache', @_);
260 0           return $self->caller->do_call($self, $call_object);
261             }
262             sub RetrieveTapeArchive {
263 0     0 1   my $self = shift;
264 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::RetrieveTapeArchive', @_);
265 0           return $self->caller->do_call($self, $call_object);
266             }
267             sub RetrieveTapeRecoveryPoint {
268 0     0 1   my $self = shift;
269 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::RetrieveTapeRecoveryPoint', @_);
270 0           return $self->caller->do_call($self, $call_object);
271             }
272             sub SetLocalConsolePassword {
273 0     0 1   my $self = shift;
274 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::SetLocalConsolePassword', @_);
275 0           return $self->caller->do_call($self, $call_object);
276             }
277             sub ShutdownGateway {
278 0     0 1   my $self = shift;
279 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::ShutdownGateway', @_);
280 0           return $self->caller->do_call($self, $call_object);
281             }
282             sub StartGateway {
283 0     0 1   my $self = shift;
284 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::StartGateway', @_);
285 0           return $self->caller->do_call($self, $call_object);
286             }
287             sub UpdateBandwidthRateLimit {
288 0     0 1   my $self = shift;
289 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::UpdateBandwidthRateLimit', @_);
290 0           return $self->caller->do_call($self, $call_object);
291             }
292             sub UpdateChapCredentials {
293 0     0 1   my $self = shift;
294 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::UpdateChapCredentials', @_);
295 0           return $self->caller->do_call($self, $call_object);
296             }
297             sub UpdateGatewayInformation {
298 0     0 1   my $self = shift;
299 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::UpdateGatewayInformation', @_);
300 0           return $self->caller->do_call($self, $call_object);
301             }
302             sub UpdateGatewaySoftwareNow {
303 0     0 1   my $self = shift;
304 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::UpdateGatewaySoftwareNow', @_);
305 0           return $self->caller->do_call($self, $call_object);
306             }
307             sub UpdateMaintenanceStartTime {
308 0     0 1   my $self = shift;
309 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::UpdateMaintenanceStartTime', @_);
310 0           return $self->caller->do_call($self, $call_object);
311             }
312             sub UpdateNFSFileShare {
313 0     0 1   my $self = shift;
314 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::UpdateNFSFileShare', @_);
315 0           return $self->caller->do_call($self, $call_object);
316             }
317             sub UpdateSnapshotSchedule {
318 0     0 1   my $self = shift;
319 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::UpdateSnapshotSchedule', @_);
320 0           return $self->caller->do_call($self, $call_object);
321             }
322             sub UpdateVTLDeviceType {
323 0     0 1   my $self = shift;
324 0           my $call_object = $self->new_with_coercions('Paws::StorageGateway::UpdateVTLDeviceType', @_);
325 0           return $self->caller->do_call($self, $call_object);
326             }
327            
328             sub DescribeAllTapeArchives {
329 0     0 1   my $self = shift;
330              
331 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
332 0           my $result = $self->DescribeTapeArchives(@_);
333 0           my $next_result = $result;
334              
335 0 0         if (not defined $callback) {
336 0           while ($next_result->Marker) {
337 0           $next_result = $self->DescribeTapeArchives(@_, Marker => $next_result->Marker);
338 0           push @{ $result->TapeArchives }, @{ $next_result->TapeArchives };
  0            
  0            
339             }
340 0           return $result;
341             } else {
342 0           while ($result->Marker) {
343 0           $callback->($_ => 'TapeArchives') foreach (@{ $result->TapeArchives });
  0            
344 0           $result = $self->DescribeTapeArchives(@_, Marker => $result->Marker);
345             }
346 0           $callback->($_ => 'TapeArchives') foreach (@{ $result->TapeArchives });
  0            
347             }
348              
349             return undef
350 0           }
351             sub DescribeAllTapeRecoveryPoints {
352 0     0 1   my $self = shift;
353              
354 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
355 0           my $result = $self->DescribeTapeRecoveryPoints(@_);
356 0           my $next_result = $result;
357              
358 0 0         if (not defined $callback) {
359 0           while ($next_result->Marker) {
360 0           $next_result = $self->DescribeTapeRecoveryPoints(@_, Marker => $next_result->Marker);
361 0           push @{ $result->TapeRecoveryPointInfos }, @{ $next_result->TapeRecoveryPointInfos };
  0            
  0            
362             }
363 0           return $result;
364             } else {
365 0           while ($result->Marker) {
366 0           $callback->($_ => 'TapeRecoveryPointInfos') foreach (@{ $result->TapeRecoveryPointInfos });
  0            
367 0           $result = $self->DescribeTapeRecoveryPoints(@_, Marker => $result->Marker);
368             }
369 0           $callback->($_ => 'TapeRecoveryPointInfos') foreach (@{ $result->TapeRecoveryPointInfos });
  0            
370             }
371              
372             return undef
373 0           }
374             sub DescribeAllTapes {
375 0     0 1   my $self = shift;
376              
377 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
378 0           my $result = $self->DescribeTapes(@_);
379 0           my $next_result = $result;
380              
381 0 0         if (not defined $callback) {
382 0           while ($next_result->Marker) {
383 0           $next_result = $self->DescribeTapes(@_, Marker => $next_result->Marker);
384 0           push @{ $result->Tapes }, @{ $next_result->Tapes };
  0            
  0            
385             }
386 0           return $result;
387             } else {
388 0           while ($result->Marker) {
389 0           $callback->($_ => 'Tapes') foreach (@{ $result->Tapes });
  0            
390 0           $result = $self->DescribeTapes(@_, Marker => $result->Marker);
391             }
392 0           $callback->($_ => 'Tapes') foreach (@{ $result->Tapes });
  0            
393             }
394              
395             return undef
396 0           }
397             sub DescribeAllVTLDevices {
398 0     0 1   my $self = shift;
399              
400 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
401 0           my $result = $self->DescribeVTLDevices(@_);
402 0           my $next_result = $result;
403              
404 0 0         if (not defined $callback) {
405 0           while ($next_result->Marker) {
406 0           $next_result = $self->DescribeVTLDevices(@_, Marker => $next_result->Marker);
407 0           push @{ $result->VTLDevices }, @{ $next_result->VTLDevices };
  0            
  0            
408             }
409 0           return $result;
410             } else {
411 0           while ($result->Marker) {
412 0           $callback->($_ => 'VTLDevices') foreach (@{ $result->VTLDevices });
  0            
413 0           $result = $self->DescribeVTLDevices(@_, Marker => $result->Marker);
414             }
415 0           $callback->($_ => 'VTLDevices') foreach (@{ $result->VTLDevices });
  0            
416             }
417              
418             return undef
419 0           }
420             sub ListAllGateways {
421 0     0 1   my $self = shift;
422              
423 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
424 0           my $result = $self->ListGateways(@_);
425 0           my $next_result = $result;
426              
427 0 0         if (not defined $callback) {
428 0           while ($next_result->Marker) {
429 0           $next_result = $self->ListGateways(@_, Marker => $next_result->Marker);
430 0           push @{ $result->Gateways }, @{ $next_result->Gateways };
  0            
  0            
431             }
432 0           return $result;
433             } else {
434 0           while ($result->Marker) {
435 0           $callback->($_ => 'Gateways') foreach (@{ $result->Gateways });
  0            
436 0           $result = $self->ListGateways(@_, Marker => $result->Marker);
437             }
438 0           $callback->($_ => 'Gateways') foreach (@{ $result->Gateways });
  0            
439             }
440              
441             return undef
442 0           }
443             sub ListAllVolumes {
444 0     0 1   my $self = shift;
445              
446 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
447 0           my $result = $self->ListVolumes(@_);
448 0           my $next_result = $result;
449              
450 0 0         if (not defined $callback) {
451 0           while ($next_result->Marker) {
452 0           $next_result = $self->ListVolumes(@_, Marker => $next_result->Marker);
453 0           push @{ $result->VolumeInfos }, @{ $next_result->VolumeInfos };
  0            
  0            
454             }
455 0           return $result;
456             } else {
457 0           while ($result->Marker) {
458 0           $callback->($_ => 'VolumeInfos') foreach (@{ $result->VolumeInfos });
  0            
459 0           $result = $self->ListVolumes(@_, Marker => $result->Marker);
460             }
461 0           $callback->($_ => 'VolumeInfos') foreach (@{ $result->VolumeInfos });
  0            
462             }
463              
464             return undef
465 0           }
466              
467              
468 0     0 0   sub operations { qw/ActivateGateway AddCache AddTagsToResource AddUploadBuffer AddWorkingStorage CancelArchival CancelRetrieval CreateCachediSCSIVolume CreateNFSFileShare CreateSnapshot CreateSnapshotFromVolumeRecoveryPoint CreateStorediSCSIVolume CreateTapes CreateTapeWithBarcode DeleteBandwidthRateLimit DeleteChapCredentials DeleteFileShare DeleteGateway DeleteSnapshotSchedule DeleteTape DeleteTapeArchive DeleteVolume DescribeBandwidthRateLimit DescribeCache DescribeCachediSCSIVolumes DescribeChapCredentials DescribeGatewayInformation DescribeMaintenanceStartTime DescribeNFSFileShares DescribeSnapshotSchedule DescribeStorediSCSIVolumes DescribeTapeArchives DescribeTapeRecoveryPoints DescribeTapes DescribeUploadBuffer DescribeVTLDevices DescribeWorkingStorage DisableGateway ListFileShares ListGateways ListLocalDisks ListTagsForResource ListTapes ListVolumeInitiators ListVolumeRecoveryPoints ListVolumes RefreshCache RemoveTagsFromResource ResetCache RetrieveTapeArchive RetrieveTapeRecoveryPoint SetLocalConsolePassword ShutdownGateway StartGateway UpdateBandwidthRateLimit UpdateChapCredentials UpdateGatewayInformation UpdateGatewaySoftwareNow UpdateMaintenanceStartTime UpdateNFSFileShare UpdateSnapshotSchedule UpdateVTLDeviceType / }
469              
470             1;
471              
472             ### main pod documentation begin ###
473              
474             =head1 NAME
475              
476             Paws::StorageGateway - Perl Interface to AWS AWS Storage Gateway
477              
478             =head1 SYNOPSIS
479              
480             use Paws;
481              
482             my $obj = Paws->service('StorageGateway');
483             my $res = $obj->Method(
484             Arg1 => $val1,
485             Arg2 => [ 'V1', 'V2' ],
486             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
487             # of the arguments type
488             Arg3 => { Att1 => 'Val1' },
489             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
490             # the constructor of the arguments type
491             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
492             );
493              
494             =head1 DESCRIPTION
495              
496             AWS Storage Gateway Service
497              
498             AWS Storage Gateway is the service that connects an on-premises
499             software appliance with cloud-based storage to provide seamless and
500             secure integration between an organization's on-premises IT environment
501             and AWS's storage infrastructure. The service enables you to securely
502             upload data to the AWS cloud for cost effective backup and rapid
503             disaster recovery.
504              
505             Use the following links to get started using the I<AWS Storage Gateway
506             Service API Reference>:
507              
508             =over
509              
510             =item *
511              
512             AWS Storage Gateway Required Request Headers: Describes the required
513             headers that you must send with every POST request to AWS Storage
514             Gateway.
515              
516             =item *
517              
518             Signing Requests: AWS Storage Gateway requires that you authenticate
519             every request you send; this topic describes how sign such a request.
520              
521             =item *
522              
523             Error Responses: Provides reference information about AWS Storage
524             Gateway errors.
525              
526             =item *
527              
528             Operations in AWS Storage Gateway: Contains detailed descriptions of
529             all AWS Storage Gateway operations, their request parameters, response
530             elements, possible errors, and examples of requests and responses.
531              
532             =item *
533              
534             AWS Storage Gateway Regions and Endpoints: Provides a list of each
535             region and endpoints available for use with AWS Storage Gateway.
536              
537             =back
538              
539             AWS Storage Gateway resource IDs are in uppercase. When you use these
540             resource IDs with the Amazon EC2 API, EC2 expects resource IDs in
541             lowercase. You must change your resource ID to lowercase to use it with
542             the EC2 API. For example, in Storage Gateway the ID for a volume might
543             be C<vol-AA22BB012345DAF670>. When you use this ID with the EC2 API,
544             you must change it to C<vol-aa22bb012345daf670>. Otherwise, the EC2 API
545             might not behave as expected.
546              
547             IDs for Storage Gateway volumes and Amazon EBS snapshots created from
548             gateway volumes are changing to a longer format. Starting in December
549             2016, all new volumes and snapshots will be created with a 17-character
550             string. Starting in April 2016, you will be able to use these longer
551             IDs so you can test your systems with the new format. For more
552             information, see Longer EC2 and EBS Resource IDs.
553              
554             For example, a volume Amazon Resource Name (ARN) with the longer volume
555             ID format looks like the following:
556              
557             C<arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG>.
558              
559             A snapshot ID with the longer ID format looks like the following:
560             C<snap-78e226633445566ee>.
561              
562             For more information, see Announcement: Heads-up E<ndash> Longer AWS
563             Storage Gateway volume and snapshot IDs coming in 2016.
564              
565             =head1 METHODS
566              
567             =head2 ActivateGateway(ActivationKey => Str, GatewayName => Str, GatewayRegion => Str, GatewayTimezone => Str, [GatewayType => Str, MediumChangerType => Str, TapeDriveType => Str])
568              
569             Each argument is described in detail in: L<Paws::StorageGateway::ActivateGateway>
570              
571             Returns: a L<Paws::StorageGateway::ActivateGatewayOutput> instance
572              
573             Activates the gateway you previously deployed on your host. For more
574             information, see Activate the AWS Storage Gateway. In the activation
575             process, you specify information such as the region you want to use for
576             storing snapshots or tapes, the time zone for scheduled snapshots the
577             gateway snapshot schedule window, an activation key, and a name for
578             your gateway. The activation process also associates your gateway with
579             your account; for more information, see UpdateGatewayInformation.
580              
581             You must turn on the gateway VM before you can activate your gateway.
582              
583              
584             =head2 AddCache(DiskIds => ArrayRef[Str|Undef], GatewayARN => Str)
585              
586             Each argument is described in detail in: L<Paws::StorageGateway::AddCache>
587              
588             Returns: a L<Paws::StorageGateway::AddCacheOutput> instance
589              
590             Configures one or more gateway local disks as cache for a gateway. This
591             operation is only supported in the cached volume, tape and file gateway
592             architectures (see Storage Gateway Concepts).
593              
594             In the request, you specify the gateway Amazon Resource Name (ARN) to
595             which you want to add cache, and one or more disk IDs that you want to
596             configure as cache.
597              
598              
599             =head2 AddTagsToResource(ResourceARN => Str, Tags => ArrayRef[L<Paws::StorageGateway::Tag>])
600              
601             Each argument is described in detail in: L<Paws::StorageGateway::AddTagsToResource>
602              
603             Returns: a L<Paws::StorageGateway::AddTagsToResourceOutput> instance
604              
605             Adds one or more tags to the specified resource. You use tags to add
606             metadata to resources, which you can use to categorize these resources.
607             For example, you can categorize resources by purpose, owner,
608             environment, or team. Each tag consists of a key and a value, which you
609             define. You can add tags to the following AWS Storage Gateway
610             resources:
611              
612             =over
613              
614             =item *
615              
616             Storage gateways of all types
617              
618             =back
619              
620             =over
621              
622             =item *
623              
624             Storage Volumes
625              
626             =back
627              
628             =over
629              
630             =item *
631              
632             Virtual Tapes
633              
634             =back
635              
636             You can create a maximum of 10 tags for each resource. Virtual tapes
637             and storage volumes that are recovered to a new gateway maintain their
638             tags.
639              
640              
641             =head2 AddUploadBuffer(DiskIds => ArrayRef[Str|Undef], GatewayARN => Str)
642              
643             Each argument is described in detail in: L<Paws::StorageGateway::AddUploadBuffer>
644              
645             Returns: a L<Paws::StorageGateway::AddUploadBufferOutput> instance
646              
647             Configures one or more gateway local disks as upload buffer for a
648             specified gateway. This operation is supported for the stored volume,
649             cached volume and tape gateway architectures.
650              
651             In the request, you specify the gateway Amazon Resource Name (ARN) to
652             which you want to add upload buffer, and one or more disk IDs that you
653             want to configure as upload buffer.
654              
655              
656             =head2 AddWorkingStorage(DiskIds => ArrayRef[Str|Undef], GatewayARN => Str)
657              
658             Each argument is described in detail in: L<Paws::StorageGateway::AddWorkingStorage>
659              
660             Returns: a L<Paws::StorageGateway::AddWorkingStorageOutput> instance
661              
662             Configures one or more gateway local disks as working storage for a
663             gateway. This operation is only supported in the stored volume gateway
664             architecture. This operation is deprecated in cached volume API version
665             20120630. Use AddUploadBuffer instead.
666              
667             Working storage is also referred to as upload buffer. You can also use
668             the AddUploadBuffer operation to add upload buffer to a stored volume
669             gateway.
670              
671             In the request, you specify the gateway Amazon Resource Name (ARN) to
672             which you want to add working storage, and one or more disk IDs that
673             you want to configure as working storage.
674              
675              
676             =head2 CancelArchival(GatewayARN => Str, TapeARN => Str)
677              
678             Each argument is described in detail in: L<Paws::StorageGateway::CancelArchival>
679              
680             Returns: a L<Paws::StorageGateway::CancelArchivalOutput> instance
681              
682             Cancels archiving of a virtual tape to the virtual tape shelf (VTS)
683             after the archiving process is initiated. This operation is only
684             supported in the tape gateway architecture.
685              
686              
687             =head2 CancelRetrieval(GatewayARN => Str, TapeARN => Str)
688              
689             Each argument is described in detail in: L<Paws::StorageGateway::CancelRetrieval>
690              
691             Returns: a L<Paws::StorageGateway::CancelRetrievalOutput> instance
692              
693             Cancels retrieval of a virtual tape from the virtual tape shelf (VTS)
694             to a gateway after the retrieval process is initiated. The virtual tape
695             is returned to the VTS.
696              
697              
698             =head2 CreateCachediSCSIVolume(ClientToken => Str, GatewayARN => Str, NetworkInterfaceId => Str, TargetName => Str, VolumeSizeInBytes => Int, [SnapshotId => Str, SourceVolumeARN => Str])
699              
700             Each argument is described in detail in: L<Paws::StorageGateway::CreateCachediSCSIVolume>
701              
702             Returns: a L<Paws::StorageGateway::CreateCachediSCSIVolumeOutput> instance
703              
704             Creates a cached volume on a specified cached volume gateway. This
705             operation is only supported in the cached volume gateway architecture.
706              
707             Cache storage must be allocated to the gateway before you can create a
708             cached volume. Use the AddCache operation to add cache storage to a
709             gateway.
710              
711             In the request, you must specify the gateway, size of the volume in
712             bytes, the iSCSI target name, an IP address on which to expose the
713             target, and a unique client token. In response, the gateway creates the
714             volume and returns information about it. This information includes the
715             volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN
716             that initiators can use to connect to the volume target.
717              
718             Optionally, you can provide the ARN for an existing volume as the
719             C<SourceVolumeARN> for this cached volume, which creates an exact copy
720             of the existing volumeE<rsquo>s latest recovery point. The
721             C<VolumeSizeInBytes> value must be equal to or larger than the size of
722             the copied volume, in bytes.
723              
724              
725             =head2 CreateNFSFileShare(ClientToken => Str, GatewayARN => Str, LocationARN => Str, Role => Str, [ClientList => ArrayRef[Str|Undef], DefaultStorageClass => Str, KMSEncrypted => Bool, KMSKey => Str, NFSFileShareDefaults => L<Paws::StorageGateway::NFSFileShareDefaults>, ReadOnly => Bool, Squash => Str])
726              
727             Each argument is described in detail in: L<Paws::StorageGateway::CreateNFSFileShare>
728              
729             Returns: a L<Paws::StorageGateway::CreateNFSFileShareOutput> instance
730              
731             Creates a file share on an existing file gateway. In Storage Gateway, a
732             file share is a file system mount point backed by Amazon S3 cloud
733             storage. Storage Gateway exposes file shares using a Network File
734             System (NFS) interface. This operation is only supported in the file
735             gateway architecture.
736              
737             File gateway requires AWS Security Token Service (AWS STS) to be
738             activated to enable you create a file share. Make sure AWS STS is
739             activated in the region you are creating your file gateway in. If AWS
740             STS is not activated in the region, activate it. For information about
741             how to activate AWS STS, see Activating and Deactivating AWS STS in an
742             AWS Region in the AWS Identity and Access Management User Guide.
743              
744             File gateway does not support creating hard or symbolic links on a file
745             share.
746              
747              
748             =head2 CreateSnapshot(SnapshotDescription => Str, VolumeARN => Str)
749              
750             Each argument is described in detail in: L<Paws::StorageGateway::CreateSnapshot>
751              
752             Returns: a L<Paws::StorageGateway::CreateSnapshotOutput> instance
753              
754             Initiates a snapshot of a volume.
755              
756             AWS Storage Gateway provides the ability to back up point-in-time
757             snapshots of your data to Amazon Simple Storage (S3) for durable
758             off-site recovery, as well as import the data to an Amazon Elastic
759             Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2). You can
760             take snapshots of your gateway volume on a scheduled or ad-hoc basis.
761             This API enables you to take ad-hoc snapshot. For more information, see
762             Editing a Snapshot Schedule.
763              
764             In the CreateSnapshot request you identify the volume by providing its
765             Amazon Resource Name (ARN). You must also provide description for the
766             snapshot. When AWS Storage Gateway takes the snapshot of specified
767             volume, the snapshot and description appears in the AWS Storage Gateway
768             Console. In response, AWS Storage Gateway returns you a snapshot ID.
769             You can use this snapshot ID to check the snapshot progress or later
770             use it when you want to create a volume from a snapshot. This operation
771             is only supported in stored and cached volume gateway architecture.
772              
773             To list or delete a snapshot, you must use the Amazon EC2 API. For more
774             information, see DescribeSnapshots or DeleteSnapshot in the EC2 API
775             reference.
776              
777             Volume and snapshot IDs are changing to a longer length ID format. For
778             more information, see the important note on the Welcome page.
779              
780              
781             =head2 CreateSnapshotFromVolumeRecoveryPoint(SnapshotDescription => Str, VolumeARN => Str)
782              
783             Each argument is described in detail in: L<Paws::StorageGateway::CreateSnapshotFromVolumeRecoveryPoint>
784              
785             Returns: a L<Paws::StorageGateway::CreateSnapshotFromVolumeRecoveryPointOutput> instance
786              
787             Initiates a snapshot of a gateway from a volume recovery point. This
788             operation is only supported in the cached volume gateway architecture.
789              
790             A volume recovery point is a point in time at which all data of the
791             volume is consistent and from which you can create a snapshot. To get a
792             list of volume recovery point for cached volume gateway, use
793             ListVolumeRecoveryPoints.
794              
795             In the C<CreateSnapshotFromVolumeRecoveryPoint> request, you identify
796             the volume by providing its Amazon Resource Name (ARN). You must also
797             provide a description for the snapshot. When the gateway takes a
798             snapshot of the specified volume, the snapshot and its description
799             appear in the AWS Storage Gateway console. In response, the gateway
800             returns you a snapshot ID. You can use this snapshot ID to check the
801             snapshot progress or later use it when you want to create a volume from
802             a snapshot.
803              
804             To list or delete a snapshot, you must use the Amazon EC2 API. For more
805             information, in I<Amazon Elastic Compute Cloud API Reference>.
806              
807              
808             =head2 CreateStorediSCSIVolume(DiskId => Str, GatewayARN => Str, NetworkInterfaceId => Str, PreserveExistingData => Bool, TargetName => Str, [SnapshotId => Str])
809              
810             Each argument is described in detail in: L<Paws::StorageGateway::CreateStorediSCSIVolume>
811              
812             Returns: a L<Paws::StorageGateway::CreateStorediSCSIVolumeOutput> instance
813              
814             Creates a volume on a specified gateway. This operation is only
815             supported in the stored volume gateway architecture.
816              
817             The size of the volume to create is inferred from the disk size. You
818             can choose to preserve existing data on the disk, create volume from an
819             existing snapshot, or create an empty volume. If you choose to create
820             an empty gateway volume, then any existing data on the disk is erased.
821              
822             In the request you must specify the gateway and the disk information on
823             which you are creating the volume. In response, the gateway creates the
824             volume and returns volume information such as the volume Amazon
825             Resource Name (ARN), its size, and the iSCSI target ARN that initiators
826             can use to connect to the volume target.
827              
828              
829             =head2 CreateTapes(ClientToken => Str, GatewayARN => Str, NumTapesToCreate => Int, TapeBarcodePrefix => Str, TapeSizeInBytes => Int)
830              
831             Each argument is described in detail in: L<Paws::StorageGateway::CreateTapes>
832              
833             Returns: a L<Paws::StorageGateway::CreateTapesOutput> instance
834              
835             Creates one or more virtual tapes. You write data to the virtual tapes
836             and then archive the tapes. This operation is only supported in the
837             tape gateway architecture.
838              
839             Cache storage must be allocated to the gateway before you can create
840             virtual tapes. Use the AddCache operation to add cache storage to a
841             gateway.
842              
843              
844             =head2 CreateTapeWithBarcode(GatewayARN => Str, TapeBarcode => Str, TapeSizeInBytes => Int)
845              
846             Each argument is described in detail in: L<Paws::StorageGateway::CreateTapeWithBarcode>
847              
848             Returns: a L<Paws::StorageGateway::CreateTapeWithBarcodeOutput> instance
849              
850             Creates a virtual tape by using your own barcode. You write data to the
851             virtual tape and then archive the tape. This operation is only
852             supported in the tape gateway architecture.
853              
854             Cache storage must be allocated to the gateway before you can create a
855             virtual tape. Use the AddCache operation to add cache storage to a
856             gateway.
857              
858              
859             =head2 DeleteBandwidthRateLimit(BandwidthType => Str, GatewayARN => Str)
860              
861             Each argument is described in detail in: L<Paws::StorageGateway::DeleteBandwidthRateLimit>
862              
863             Returns: a L<Paws::StorageGateway::DeleteBandwidthRateLimitOutput> instance
864              
865             Deletes the bandwidth rate limits of a gateway. You can delete either
866             the upload and download bandwidth rate limit, or you can delete both.
867             If you delete only one of the limits, the other limit remains
868             unchanged. To specify which gateway to work with, use the Amazon
869             Resource Name (ARN) of the gateway in your request.
870              
871              
872             =head2 DeleteChapCredentials(InitiatorName => Str, TargetARN => Str)
873              
874             Each argument is described in detail in: L<Paws::StorageGateway::DeleteChapCredentials>
875              
876             Returns: a L<Paws::StorageGateway::DeleteChapCredentialsOutput> instance
877              
878             Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials
879             for a specified iSCSI target and initiator pair.
880              
881              
882             =head2 DeleteFileShare(FileShareARN => Str)
883              
884             Each argument is described in detail in: L<Paws::StorageGateway::DeleteFileShare>
885              
886             Returns: a L<Paws::StorageGateway::DeleteFileShareOutput> instance
887              
888             Deletes a file share from a file gateway. This operation is only
889             supported in the file gateway architecture.
890              
891              
892             =head2 DeleteGateway(GatewayARN => Str)
893              
894             Each argument is described in detail in: L<Paws::StorageGateway::DeleteGateway>
895              
896             Returns: a L<Paws::StorageGateway::DeleteGatewayOutput> instance
897              
898             Deletes a gateway. To specify which gateway to delete, use the Amazon
899             Resource Name (ARN) of the gateway in your request. The operation
900             deletes the gateway; however, it does not delete the gateway virtual
901             machine (VM) from your host computer.
902              
903             After you delete a gateway, you cannot reactivate it. Completed
904             snapshots of the gateway volumes are not deleted upon deleting the
905             gateway, however, pending snapshots will not complete. After you delete
906             a gateway, your next step is to remove it from your environment.
907              
908             You no longer pay software charges after the gateway is deleted;
909             however, your existing Amazon EBS snapshots persist and you will
910             continue to be billed for these snapshots. You can choose to remove all
911             remaining Amazon EBS snapshots by canceling your Amazon EC2
912             subscription. If you prefer not to cancel your Amazon EC2 subscription,
913             you can delete your snapshots using the Amazon EC2 console. For more
914             information, see the AWS Storage Gateway Detail Page.
915              
916              
917             =head2 DeleteSnapshotSchedule(VolumeARN => Str)
918              
919             Each argument is described in detail in: L<Paws::StorageGateway::DeleteSnapshotSchedule>
920              
921             Returns: a L<Paws::StorageGateway::DeleteSnapshotScheduleOutput> instance
922              
923             Deletes a snapshot of a volume.
924              
925             You can take snapshots of your gateway volumes on a scheduled or ad hoc
926             basis. This API action enables you to delete a snapshot schedule for a
927             volume. For more information, see Working with Snapshots. In the
928             C<DeleteSnapshotSchedule> request, you identify the volume by providing
929             its Amazon Resource Name (ARN).
930              
931             To list or delete a snapshot, you must use the Amazon EC2 API. in
932             I<Amazon Elastic Compute Cloud API Reference>.
933              
934              
935             =head2 DeleteTape(GatewayARN => Str, TapeARN => Str)
936              
937             Each argument is described in detail in: L<Paws::StorageGateway::DeleteTape>
938              
939             Returns: a L<Paws::StorageGateway::DeleteTapeOutput> instance
940              
941             Deletes the specified virtual tape. This operation is only supported in
942             the tape gateway architecture.
943              
944              
945             =head2 DeleteTapeArchive(TapeARN => Str)
946              
947             Each argument is described in detail in: L<Paws::StorageGateway::DeleteTapeArchive>
948              
949             Returns: a L<Paws::StorageGateway::DeleteTapeArchiveOutput> instance
950              
951             Deletes the specified virtual tape from the virtual tape shelf (VTS).
952             This operation is only supported in the tape gateway architecture.
953              
954              
955             =head2 DeleteVolume(VolumeARN => Str)
956              
957             Each argument is described in detail in: L<Paws::StorageGateway::DeleteVolume>
958              
959             Returns: a L<Paws::StorageGateway::DeleteVolumeOutput> instance
960              
961             Deletes the specified storage volume that you previously created using
962             the CreateCachediSCSIVolume or CreateStorediSCSIVolume API. This
963             operation is only supported in the cached volume and stored volume
964             architectures. For stored volume gateways, the local disk that was
965             configured as the storage volume is not deleted. You can reuse the
966             local disk to create another storage volume.
967              
968             Before you delete a volume, make sure there are no iSCSI connections to
969             the volume you are deleting. You should also make sure there is no
970             snapshot in progress. You can use the Amazon Elastic Compute Cloud
971             (Amazon EC2) API to query snapshots on the volume you are deleting and
972             check the snapshot status. For more information, go to
973             DescribeSnapshots in the I<Amazon Elastic Compute Cloud API Reference>.
974              
975             In the request, you must provide the Amazon Resource Name (ARN) of the
976             storage volume you want to delete.
977              
978              
979             =head2 DescribeBandwidthRateLimit(GatewayARN => Str)
980              
981             Each argument is described in detail in: L<Paws::StorageGateway::DescribeBandwidthRateLimit>
982              
983             Returns: a L<Paws::StorageGateway::DescribeBandwidthRateLimitOutput> instance
984              
985             Returns the bandwidth rate limits of a gateway. By default, these
986             limits are not set, which means no bandwidth rate limiting is in
987             effect.
988              
989             This operation only returns a value for a bandwidth rate limit only if
990             the limit is set. If no limits are set for the gateway, then this
991             operation returns only the gateway ARN in the response body. To specify
992             which gateway to describe, use the Amazon Resource Name (ARN) of the
993             gateway in your request.
994              
995              
996             =head2 DescribeCache(GatewayARN => Str)
997              
998             Each argument is described in detail in: L<Paws::StorageGateway::DescribeCache>
999              
1000             Returns: a L<Paws::StorageGateway::DescribeCacheOutput> instance
1001              
1002             Returns information about the cache of a gateway. This operation is
1003             only supported in the cached volume,tape and file gateway
1004             architectures.
1005              
1006             The response includes disk IDs that are configured as cache, and it
1007             includes the amount of cache allocated and used.
1008              
1009              
1010             =head2 DescribeCachediSCSIVolumes(VolumeARNs => ArrayRef[Str|Undef])
1011              
1012             Each argument is described in detail in: L<Paws::StorageGateway::DescribeCachediSCSIVolumes>
1013              
1014             Returns: a L<Paws::StorageGateway::DescribeCachediSCSIVolumesOutput> instance
1015              
1016             Returns a description of the gateway volumes specified in the request.
1017             This operation is only supported in the cached volume gateway
1018             architecture.
1019              
1020             The list of gateway volumes in the request must be from one gateway. In
1021             the response Amazon Storage Gateway returns volume information sorted
1022             by volume Amazon Resource Name (ARN).
1023              
1024              
1025             =head2 DescribeChapCredentials(TargetARN => Str)
1026              
1027             Each argument is described in detail in: L<Paws::StorageGateway::DescribeChapCredentials>
1028              
1029             Returns: a L<Paws::StorageGateway::DescribeChapCredentialsOutput> instance
1030              
1031             Returns an array of Challenge-Handshake Authentication Protocol (CHAP)
1032             credentials information for a specified iSCSI target, one for each
1033             target-initiator pair.
1034              
1035              
1036             =head2 DescribeGatewayInformation(GatewayARN => Str)
1037              
1038             Each argument is described in detail in: L<Paws::StorageGateway::DescribeGatewayInformation>
1039              
1040             Returns: a L<Paws::StorageGateway::DescribeGatewayInformationOutput> instance
1041              
1042             Returns metadata about a gateway such as its name, network interfaces,
1043             configured time zone, and the state (whether the gateway is running or
1044             not). To specify which gateway to describe, use the Amazon Resource
1045             Name (ARN) of the gateway in your request.
1046              
1047              
1048             =head2 DescribeMaintenanceStartTime(GatewayARN => Str)
1049              
1050             Each argument is described in detail in: L<Paws::StorageGateway::DescribeMaintenanceStartTime>
1051              
1052             Returns: a L<Paws::StorageGateway::DescribeMaintenanceStartTimeOutput> instance
1053              
1054             Returns your gateway's weekly maintenance start time including the day
1055             and time of the week. Note that values are in terms of the gateway's
1056             time zone.
1057              
1058              
1059             =head2 DescribeNFSFileShares(FileShareARNList => ArrayRef[Str|Undef])
1060              
1061             Each argument is described in detail in: L<Paws::StorageGateway::DescribeNFSFileShares>
1062              
1063             Returns: a L<Paws::StorageGateway::DescribeNFSFileSharesOutput> instance
1064              
1065             Gets a description for one or more file shares from a file gateway.
1066             This operation is only supported in file gateways.
1067              
1068              
1069             =head2 DescribeSnapshotSchedule(VolumeARN => Str)
1070              
1071             Each argument is described in detail in: L<Paws::StorageGateway::DescribeSnapshotSchedule>
1072              
1073             Returns: a L<Paws::StorageGateway::DescribeSnapshotScheduleOutput> instance
1074              
1075             Describes the snapshot schedule for the specified gateway volume. The
1076             snapshot schedule information includes intervals at which snapshots are
1077             automatically initiated on the volume. This operation is only supported
1078             in the cached volume and stored volume architectures.
1079              
1080              
1081             =head2 DescribeStorediSCSIVolumes(VolumeARNs => ArrayRef[Str|Undef])
1082              
1083             Each argument is described in detail in: L<Paws::StorageGateway::DescribeStorediSCSIVolumes>
1084              
1085             Returns: a L<Paws::StorageGateway::DescribeStorediSCSIVolumesOutput> instance
1086              
1087             Returns the description of the gateway volumes specified in the
1088             request. The list of gateway volumes in the request must be from one
1089             gateway. In the response Amazon Storage Gateway returns volume
1090             information sorted by volume ARNs. This operation is only supported in
1091             stored volume gateway architecture.
1092              
1093              
1094             =head2 DescribeTapeArchives([Limit => Int, Marker => Str, TapeARNs => ArrayRef[Str|Undef]])
1095              
1096             Each argument is described in detail in: L<Paws::StorageGateway::DescribeTapeArchives>
1097              
1098             Returns: a L<Paws::StorageGateway::DescribeTapeArchivesOutput> instance
1099              
1100             Returns a description of specified virtual tapes in the virtual tape
1101             shelf (VTS). This operation is only supported in the tape gateway
1102             architecture.
1103              
1104             If a specific C<TapeARN> is not specified, AWS Storage Gateway returns
1105             a description of all virtual tapes found in the VTS associated with
1106             your account.
1107              
1108              
1109             =head2 DescribeTapeRecoveryPoints(GatewayARN => Str, [Limit => Int, Marker => Str])
1110              
1111             Each argument is described in detail in: L<Paws::StorageGateway::DescribeTapeRecoveryPoints>
1112              
1113             Returns: a L<Paws::StorageGateway::DescribeTapeRecoveryPointsOutput> instance
1114              
1115             Returns a list of virtual tape recovery points that are available for
1116             the specified tape gateway.
1117              
1118             A recovery point is a point-in-time view of a virtual tape at which all
1119             the data on the virtual tape is consistent. If your gateway crashes,
1120             virtual tapes that have recovery points can be recovered to a new
1121             gateway. This operation is only supported in the tape gateway
1122             architecture.
1123              
1124              
1125             =head2 DescribeTapes(GatewayARN => Str, [Limit => Int, Marker => Str, TapeARNs => ArrayRef[Str|Undef]])
1126              
1127             Each argument is described in detail in: L<Paws::StorageGateway::DescribeTapes>
1128              
1129             Returns: a L<Paws::StorageGateway::DescribeTapesOutput> instance
1130              
1131             Returns a description of the specified Amazon Resource Name (ARN) of
1132             virtual tapes. If a C<TapeARN> is not specified, returns a description
1133             of all virtual tapes associated with the specified gateway. This
1134             operation is only supported in the tape gateway architecture.
1135              
1136              
1137             =head2 DescribeUploadBuffer(GatewayARN => Str)
1138              
1139             Each argument is described in detail in: L<Paws::StorageGateway::DescribeUploadBuffer>
1140              
1141             Returns: a L<Paws::StorageGateway::DescribeUploadBufferOutput> instance
1142              
1143             Returns information about the upload buffer of a gateway. This
1144             operation is supported for the stored volume, cached volume and tape
1145             gateway architectures.
1146              
1147             The response includes disk IDs that are configured as upload buffer
1148             space, and it includes the amount of upload buffer space allocated and
1149             used.
1150              
1151              
1152             =head2 DescribeVTLDevices(GatewayARN => Str, [Limit => Int, Marker => Str, VTLDeviceARNs => ArrayRef[Str|Undef]])
1153              
1154             Each argument is described in detail in: L<Paws::StorageGateway::DescribeVTLDevices>
1155              
1156             Returns: a L<Paws::StorageGateway::DescribeVTLDevicesOutput> instance
1157              
1158             Returns a description of virtual tape library (VTL) devices for the
1159             specified tape gateway. In the response, AWS Storage Gateway returns
1160             VTL device information.
1161              
1162             This operation is only supported in the tape gateway architecture.
1163              
1164              
1165             =head2 DescribeWorkingStorage(GatewayARN => Str)
1166              
1167             Each argument is described in detail in: L<Paws::StorageGateway::DescribeWorkingStorage>
1168              
1169             Returns: a L<Paws::StorageGateway::DescribeWorkingStorageOutput> instance
1170              
1171             Returns information about the working storage of a gateway. This
1172             operation is only supported in the stored volumes gateway architecture.
1173             This operation is deprecated in cached volumes API version (20120630).
1174             Use DescribeUploadBuffer instead.
1175              
1176             Working storage is also referred to as upload buffer. You can also use
1177             the DescribeUploadBuffer operation to add upload buffer to a stored
1178             volume gateway.
1179              
1180             The response includes disk IDs that are configured as working storage,
1181             and it includes the amount of working storage allocated and used.
1182              
1183              
1184             =head2 DisableGateway(GatewayARN => Str)
1185              
1186             Each argument is described in detail in: L<Paws::StorageGateway::DisableGateway>
1187              
1188             Returns: a L<Paws::StorageGateway::DisableGatewayOutput> instance
1189              
1190             Disables a tape gateway when the gateway is no longer functioning. For
1191             example, if your gateway VM is damaged, you can disable the gateway so
1192             you can recover virtual tapes.
1193              
1194             Use this operation for a tape gateway that is not reachable or not
1195             functioning. This operation is only supported in the tape gateway
1196             architectures.
1197              
1198             Once a gateway is disabled it cannot be enabled.
1199              
1200              
1201             =head2 ListFileShares([GatewayARN => Str, Limit => Int, Marker => Str])
1202              
1203             Each argument is described in detail in: L<Paws::StorageGateway::ListFileShares>
1204              
1205             Returns: a L<Paws::StorageGateway::ListFileSharesOutput> instance
1206              
1207             Gets a list of the file shares for a specific file gateway, or the list
1208             of file shares that belong to the calling user account. This operation
1209             is only supported in the file gateway architecture.
1210              
1211              
1212             =head2 ListGateways([Limit => Int, Marker => Str])
1213              
1214             Each argument is described in detail in: L<Paws::StorageGateway::ListGateways>
1215              
1216             Returns: a L<Paws::StorageGateway::ListGatewaysOutput> instance
1217              
1218             Lists gateways owned by an AWS account in a region specified in the
1219             request. The returned list is ordered by gateway Amazon Resource Name
1220             (ARN).
1221              
1222             By default, the operation returns a maximum of 100 gateways. This
1223             operation supports pagination that allows you to optionally reduce the
1224             number of gateways returned in a response.
1225              
1226             If you have more gateways than are returned in a response (that is, the
1227             response returns only a truncated list of your gateways), the response
1228             contains a marker that you can specify in your next request to fetch
1229             the next page of gateways.
1230              
1231              
1232             =head2 ListLocalDisks(GatewayARN => Str)
1233              
1234             Each argument is described in detail in: L<Paws::StorageGateway::ListLocalDisks>
1235              
1236             Returns: a L<Paws::StorageGateway::ListLocalDisksOutput> instance
1237              
1238             Returns a list of the gateway's local disks. To specify which gateway
1239             to describe, you use the Amazon Resource Name (ARN) of the gateway in
1240             the body of the request.
1241              
1242             The request returns a list of all disks, specifying which are
1243             configured as working storage, cache storage, or stored volume or not
1244             configured at all. The response includes a C<DiskStatus> field. This
1245             field can have a value of present (the disk is available to use),
1246             missing (the disk is no longer connected to the gateway), or mismatch
1247             (the disk node is occupied by a disk that has incorrect metadata or the
1248             disk content is corrupted).
1249              
1250              
1251             =head2 ListTagsForResource(ResourceARN => Str, [Limit => Int, Marker => Str])
1252              
1253             Each argument is described in detail in: L<Paws::StorageGateway::ListTagsForResource>
1254              
1255             Returns: a L<Paws::StorageGateway::ListTagsForResourceOutput> instance
1256              
1257             Lists the tags that have been added to the specified resource. This
1258             operation is only supported in the cached volume, stored volume and
1259             tape gateway architecture.
1260              
1261              
1262             =head2 ListTapes([Limit => Int, Marker => Str, TapeARNs => ArrayRef[Str|Undef]])
1263              
1264             Each argument is described in detail in: L<Paws::StorageGateway::ListTapes>
1265              
1266             Returns: a L<Paws::StorageGateway::ListTapesOutput> instance
1267              
1268             Lists virtual tapes in your virtual tape library (VTL) and your virtual
1269             tape shelf (VTS). You specify the tapes to list by specifying one or
1270             more tape Amazon Resource Names (ARNs). If you don't specify a tape
1271             ARN, the operation lists all virtual tapes in both your VTL and VTS.
1272              
1273             This operation supports pagination. By default, the operation returns a
1274             maximum of up to 100 tapes. You can optionally specify the C<Limit>
1275             parameter in the body to limit the number of tapes in the response. If
1276             the number of tapes returned in the response is truncated, the response
1277             includes a C<Marker> element that you can use in your subsequent
1278             request to retrieve the next set of tapes. This operation is only
1279             supported in the tape gateway architecture.
1280              
1281              
1282             =head2 ListVolumeInitiators(VolumeARN => Str)
1283              
1284             Each argument is described in detail in: L<Paws::StorageGateway::ListVolumeInitiators>
1285              
1286             Returns: a L<Paws::StorageGateway::ListVolumeInitiatorsOutput> instance
1287              
1288             Lists iSCSI initiators that are connected to a volume. You can use this
1289             operation to determine whether a volume is being used or not. This
1290             operation is only supported in the cached volume and stored volume
1291             gateway architecture.
1292              
1293              
1294             =head2 ListVolumeRecoveryPoints(GatewayARN => Str)
1295              
1296             Each argument is described in detail in: L<Paws::StorageGateway::ListVolumeRecoveryPoints>
1297              
1298             Returns: a L<Paws::StorageGateway::ListVolumeRecoveryPointsOutput> instance
1299              
1300             Lists the recovery points for a specified gateway. This operation is
1301             only supported in the cached volume gateway architecture.
1302              
1303             Each cache volume has one recovery point. A volume recovery point is a
1304             point in time at which all data of the volume is consistent and from
1305             which you can create a snapshot or clone a new cached volume from a
1306             source volume. To create a snapshot from a volume recovery point use
1307             the CreateSnapshotFromVolumeRecoveryPoint operation.
1308              
1309              
1310             =head2 ListVolumes([GatewayARN => Str, Limit => Int, Marker => Str])
1311              
1312             Each argument is described in detail in: L<Paws::StorageGateway::ListVolumes>
1313              
1314             Returns: a L<Paws::StorageGateway::ListVolumesOutput> instance
1315              
1316             Lists the iSCSI stored volumes of a gateway. Results are sorted by
1317             volume ARN. The response includes only the volume ARNs. If you want
1318             additional volume information, use the DescribeStorediSCSIVolumes or
1319             the DescribeCachediSCSIVolumes API.
1320              
1321             The operation supports pagination. By default, the operation returns a
1322             maximum of up to 100 volumes. You can optionally specify the C<Limit>
1323             field in the body to limit the number of volumes in the response. If
1324             the number of volumes returned in the response is truncated, the
1325             response includes a Marker field. You can use this Marker value in your
1326             subsequent request to retrieve the next set of volumes. This operation
1327             is only supported in the cached volume and stored volume gateway
1328             architectures.
1329              
1330              
1331             =head2 RefreshCache(FileShareARN => Str)
1332              
1333             Each argument is described in detail in: L<Paws::StorageGateway::RefreshCache>
1334              
1335             Returns: a L<Paws::StorageGateway::RefreshCacheOutput> instance
1336              
1337             Refreshes the cache for the specified file share. This operation finds
1338             objects in the Amazon S3 bucket that were added or removed since the
1339             gateway last listed the bucket's contents and cached the results.
1340              
1341              
1342             =head2 RemoveTagsFromResource(ResourceARN => Str, TagKeys => ArrayRef[Str|Undef])
1343              
1344             Each argument is described in detail in: L<Paws::StorageGateway::RemoveTagsFromResource>
1345              
1346             Returns: a L<Paws::StorageGateway::RemoveTagsFromResourceOutput> instance
1347              
1348             Removes one or more tags from the specified resource. This operation is
1349             only supported in the cached volume, stored volume and tape gateway
1350             architectures.
1351              
1352              
1353             =head2 ResetCache(GatewayARN => Str)
1354              
1355             Each argument is described in detail in: L<Paws::StorageGateway::ResetCache>
1356              
1357             Returns: a L<Paws::StorageGateway::ResetCacheOutput> instance
1358              
1359             Resets all cache disks that have encountered a error and makes the
1360             disks available for reconfiguration as cache storage. If your cache
1361             disk encounters a error, the gateway prevents read and write operations
1362             on virtual tapes in the gateway. For example, an error can occur when a
1363             disk is corrupted or removed from the gateway. When a cache is reset,
1364             the gateway loses its cache storage. At this point you can reconfigure
1365             the disks as cache disks. This operation is only supported in the
1366             cached volume,tape and file gateway architectures.
1367              
1368             If the cache disk you are resetting contains data that has not been
1369             uploaded to Amazon S3 yet, that data can be lost. After you reset cache
1370             disks, there will be no configured cache disks left in the gateway, so
1371             you must configure at least one new cache disk for your gateway to
1372             function properly.
1373              
1374              
1375             =head2 RetrieveTapeArchive(GatewayARN => Str, TapeARN => Str)
1376              
1377             Each argument is described in detail in: L<Paws::StorageGateway::RetrieveTapeArchive>
1378              
1379             Returns: a L<Paws::StorageGateway::RetrieveTapeArchiveOutput> instance
1380              
1381             Retrieves an archived virtual tape from the virtual tape shelf (VTS) to
1382             a tape gateway. Virtual tapes archived in the VTS are not associated
1383             with any gateway. However after a tape is retrieved, it is associated
1384             with a gateway, even though it is also listed in the VTS, that is,
1385             archive. This operation is only supported in the tape gateway
1386             architecture.
1387              
1388             Once a tape is successfully retrieved to a gateway, it cannot be
1389             retrieved again to another gateway. You must archive the tape again
1390             before you can retrieve it to another gateway. This operation is only
1391             supported in the tape gateway architecture.
1392              
1393              
1394             =head2 RetrieveTapeRecoveryPoint(GatewayARN => Str, TapeARN => Str)
1395              
1396             Each argument is described in detail in: L<Paws::StorageGateway::RetrieveTapeRecoveryPoint>
1397              
1398             Returns: a L<Paws::StorageGateway::RetrieveTapeRecoveryPointOutput> instance
1399              
1400             Retrieves the recovery point for the specified virtual tape. This
1401             operation is only supported in the tape gateway architecture.
1402              
1403             A recovery point is a point in time view of a virtual tape at which all
1404             the data on the tape is consistent. If your gateway crashes, virtual
1405             tapes that have recovery points can be recovered to a new gateway.
1406              
1407             The virtual tape can be retrieved to only one gateway. The retrieved
1408             tape is read-only. The virtual tape can be retrieved to only a tape
1409             gateway. There is no charge for retrieving recovery points.
1410              
1411              
1412             =head2 SetLocalConsolePassword(GatewayARN => Str, LocalConsolePassword => Str)
1413              
1414             Each argument is described in detail in: L<Paws::StorageGateway::SetLocalConsolePassword>
1415              
1416             Returns: a L<Paws::StorageGateway::SetLocalConsolePasswordOutput> instance
1417              
1418             Sets the password for your VM local console. When you log in to the
1419             local console for the first time, you log in to the VM with the default
1420             credentials. We recommend that you set a new password. You don't need
1421             to know the default password to set a new password.
1422              
1423              
1424             =head2 ShutdownGateway(GatewayARN => Str)
1425              
1426             Each argument is described in detail in: L<Paws::StorageGateway::ShutdownGateway>
1427              
1428             Returns: a L<Paws::StorageGateway::ShutdownGatewayOutput> instance
1429              
1430             Shuts down a gateway. To specify which gateway to shut down, use the
1431             Amazon Resource Name (ARN) of the gateway in the body of your request.
1432              
1433             The operation shuts down the gateway service component running in the
1434             gateway's virtual machine (VM) and not the host VM.
1435              
1436             If you want to shut down the VM, it is recommended that you first shut
1437             down the gateway component in the VM to avoid unpredictable conditions.
1438              
1439             After the gateway is shutdown, you cannot call any other API except
1440             StartGateway, DescribeGatewayInformation, and ListGateways. For more
1441             information, see ActivateGateway. Your applications cannot read from or
1442             write to the gateway's storage volumes, and there are no snapshots
1443             taken.
1444              
1445             When you make a shutdown request, you will get a C<200 OK> success
1446             response immediately. However, it might take some time for the gateway
1447             to shut down. You can call the DescribeGatewayInformation API to check
1448             the status. For more information, see ActivateGateway.
1449              
1450             If do not intend to use the gateway again, you must delete the gateway
1451             (using DeleteGateway) to no longer pay software charges associated with
1452             the gateway.
1453              
1454              
1455             =head2 StartGateway(GatewayARN => Str)
1456              
1457             Each argument is described in detail in: L<Paws::StorageGateway::StartGateway>
1458              
1459             Returns: a L<Paws::StorageGateway::StartGatewayOutput> instance
1460              
1461             Starts a gateway that you previously shut down (see ShutdownGateway).
1462             After the gateway starts, you can then make other API calls, your
1463             applications can read from or write to the gateway's storage volumes
1464             and you will be able to take snapshot backups.
1465              
1466             When you make a request, you will get a 200 OK success response
1467             immediately. However, it might take some time for the gateway to be
1468             ready. You should call DescribeGatewayInformation and check the status
1469             before making any additional API calls. For more information, see
1470             ActivateGateway.
1471              
1472             To specify which gateway to start, use the Amazon Resource Name (ARN)
1473             of the gateway in your request.
1474              
1475              
1476             =head2 UpdateBandwidthRateLimit(GatewayARN => Str, [AverageDownloadRateLimitInBitsPerSec => Int, AverageUploadRateLimitInBitsPerSec => Int])
1477              
1478             Each argument is described in detail in: L<Paws::StorageGateway::UpdateBandwidthRateLimit>
1479              
1480             Returns: a L<Paws::StorageGateway::UpdateBandwidthRateLimitOutput> instance
1481              
1482             Updates the bandwidth rate limits of a gateway. You can update both the
1483             upload and download bandwidth rate limit or specify only one of the
1484             two. If you don't set a bandwidth rate limit, the existing rate limit
1485             remains.
1486              
1487             By default, a gateway's bandwidth rate limits are not set. If you don't
1488             set any limit, the gateway does not have any limitations on its
1489             bandwidth usage and could potentially use the maximum available
1490             bandwidth.
1491              
1492             To specify which gateway to update, use the Amazon Resource Name (ARN)
1493             of the gateway in your request.
1494              
1495              
1496             =head2 UpdateChapCredentials(InitiatorName => Str, SecretToAuthenticateInitiator => Str, TargetARN => Str, [SecretToAuthenticateTarget => Str])
1497              
1498             Each argument is described in detail in: L<Paws::StorageGateway::UpdateChapCredentials>
1499              
1500             Returns: a L<Paws::StorageGateway::UpdateChapCredentialsOutput> instance
1501              
1502             Updates the Challenge-Handshake Authentication Protocol (CHAP)
1503             credentials for a specified iSCSI target. By default, a gateway does
1504             not have CHAP enabled; however, for added security, you might use it.
1505              
1506             When you update CHAP credentials, all existing connections on the
1507             target are closed and initiators must reconnect with the new
1508             credentials.
1509              
1510              
1511             =head2 UpdateGatewayInformation(GatewayARN => Str, [GatewayName => Str, GatewayTimezone => Str])
1512              
1513             Each argument is described in detail in: L<Paws::StorageGateway::UpdateGatewayInformation>
1514              
1515             Returns: a L<Paws::StorageGateway::UpdateGatewayInformationOutput> instance
1516              
1517             Updates a gateway's metadata, which includes the gateway's name and
1518             time zone. To specify which gateway to update, use the Amazon Resource
1519             Name (ARN) of the gateway in your request.
1520              
1521             For Gateways activated after September 2, 2015, the gateway's ARN
1522             contains the gateway ID rather than the gateway name. However, changing
1523             the name of the gateway has no effect on the gateway's ARN.
1524              
1525              
1526             =head2 UpdateGatewaySoftwareNow(GatewayARN => Str)
1527              
1528             Each argument is described in detail in: L<Paws::StorageGateway::UpdateGatewaySoftwareNow>
1529              
1530             Returns: a L<Paws::StorageGateway::UpdateGatewaySoftwareNowOutput> instance
1531              
1532             Updates the gateway virtual machine (VM) software. The request
1533             immediately triggers the software update.
1534              
1535             When you make this request, you get a C<200 OK> success response
1536             immediately. However, it might take some time for the update to
1537             complete. You can call DescribeGatewayInformation to verify the gateway
1538             is in the C<STATE_RUNNING> state.
1539              
1540             A software update forces a system restart of your gateway. You can
1541             minimize the chance of any disruption to your applications by
1542             increasing your iSCSI Initiators' timeouts. For more information about
1543             increasing iSCSI Initiator timeouts for Windows and Linux, see
1544             Customizing Your Windows iSCSI Settings and Customizing Your Linux
1545             iSCSI Settings, respectively.
1546              
1547              
1548             =head2 UpdateMaintenanceStartTime(DayOfWeek => Int, GatewayARN => Str, HourOfDay => Int, MinuteOfHour => Int)
1549              
1550             Each argument is described in detail in: L<Paws::StorageGateway::UpdateMaintenanceStartTime>
1551              
1552             Returns: a L<Paws::StorageGateway::UpdateMaintenanceStartTimeOutput> instance
1553              
1554             Updates a gateway's weekly maintenance start time information,
1555             including day and time of the week. The maintenance time is the time in
1556             your gateway's time zone.
1557              
1558              
1559             =head2 UpdateNFSFileShare(FileShareARN => Str, [ClientList => ArrayRef[Str|Undef], DefaultStorageClass => Str, KMSEncrypted => Bool, KMSKey => Str, NFSFileShareDefaults => L<Paws::StorageGateway::NFSFileShareDefaults>, ReadOnly => Bool, Squash => Str])
1560              
1561             Each argument is described in detail in: L<Paws::StorageGateway::UpdateNFSFileShare>
1562              
1563             Returns: a L<Paws::StorageGateway::UpdateNFSFileShareOutput> instance
1564              
1565             Updates a file share. This operation is only supported in the file
1566             gateway architecture.
1567              
1568             To leave a file share field unchanged, set the corresponding input
1569             field to null.
1570              
1571             Updates the following file share setting:
1572              
1573             =over
1574              
1575             =item *
1576              
1577             Default storage class for your S3 bucket
1578              
1579             =item *
1580              
1581             Metadata defaults for your S3 bucket
1582              
1583             =item *
1584              
1585             Allowed NFS clients for your file share
1586              
1587             =item *
1588              
1589             Squash settings
1590              
1591             =item *
1592              
1593             Write status of your file share
1594              
1595             =back
1596              
1597             To leave a file share field unchanged, set the corresponding input
1598             field to null. This operation is only supported in file gateways.
1599              
1600              
1601             =head2 UpdateSnapshotSchedule(RecurrenceInHours => Int, StartAt => Int, VolumeARN => Str, [Description => Str])
1602              
1603             Each argument is described in detail in: L<Paws::StorageGateway::UpdateSnapshotSchedule>
1604              
1605             Returns: a L<Paws::StorageGateway::UpdateSnapshotScheduleOutput> instance
1606              
1607             Updates a snapshot schedule configured for a gateway volume. This
1608             operation is only supported in the cached volume and stored volume
1609             gateway architectures.
1610              
1611             The default snapshot schedule for volume is once every 24 hours,
1612             starting at the creation time of the volume. You can use this API to
1613             change the snapshot schedule configured for the volume.
1614              
1615             In the request you must identify the gateway volume whose snapshot
1616             schedule you want to update, and the schedule information, including
1617             when you want the snapshot to begin on a day and the frequency (in
1618             hours) of snapshots.
1619              
1620              
1621             =head2 UpdateVTLDeviceType(DeviceType => Str, VTLDeviceARN => Str)
1622              
1623             Each argument is described in detail in: L<Paws::StorageGateway::UpdateVTLDeviceType>
1624              
1625             Returns: a L<Paws::StorageGateway::UpdateVTLDeviceTypeOutput> instance
1626              
1627             Updates the type of medium changer in a tape gateway. When you activate
1628             a tape gateway, you select a medium changer type for the tape gateway.
1629             This operation enables you to select a different type of medium changer
1630             after a tape gateway is activated. This operation is only supported in
1631             the tape gateway architecture.
1632              
1633              
1634              
1635              
1636             =head1 PAGINATORS
1637              
1638             Paginator methods are helpers that repetively call methods that return partial results
1639              
1640             =head2 DescribeAllTapeArchives(sub { },[Limit => Int, Marker => Str, TapeARNs => ArrayRef[Str|Undef]])
1641              
1642             =head2 DescribeAllTapeArchives([Limit => Int, Marker => Str, TapeARNs => ArrayRef[Str|Undef]])
1643              
1644              
1645             If passed a sub as first parameter, it will call the sub for each element found in :
1646              
1647             - TapeArchives, passing the object as the first parameter, and the string 'TapeArchives' as the second parameter
1648              
1649             If not, it will return a a L<Paws::StorageGateway::DescribeTapeArchivesOutput> 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.
1650              
1651              
1652             =head2 DescribeAllTapeRecoveryPoints(sub { },GatewayARN => Str, [Limit => Int, Marker => Str])
1653              
1654             =head2 DescribeAllTapeRecoveryPoints(GatewayARN => Str, [Limit => Int, Marker => Str])
1655              
1656              
1657             If passed a sub as first parameter, it will call the sub for each element found in :
1658              
1659             - TapeRecoveryPointInfos, passing the object as the first parameter, and the string 'TapeRecoveryPointInfos' as the second parameter
1660              
1661             If not, it will return a a L<Paws::StorageGateway::DescribeTapeRecoveryPointsOutput> 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.
1662              
1663              
1664             =head2 DescribeAllTapes(sub { },GatewayARN => Str, [Limit => Int, Marker => Str, TapeARNs => ArrayRef[Str|Undef]])
1665              
1666             =head2 DescribeAllTapes(GatewayARN => Str, [Limit => Int, Marker => Str, TapeARNs => ArrayRef[Str|Undef]])
1667              
1668              
1669             If passed a sub as first parameter, it will call the sub for each element found in :
1670              
1671             - Tapes, passing the object as the first parameter, and the string 'Tapes' as the second parameter
1672              
1673             If not, it will return a a L<Paws::StorageGateway::DescribeTapesOutput> 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.
1674              
1675              
1676             =head2 DescribeAllVTLDevices(sub { },GatewayARN => Str, [Limit => Int, Marker => Str, VTLDeviceARNs => ArrayRef[Str|Undef]])
1677              
1678             =head2 DescribeAllVTLDevices(GatewayARN => Str, [Limit => Int, Marker => Str, VTLDeviceARNs => ArrayRef[Str|Undef]])
1679              
1680              
1681             If passed a sub as first parameter, it will call the sub for each element found in :
1682              
1683             - VTLDevices, passing the object as the first parameter, and the string 'VTLDevices' as the second parameter
1684              
1685             If not, it will return a a L<Paws::StorageGateway::DescribeVTLDevicesOutput> 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.
1686              
1687              
1688             =head2 ListAllGateways(sub { },[Limit => Int, Marker => Str])
1689              
1690             =head2 ListAllGateways([Limit => Int, Marker => Str])
1691              
1692              
1693             If passed a sub as first parameter, it will call the sub for each element found in :
1694              
1695             - Gateways, passing the object as the first parameter, and the string 'Gateways' as the second parameter
1696              
1697             If not, it will return a a L<Paws::StorageGateway::ListGatewaysOutput> 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.
1698              
1699              
1700             =head2 ListAllVolumes(sub { },[GatewayARN => Str, Limit => Int, Marker => Str])
1701              
1702             =head2 ListAllVolumes([GatewayARN => Str, Limit => Int, Marker => Str])
1703              
1704              
1705             If passed a sub as first parameter, it will call the sub for each element found in :
1706              
1707             - VolumeInfos, passing the object as the first parameter, and the string 'VolumeInfos' as the second parameter
1708              
1709             If not, it will return a a L<Paws::StorageGateway::ListVolumesOutput> 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.
1710              
1711              
1712              
1713              
1714              
1715             =head1 SEE ALSO
1716              
1717             This service class forms part of L<Paws>
1718              
1719             =head1 BUGS and CONTRIBUTIONS
1720              
1721             The source code is located here: https://github.com/pplu/aws-sdk-perl
1722              
1723             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
1724              
1725             =cut
1726