Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data BackupDetails = BackupDetails' {}
- newBackupDetails :: Text -> Text -> BackupStatus -> BackupType -> UTCTime -> BackupDetails
- backupDetails_backupExpiryDateTime :: Lens' BackupDetails (Maybe UTCTime)
- backupDetails_backupSizeBytes :: Lens' BackupDetails (Maybe Natural)
- backupDetails_backupArn :: Lens' BackupDetails Text
- backupDetails_backupName :: Lens' BackupDetails Text
- backupDetails_backupStatus :: Lens' BackupDetails BackupStatus
- backupDetails_backupType :: Lens' BackupDetails BackupType
- backupDetails_backupCreationDateTime :: Lens' BackupDetails UTCTime
Documentation
data BackupDetails Source #
Contains the details of the backup created for the table.
See: newBackupDetails
smart constructor.
BackupDetails' | |
|
Instances
:: Text | |
-> Text | |
-> BackupStatus | |
-> BackupType | |
-> UTCTime | |
-> BackupDetails |
Create a value of BackupDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:backupExpiryDateTime:BackupDetails'
, backupDetails_backupExpiryDateTime
- Time at which the automatic on-demand backup created by DynamoDB will
expire. This SYSTEM
on-demand backup expires automatically 35 days
after its creation.
$sel:backupSizeBytes:BackupDetails'
, backupDetails_backupSizeBytes
- Size of the backup in bytes.
$sel:backupArn:BackupDetails'
, backupDetails_backupArn
- ARN associated with the backup.
$sel:backupName:BackupDetails'
, backupDetails_backupName
- Name of the requested backup.
$sel:backupStatus:BackupDetails'
, backupDetails_backupStatus
- Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
$sel:backupType:BackupDetails'
, backupDetails_backupType
- BackupType:
USER
- You create and manage these using the on-demand backup feature.SYSTEM
- If you delete a table with point-in-time recovery enabled, aSYSTEM
backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion.AWS_BACKUP
- On-demand backup created by you from AWS Backup service.
$sel:backupCreationDateTime:BackupDetails'
, backupDetails_backupCreationDateTime
- Time at which the backup was created. This is the request time of the
backup.
backupDetails_backupExpiryDateTime :: Lens' BackupDetails (Maybe UTCTime) Source #
Time at which the automatic on-demand backup created by DynamoDB will
expire. This SYSTEM
on-demand backup expires automatically 35 days
after its creation.
backupDetails_backupSizeBytes :: Lens' BackupDetails (Maybe Natural) Source #
Size of the backup in bytes.
backupDetails_backupArn :: Lens' BackupDetails Text Source #
ARN associated with the backup.
backupDetails_backupName :: Lens' BackupDetails Text Source #
Name of the requested backup.
backupDetails_backupStatus :: Lens' BackupDetails BackupStatus Source #
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
backupDetails_backupType :: Lens' BackupDetails BackupType Source #
BackupType:
USER
- You create and manage these using the on-demand backup feature.SYSTEM
- If you delete a table with point-in-time recovery enabled, aSYSTEM
backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion.AWS_BACKUP
- On-demand backup created by you from AWS Backup service.
backupDetails_backupCreationDateTime :: Lens' BackupDetails UTCTime Source #
Time at which the backup was created. This is the request time of the backup.