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.InitializeCluster

Contents

Description

Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters .

Synopsis

Creating a Request

initializeCluster Source #

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

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

  • icClusterId - The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters .
  • icSignedCert - The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate must be in PEM format and can contain a maximum of 5000 characters.
  • icTrustAnchor - The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. This can be a root (self-signed) certificate or a certificate chain that begins with the certificate that issued the cluster certificate and ends with a root certificate. The certificate or certificate chain must be in PEM format and can contain a maximum of 5000 characters.

data InitializeCluster Source #

See: initializeCluster smart constructor.

Instances

Eq InitializeCluster Source # 
Data InitializeCluster Source # 

Methods

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

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

toConstr :: InitializeCluster -> Constr #

dataTypeOf :: InitializeCluster -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InitializeCluster Source # 
Show InitializeCluster Source # 
Generic InitializeCluster Source # 
Hashable InitializeCluster Source # 
ToJSON InitializeCluster Source # 
NFData InitializeCluster Source # 

Methods

rnf :: InitializeCluster -> () #

AWSRequest InitializeCluster Source # 
ToQuery InitializeCluster Source # 
ToPath InitializeCluster Source # 
ToHeaders InitializeCluster Source # 
type Rep InitializeCluster Source # 
type Rep InitializeCluster = D1 (MetaData "InitializeCluster" "Network.AWS.CloudHSMv2.InitializeCluster" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) (C1 (MetaCons "InitializeCluster'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_icClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_icSignedCert") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_icTrustAnchor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs InitializeCluster Source # 

Request Lenses

icClusterId :: Lens' InitializeCluster Text Source #

The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters .

icSignedCert :: Lens' InitializeCluster Text Source #

The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate must be in PEM format and can contain a maximum of 5000 characters.

icTrustAnchor :: Lens' InitializeCluster Text Source #

The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. This can be a root (self-signed) certificate or a certificate chain that begins with the certificate that issued the cluster certificate and ends with a root certificate. The certificate or certificate chain must be in PEM format and can contain a maximum of 5000 characters.

Destructuring the Response

initializeClusterResponse Source #

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

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

data InitializeClusterResponse Source #

See: initializeClusterResponse smart constructor.

Instances

Eq InitializeClusterResponse Source # 
Data InitializeClusterResponse Source # 

Methods

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

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

toConstr :: InitializeClusterResponse -> Constr #

dataTypeOf :: InitializeClusterResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InitializeClusterResponse Source # 
Show InitializeClusterResponse Source # 
Generic InitializeClusterResponse Source # 
NFData InitializeClusterResponse Source # 
type Rep InitializeClusterResponse Source # 
type Rep InitializeClusterResponse = D1 (MetaData "InitializeClusterResponse" "Network.AWS.CloudHSMv2.InitializeCluster" "amazonka-cloudhsmv2-1.5.0-9gkNObchpN7FWF7WWGRIob" False) (C1 (MetaCons "InitializeClusterResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_icrsStateMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_icrsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterState))) (S1 (MetaSel (Just Symbol "_icrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

icrsStateMessage :: Lens' InitializeClusterResponse (Maybe Text) Source #

A description of the cluster's state.