| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DynamoDB::BackupDetails; | ||
| 3 | use Moose; | ||
| 4 | has BackupArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has BackupCreationDateTime => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has BackupExpiryDateTime => (is => 'ro', isa => 'Str'); | ||
| 7 | has BackupName => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has BackupSizeBytes => (is => 'ro', isa => 'Int'); | ||
| 9 | has BackupStatus => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | has BackupType => (is => 'ro', isa => 'Str', required => 1); | ||
| 11 | |||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::DynamoDB::BackupDetails | ||
| 19 | |||
| 20 | =head1 USAGE | ||
| 21 | |||
| 22 | This class represents one of two things: | ||
| 23 | |||
| 24 | =head3 Arguments in a call to a service | ||
| 25 | |||
| 26 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 27 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 28 | |||
| 29 | As an example, if Att1 is expected to be a Paws::DynamoDB::BackupDetails object: | ||
| 30 | |||
| 31 | $service_obj->Method(Att1 => { BackupArn => $value, ..., BackupType => $value }); | ||
| 32 | |||
| 33 | =head3 Results returned from an API call | ||
| 34 | |||
| 35 | Use accessors for each attribute. If Att1 is expected to be an Paws::DynamoDB::BackupDetails object: | ||
| 36 | |||
| 37 | $result = $service_obj->Method(...); | ||
| 38 | $result->Att1->BackupArn | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | Contains the details of the backup created for the table. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 B<REQUIRED> BackupArn => Str | ||
| 48 | |||
| 49 | ARN associated with the backup. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> BackupCreationDateTime => Str | ||
| 53 | |||
| 54 | Time at which the backup was created. This is the request time of the | ||
| 55 | backup. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 BackupExpiryDateTime => Str | ||
| 59 | |||
| 60 | Time at which the automatic on-demand backup created by DynamoDB will | ||
| 61 | expire. This C<SYSTEM> on-demand backup expires automatically 35 days | ||
| 62 | after its creation. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> BackupName => Str | ||
| 66 | |||
| 67 | Name of the requested backup. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 BackupSizeBytes => Int | ||
| 71 | |||
| 72 | Size of the backup in bytes. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> BackupStatus => Str | ||
| 76 | |||
| 77 | Backup can be in one of the following states: CREATING, ACTIVE, | ||
| 78 | DELETED. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 B<REQUIRED> BackupType => Str | ||
| 82 | |||
| 83 | BackupType: | ||
| 84 | |||
| 85 | =over | ||
| 86 | |||
| 87 | =item * | ||
| 88 | |||
| 89 | C<USER> - You create and manage these using the on-demand backup | ||
| 90 | feature. | ||
| 91 | |||
| 92 | =item * | ||
| 93 | |||
| 94 | C<SYSTEM> - If you delete a table with point-in-time recovery enabled, | ||
| 95 | a C<SYSTEM> backup is automatically created and is retained for 35 days | ||
| 96 | (at no additional cost). System backups allow you to restore the | ||
| 97 | deleted table to the state it was in just before the point of deletion. | ||
| 98 | |||
| 99 | =item * | ||
| 100 | |||
| 101 | C<AWS_BACKUP> - On-demand backup created by you from AWS Backup | ||
| 102 | service. | ||
| 103 | |||
| 104 | =back | ||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head1 SEE ALSO | ||
| 110 | |||
| 111 | This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB> | ||
| 112 | |||
| 113 | =head1 BUGS and CONTRIBUTIONS | ||
| 114 | |||
| 115 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 116 | |||
| 117 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 118 | |||
| 119 | =cut | ||
| 120 |