amazonka-cloudhsmv2-1.5.0: Amazon CloudHSM V2 SDK.

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

Network.AWS.CloudHSMv2

Contents

Description

For more information about AWS CloudHSM, see AWS CloudHSM and the AWS CloudHSM User Guide .

Synopsis

Service Configuration

cloudHSMv2 :: Service Source #

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CloudHSMv2.

CloudHSMInternalFailureException

_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

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

The request was rejected because an error occurred.

CloudHSMInvalidRequestException

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

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

CloudHSMAccessDeniedException

_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

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

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

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeClusters

InitializeCluster

CreateHSM

DescribeBackups

DeleteCluster

CreateCluster

DeleteHSM

TagResource

ListTags

UntagResource

Types

BackupPolicy

data BackupPolicy Source #

Constructors

Default 

Instances

Bounded BackupPolicy Source # 
Enum BackupPolicy Source # 
Eq BackupPolicy Source # 
Data BackupPolicy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BackupPolicy -> c BackupPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BackupPolicy #

toConstr :: BackupPolicy -> Constr #

dataTypeOf :: BackupPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BackupPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BackupPolicy) #

gmapT :: (forall b. Data b => b -> b) -> BackupPolicy -> BackupPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BackupPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BackupPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> BackupPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BackupPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BackupPolicy -> m BackupPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BackupPolicy -> m BackupPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BackupPolicy -> m BackupPolicy #

Ord BackupPolicy Source # 
Read BackupPolicy Source # 
Show BackupPolicy Source # 
Generic BackupPolicy Source # 

Associated Types

type Rep BackupPolicy :: * -> * #

Hashable BackupPolicy Source # 
FromJSON BackupPolicy Source # 
NFData BackupPolicy Source # 

Methods

rnf :: BackupPolicy -> () #

ToQuery BackupPolicy Source # 
ToHeader BackupPolicy Source # 
ToByteString BackupPolicy Source # 
FromText BackupPolicy Source # 
ToText BackupPolicy Source # 

Methods

toText :: BackupPolicy -> Text #

type Rep BackupPolicy Source # 
type Rep BackupPolicy = D1 (MetaData "BackupPolicy" "Network.AWS.CloudHSMv2.Types.Sum" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) (C1 (MetaCons "Default" PrefixI False) U1)

BackupState

data BackupState Source #

Instances

Bounded BackupState Source # 
Enum BackupState Source # 
Eq BackupState Source # 
Data BackupState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BackupState -> c BackupState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BackupState #

toConstr :: BackupState -> Constr #

dataTypeOf :: BackupState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BackupState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BackupState) #

gmapT :: (forall b. Data b => b -> b) -> BackupState -> BackupState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BackupState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BackupState -> r #

gmapQ :: (forall d. Data d => d -> u) -> BackupState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BackupState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BackupState -> m BackupState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BackupState -> m BackupState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BackupState -> m BackupState #

Ord BackupState Source # 
Read BackupState Source # 
Show BackupState Source # 
Generic BackupState Source # 

Associated Types

type Rep BackupState :: * -> * #

Hashable BackupState Source # 
FromJSON BackupState Source # 
NFData BackupState Source # 

Methods

rnf :: BackupState -> () #

ToQuery BackupState Source # 
ToHeader BackupState Source # 
ToByteString BackupState Source # 
FromText BackupState Source # 
ToText BackupState Source # 

Methods

toText :: BackupState -> Text #

type Rep BackupState Source # 
type Rep BackupState = D1 (MetaData "BackupState" "Network.AWS.CloudHSMv2.Types.Sum" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) ((:+:) (C1 (MetaCons "BSCreateInProgress" PrefixI False) U1) ((:+:) (C1 (MetaCons "BSDeleted" PrefixI False) U1) (C1 (MetaCons "BSReady" PrefixI False) U1)))

ClusterState

data ClusterState Source #

Instances

Bounded ClusterState Source # 
Enum ClusterState Source # 
Eq ClusterState Source # 
Data ClusterState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ClusterState -> c ClusterState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ClusterState #

toConstr :: ClusterState -> Constr #

dataTypeOf :: ClusterState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ClusterState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ClusterState) #

gmapT :: (forall b. Data b => b -> b) -> ClusterState -> ClusterState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ClusterState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ClusterState -> r #

gmapQ :: (forall d. Data d => d -> u) -> ClusterState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ClusterState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ClusterState -> m ClusterState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ClusterState -> m ClusterState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ClusterState -> m ClusterState #

