« blib/lib/Paws/Backup/ExportBackupPlanTemplateOutput.pm
↑ Summary
blib/lib/Paws/Backup/GetBackupPlanFromJSON.pm »
| 1 | |||
| 2 | package Paws::Backup::GetBackupPlan; | ||
| 3 | use Moose; | ||
| 4 | has BackupPlanId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'backupPlanId', required => 1); | ||
| 5 | has VersionId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'versionId'); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetBackupPlan'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/backup/plans/{backupPlanId}/'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Backup::GetBackupPlanOutput'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Backup::GetBackupPlan - Arguments for method GetBackupPlan on L<Paws::Backup> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method GetBackupPlan on the | ||
| 24 | L<AWS Backup|Paws::Backup> service. Use the attributes of this class | ||
| 25 | as arguments to method GetBackupPlan. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetBackupPlan. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $backup = Paws->service('Backup'); | ||
| 32 | my $GetBackupPlanOutput = $backup->GetBackupPlan( | ||
| 33 | BackupPlanId => 'Mystring', | ||
| 34 | VersionId => 'Mystring', # OPTIONAL | ||
| 35 | ); | ||
| 36 | |||
| 37 | # Results: | ||
| 38 | my $AdvancedBackupSettings = $GetBackupPlanOutput->AdvancedBackupSettings; | ||
| 39 | my $BackupPlan = $GetBackupPlanOutput->BackupPlan; | ||
| 40 | my $BackupPlanArn = $GetBackupPlanOutput->BackupPlanArn; | ||
| 41 | my $BackupPlanId = $GetBackupPlanOutput->BackupPlanId; | ||
| 42 | my $CreationDate = $GetBackupPlanOutput->CreationDate; | ||
| 43 | my $CreatorRequestId = $GetBackupPlanOutput->CreatorRequestId; | ||
| 44 | my $DeletionDate = $GetBackupPlanOutput->DeletionDate; | ||
| 45 | my $LastExecutionDate = $GetBackupPlanOutput->LastExecutionDate; | ||
| 46 | my $VersionId = $GetBackupPlanOutput->VersionId; | ||
| 47 | |||
| 48 | # Returns a L<Paws::Backup::GetBackupPlanOutput> object. | ||
| 49 | |||
| 50 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/backup/GetBackupPlan> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> BackupPlanId => Str | ||
| 57 | |||
| 58 | Uniquely identifies a backup plan. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 VersionId => Str | ||
| 63 | |||
| 64 | Unique, randomly generated, Unicode, UTF-8 encoded strings that are at | ||
| 65 | most 1,024 bytes long. Version IDs cannot be edited. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head1 SEE ALSO | ||
| 71 | |||
| 72 | This class forms part of L<Paws>, documenting arguments for method GetBackupPlan in L<Paws::Backup> | ||
| 73 | |||
| 74 | =head1 BUGS and CONTRIBUTIONS | ||
| 75 | |||
| 76 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 77 | |||
| 78 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 79 | |||
| 80 | =cut | ||
| 81 |