libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudHSMV2.Types.Backup

Description

 
Synopsis

Documentation

data Backup Source #

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

Instances details
Eq Backup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Backup

Methods

(==) :: Backup -> Backup -> Bool #

(/=) :: Backup -> Backup -> Bool #

Read Backup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Backup

Show Backup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Backup

Generic Backup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Backup

Associated Types

type Rep Backup :: Type -> Type #

Methods

from :: Backup -> Rep Backup x #

to :: Rep Backup x -> Backup #

NFData Backup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Backup

Methods

rnf :: Backup -> () #

Hashable Backup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Backup

Methods

hashWithSalt :: Int -> Backup -> Int #

hash :: Backup -> Int #

FromJSON Backup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Backup

type Rep Backup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Backup

newBackup Source #

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:deleteTimestamp:Backup', backup_deleteTimestamp - The date and time when the backup will be permanently deleted.

$sel:sourceCluster:Backup', backup_sourceCluster - The identifier (ID) of the cluster containing the source backup from which the new backup was copied.

$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: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:sourceBackup:Backup', backup_sourceBackup - The identifier (ID) of the source backup from which the new backup was copied.

$sel:clusterId:Backup', backup_clusterId - The identifier (ID) of the cluster that was backed up.

$sel:createTimestamp:Backup', backup_createTimestamp - The date and time when the backup was created.

$sel:copyTimestamp:Backup', backup_copyTimestamp - The date and time when the backup was copied from a source backup.

$sel:backupState:Backup', backup_backupState - The state of the backup.

$sel:backupId:Backup', backup_backupId - The identifier (ID) of the backup.

backup_deleteTimestamp :: Lens' Backup (Maybe UTCTime) Source #

The date and time when the backup will be permanently deleted.

backup_sourceCluster :: Lens' Backup (Maybe Text) Source #

The identifier (ID) of the cluster containing the source backup from which the new backup was copied.

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_sourceRegion :: Lens' Backup (Maybe Text) Source #

The AWS Region that contains the source backup from which the new backup was copied.

backup_tagList :: Lens' Backup (Maybe [Tag]) Source #

The list of tags for the backup.

backup_sourceBackup :: Lens' Backup (Maybe Text) Source #

The identifier (ID) of the source backup from which the new backup was copied.

backup_clusterId :: Lens' Backup (Maybe Text) Source #

The identifier (ID) of the cluster that was backed up.

backup_createTimestamp :: Lens' Backup (Maybe UTCTime) Source #

The date and time when the backup was created.

backup_copyTimestamp :: Lens' Backup (Maybe UTCTime) Source #

The date and time when the backup was copied from a source backup.

backup_backupState :: Lens' Backup (Maybe BackupState) Source #

The state of the backup.

backup_backupId :: Lens' Backup Text Source #

The identifier (ID) of the backup.