Ord ClusterState Source # 
Read ClusterState Source # 
Show ClusterState Source # 
Generic ClusterState Source # 

Associated Types

type Rep ClusterState :: * -> * #

Hashable ClusterState Source # 
FromJSON ClusterState Source # 
NFData ClusterState Source # 

Methods

rnf :: ClusterState -> () #

ToQuery ClusterState Source # 
ToHeader ClusterState Source # 
ToByteString ClusterState Source # 
FromText ClusterState Source # 
ToText ClusterState Source # 

Methods

toText :: ClusterState -> Text #

type Rep ClusterState Source # 
type Rep ClusterState = D1 (MetaData "ClusterState" "Network.AWS.CloudHSMv2.Types.Sum" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Active" PrefixI False) U1) (C1 (MetaCons "CreateInProgress" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Degraded" PrefixI False) U1) (C1 (MetaCons "DeleteInProgress" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Deleted" PrefixI False) U1) (C1 (MetaCons "InitializeInProgress" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Initialized" PrefixI False) U1) ((:+:) (C1 (MetaCons "Uninitialized" PrefixI False) U1) (C1 (MetaCons "UpdateInProgress" PrefixI False) U1)))))

HSMState

data HSMState Source #

Instances

Bounded HSMState Source # 
Enum HSMState Source # 
Eq HSMState Source # 
Data HSMState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HSMState -> c HSMState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HSMState #

toConstr :: HSMState -> Constr #

dataTypeOf :: HSMState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HSMState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HSMState) #

gmapT :: (forall b. Data b => b -> b) -> HSMState -> HSMState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HSMState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HSMState -> r #

gmapQ :: (forall d. Data d => d -> u) -> HSMState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HSMState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HSMState -> m HSMState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HSMState -> m HSMState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HSMState -> m HSMState #

Ord HSMState Source # 
Read HSMState Source # 
Show HSMState Source # 
Generic HSMState Source # 

Associated Types

type Rep HSMState :: * -> * #

Methods

from :: HSMState -> Rep HSMState x #

to :: Rep HSMState x -> HSMState #

Hashable HSMState Source # 

Methods

hashWithSalt :: Int -> HSMState -> Int #

hash :: HSMState -> Int #

FromJSON HSMState Source # 
NFData HSMState Source # 

Methods

rnf :: HSMState -> () #

ToQuery HSMState Source # 
ToHeader HSMState Source # 

Methods

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

ToByteString HSMState Source # 

Methods

toBS :: HSMState -> ByteString #

FromText HSMState Source # 
ToText HSMState Source # 

Methods

toText :: HSMState -> Text #

type Rep HSMState Source # 
type Rep HSMState = D1 (MetaData "HSMState" "Network.AWS.CloudHSMv2.Types.Sum" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) ((:+:) ((:+:) (C1 (MetaCons "HSActive" PrefixI False) U1) (C1 (MetaCons "HSCreateInProgress" PrefixI False) U1)) ((:+:) (C1 (MetaCons "HSDegraded" PrefixI False) U1) ((:+:) (C1 (MetaCons "HSDeleteInProgress" PrefixI False) U1) (C1 (MetaCons "HSDeleted" PrefixI False) U1))))

Backup

data Backup Source #

Contains information about a backup of an AWS CloudHSM cluster.

See: backup smart constructor.

Instances

Eq Backup Source # 

Methods

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

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

Data Backup Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Backup -> c Backup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Backup #

toConstr :: Backup -> Constr #

dataTypeOf :: Backup -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Backup) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Backup) #

gmapT :: (forall b. Data b => b -> b) -> Backup -> Backup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Backup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Backup -> r #

gmapQ :: (forall d. Data d => d -> u) -> Backup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Backup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Backup -> m Backup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Backup -> m Backup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Backup -> m Backup #

Read Backup Source # 
Show Backup Source # 
Generic Backup Source # 

Associated Types

type Rep Backup :: * -> * #

Methods

from :: Backup -> Rep Backup x #

to :: Rep Backup x -> Backup #

Hashable Backup Source # 

Methods

hashWithSalt :: Int -> Backup -> Int #

hash :: Backup -> Int #

FromJSON Backup Source # 
NFData Backup Source # 

Methods

rnf :: Backup -> () #

