« blib/lib/Paws/Backup/PutBackupVaultNotifications.pm
↑ Summary
blib/lib/Paws/Backup/RecoveryPointByResource.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Backup::RecoveryPointByBackupVault; | ||
| 3 | use Moose; | ||
| 4 | has BackupSizeInBytes => (is => 'ro', isa => 'Int'); | ||
| 5 | has BackupVaultArn => (is => 'ro', isa => 'Str'); | ||
| 6 | has BackupVaultName => (is => 'ro', isa => 'Str'); | ||
| 7 | has CalculatedLifecycle => (is => 'ro', isa => 'Paws::Backup::CalculatedLifecycle'); | ||
| 8 | has CompletionDate => (is => 'ro', isa => 'Str'); | ||
| 9 | has CreatedBy => (is => 'ro', isa => 'Paws::Backup::RecoveryPointCreator'); | ||
| 10 | has CreationDate => (is => 'ro', isa => 'Str'); | ||
| 11 | has EncryptionKeyArn => (is => 'ro', isa => 'Str'); | ||
| 12 | has IamRoleArn => (is => 'ro', isa => 'Str'); | ||
| 13 | has IsEncrypted => (is => 'ro', isa => 'Bool'); | ||
| 14 | has LastRestoreTime => (is => 'ro', isa => 'Str'); | ||
| 15 | has Lifecycle => (is => 'ro', isa => 'Paws::Backup::Lifecycle'); | ||
| 16 | has RecoveryPointArn => (is => 'ro', isa => 'Str'); | ||
| 17 | has ResourceArn => (is => 'ro', isa => 'Str'); | ||
| 18 | has ResourceType => (is => 'ro', isa => 'Str'); | ||
| 19 | has SourceBackupVaultArn => (is => 'ro', isa => 'Str'); | ||
| 20 | has Status => (is => 'ro', isa => 'Str'); | ||
| 21 | |||
| 22 | 1; | ||
| 23 | |||
| 24 | ### main pod documentation begin ### | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Paws::Backup::RecoveryPointByBackupVault | ||
| 29 | |||
| 30 | =head1 USAGE | ||
| 31 | |||
| 32 | This class represents one of two things: | ||
| 33 | |||
| 34 | =head3 Arguments in a call to a service | ||
| 35 | |||
| 36 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 37 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 38 | |||
| 39 | As an example, if Att1 is expected to be a Paws::Backup::RecoveryPointByBackupVault object: | ||
| 40 | |||
| 41 | $service_obj->Method(Att1 => { BackupSizeInBytes => $value, ..., Status => $value }); | ||
| 42 | |||
| 43 | =head3 Results returned from an API call | ||
| 44 | |||
| 45 | Use accessors for each attribute. If Att1 is expected to be an Paws::Backup::RecoveryPointByBackupVault object: | ||
| 46 | |||
| 47 | $result = $service_obj->Method(...); | ||
| 48 | $result->Att1->BackupSizeInBytes | ||
| 49 | |||
| 50 | =head1 DESCRIPTION | ||
| 51 | |||
| 52 | Contains detailed information about the recovery points stored in a | ||
| 53 | backup vault. | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 BackupSizeInBytes => Int | ||
| 59 | |||
| 60 | The size, in bytes, of a backup. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 BackupVaultArn => Str | ||
| 64 | |||
| 65 | An ARN that uniquely identifies a backup vault; for example, | ||
| 66 | C<arn:aws:backup:us-east-1:123456789012:vault:aBackupVault>. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 BackupVaultName => Str | ||
| 70 | |||
| 71 | The name of a logical container where backups are stored. Backup vaults | ||
| 72 | are identified by names that are unique to the account used to create | ||
| 73 | them and the AWS Region where they are created. They consist of | ||
| 74 | lowercase letters, numbers, and hyphens. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 CalculatedLifecycle => L<Paws::Backup::CalculatedLifecycle> | ||
| 78 | |||
| 79 | A C<CalculatedLifecycle> object containing C<DeleteAt> and | ||
| 80 | C<MoveToColdStorageAt> timestamps. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 CompletionDate => Str | ||
| 84 | |||
| 85 | The date and time a job to restore a recovery point is completed, in | ||
| 86 | Unix format and Coordinated Universal Time (UTC). The value of | ||
| 87 | C<CompletionDate> is accurate to milliseconds. For example, the value | ||
| 88 | 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM. | ||
| 89 | |||
| 90 | |||
| 91 | =head2 CreatedBy => L<Paws::Backup::RecoveryPointCreator> | ||
| 92 | |||
| 93 | Contains identifying information about the creation of a recovery | ||
| 94 | point, including the C<BackupPlanArn>, C<BackupPlanId>, | ||
| 95 | C<BackupPlanVersion>, and C<BackupRuleId> of the backup plan that is | ||
| 96 | used to create it. | ||
| 97 | |||
| 98 | |||
| 99 | =head2 CreationDate => Str | ||
| 100 | |||
| 101 | The date and time a recovery point is created, in Unix format and | ||
| 102 | Coordinated Universal Time (UTC). The value of C<CreationDate> is | ||
| 103 | accurate to milliseconds. For example, the value 1516925490.087 | ||
| 104 | represents Friday, January 26, 2018 12:11:30.087 AM. | ||
| 105 | |||
| 106 | |||
| 107 | =head2 EncryptionKeyArn => Str | ||
| 108 | |||
| 109 | The server-side encryption key that is used to protect your backups; | ||
| 110 | for example, | ||
| 111 | C<arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab>. | ||
| 112 | |||
| 113 | |||
| 114 | =head2 IamRoleArn => Str | ||
| 115 | |||
| 116 | Specifies the IAM role ARN used to create the target recovery point; | ||
| 117 | for example, C<arn:aws:iam::123456789012:role/S3Access>. | ||
| 118 | |||
| 119 | |||
| 120 | =head2 IsEncrypted => Bool | ||
| 121 | |||
| 122 | A Boolean value that is returned as C<TRUE> if the specified recovery | ||
| 123 | point is encrypted, or C<FALSE> if the recovery point is not encrypted. | ||
| 124 | |||
| 125 | |||
| 126 | =head2 LastRestoreTime => Str | ||
| 127 | |||
| 128 | The date and time a recovery point was last restored, in Unix format | ||
| 129 | and Coordinated Universal Time (UTC). The value of C<LastRestoreTime> | ||
| 130 | is accurate to milliseconds. For example, the value 1516925490.087 | ||
| 131 | represents Friday, January 26, 2018 12:11:30.087 AM. | ||
| 132 | |||
| 133 | |||
| 134 | =head2 Lifecycle => L<Paws::Backup::Lifecycle> | ||
| 135 | |||
| 136 | The lifecycle defines when a protected resource is transitioned to cold | ||
| 137 | storage and when it expires. AWS Backup transitions and expires backups | ||
| 138 | automatically according to the lifecycle that you define. | ||
| 139 | |||
| 140 | Backups transitioned to cold storage must be stored in cold storage for | ||
| 141 | a minimum of 90 days. Therefore, the E<ldquo>expire after daysE<rdquo> | ||
| 142 | setting must be 90 days greater than the E<ldquo>transition to cold | ||
| 143 | after daysE<rdquo> setting. The E<ldquo>transition to cold after | ||
| 144 | daysE<rdquo> setting cannot be changed after a backup has been | ||
| 145 | transitioned to cold. | ||
| 146 | |||
| 147 | Only Amazon EFS file system backups can be transitioned to cold | ||
| 148 | storage. | ||
| 149 | |||
| 150 | |||
| 151 | =head2 RecoveryPointArn => Str | ||
| 152 | |||
| 153 | An Amazon Resource Name (ARN) that uniquely identifies a recovery | ||
| 154 | point; for example, | ||
| 155 | C<arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45>. | ||
| 156 | |||
| 157 | |||
| 158 | =head2 ResourceArn => Str | ||
| 159 | |||
| 160 | An ARN that uniquely identifies a resource. The format of the ARN | ||
| 161 | depends on the resource type. | ||
| 162 | |||
| 163 | |||
| 164 | =head2 ResourceType => Str | ||
| 165 | |||
| 166 | The type of AWS resource saved as a recovery point; for example, an | ||
| 167 | Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational | ||
| 168 | Database Service (Amazon RDS) database. For VSS Windows backups, the | ||
| 169 | only supported resource type is Amazon EC2. | ||
| 170 | |||
| 171 | |||
| 172 | =head2 SourceBackupVaultArn => Str | ||
| 173 | |||
| 174 | The backup vault where the recovery point was originally copied from. | ||
| 175 | If the recovery point is restored to the same account this value will | ||
| 176 | be C<null>. | ||
| 177 | |||
| 178 | |||
| 179 | =head2 Status => Str | ||
| 180 | |||
| 181 | A status code specifying the state of the recovery point. | ||
| 182 | |||
| 183 | |||
| 184 | |||
| 185 | =head1 SEE ALSO | ||
| 186 | |||
| 187 | This class forms part of L<Paws>, describing an object used in L<Paws::Backup> | ||
| 188 | |||
| 189 | =head1 BUGS and CONTRIBUTIONS | ||
| 190 | |||
| 191 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 192 | |||
| 193 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 194 | |||
| 195 | =cut | ||
| 196 |