blib/lib/Paws/Backup.pm untested

filter: Statementstmt 0.0% 0 / 166 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 57 Podpod 0.0% 0 / 56 totaltotal 0.0% 0 / 279 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::Backup;
2 use Moose;
3 sub service { 'backup' }
4 sub signing_name { 'backup' }
5 sub version { '2018-11-15' }
6 sub flattened_arrays { 0 }
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::RestJsonCaller';
15  
16
17 sub CreateBackupPlan {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::Backup::CreateBackupPlan', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub CreateBackupSelection {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::Backup::CreateBackupSelection', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub CreateBackupVault {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::Backup::CreateBackupVault', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub DeleteBackupPlan {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::Backup::DeleteBackupPlan', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub DeleteBackupSelection {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::Backup::DeleteBackupSelection', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub DeleteBackupVault {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::Backup::DeleteBackupVault', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub DeleteBackupVaultAccessPolicy {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::Backup::DeleteBackupVaultAccessPolicy', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub DeleteBackupVaultNotifications {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::Backup::DeleteBackupVaultNotifications', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub DeleteRecoveryPoint {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::Backup::DeleteRecoveryPoint', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub DescribeBackupJob {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::Backup::DescribeBackupJob', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub DescribeBackupVault {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::Backup::DescribeBackupVault', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub DescribeCopyJob {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::Backup::DescribeCopyJob', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub DescribeGlobalSettings {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::Backup::DescribeGlobalSettings', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub DescribeProtectedResource {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::Backup::DescribeProtectedResource', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub DescribeRecoveryPoint {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::Backup::DescribeRecoveryPoint', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub DescribeRegionSettings {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::Backup::DescribeRegionSettings', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub DescribeRestoreJob {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::Backup::DescribeRestoreJob', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub DisassociateRecoveryPoint {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::Backup::DisassociateRecoveryPoint', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub ExportBackupPlanTemplate {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::Backup::ExportBackupPlanTemplate', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub GetBackupPlan {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::Backup::GetBackupPlan', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub GetBackupPlanFromJSON {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::Backup::GetBackupPlanFromJSON', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122 sub GetBackupPlanFromTemplate {
123 my $self = shift;
124 my $call_object = $self->new_with_coercions('Paws::Backup::GetBackupPlanFromTemplate', @_);
125 return $self->caller->do_call($self, $call_object);
126 }
127 sub GetBackupSelection {
128 my $self = shift;
129 my $call_object = $self->new_with_coercions('Paws::Backup::GetBackupSelection', @_);
130 return $self->caller->do_call($self, $call_object);
131 }
132 sub GetBackupVaultAccessPolicy {
133 my $self = shift;
134 my $call_object = $self->new_with_coercions('Paws::Backup::GetBackupVaultAccessPolicy', @_);
135 return $self->caller->do_call($self, $call_object);
136 }
137 sub GetBackupVaultNotifications {
138 my $self = shift;
139 my $call_object = $self->new_with_coercions('Paws::Backup::GetBackupVaultNotifications', @_);
140 return $self->caller->do_call($self, $call_object);
141 }
142 sub GetRecoveryPointRestoreMetadata {
143 my $self = shift;
144 my $call_object = $self->new_with_coercions('Paws::Backup::GetRecoveryPointRestoreMetadata', @_);
145 return $self->caller->do_call($self, $call_object);
146 }
147 sub GetSupportedResourceTypes {
148 my $self = shift;
149 my $call_object = $self->new_with_coercions('Paws::Backup::GetSupportedResourceTypes', @_);
150 return $self->caller->do_call($self, $call_object);
151 }
152 sub ListBackupJobs {
153 my $self = shift;
154 my $call_object = $self->new_with_coercions('Paws::Backup::ListBackupJobs', @_);
155 return $self->caller->do_call($self, $call_object);
156 }
157 sub ListBackupPlans {
158 my $self = shift;
159 my $call_object = $self->new_with_coercions('Paws::Backup::ListBackupPlans', @_);
160 return $self->caller->do_call($self, $call_object);
161 }
162 sub ListBackupPlanTemplates {
163 my $self = shift;
164 my $call_object = $self->new_with_coercions('Paws::Backup::ListBackupPlanTemplates', @_);
165 return $self->caller->do_call($self, $call_object);
166 }
167 sub ListBackupPlanVersions {
168 my $self = shift;
169 my $call_object = $self->new_with_coercions('Paws::Backup::ListBackupPlanVersions', @_);
170 return $self->caller->do_call($self, $call_object);
171 }
172 sub ListBackupSelections {
173 my $self = shift;
174 my $call_object = $self->new_with_coercions('Paws::Backup::ListBackupSelections', @_);
175 return $self->caller->do_call($self, $call_object);
176 }
177 sub ListBackupVaults {
178 my $self = shift;
179 my $call_object = $self->new_with_coercions('Paws::Backup::ListBackupVaults', @_);
180 return $self->caller->do_call($self, $call_object);
181 }
182 sub ListCopyJobs {
183 my $self = shift;
184 my $call_object = $self->new_with_coercions('Paws::Backup::ListCopyJobs', @_);
185 return $self->caller->do_call($self, $call_object);
186 }
187 sub ListProtectedResources {
188 my $self = shift;
189 my $call_object = $self->new_with_coercions('Paws::Backup::ListProtectedResources', @_);
190 return $self->caller->do_call($self, $call_object);
191 }
192 sub ListRecoveryPointsByBackupVault {
193 my $self = shift;
194 my $call_object = $self->new_with_coercions('Paws::Backup::ListRecoveryPointsByBackupVault', @_);
195 return $self->caller->do_call($self, $call_object);
196 }
197 sub ListRecoveryPointsByResource {
198 my $self = shift;
199 my $call_object = $self->new_with_coercions('Paws::Backup::ListRecoveryPointsByResource', @_);
200 return $self->caller->do_call($self, $call_object);
201 }
202 sub ListRestoreJobs {
203 my $self = shift;
204 my $call_object = $self->new_with_coercions('Paws::Backup::ListRestoreJobs', @_);
205 return $self->caller->do_call($self, $call_object);
206 }
207 sub ListTags {
208 my $self = shift;
209 my $call_object = $self->new_with_coercions('Paws::Backup::ListTags', @_);
210 return $self->caller->do_call($self, $call_object);
211 }
212 sub PutBackupVaultAccessPolicy {
213 my $self = shift;
214 my $call_object = $self->new_with_coercions('Paws::Backup::PutBackupVaultAccessPolicy', @_);
215 return $self->caller->do_call($self, $call_object);
216 }
217 sub PutBackupVaultNotifications {
218 my $self = shift;
219 my $call_object = $self->new_with_coercions('Paws::Backup::PutBackupVaultNotifications', @_);
220 return $self->caller->do_call($self, $call_object);
221 }
222 sub StartBackupJob {
223 my $self = shift;
224 my $call_object = $self->new_with_coercions('Paws::Backup::StartBackupJob', @_);
225 return $self->caller->do_call($self, $call_object);
226 }
227 sub StartCopyJob {
228 my $self = shift;
229 my $call_object = $self->new_with_coercions('Paws::Backup::StartCopyJob', @_);
230 return $self->caller->do_call($self, $call_object);
231 }
232 sub StartRestoreJob {
233 my $self = shift;
234 my $call_object = $self->new_with_coercions('Paws::Backup::StartRestoreJob', @_);
235 return $self->caller->do_call($self, $call_object);
236 }
237 sub StopBackupJob {
238 my $self = shift;
239 my $call_object = $self->new_with_coercions('Paws::Backup::StopBackupJob', @_);
240 return $self->caller->do_call($self, $call_object);
241 }
242 sub TagResource {
243 my $self = shift;
244 my $call_object = $self->new_with_coercions('Paws::Backup::TagResource', @_);
245 return $self->caller->do_call($self, $call_object);
246 }
247 sub UntagResource {
248 my $self = shift;
249 my $call_object = $self->new_with_coercions('Paws::Backup::UntagResource', @_);
250 return $self->caller->do_call($self, $call_object);
251 }
252 sub UpdateBackupPlan {
253 my $self = shift;
254 my $call_object = $self->new_with_coercions('Paws::Backup::UpdateBackupPlan', @_);
255 return $self->caller->do_call($self, $call_object);
256 }
257 sub UpdateGlobalSettings {
258 my $self = shift;
259 my $call_object = $self->new_with_coercions('Paws::Backup::UpdateGlobalSettings', @_);
260 return $self->caller->do_call($self, $call_object);
261 }
262 sub UpdateRecoveryPointLifecycle {
263 my $self = shift;
264 my $call_object = $self->new_with_coercions('Paws::Backup::UpdateRecoveryPointLifecycle', @_);
265 return $self->caller->do_call($self, $call_object);
266 }
267 sub UpdateRegionSettings {
268 my $self = shift;
269 my $call_object = $self->new_with_coercions('Paws::Backup::UpdateRegionSettings', @_);
270 return $self->caller->do_call($self, $call_object);
271 }
272
273  
274  
275 sub operations { qw/CreateBackupPlan CreateBackupSelection CreateBackupVault DeleteBackupPlan DeleteBackupSelection DeleteBackupVault DeleteBackupVaultAccessPolicy DeleteBackupVaultNotifications DeleteRecoveryPoint DescribeBackupJob DescribeBackupVault DescribeCopyJob DescribeGlobalSettings DescribeProtectedResource DescribeRecoveryPoint DescribeRegionSettings DescribeRestoreJob DisassociateRecoveryPoint ExportBackupPlanTemplate GetBackupPlan GetBackupPlanFromJSON GetBackupPlanFromTemplate GetBackupSelection GetBackupVaultAccessPolicy GetBackupVaultNotifications GetRecoveryPointRestoreMetadata GetSupportedResourceTypes ListBackupJobs ListBackupPlans ListBackupPlanTemplates ListBackupPlanVersions ListBackupSelections ListBackupVaults ListCopyJobs ListProtectedResources ListRecoveryPointsByBackupVault ListRecoveryPointsByResource ListRestoreJobs ListTags PutBackupVaultAccessPolicy PutBackupVaultNotifications StartBackupJob StartCopyJob StartRestoreJob StopBackupJob TagResource UntagResource UpdateBackupPlan UpdateGlobalSettings UpdateRecoveryPointLifecycle UpdateRegionSettings / }
276  
277 1;
278  
279 ### main pod documentation begin ###
280  
281 =head1 NAME
282  
283 Paws::Backup - Perl Interface to AWS AWS Backup
284  
285 =head1 SYNOPSIS
286  
287 use Paws;
288  
289 my $obj = Paws->service('Backup');
290 my $res = $obj->Method(
291 Arg1 => $val1,
292 Arg2 => [ 'V1', 'V2' ],
293 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
294 # of the arguments type
295 Arg3 => { Att1 => 'Val1' },
296 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
297 # the constructor of the arguments type
298 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
299 );
300  
301 =head1 DESCRIPTION
302  
303 AWS Backup
304  
305 AWS Backup is a unified backup service designed to protect AWS services
306 and their associated data. AWS Backup simplifies the creation,
307 migration, restoration, and deletion of backups, while also providing
308 reporting and auditing.
309  
310 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15>
311  
312  
313 =head1 METHODS
314  
315 =head2 CreateBackupPlan
316  
317 =over
318  
319 =item BackupPlan => L<Paws::Backup::BackupPlanInput>
320  
321 =item [BackupPlanTags => L<Paws::Backup::Tags>]
322  
323 =item [CreatorRequestId => Str]
324  
325  
326 =back
327  
328 Each argument is described in detail in: L<Paws::Backup::CreateBackupPlan>
329  
330 Returns: a L<Paws::Backup::CreateBackupPlanOutput> instance
331  
332 Creates a backup plan using a backup plan name and backup rules. A
333 backup plan is a document that contains information that AWS Backup
334 uses to schedule tasks that create recovery points for resources.
335  
336 If you call C<CreateBackupPlan> with a plan that already exists, an
337 C<AlreadyExistsException> is returned.
338  
339  
340 =head2 CreateBackupSelection
341  
342 =over
343  
344 =item BackupPlanId => Str
345  
346 =item BackupSelection => L<Paws::Backup::BackupSelection>
347  
348 =item [CreatorRequestId => Str]
349  
350  
351 =back
352  
353 Each argument is described in detail in: L<Paws::Backup::CreateBackupSelection>
354  
355 Returns: a L<Paws::Backup::CreateBackupSelectionOutput> instance
356  
357 Creates a JSON document that specifies a set of resources to assign to
358 a backup plan. Resources can be included by specifying patterns for a
359 C<ListOfTags> and selected C<Resources>.
360  
361 For example, consider the following patterns:
362  
363 =over
364  
365 =item *
366  
367 C<Resources: "arn:aws:ec2:region:account-id:volume/volume-id">
368  
369 =item *
370  
371 C<ConditionKey:"department">
372  
373 C<ConditionValue:"finance">
374  
375 C<ConditionType:"StringEquals">
376  
377 =item *
378  
379 C<ConditionKey:"importance">
380  
381 C<ConditionValue:"critical">
382  
383 C<ConditionType:"StringEquals">
384  
385 =back
386  
387 Using these patterns would back up all Amazon Elastic Block Store
388 (Amazon EBS) volumes that are tagged as C<"department=finance">,
389 C<"importance=critical">, in addition to an EBS volume with the
390 specified volume ID.
391  
392 Resources and conditions are additive in that all resources that match
393 the pattern are selected. This shouldn't be confused with a logical
394 AND, where all conditions must match. The matching patterns are
395 logically put together using the OR operator. In other words, all
396 patterns that match are selected for backup.
397  
398  
399 =head2 CreateBackupVault
400  
401 =over
402  
403 =item BackupVaultName => Str
404  
405 =item [BackupVaultTags => L<Paws::Backup::Tags>]
406  
407 =item [CreatorRequestId => Str]
408  
409 =item [EncryptionKeyArn => Str]
410  
411  
412 =back
413  
414 Each argument is described in detail in: L<Paws::Backup::CreateBackupVault>
415  
416 Returns: a L<Paws::Backup::CreateBackupVaultOutput> instance
417  
418 Creates a logical container where backups are stored. A
419 C<CreateBackupVault> request includes a name, optionally one or more
420 resource tags, an encryption key, and a request ID.
421  
422 Sensitive data, such as passport numbers, should not be included the
423 name of a backup vault.
424  
425  
426 =head2 DeleteBackupPlan
427  
428 =over
429  
430 =item BackupPlanId => Str
431  
432  
433 =back
434  
435 Each argument is described in detail in: L<Paws::Backup::DeleteBackupPlan>
436  
437 Returns: a L<Paws::Backup::DeleteBackupPlanOutput> instance
438  
439 Deletes a backup plan. A backup plan can only be deleted after all
440 associated selections of resources have been deleted. Deleting a backup
441 plan deletes the current version of a backup plan. Previous versions,
442 if any, will still exist.
443  
444  
445 =head2 DeleteBackupSelection
446  
447 =over
448  
449 =item BackupPlanId => Str
450  
451 =item SelectionId => Str
452  
453  
454 =back
455  
456 Each argument is described in detail in: L<Paws::Backup::DeleteBackupSelection>
457  
458 Returns: nothing
459  
460 Deletes the resource selection associated with a backup plan that is
461 specified by the C<SelectionId>.
462  
463  
464 =head2 DeleteBackupVault
465  
466 =over
467  
468 =item BackupVaultName => Str
469  
470  
471 =back
472  
473 Each argument is described in detail in: L<Paws::Backup::DeleteBackupVault>
474  
475 Returns: nothing
476  
477 Deletes the backup vault identified by its name. A vault can be deleted
478 only if it is empty.
479  
480  
481 =head2 DeleteBackupVaultAccessPolicy
482  
483 =over
484  
485 =item BackupVaultName => Str
486  
487  
488 =back
489  
490 Each argument is described in detail in: L<Paws::Backup::DeleteBackupVaultAccessPolicy>
491  
492 Returns: nothing
493  
494 Deletes the policy document that manages permissions on a backup vault.
495  
496  
497 =head2 DeleteBackupVaultNotifications
498  
499 =over
500  
501 =item BackupVaultName => Str
502  
503  
504 =back
505  
506 Each argument is described in detail in: L<Paws::Backup::DeleteBackupVaultNotifications>
507  
508 Returns: nothing
509  
510 Deletes event notifications for the specified backup vault.
511  
512  
513 =head2 DeleteRecoveryPoint
514  
515 =over
516  
517 =item BackupVaultName => Str
518  
519 =item RecoveryPointArn => Str
520  
521  
522 =back
523  
524 Each argument is described in detail in: L<Paws::Backup::DeleteRecoveryPoint>
525  
526 Returns: nothing
527  
528 Deletes the recovery point specified by a recovery point ID.
529  
530 If the recovery point ID belongs to a continuous backup, calling this
531 endpoint deletes the existing continuous backup and stops future
532 continuous backup.
533  
534  
535 =head2 DescribeBackupJob
536  
537 =over
538  
539 =item BackupJobId => Str
540  
541  
542 =back
543  
544 Each argument is described in detail in: L<Paws::Backup::DescribeBackupJob>
545  
546 Returns: a L<Paws::Backup::DescribeBackupJobOutput> instance
547  
548 Returns backup job details for the specified C<BackupJobId>.
549  
550  
551 =head2 DescribeBackupVault
552  
553 =over
554  
555 =item BackupVaultName => Str
556  
557  
558 =back
559  
560 Each argument is described in detail in: L<Paws::Backup::DescribeBackupVault>
561  
562 Returns: a L<Paws::Backup::DescribeBackupVaultOutput> instance
563  
564 Returns metadata about a backup vault specified by its name.
565  
566  
567 =head2 DescribeCopyJob
568  
569 =over
570  
571 =item CopyJobId => Str
572  
573  
574 =back
575  
576 Each argument is described in detail in: L<Paws::Backup::DescribeCopyJob>
577  
578 Returns: a L<Paws::Backup::DescribeCopyJobOutput> instance
579  
580 Returns metadata associated with creating a copy of a resource.
581  
582  
583 =head2 DescribeGlobalSettings
584  
585  
586  
587  
588  
589  
590 Each argument is described in detail in: L<Paws::Backup::DescribeGlobalSettings>
591  
592 Returns: a L<Paws::Backup::DescribeGlobalSettingsOutput> instance
593  
594 Describes the global settings of the AWS account, including whether it
595 is opted in to cross-account backup.
596  
597  
598 =head2 DescribeProtectedResource
599  
600 =over
601  
602 =item ResourceArn => Str
603  
604  
605 =back
606  
607 Each argument is described in detail in: L<Paws::Backup::DescribeProtectedResource>
608  
609 Returns: a L<Paws::Backup::DescribeProtectedResourceOutput> instance
610  
611 Returns information about a saved resource, including the last time it
612 was backed up, its Amazon Resource Name (ARN), and the AWS service type
613 of the saved resource.
614  
615  
616 =head2 DescribeRecoveryPoint
617  
618 =over
619  
620 =item BackupVaultName => Str
621  
622 =item RecoveryPointArn => Str
623  
624  
625 =back
626  
627 Each argument is described in detail in: L<Paws::Backup::DescribeRecoveryPoint>
628  
629 Returns: a L<Paws::Backup::DescribeRecoveryPointOutput> instance
630  
631 Returns metadata associated with a recovery point, including ID,
632 status, encryption, and lifecycle.
633  
634  
635 =head2 DescribeRegionSettings
636  
637  
638  
639  
640  
641  
642 Each argument is described in detail in: L<Paws::Backup::DescribeRegionSettings>
643  
644 Returns: a L<Paws::Backup::DescribeRegionSettingsOutput> instance
645  
646 Returns the current service opt-in settings for the Region. If
647 service-opt-in is enabled for a service, AWS Backup tries to protect
648 that service's resources in this Region, when the resource is included
649 in an on-demand backup or scheduled backup plan. Otherwise, AWS Backup
650 does not try to protect that service's resources in this Region, AWS
651 Backup does not try to protect that service's resources in this Region.
652  
653  
654 =head2 DescribeRestoreJob
655  
656 =over
657  
658 =item RestoreJobId => Str
659  
660  
661 =back
662  
663 Each argument is described in detail in: L<Paws::Backup::DescribeRestoreJob>
664  
665 Returns: a L<Paws::Backup::DescribeRestoreJobOutput> instance
666  
667 Returns metadata associated with a restore job that is specified by a
668 job ID.
669  
670  
671 =head2 DisassociateRecoveryPoint
672  
673 =over
674  
675 =item BackupVaultName => Str
676  
677 =item RecoveryPointArn => Str
678  
679  
680 =back
681  
682 Each argument is described in detail in: L<Paws::Backup::DisassociateRecoveryPoint>
683  
684 Returns: nothing
685  
686 Deletes the specified continuous backup recovery point from AWS Backup
687 and releases control of that continuous backup to the source service,
688 such as Amazon RDS. The source service will continue to create and
689 retain continuous backups using the lifecycle that you specified in
690 your original backup plan.
691  
692 Does not support snapshot backup recovery points.
693  
694  
695 =head2 ExportBackupPlanTemplate
696  
697 =over
698  
699 =item BackupPlanId => Str
700  
701  
702 =back
703  
704 Each argument is described in detail in: L<Paws::Backup::ExportBackupPlanTemplate>
705  
706 Returns: a L<Paws::Backup::ExportBackupPlanTemplateOutput> instance
707  
708 Returns the backup plan that is specified by the plan ID as a backup
709 template.
710  
711  
712 =head2 GetBackupPlan
713  
714 =over
715  
716 =item BackupPlanId => Str
717  
718 =item [VersionId => Str]
719  
720  
721 =back
722  
723 Each argument is described in detail in: L<Paws::Backup::GetBackupPlan>
724  
725 Returns: a L<Paws::Backup::GetBackupPlanOutput> instance
726  
727 Returns C<BackupPlan> details for the specified C<BackupPlanId>. The
728 details are the body of a backup plan in JSON format, in addition to
729 plan metadata.
730  
731  
732 =head2 GetBackupPlanFromJSON
733  
734 =over
735  
736 =item BackupPlanTemplateJson => Str
737  
738  
739 =back
740  
741 Each argument is described in detail in: L<Paws::Backup::GetBackupPlanFromJSON>
742  
743 Returns: a L<Paws::Backup::GetBackupPlanFromJSONOutput> instance
744  
745 Returns a valid JSON document specifying a backup plan or an error.
746  
747  
748 =head2 GetBackupPlanFromTemplate
749  
750 =over
751  
752 =item BackupPlanTemplateId => Str
753  
754  
755 =back
756  
757 Each argument is described in detail in: L<Paws::Backup::GetBackupPlanFromTemplate>
758  
759 Returns: a L<Paws::Backup::GetBackupPlanFromTemplateOutput> instance
760  
761 Returns the template specified by its C<templateId> as a backup plan.
762  
763  
764 =head2 GetBackupSelection
765  
766 =over
767  
768 =item BackupPlanId => Str
769  
770 =item SelectionId => Str
771  
772  
773 =back
774  
775 Each argument is described in detail in: L<Paws::Backup::GetBackupSelection>
776  
777 Returns: a L<Paws::Backup::GetBackupSelectionOutput> instance
778  
779 Returns selection metadata and a document in JSON format that specifies
780 a list of resources that are associated with a backup plan.
781  
782  
783 =head2 GetBackupVaultAccessPolicy
784  
785 =over
786  
787 =item BackupVaultName => Str
788  
789  
790 =back
791  
792 Each argument is described in detail in: L<Paws::Backup::GetBackupVaultAccessPolicy>
793  
794 Returns: a L<Paws::Backup::GetBackupVaultAccessPolicyOutput> instance
795  
796 Returns the access policy document that is associated with the named
797 backup vault.
798  
799  
800 =head2 GetBackupVaultNotifications
801  
802 =over
803  
804 =item BackupVaultName => Str
805  
806  
807 =back
808  
809 Each argument is described in detail in: L<Paws::Backup::GetBackupVaultNotifications>
810  
811 Returns: a L<Paws::Backup::GetBackupVaultNotificationsOutput> instance
812  
813 Returns event notifications for the specified backup vault.
814  
815  
816 =head2 GetRecoveryPointRestoreMetadata
817  
818 =over
819  
820 =item BackupVaultName => Str
821  
822 =item RecoveryPointArn => Str
823  
824  
825 =back
826  
827 Each argument is described in detail in: L<Paws::Backup::GetRecoveryPointRestoreMetadata>
828  
829 Returns: a L<Paws::Backup::GetRecoveryPointRestoreMetadataOutput> instance
830  
831 Returns a set of metadata key-value pairs that were used to create the
832 backup.
833  
834  
835 =head2 GetSupportedResourceTypes
836  
837 =over
838  
839 =item =>
840  
841  
842 =back
843  
844 Each argument is described in detail in: L<Paws::Backup::GetSupportedResourceTypes>
845  
846 Returns: a L<Paws::Backup::GetSupportedResourceTypesOutput> instance
847  
848 Returns the AWS resource types supported by AWS Backup.
849  
850  
851 =head2 ListBackupJobs
852  
853 =over
854  
855 =item [ByAccountId => Str]
856  
857 =item [ByBackupVaultName => Str]
858  
859 =item [ByCreatedAfter => Str]
860  
861 =item [ByCreatedBefore => Str]
862  
863 =item [ByResourceArn => Str]
864  
865 =item [ByResourceType => Str]
866  
867 =item [ByState => Str]
868  
869 =item [MaxResults => Int]
870  
871 =item [NextToken => Str]
872  
873  
874 =back
875  
876 Each argument is described in detail in: L<Paws::Backup::ListBackupJobs>
877  
878 Returns: a L<Paws::Backup::ListBackupJobsOutput> instance
879  
880 Returns a list of existing backup jobs for an authenticated account for
881 the last 30 days. For a longer period of time, consider using these
882 monitoring tools
883 (https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html).
884  
885  
886 =head2 ListBackupPlans
887  
888 =over
889  
890 =item [IncludeDeleted => Bool]
891  
892 =item [MaxResults => Int]
893  
894 =item [NextToken => Str]
895  
896  
897 =back
898  
899 Each argument is described in detail in: L<Paws::Backup::ListBackupPlans>
900  
901 Returns: a L<Paws::Backup::ListBackupPlansOutput> instance
902  
903 Returns a list of existing backup plans for an authenticated account.
904 The list is populated only if the advanced option is set for the backup
905 plan. The list contains information such as Amazon Resource Names
906 (ARNs), plan IDs, creation and deletion dates, version IDs, plan names,
907 and creator request IDs.
908  
909  
910 =head2 ListBackupPlanTemplates
911  
912 =over
913  
914 =item [MaxResults => Int]
915  
916 =item [NextToken => Str]
917  
918  
919 =back
920  
921 Each argument is described in detail in: L<Paws::Backup::ListBackupPlanTemplates>
922  
923 Returns: a L<Paws::Backup::ListBackupPlanTemplatesOutput> instance
924  
925 Returns metadata of your saved backup plan templates, including the
926 template ID, name, and the creation and deletion dates.
927  
928  
929 =head2 ListBackupPlanVersions
930  
931 =over
932  
933 =item BackupPlanId => Str
934  
935 =item [MaxResults => Int]
936  
937 =item [NextToken => Str]
938  
939  
940 =back
941  
942 Each argument is described in detail in: L<Paws::Backup::ListBackupPlanVersions>
943  
944 Returns: a L<Paws::Backup::ListBackupPlanVersionsOutput> instance
945  
946 Returns version metadata of your backup plans, including Amazon
947 Resource Names (ARNs), backup plan IDs, creation and deletion dates,
948 plan names, and version IDs.
949  
950  
951 =head2 ListBackupSelections
952  
953 =over
954  
955 =item BackupPlanId => Str
956  
957 =item [MaxResults => Int]
958  
959 =item [NextToken => Str]
960  
961  
962 =back
963  
964 Each argument is described in detail in: L<Paws::Backup::ListBackupSelections>
965  
966 Returns: a L<Paws::Backup::ListBackupSelectionsOutput> instance
967  
968 Returns an array containing metadata of the resources associated with
969 the target backup plan.
970  
971  
972 =head2 ListBackupVaults
973  
974 =over
975  
976 =item [MaxResults => Int]
977  
978 =item [NextToken => Str]
979  
980  
981 =back
982  
983 Each argument is described in detail in: L<Paws::Backup::ListBackupVaults>
984  
985 Returns: a L<Paws::Backup::ListBackupVaultsOutput> instance
986  
987 Returns a list of recovery point storage containers along with
988 information about them.
989  
990  
991 =head2 ListCopyJobs
992  
993 =over
994  
995 =item [ByAccountId => Str]
996  
997 =item [ByCreatedAfter => Str]
998  
999 =item [ByCreatedBefore => Str]
1000  
1001 =item [ByDestinationVaultArn => Str]
1002  
1003 =item [ByResourceArn => Str]
1004  
1005 =item [ByResourceType => Str]
1006  
1007 =item [ByState => Str]
1008  
1009 =item [MaxResults => Int]
1010  
1011 =item [NextToken => Str]
1012  
1013  
1014 =back
1015  
1016 Each argument is described in detail in: L<Paws::Backup::ListCopyJobs>
1017  
1018 Returns: a L<Paws::Backup::ListCopyJobsOutput> instance
1019  
1020 Returns metadata about your copy jobs.
1021  
1022  
1023 =head2 ListProtectedResources
1024  
1025 =over
1026  
1027 =item [MaxResults => Int]
1028  
1029 =item [NextToken => Str]
1030  
1031  
1032 =back
1033  
1034 Each argument is described in detail in: L<Paws::Backup::ListProtectedResources>
1035  
1036 Returns: a L<Paws::Backup::ListProtectedResourcesOutput> instance
1037  
1038 Returns an array of resources successfully backed up by AWS Backup,
1039 including the time the resource was saved, an Amazon Resource Name
1040 (ARN) of the resource, and a resource type.
1041  
1042  
1043 =head2 ListRecoveryPointsByBackupVault
1044  
1045 =over
1046  
1047 =item BackupVaultName => Str
1048  
1049 =item [ByBackupPlanId => Str]
1050  
1051 =item [ByCreatedAfter => Str]
1052  
1053 =item [ByCreatedBefore => Str]
1054  
1055 =item [ByResourceArn => Str]
1056  
1057 =item [ByResourceType => Str]
1058  
1059 =item [MaxResults => Int]
1060  
1061 =item [NextToken => Str]
1062  
1063  
1064 =back
1065  
1066 Each argument is described in detail in: L<Paws::Backup::ListRecoveryPointsByBackupVault>
1067  
1068 Returns: a L<Paws::Backup::ListRecoveryPointsByBackupVaultOutput> instance
1069  
1070 Returns detailed information about the recovery points stored in a
1071 backup vault.
1072  
1073  
1074 =head2 ListRecoveryPointsByResource
1075  
1076 =over
1077  
1078 =item ResourceArn => Str
1079  
1080 =item [MaxResults => Int]
1081  
1082 =item [NextToken => Str]
1083  
1084  
1085 =back
1086  
1087 Each argument is described in detail in: L<Paws::Backup::ListRecoveryPointsByResource>
1088  
1089 Returns: a L<Paws::Backup::ListRecoveryPointsByResourceOutput> instance
1090  
1091 Returns detailed information about recovery points of the type
1092 specified by a resource Amazon Resource Name (ARN).
1093  
1094  
1095 =head2 ListRestoreJobs
1096  
1097 =over
1098  
1099 =item [ByAccountId => Str]
1100  
1101 =item [ByCreatedAfter => Str]
1102  
1103 =item [ByCreatedBefore => Str]
1104  
1105 =item [ByStatus => Str]
1106  
1107 =item [MaxResults => Int]
1108  
1109 =item [NextToken => Str]
1110  
1111  
1112 =back
1113  
1114 Each argument is described in detail in: L<Paws::Backup::ListRestoreJobs>
1115  
1116 Returns: a L<Paws::Backup::ListRestoreJobsOutput> instance
1117  
1118 Returns a list of jobs that AWS Backup initiated to restore a saved
1119 resource, including metadata about the recovery process.
1120  
1121  
1122 =head2 ListTags
1123  
1124 =over
1125  
1126 =item ResourceArn => Str
1127  
1128 =item [MaxResults => Int]
1129  
1130 =item [NextToken => Str]
1131  
1132  
1133 =back
1134  
1135 Each argument is described in detail in: L<Paws::Backup::ListTags>
1136  
1137 Returns: a L<Paws::Backup::ListTagsOutput> instance
1138  
1139 Returns a list of key-value pairs assigned to a target recovery point,
1140 backup plan, or backup vault.
1141  
1142 C<ListTags> are currently only supported with Amazon EFS backups.
1143  
1144  
1145 =head2 PutBackupVaultAccessPolicy
1146  
1147 =over
1148  
1149 =item BackupVaultName => Str
1150  
1151 =item [Policy => Str]
1152  
1153  
1154 =back
1155  
1156 Each argument is described in detail in: L<Paws::Backup::PutBackupVaultAccessPolicy>
1157  
1158 Returns: nothing
1159  
1160 Sets a resource-based policy that is used to manage access permissions
1161 on the target backup vault. Requires a backup vault name and an access
1162 policy document in JSON format.
1163  
1164  
1165 =head2 PutBackupVaultNotifications
1166  
1167 =over
1168  
1169 =item BackupVaultEvents => ArrayRef[Str|Undef]
1170  
1171 =item BackupVaultName => Str
1172  
1173 =item SNSTopicArn => Str
1174  
1175  
1176 =back
1177  
1178 Each argument is described in detail in: L<Paws::Backup::PutBackupVaultNotifications>
1179  
1180 Returns: nothing
1181  
1182 Turns on notifications on a backup vault for the specified topic and
1183 events.
1184  
1185  
1186 =head2 StartBackupJob
1187  
1188 =over
1189  
1190 =item BackupVaultName => Str
1191  
1192 =item IamRoleArn => Str
1193  
1194 =item ResourceArn => Str
1195  
1196 =item [BackupOptions => L<Paws::Backup::BackupOptions>]
1197  
1198 =item [CompleteWindowMinutes => Int]
1199  
1200 =item [IdempotencyToken => Str]
1201  
1202 =item [Lifecycle => L<Paws::Backup::Lifecycle>]
1203  
1204 =item [RecoveryPointTags => L<Paws::Backup::Tags>]
1205  
1206 =item [StartWindowMinutes => Int]
1207  
1208  
1209 =back
1210  
1211 Each argument is described in detail in: L<Paws::Backup::StartBackupJob>
1212  
1213 Returns: a L<Paws::Backup::StartBackupJobOutput> instance
1214  
1215 Starts an on-demand backup job for the specified resource.
1216  
1217  
1218 =head2 StartCopyJob
1219  
1220 =over
1221  
1222 =item DestinationBackupVaultArn => Str
1223  
1224 =item IamRoleArn => Str
1225  
1226 =item RecoveryPointArn => Str
1227  
1228 =item SourceBackupVaultName => Str
1229  
1230 =item [IdempotencyToken => Str]
1231  
1232 =item [Lifecycle => L<Paws::Backup::Lifecycle>]
1233  
1234  
1235 =back
1236  
1237 Each argument is described in detail in: L<Paws::Backup::StartCopyJob>
1238  
1239 Returns: a L<Paws::Backup::StartCopyJobOutput> instance
1240  
1241 Starts a job to create a one-time copy of the specified resource.
1242  
1243 Does not support continuous backups.
1244  
1245  
1246 =head2 StartRestoreJob
1247  
1248 =over
1249  
1250 =item IamRoleArn => Str
1251  
1252 =item Metadata => L<Paws::Backup::Metadata>
1253  
1254 =item RecoveryPointArn => Str
1255  
1256 =item [IdempotencyToken => Str]
1257  
1258 =item [ResourceType => Str]
1259  
1260  
1261 =back
1262  
1263 Each argument is described in detail in: L<Paws::Backup::StartRestoreJob>
1264  
1265 Returns: a L<Paws::Backup::StartRestoreJobOutput> instance
1266  
1267 Recovers the saved resource identified by an Amazon Resource Name
1268 (ARN).
1269  
1270  
1271 =head2 StopBackupJob
1272  
1273 =over
1274  
1275 =item BackupJobId => Str
1276  
1277  
1278 =back
1279  
1280 Each argument is described in detail in: L<Paws::Backup::StopBackupJob>
1281  
1282 Returns: nothing
1283  
1284 Attempts to cancel a job to create a one-time backup of a resource.
1285  
1286  
1287 =head2 TagResource
1288  
1289 =over
1290  
1291 =item ResourceArn => Str
1292  
1293 =item Tags => L<Paws::Backup::Tags>
1294  
1295  
1296 =back
1297  
1298 Each argument is described in detail in: L<Paws::Backup::TagResource>
1299  
1300 Returns: nothing
1301  
1302 Assigns a set of key-value pairs to a recovery point, backup plan, or
1303 backup vault identified by an Amazon Resource Name (ARN).
1304  
1305  
1306 =head2 UntagResource
1307  
1308 =over
1309  
1310 =item ResourceArn => Str
1311  
1312 =item TagKeyList => ArrayRef[Str|Undef]
1313  
1314  
1315 =back
1316  
1317 Each argument is described in detail in: L<Paws::Backup::UntagResource>
1318  
1319 Returns: nothing
1320  
1321 Removes a set of key-value pairs from a recovery point, backup plan, or
1322 backup vault identified by an Amazon Resource Name (ARN)
1323  
1324  
1325 =head2 UpdateBackupPlan
1326  
1327 =over
1328  
1329 =item BackupPlan => L<Paws::Backup::BackupPlanInput>
1330  
1331 =item BackupPlanId => Str
1332  
1333  
1334 =back
1335  
1336 Each argument is described in detail in: L<Paws::Backup::UpdateBackupPlan>
1337  
1338 Returns: a L<Paws::Backup::UpdateBackupPlanOutput> instance
1339  
1340 Updates an existing backup plan identified by its C<backupPlanId> with
1341 the input document in JSON format. The new version is uniquely
1342 identified by a C<VersionId>.
1343  
1344  
1345 =head2 UpdateGlobalSettings
1346  
1347 =over
1348  
1349 =item [GlobalSettings => L<Paws::Backup::GlobalSettings>]
1350  
1351  
1352 =back
1353  
1354 Each argument is described in detail in: L<Paws::Backup::UpdateGlobalSettings>
1355  
1356 Returns: nothing
1357  
1358 Updates the current global settings for the AWS account. Use the
1359 C<DescribeGlobalSettings> API to determine the current settings.
1360  
1361  
1362 =head2 UpdateRecoveryPointLifecycle
1363  
1364 =over
1365  
1366 =item BackupVaultName => Str
1367  
1368 =item RecoveryPointArn => Str
1369  
1370 =item [Lifecycle => L<Paws::Backup::Lifecycle>]
1371  
1372  
1373 =back
1374  
1375 Each argument is described in detail in: L<Paws::Backup::UpdateRecoveryPointLifecycle>
1376  
1377 Returns: a L<Paws::Backup::UpdateRecoveryPointLifecycleOutput> instance
1378  
1379 Sets the transition lifecycle of a recovery point.
1380  
1381 The lifecycle defines when a protected resource is transitioned to cold
1382 storage and when it expires. AWS Backup transitions and expires backups
1383 automatically according to the lifecycle that you define.
1384  
1385 Backups transitioned to cold storage must be stored in cold storage for
1386 a minimum of 90 days. Therefore, the E<ldquo>expire after daysE<rdquo>
1387 setting must be 90 days greater than the E<ldquo>transition to cold
1388 after daysE<rdquo> setting. The E<ldquo>transition to cold after
1389 daysE<rdquo> setting cannot be changed after a backup has been
1390 transitioned to cold.
1391  
1392 Only Amazon EFS file system backups can be transitioned to cold
1393 storage.
1394  
1395 Does not support continuous backups.
1396  
1397  
1398 =head2 UpdateRegionSettings
1399  
1400 =over
1401  
1402 =item [ResourceTypeOptInPreference => L<Paws::Backup::ResourceTypeOptInPreference>]
1403  
1404  
1405 =back
1406  
1407 Each argument is described in detail in: L<Paws::Backup::UpdateRegionSettings>
1408  
1409 Returns: nothing
1410  
1411 Updates the current service opt-in settings for the Region. If
1412 service-opt-in is enabled for a service, AWS Backup tries to protect
1413 that service's resources in this Region, when the resource is included
1414 in an on-demand backup or scheduled backup plan. Otherwise, AWS Backup
1415 does not try to protect that service's resources in this Region. Use
1416 the C<DescribeRegionSettings> API to determine the resource types that
1417 are supported.
1418  
1419  
1420  
1421  
1422 =head1 PAGINATORS
1423  
1424 Paginator methods are helpers that repetively call methods that return partial results
1425  
1426  
1427  
1428  
1429 =head1 SEE ALSO
1430  
1431 This service class forms part of L<Paws>
1432  
1433 =head1 BUGS and CONTRIBUTIONS
1434  
1435 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1436  
1437 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1438  
1439 =cut
1440