type Rep Backup Source # 
type Rep Backup = D1 (MetaData "Backup" "Network.AWS.CloudHSMv2.Types.Product" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) (C1 (MetaCons "Backup'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bCreateTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) ((:*:) (S1 (MetaSel (Just Symbol "_bBackupState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BackupState))) (S1 (MetaSel (Just Symbol "_bBackupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

backup Source #

Arguments

:: Text

bBackupId

-> Backup 

Creates a value of Backup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

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

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

The date and time when the backup was created.

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

The state of the backup.

bBackupId :: Lens' Backup Text Source #

The identifier (ID) of the backup.

Certificates

data Certificates Source #

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

See: certificates smart constructor.

Instances

Eq Certificates Source # 
Data Certificates Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Certificates -> c Certificates #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Certificates #

toConstr :: Certificates -> Constr #

dataTypeOf :: Certificates -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Certificates) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Certificates) #

gmapT :: (forall b. Data b => b -> b) -> Certificates -> Certificates #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Certificates -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Certificates -> r #

gmapQ :: (forall d. Data d => d -> u) -> Certificates -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Certificates -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Certificates -> m Certificates #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Certificates -> m Certificates #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Certificates -> m Certificates #

Read Certificates Source # 
Show Certificates Source # 
Generic Certificates Source # 

Associated Types

type Rep Certificates :: * -> * #

Hashable Certificates Source # 
FromJSON Certificates Source # 
NFData Certificates Source # 

Methods

rnf :: Certificates -> () #

type Rep Certificates Source # 
type Rep Certificates = D1 (MetaData "Certificates" "Network.AWS.CloudHSMv2.Types.Product" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) (C1 (MetaCons "Certificates'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cManufacturerHardwareCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cClusterCSR") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cHSMCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cClusterCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cAWSHardwareCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

certificates :: Certificates Source #

Creates a value of Certificates with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cManufacturerHardwareCertificate - The HSM hardware certificate issued (signed) by the hardware manufacturer.
  • cClusterCSR - The cluster's certificate signing request (CSR). The CSR exists only when the cluster's state is UNINITIALIZED .
  • cHSMCertificate - The HSM certificate issued (signed) by the HSM hardware.
  • cClusterCertificate - The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner.
  • cAWSHardwareCertificate - The HSM hardware certificate issued (signed) by AWS CloudHSM.

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

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

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

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

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

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

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

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

cAWSHardwareCertificate :: 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: cluster smart constructor.

Instances

Eq Cluster Source # 

Methods

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

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

Data Cluster Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cluster -> c Cluster #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cluster #

toConstr :: Cluster -> Constr #

dataTypeOf :: Cluster -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Cluster) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cluster) #

gmapT :: (forall b. Data b => b -> b) -> Cluster -> Cluster #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cluster -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cluster -> r #

gmapQ :: (forall d. Data d => d -> u) -> Cluster -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Cluster -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cluster -> m Cluster #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cluster -> m Cluster #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cluster -> m Cluster #

Read Cluster Source # 
Show Cluster Source # 
Generic Cluster Source # 

Associated Types

type Rep Cluster :: * -> * #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

Hashable Cluster Source # 

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

FromJSON Cluster Source # 
NFData Cluster Source # 

Methods

rnf :: Cluster -> () #

