| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudHSMV2.Types.Backup
Description
Synopsis
- data Backup = Backup' {}
- newBackup :: Text -> Backup
- backup_backupState :: Lens' Backup (Maybe BackupState)
- backup_clusterId :: Lens' Backup (Maybe Text)
- backup_copyTimestamp :: Lens' Backup (Maybe UTCTime)
- backup_createTimestamp :: Lens' Backup (Maybe UTCTime)
- backup_deleteTimestamp :: Lens' Backup (Maybe UTCTime)
- backup_neverExpires :: Lens' Backup (Maybe Bool)
- backup_sourceBackup :: Lens' Backup (Maybe Text)
- backup_sourceCluster :: Lens' Backup (Maybe Text)
- backup_sourceRegion :: Lens' Backup (Maybe Text)
- backup_tagList :: Lens' Backup (Maybe [Tag])
- backup_backupId :: Lens' Backup Text
Documentation
Contains information about a backup of an AWS CloudHSM cluster. All
backup objects contain the BackupId, BackupState, ClusterId, and
CreateTimestamp parameters. Backups that were copied into a
destination region additionally contain the CopyTimestamp,
SourceBackup, SourceCluster, and SourceRegion parameters. A backup
that is pending deletion will include the DeleteTimestamp parameter.
See: newBackup smart constructor.
Constructors
| Backup' | |
Fields
| |
Instances
Create a value of Backup 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:backupState:Backup', backup_backupState - The state of the backup.
$sel:clusterId:Backup', backup_clusterId - The identifier (ID) of the cluster that was backed up.
$sel:copyTimestamp:Backup', backup_copyTimestamp - The date and time when the backup was copied from a source backup.
$sel:createTimestamp:Backup', backup_createTimestamp - The date and time when the backup was created.
$sel:deleteTimestamp:Backup', backup_deleteTimestamp - The date and time when the backup will be permanently deleted.
$sel:neverExpires:Backup', backup_neverExpires - Specifies whether the service should exempt a backup from the retention
policy for the cluster. True exempts a backup from the retention
policy. False means the service applies the backup retention policy
defined at the cluster.
$sel:sourceBackup:Backup', backup_sourceBackup - The identifier (ID) of the source backup from which the new backup was
copied.
$sel:sourceCluster:Backup', backup_sourceCluster - The identifier (ID) of the cluster containing the source backup from
which the new backup was copied.
$sel:sourceRegion:Backup', backup_sourceRegion - The AWS Region that contains the source backup from which the new backup
was copied.
$sel:tagList:Backup', backup_tagList - The list of tags for the backup.
$sel:backupId:Backup', backup_backupId - The identifier (ID) of the backup.
backup_backupState :: Lens' Backup (Maybe BackupState) Source #
The state of the backup.
backup_clusterId :: Lens' Backup (Maybe Text) Source #
The identifier (ID) of the cluster that was backed up.
backup_copyTimestamp :: Lens' Backup (Maybe UTCTime) Source #
The date and time when the backup was copied from a source backup.
backup_createTimestamp :: Lens' Backup (Maybe UTCTime) Source #
The date and time when the backup was created.
backup_deleteTimestamp :: Lens' Backup (Maybe UTCTime) Source #
The date and time when the backup will be permanently deleted.
backup_neverExpires :: Lens' Backup (Maybe Bool) Source #
Specifies whether the service should exempt a backup from the retention
policy for the cluster. True exempts a backup from the retention
policy. False means the service applies the backup retention policy
defined at the cluster.
backup_sourceBackup :: Lens' Backup (Maybe Text) Source #
The identifier (ID) of the source backup from which the new backup was copied.
backup_sourceCluster :: Lens' Backup (Maybe Text) Source #
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.