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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-04-28 of the Amazon CloudHSM V2 SDK configuration.

Errors

_CloudHsmInternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

_CloudHsmServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because an error occurred.

_CloudHsmInvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because it is not a valid request.

_CloudHsmAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because the requester does not have permission to perform the requested operation.

_CloudHsmResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because it refers to a resource that cannot be found.

_CloudHsmTagException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.

BackupPolicy

newtype BackupPolicy Source #

Constructors

BackupPolicy' 

Bundled Patterns

pattern BackupPolicy_DEFAULT :: BackupPolicy 

Instances

Instances details
Eq BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

Ord BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

Read BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

Show BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

Generic BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

Associated Types

type Rep BackupPolicy :: Type -> Type #

NFData BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

Methods

rnf :: BackupPolicy -> () #

Hashable BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

ToJSON BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

ToJSONKey BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

FromJSON BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

FromJSONKey BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

ToLog BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

ToHeader BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

ToQuery BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

FromXML BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

ToXML BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

Methods

toXML :: BackupPolicy -> XML #

ToByteString BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

FromText BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

ToText BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

Methods

toText :: BackupPolicy -> Text #

type Rep BackupPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupPolicy

type Rep BackupPolicy = D1 ('MetaData "BackupPolicy" "Amazonka.CloudHSMV2.Types.BackupPolicy" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'True) (C1 ('MetaCons "BackupPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBackupPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BackupRetentionType

newtype BackupRetentionType Source #

Bundled Patterns

pattern BackupRetentionType_DAYS :: BackupRetentionType 

Instances

Instances details
Eq BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

Ord BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

Read BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

Show BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

Generic BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

Associated Types

type Rep BackupRetentionType :: Type -> Type #

NFData BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

Methods

rnf :: BackupRetentionType -> () #

Hashable BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

ToJSON BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

ToJSONKey BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

FromJSON BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

FromJSONKey BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

ToLog BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

ToHeader BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

ToQuery BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

FromXML BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

ToXML BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

ToByteString BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

FromText BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

ToText BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

type Rep BackupRetentionType Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionType

type Rep BackupRetentionType = D1 ('MetaData "BackupRetentionType" "Amazonka.CloudHSMV2.Types.BackupRetentionType" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'True) (C1 ('MetaCons "BackupRetentionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBackupRetentionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BackupState

newtype BackupState Source #

Constructors

BackupState' 

Instances

Instances details
Eq BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

Ord BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

Read BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

Show BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

Generic BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

Associated Types

type Rep BackupState :: Type -> Type #

NFData BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

Methods

rnf :: BackupState -> () #

Hashable BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

ToJSON BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

ToJSONKey BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

FromJSON BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

FromJSONKey BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

ToLog BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

ToHeader BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

ToQuery BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

FromXML BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

ToXML BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

Methods

toXML :: BackupState -> XML #

ToByteString BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

FromText BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

ToText BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

Methods

toText :: BackupState -> Text #

type Rep BackupState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupState

type Rep BackupState = D1 ('MetaData "BackupState" "Amazonka.CloudHSMV2.Types.BackupState" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'True) (C1 ('MetaCons "BackupState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBackupState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ClusterState

newtype ClusterState Source #

Constructors

ClusterState' 

Instances

Instances details
Eq ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

Ord ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

Read ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

Show ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

Generic ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

Associated Types

type Rep ClusterState :: Type -> Type #

NFData ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

Methods

rnf :: ClusterState -> () #

Hashable ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

ToJSON ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

ToJSONKey ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

FromJSON ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

FromJSONKey ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

ToLog ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

ToHeader ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

ToQuery ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

FromXML ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

ToXML ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

Methods

toXML :: ClusterState -> XML #

ToByteString ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

FromText ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

ToText ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

Methods

toText :: ClusterState -> Text #

type Rep ClusterState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.ClusterState

type Rep ClusterState = D1 ('MetaData "ClusterState" "Amazonka.CloudHSMV2.Types.ClusterState" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'True) (C1 ('MetaCons "ClusterState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromClusterState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

HsmState

newtype HsmState Source #

Constructors

HsmState' 

Fields

Instances

Instances details
Eq HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Ord HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Read HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Show HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Generic HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Associated Types

type Rep HsmState :: Type -> Type #

Methods

from :: HsmState -> Rep HsmState x #

to :: Rep HsmState x -> HsmState #

NFData HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Methods

rnf :: HsmState -> () #

Hashable HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Methods

hashWithSalt :: Int -> HsmState -> Int #

hash :: HsmState -> Int #

ToJSON HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

ToJSONKey HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

FromJSON HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

FromJSONKey HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

ToLog HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

ToHeader HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Methods

toHeader :: HeaderName -> HsmState -> [Header] #

ToQuery HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

FromXML HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

ToXML HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Methods

toXML :: HsmState -> XML #

ToByteString HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Methods

toBS :: HsmState -> ByteString #

FromText HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

ToText HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

Methods

toText :: HsmState -> Text #

type Rep HsmState Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.HsmState

type Rep HsmState = D1 ('MetaData "HsmState" "Amazonka.CloudHSMV2.Types.HsmState" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'True) (C1 ('MetaCons "HsmState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromHsmState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Backup

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.

BackupRetentionPolicy

data BackupRetentionPolicy Source #

A policy that defines the number of days to retain backups.

See: newBackupRetentionPolicy smart constructor.

Constructors

BackupRetentionPolicy' 

Fields

Instances

Instances details
Eq BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Read BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Show BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Generic BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Associated Types

type Rep BackupRetentionPolicy :: Type -> Type #

NFData BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Methods

rnf :: BackupRetentionPolicy -> () #

Hashable BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

ToJSON BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

FromJSON BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

type Rep BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

type Rep BackupRetentionPolicy = D1 ('MetaData "BackupRetentionPolicy" "Amazonka.CloudHSMV2.Types.BackupRetentionPolicy" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "BackupRetentionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupRetentionType))))

newBackupRetentionPolicy :: BackupRetentionPolicy Source #

Create a value of BackupRetentionPolicy 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:value:BackupRetentionPolicy', backupRetentionPolicy_value - Use a value between 7 - 379.

$sel:type':BackupRetentionPolicy', backupRetentionPolicy_type - The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

backupRetentionPolicy_type :: Lens' BackupRetentionPolicy (Maybe BackupRetentionType) Source #

The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

Certificates

data Certificates Source #

Contains one or more certificates or a certificate signing request (CSR).

See: newCertificates smart constructor.

Constructors

Certificates' 

Fields

Instances

Instances details
Eq Certificates Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Certificates

Read Certificates Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Certificates

Show Certificates Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Certificates

Generic Certificates Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Certificates

Associated Types

type Rep Certificates :: Type -> Type #

NFData Certificates Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Certificates

Methods

rnf :: Certificates -> () #

Hashable Certificates Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Certificates

FromJSON Certificates Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Certificates

type Rep Certificates Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Certificates

type Rep Certificates = D1 ('MetaData "Certificates" "Amazonka.CloudHSMV2.Types.Certificates" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "Certificates'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "manufacturerHardwareCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterCsr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "hsmCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clusterCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsHardwareCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newCertificates :: Certificates Source #

Create a value of Certificates 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:manufacturerHardwareCertificate:Certificates', certificates_manufacturerHardwareCertificate - The HSM hardware certificate issued (signed) by the hardware manufacturer.

$sel:clusterCsr:Certificates', certificates_clusterCsr - The cluster's certificate signing request (CSR). The CSR exists only when the cluster's state is UNINITIALIZED.

$sel:hsmCertificate:Certificates', certificates_hsmCertificate - The HSM certificate issued (signed) by the HSM hardware.

$sel:clusterCertificate:Certificates', certificates_clusterCertificate - The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner.

$sel:awsHardwareCertificate:Certificates', certificates_awsHardwareCertificate - The HSM hardware certificate issued (signed) by AWS CloudHSM.

certificates_manufacturerHardwareCertificate :: Lens' Certificates (Maybe Text) Source #

The HSM hardware certificate issued (signed) by the hardware manufacturer.

certificates_clusterCsr :: Lens' Certificates (Maybe Text) Source #

The cluster's certificate signing request (CSR). The CSR exists only when the cluster's state is UNINITIALIZED.

certificates_hsmCertificate :: Lens' Certificates (Maybe Text) Source #

The HSM certificate issued (signed) by the HSM hardware.

certificates_clusterCertificate :: Lens' Certificates (Maybe Text) Source #

The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner.

certificates_awsHardwareCertificate :: Lens' Certificates (Maybe Text) Source #

The HSM hardware certificate issued (signed) by AWS CloudHSM.

Cluster

data Cluster Source #

Contains information about an AWS CloudHSM cluster.

See: newCluster smart constructor.

Constructors

Cluster' 

Fields

Instances

Instances details
Eq Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Methods

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

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

Read Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Show Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Generic Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Associated Types

type Rep Cluster :: Type -> Type #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

NFData Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Methods

rnf :: Cluster -> () #

Hashable Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

FromJSON Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

type Rep Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

type Rep Cluster = D1 ('MetaData "Cluster" "Amazonka.CloudHSMV2.Types.Cluster" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "Cluster'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "preCoPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stateMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterState)))) :*: ((S1 ('MetaSel ('Just "subnetMapping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "backupRetentionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupRetentionPolicy))) :*: (S1 ('MetaSel ('Just "hsms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Hsm])) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "sourceBackupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "certificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Certificates)) :*: S1 ('MetaSel ('Just "securityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "backupPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupPolicy)) :*: S1 ('MetaSel ('Just "hsmType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newCluster :: Cluster Source #

Create a value of Cluster 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:preCoPassword:Cluster', cluster_preCoPassword - The default password for the cluster's Pre-Crypto Officer (PRECO) user.

$sel:stateMessage:Cluster', cluster_stateMessage - A description of the cluster's state.

$sel:state:Cluster', cluster_state - The cluster's state.

$sel:subnetMapping:Cluster', cluster_subnetMapping - A map from availability zone to the cluster’s subnet in that availability zone.

$sel:backupRetentionPolicy:Cluster', cluster_backupRetentionPolicy - A policy that defines how the service retains backups.

$sel:hsms:Cluster', cluster_hsms - Contains information about the HSMs in the cluster.

$sel:vpcId:Cluster', cluster_vpcId - The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.

$sel:tagList:Cluster', cluster_tagList - The list of tags for the cluster.

$sel:sourceBackupId:Cluster', cluster_sourceBackupId - The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.

$sel:certificates:Cluster', cluster_certificates - Contains one or more certificates or a certificate signing request (CSR).

$sel:securityGroup:Cluster', cluster_securityGroup - The identifier (ID) of the cluster's security group.

$sel:clusterId:Cluster', cluster_clusterId - The cluster's identifier (ID).

$sel:createTimestamp:Cluster', cluster_createTimestamp - The date and time when the cluster was created.

$sel:backupPolicy:Cluster', cluster_backupPolicy - The cluster's backup policy.

$sel:hsmType:Cluster', cluster_hsmType - The type of HSM that the cluster contains.

cluster_preCoPassword :: Lens' Cluster (Maybe Text) Source #

The default password for the cluster's Pre-Crypto Officer (PRECO) user.

cluster_stateMessage :: Lens' Cluster (Maybe Text) Source #

A description of the cluster's state.

cluster_subnetMapping :: Lens' Cluster (Maybe (HashMap Text Text)) Source #

A map from availability zone to the cluster’s subnet in that availability zone.

cluster_backupRetentionPolicy :: Lens' Cluster (Maybe BackupRetentionPolicy) Source #

A policy that defines how the service retains backups.

cluster_hsms :: Lens' Cluster (Maybe [Hsm]) Source #

Contains information about the HSMs in the cluster.

cluster_vpcId :: Lens' Cluster (Maybe Text) Source #

The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.

cluster_tagList :: Lens' Cluster (Maybe [Tag]) Source #

The list of tags for the cluster.

cluster_sourceBackupId :: Lens' Cluster (Maybe Text) Source #

The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.

cluster_certificates :: Lens' Cluster (Maybe Certificates) Source #

Contains one or more certificates or a certificate signing request (CSR).

cluster_securityGroup :: Lens' Cluster (Maybe Text) Source #

The identifier (ID) of the cluster's security group.

cluster_clusterId :: Lens' Cluster (Maybe Text) Source #

The cluster's identifier (ID).

cluster_createTimestamp :: Lens' Cluster (Maybe UTCTime) Source #

The date and time when the cluster was created.

cluster_backupPolicy :: Lens' Cluster (Maybe BackupPolicy) Source #

The cluster's backup policy.

cluster_hsmType :: Lens' Cluster (Maybe Text) Source #

The type of HSM that the cluster contains.

DestinationBackup

data DestinationBackup Source #

Contains information about the backup that will be copied and created by the CopyBackupToRegion operation.

See: newDestinationBackup smart constructor.

Constructors

DestinationBackup' 

Fields

Instances

Instances details
Eq DestinationBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.DestinationBackup

Read DestinationBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.DestinationBackup

Show DestinationBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.DestinationBackup

Generic DestinationBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.DestinationBackup

Associated Types

type Rep DestinationBackup :: Type -> Type #

NFData DestinationBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.DestinationBackup

Methods

rnf :: DestinationBackup -> () #

Hashable DestinationBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.DestinationBackup

FromJSON DestinationBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.DestinationBackup

type Rep DestinationBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.DestinationBackup

type Rep DestinationBackup = D1 ('MetaData "DestinationBackup" "Amazonka.CloudHSMV2.Types.DestinationBackup" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "DestinationBackup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceCluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sourceBackup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newDestinationBackup :: DestinationBackup Source #

Create a value of DestinationBackup 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:sourceCluster:DestinationBackup', destinationBackup_sourceCluster - The identifier (ID) of the cluster containing the source backup from which the new backup was copied.

$sel:sourceRegion:DestinationBackup', destinationBackup_sourceRegion - The AWS region that contains the source backup from which the new backup was copied.

$sel:sourceBackup:DestinationBackup', destinationBackup_sourceBackup - The identifier (ID) of the source backup from which the new backup was copied.

$sel:createTimestamp:DestinationBackup', destinationBackup_createTimestamp - The date and time when both the source backup was created.

destinationBackup_sourceCluster :: Lens' DestinationBackup (Maybe Text) Source #

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

destinationBackup_sourceRegion :: Lens' DestinationBackup (Maybe Text) Source #

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

destinationBackup_sourceBackup :: Lens' DestinationBackup (Maybe Text) Source #

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

destinationBackup_createTimestamp :: Lens' DestinationBackup (Maybe UTCTime) Source #

The date and time when both the source backup was created.

Hsm

data Hsm Source #

Contains information about a hardware security module (HSM) in an AWS CloudHSM cluster.

See: newHsm smart constructor.

Constructors

Hsm' 

Fields

Instances

Instances details
Eq Hsm Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Hsm

Methods

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

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

Read Hsm Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Hsm

Show Hsm Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Hsm

Methods

showsPrec :: Int -> Hsm -> ShowS #

show :: Hsm -> String #

showList :: [Hsm] -> ShowS #

Generic Hsm Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Hsm

Associated Types

type Rep Hsm :: Type -> Type #

Methods

from :: Hsm -> Rep Hsm x #

to :: Rep Hsm x -> Hsm #

NFData Hsm Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Hsm

Methods

rnf :: Hsm -> () #

Hashable Hsm Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Hsm

Methods

hashWithSalt :: Int -> Hsm -> Int #

hash :: Hsm -> Int #

FromJSON Hsm Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Hsm

type Rep Hsm Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Hsm

newHsm Source #

Arguments

:: Text

$sel:hsmId:Hsm'

-> Hsm 

Create a value of Hsm 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:stateMessage:Hsm', hsm_stateMessage - A description of the HSM's state.

$sel:state:Hsm', hsm_state - The HSM's state.

$sel:eniId:Hsm', hsm_eniId - The identifier (ID) of the HSM's elastic network interface (ENI).

$sel:subnetId:Hsm', hsm_subnetId - The subnet that contains the HSM's elastic network interface (ENI).

$sel:availabilityZone:Hsm', hsm_availabilityZone - The Availability Zone that contains the HSM.

$sel:clusterId:Hsm', hsm_clusterId - The identifier (ID) of the cluster that contains the HSM.

$sel:eniIp:Hsm', hsm_eniIp - The IP address of the HSM's elastic network interface (ENI).

$sel:hsmId:Hsm', hsm_hsmId - The HSM's identifier (ID).

hsm_stateMessage :: Lens' Hsm (Maybe Text) Source #

A description of the HSM's state.

hsm_state :: Lens' Hsm (Maybe HsmState) Source #

The HSM's state.

hsm_eniId :: Lens' Hsm (Maybe Text) Source #

The identifier (ID) of the HSM's elastic network interface (ENI).

hsm_subnetId :: Lens' Hsm (Maybe Text) Source #

The subnet that contains the HSM's elastic network interface (ENI).

hsm_availabilityZone :: Lens' Hsm (Maybe Text) Source #

The Availability Zone that contains the HSM.

hsm_clusterId :: Lens' Hsm (Maybe Text) Source #

The identifier (ID) of the cluster that contains the HSM.

hsm_eniIp :: Lens' Hsm (Maybe Text) Source #

The IP address of the HSM's elastic network interface (ENI).

hsm_hsmId :: Lens' Hsm Text Source #

The HSM's identifier (ID).

Tag

data Tag Source #

Contains a tag. A tag is a key-value pair.

See: newTag smart constructor.

Constructors

Tag' 

Fields

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Tag

Methods

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

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

Read Tag Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Tag

FromJSON Tag Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudHSMV2.Types.Tag" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag 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:key:Tag', tag_key - The key of the tag.

$sel:value:Tag', tag_value - The value of the tag.

tag_key :: Lens' Tag Text Source #

The key of the tag.

tag_value :: Lens' Tag Text Source #

The value of the tag.