type Rep Cluster Source # 
type Rep Cluster = D1 (MetaData "Cluster" "Network.AWS.CloudHSMv2.Types.Product" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) (C1 (MetaCons "Cluster'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cPreCoPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cStateMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterState))))) ((:*:) (S1 (MetaSel (Just Symbol "_cSubnetMapping") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cHSMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HSM]))) (S1 (MetaSel (Just Symbol "_cVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cSourceBackupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cCertificates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Certificates))) (S1 (MetaSel (Just Symbol "_cSecurityGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cCreateTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) ((:*:) (S1 (MetaSel (Just Symbol "_cBackupPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BackupPolicy))) (S1 (MetaSel (Just Symbol "_cHSMType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

cluster :: Cluster Source #

Creates a value of Cluster with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cPreCoPassword - The default password for the cluster's Pre-Crypto Officer (PRECO) user.
  • cStateMessage - A description of the cluster's state.
  • cState - The cluster's state.
  • cSubnetMapping - A map of the cluster's subnets and their corresponding Availability Zones.
  • cHSMs - Contains information about the HSMs in the cluster.
  • cVPCId - The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.
  • cSourceBackupId - The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.
  • cCertificates - Contains one or more certificates or a certificate signing request (CSR).
  • cSecurityGroup - The identifier (ID) of the cluster's security group.
  • cClusterId - The cluster's identifier (ID).
  • cCreateTimestamp - The date and time when the cluster was created.
  • cBackupPolicy - The cluster's backup policy.
  • cHSMType - The type of HSM that the cluster contains.

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

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

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

A description of the cluster's state.

cState :: Lens' Cluster (Maybe ClusterState) Source #

The cluster's state.

cSubnetMapping :: Lens' Cluster (HashMap Text Text) Source #

A map of the cluster's subnets and their corresponding Availability Zones.

cHSMs :: Lens' Cluster [HSM] Source #

Contains information about the HSMs in the cluster.

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

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

cSourceBackupId :: 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.

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

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

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

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

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

The cluster's identifier (ID).

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

The date and time when the cluster was created.

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

The cluster's backup policy.

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

The type of HSM that the cluster contains.

HSM

data HSM Source #

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

See: hsm smart constructor.

Instances

Eq HSM Source # 

Methods

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

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

Data HSM Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HSM -> c HSM #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HSM #

toConstr :: HSM -> Constr #

dataTypeOf :: HSM -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HSM) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HSM) #

gmapT :: (forall b. Data b => b -> b) -> HSM -> HSM #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HSM -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HSM -> r #

gmapQ :: (forall d. Data d => d -> u) -> HSM -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HSM -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HSM -> m HSM #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HSM -> m HSM #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HSM -> m HSM #

Read HSM Source # 
Show HSM Source # 

Methods

showsPrec :: Int -> HSM -> ShowS #

show :: HSM -> String #

showList :: [HSM] -> ShowS #

Generic HSM Source # 

Associated Types

type Rep HSM :: * -> * #

Methods

from :: HSM -> Rep HSM x #

to :: Rep HSM x -> HSM #

Hashable HSM Source # 

Methods

hashWithSalt :: Int -> HSM -> Int #

hash :: HSM -> Int #

FromJSON HSM Source # 
NFData HSM Source # 

Methods

rnf :: HSM -> () #

type Rep HSM Source # 

hsm Source #

Arguments

:: Text

hsmHSMId

-> HSM 

Creates a value of HSM with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hsmStateMessage - A description of the HSM's state.
  • hsmState - The HSM's state.
  • hsmEniId - The identifier (ID) of the HSM's elastic network interface (ENI).
  • hsmSubnetId - The subnet that contains the HSM's elastic network interface (ENI).
  • hsmAvailabilityZone - The Availability Zone that contains the HSM.
  • hsmClusterId - The identifier (ID) of the cluster that contains the HSM.
  • hsmEniIP - The IP address of the HSM's elastic network interface (ENI).
  • hsmHSMId - The HSM's identifier (ID).

hsmStateMessage :: Lens' HSM (Maybe Text) Source #

A description of the HSM's state.

hsmState :: Lens' HSM (Maybe HSMState) Source #

The HSM's state.

hsmEniId :: Lens' HSM (Maybe Text) Source #

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

hsmSubnetId :: Lens' HSM (Maybe Text) Source #

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

hsmAvailabilityZone :: Lens' HSM (Maybe Text) Source #

The Availability Zone that contains the HSM.

hsmClusterId :: Lens' HSM (Maybe Text) Source #

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

hsmEniIP :: Lens' HSM (Maybe Text) Source #

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

hsmHSMId :: Lens' HSM Text Source #

The HSM's identifier (ID).

Tag

data Tag Source #

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

See: tag smart constructor.

Instances

Eq Tag Source # 

Methods

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

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

Data Tag Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tag -> c Tag #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tag #

toConstr :: Tag -> Constr #

dataTypeOf :: Tag -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Tag) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tag) #

gmapT :: (forall b. Data b => b -> b) -> Tag -> Tag #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQ :: (forall d. Data d => d -> u) -> Tag -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Tag -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

Read Tag Source # 
Show Tag Source # 

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 

Associated Types

type Rep Tag :: * -> * #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Hashable Tag Source # 

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

FromJSON Tag Source # 
ToJSON Tag Source # 
NFData Tag Source # 

Methods

rnf :: Tag -> () #

type Rep Tag Source # 
type Rep Tag = D1 (MetaData "Tag" "Network.AWS.CloudHSMv2.Types.Product" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) (C1 (MetaCons "Tag'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tagKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tagValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

tag Source #

Arguments

:: Text

tagKey

-> Text

tagValue

-> Tag 

Creates a value of Tag with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tagKey :: Lens' Tag Text Source #

The key of the tag.

tagValue :: Lens' Tag Text Source #

The value of the tag.