« blib/lib/Paws/Backup/DescribeProtectedResourceOutput.pm
↑ Summary
blib/lib/Paws/Backup/DescribeRecoveryPointOutput.pm »
| 1 | |||
| 2 | package Paws::Backup::DescribeRecoveryPoint; | ||
| 3 | use Moose; | ||
| 4 | has BackupVaultName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'backupVaultName', required => 1); | ||
| 5 | has RecoveryPointArn => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'recoveryPointArn', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeRecoveryPoint'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Backup::DescribeRecoveryPointOutput'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Backup::DescribeRecoveryPoint - Arguments for method DescribeRecoveryPoint on L<Paws::Backup> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method DescribeRecoveryPoint on the | ||
| 24 | L<AWS Backup|Paws::Backup> service. Use the attributes of this class | ||
| 25 | as arguments to method DescribeRecoveryPoint. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeRecoveryPoint. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $backup = Paws->service('Backup'); | ||
| 32 | my $DescribeRecoveryPointOutput = $backup->DescribeRecoveryPoint( | ||
| 33 | BackupVaultName => 'MyBackupVaultName', | ||
| 34 | RecoveryPointArn => 'MyARN', | ||
| 35 | |||
| 36 | ); | ||
| 37 | |||
| 38 | # Results: | ||
| 39 | my $BackupSizeInBytes = $DescribeRecoveryPointOutput->BackupSizeInBytes; | ||
| 40 | my $BackupVaultArn = $DescribeRecoveryPointOutput->BackupVaultArn; | ||
| 41 | my $BackupVaultName = $DescribeRecoveryPointOutput->BackupVaultName; | ||
| 42 | my $CalculatedLifecycle = $DescribeRecoveryPointOutput->CalculatedLifecycle; | ||
| 43 | my $CompletionDate = $DescribeRecoveryPointOutput->CompletionDate; | ||
| 44 | my $CreatedBy = $DescribeRecoveryPointOutput->CreatedBy; | ||
| 45 | my $CreationDate = $DescribeRecoveryPointOutput->CreationDate; | ||
| 46 | my $EncryptionKeyArn = $DescribeRecoveryPointOutput->EncryptionKeyArn; | ||
| 47 | my $IamRoleArn = $DescribeRecoveryPointOutput->IamRoleArn; | ||
| 48 | my $IsEncrypted = $DescribeRecoveryPointOutput->IsEncrypted; | ||
| 49 | my $LastRestoreTime = $DescribeRecoveryPointOutput->LastRestoreTime; | ||
| 50 | my $Lifecycle = $DescribeRecoveryPointOutput->Lifecycle; | ||
| 51 | my $RecoveryPointArn = $DescribeRecoveryPointOutput->RecoveryPointArn; | ||
| 52 | my $ResourceArn = $DescribeRecoveryPointOutput->ResourceArn; | ||
| 53 | my $ResourceType = $DescribeRecoveryPointOutput->ResourceType; | ||
| 54 | my $SourceBackupVaultArn = | ||
| 55 | $DescribeRecoveryPointOutput->SourceBackupVaultArn; | ||
| 56 | my $Status = $DescribeRecoveryPointOutput->Status; | ||
| 57 | my $StorageClass = $DescribeRecoveryPointOutput->StorageClass; | ||
| 58 | |||
| 59 | # Returns a L<Paws::Backup::DescribeRecoveryPointOutput> object. | ||
| 60 | |||
| 61 | 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. | ||
| 62 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/backup/DescribeRecoveryPoint> | ||
| 63 | |||
| 64 | =head1 ATTRIBUTES | ||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> BackupVaultName => Str | ||
| 68 | |||
| 69 | The name of a logical container where backups are stored. Backup vaults | ||
| 70 | are identified by names that are unique to the account used to create | ||
| 71 | them and the AWS Region where they are created. They consist of | ||
| 72 | lowercase letters, numbers, and hyphens. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 B<REQUIRED> RecoveryPointArn => Str | ||
| 77 | |||
| 78 | An Amazon Resource Name (ARN) that uniquely identifies a recovery | ||
| 79 | point; for example, | ||
| 80 | C<arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45>. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head1 SEE ALSO | ||
| 86 | |||
| 87 | This class forms part of L<Paws>, documenting arguments for method DescribeRecoveryPoint in L<Paws::Backup> | ||
| 88 | |||
| 89 | =head1 BUGS and CONTRIBUTIONS | ||
| 90 | |||
| 91 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 92 | |||
| 93 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 94 | |||
| 95 | =cut | ||
| 96 |