amazonka-cloudhsmv2-1.6.1: Amazon CloudHSM V2 SDK.

Copyright(c) 2013-2018 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 (Paginated)

InitializeCluster

CreateHSM

DescribeBackups (Paginated)

DeleteCluster

CreateCluster

DeleteHSM

TagResource

ListTags (Paginated)

UntagResource

Types

BackupPolicy

data BackupPolicy Source #

Constructors

Default 
Instances
Bounded BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Enum BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Eq BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Data BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Read BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Show BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Generic BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Associated Types

type Rep BackupPolicy :: Type -> Type #

Hashable BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

FromJSON BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToHeader BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToQuery BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToByteString BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

FromText BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToText BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

toText :: BackupPolicy -> Text #

NFData BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

rnf :: BackupPolicy -> () #

type Rep BackupPolicy Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

type Rep BackupPolicy = D1 (MetaData "BackupPolicy" "Network.AWS.CloudHSMv2.Types.Sum" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "Default" PrefixI False) (U1 :: Type -> Type))

BackupState

data BackupState Source #

Instances
Bounded BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Enum BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Eq BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Data BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Read BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Show BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Generic BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Associated Types

type Rep BackupState :: Type -> Type #

Hashable BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

FromJSON BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToHeader BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToQuery BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToByteString BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

FromText BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToText BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

toText :: BackupState -> Text #

NFData BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

rnf :: BackupState -> () #

type Rep BackupState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

type Rep BackupState = D1 (MetaData "BackupState" "Network.AWS.CloudHSMv2.Types.Sum" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "BSCreateInProgress" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "BSDeleted" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BSReady" PrefixI False) (U1 :: Type -> Type)))

ClusterState

data ClusterState Source #

Instances
Bounded ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Enum ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Eq ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Data ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Read ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Show ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Generic ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Associated Types

type Rep ClusterState :: Type -> Type #

Hashable ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

FromJSON ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToHeader ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToQuery ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToByteString ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

FromText ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToText ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

toText :: ClusterState -> Text #

NFData ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

rnf :: ClusterState -> () #

type Rep ClusterState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

type Rep ClusterState = D1 (MetaData "ClusterState" "Network.AWS.CloudHSMv2.Types.Sum" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (((C1 (MetaCons "Active" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CreateInProgress" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Degraded" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DeleteInProgress" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Deleted" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InitializeInProgress" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Initialized" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Uninitialized" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UpdateInProgress" PrefixI False) (U1 :: Type -> Type)))))

HSMState

data HSMState Source #

Instances
Bounded HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Enum HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Eq HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Data HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Read HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Show HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Generic HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Associated Types

type Rep HSMState :: Type -> Type #

Methods

from :: HSMState -> Rep HSMState x #

to :: Rep HSMState x -> HSMState #

Hashable HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

hashWithSalt :: Int -> HSMState -> Int #

hash :: HSMState -> Int #

FromJSON HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToHeader HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

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

ToQuery HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToByteString HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

toBS :: HSMState -> ByteString #

FromText HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

ToText HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

toText :: HSMState -> Text #

NFData HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

Methods

rnf :: HSMState -> () #

type Rep HSMState Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Sum

type Rep HSMState = D1 (MetaData "HSMState" "Network.AWS.CloudHSMv2.Types.Sum" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) ((C1 (MetaCons "HSActive" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "HSCreateInProgress" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "HSDegraded" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "HSDeleteInProgress" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "HSDeleted" PrefixI False) (U1 :: Type -> Type))))

Backup

data Backup Source #

Contains information about a backup of an AWS CloudHSM cluster.

See: backup smart constructor.

Instances
Eq Backup Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

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

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

Data Backup Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Show Backup Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Generic Backup Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Associated Types

type Rep Backup :: Type -> Type #

Methods

from :: Backup -> Rep Backup x #

to :: Rep Backup x -> Backup #

Hashable Backup Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

hashWithSalt :: Int -> Backup -> Int #

hash :: Backup -> Int #

FromJSON Backup Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

NFData Backup Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

rnf :: Backup -> () #

type Rep Backup Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

type Rep Backup = D1 (MetaData "Backup" "Network.AWS.CloudHSMv2.Types.Product" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "Backup'" PrefixI True) ((S1 (MetaSel (Just "_bClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bCreateTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_bBackupState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BackupState)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Data Certificates Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Show Certificates Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Generic Certificates Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Associated Types

type Rep Certificates :: Type -> Type #

Hashable Certificates Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

FromJSON Certificates Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

NFData Certificates Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

rnf :: Certificates -> () #

type Rep Certificates Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

type Rep Certificates = D1 (MetaData "Certificates" "Network.AWS.CloudHSMv2.Types.Product" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "Certificates'" PrefixI True) ((S1 (MetaSel (Just "_cManufacturerHardwareCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cClusterCSR") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cHSMCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cClusterCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

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

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

Data Cluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Show Cluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Generic Cluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Associated Types

type Rep Cluster :: Type -> Type #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

Hashable Cluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

FromJSON Cluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

NFData Cluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

rnf :: Cluster -> () #

type Rep Cluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

type Rep Cluster = D1 (MetaData "Cluster" "Network.AWS.CloudHSMv2.Types.Product" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "Cluster'" PrefixI True) (((S1 (MetaSel (Just "_cPreCoPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cStateMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterState)))) :*: (S1 (MetaSel (Just "_cSubnetMapping") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: (S1 (MetaSel (Just "_cHSMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HSM])) :*: S1 (MetaSel (Just "_cVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_cSourceBackupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cCertificates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Certificates)) :*: S1 (MetaSel (Just "_cSecurityGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_cClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cCreateTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_cBackupPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BackupPolicy)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

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

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

Data HSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Show HSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

showsPrec :: Int -> HSM -> ShowS #

show :: HSM -> String #

showList :: [HSM] -> ShowS #

Generic HSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Associated Types

type Rep HSM :: Type -> Type #

Methods

from :: HSM -> Rep HSM x #

to :: Rep HSM x -> HSM #

Hashable HSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

hashWithSalt :: Int -> HSM -> Int #

hash :: HSM -> Int #

FromJSON HSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

NFData HSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

rnf :: HSM -> () #

type Rep HSM Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

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

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

Data Tag Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Show Tag Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Hashable Tag Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

FromJSON Tag Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

NFData Tag Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

Methods

rnf :: Tag -> () #

type Rep Tag Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.Types.Product

type Rep Tag = D1 (MetaData "Tag" "Network.AWS.CloudHSMv2.Types.Product" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "Tag'" PrefixI True) (S1 (MetaSel (Just "_tagKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_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.