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

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Data InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

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

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Show InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Generic InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Associated Types

type Rep InitializeCluster :: Type -> Type #

Hashable InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

ToJSON InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

AWSRequest InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Associated Types

type Rs InitializeCluster :: Type #

ToHeaders InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

ToPath InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

ToQuery InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

NFData InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Methods

rnf :: InitializeCluster -> () #

type Rep InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

type Rep InitializeCluster = D1 (MetaData "InitializeCluster" "Network.AWS.CloudHSMv2.InitializeCluster" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "InitializeCluster'" PrefixI True) (S1 (MetaSel (Just "_icClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_icSignedCert") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_icTrustAnchor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs InitializeCluster Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

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

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Data InitializeClusterResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

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

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Show InitializeClusterResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Generic InitializeClusterResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

Associated Types

type Rep InitializeClusterResponse :: Type -> Type #

NFData InitializeClusterResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

type Rep InitializeClusterResponse Source # 
Instance details

Defined in Network.AWS.CloudHSMv2.InitializeCluster

type Rep InitializeClusterResponse = D1 (MetaData "InitializeClusterResponse" "Network.AWS.CloudHSMv2.InitializeCluster" "amazonka-cloudhsmv2-1.6.1-HDPIS5infpK5ykPazFhIIc" False) (C1 (MetaCons "InitializeClusterResponse'" PrefixI True) (S1 (MetaSel (Just "_icrsStateMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_icrsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterState)) :*: S1 (MetaSel (Just "_icrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

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

A description of the cluster's state.