amazonka-cloudhsmv2-2.0: Amazon CloudHSM V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudHSMV2.InitializeCluster

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

data InitializeCluster Source #

See: newInitializeCluster smart constructor.

Constructors

InitializeCluster' 

Fields

  • clusterId :: Text

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

  • signedCert :: Text

    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.

  • trustAnchor :: Text

    The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. You must use a self-signed certificate. The certificate used to sign the HSM CSR must be directly available, and thus must be the root certificate. The certificate must be in PEM format and can contain a maximum of 5000 characters.

Instances

Instances details
ToJSON InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

ToHeaders InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

ToPath InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

ToQuery InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

AWSRequest InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Associated Types

type AWSResponse InitializeCluster #

Generic InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Associated Types

type Rep InitializeCluster :: Type -> Type #

Read InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Show InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

NFData InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Methods

rnf :: InitializeCluster -> () #

Eq InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Hashable InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

type AWSResponse InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

type Rep InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

type Rep InitializeCluster = D1 ('MetaData "InitializeCluster" "Amazonka.CloudHSMV2.InitializeCluster" "amazonka-cloudhsmv2-2.0-JPONnjzt63Q1wP3HCntyXZ" 'False) (C1 ('MetaCons "InitializeCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "signedCert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "trustAnchor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newInitializeCluster Source #

Create a value of InitializeCluster 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:

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

$sel:signedCert:InitializeCluster', initializeCluster_signedCert - 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.

$sel:trustAnchor:InitializeCluster', initializeCluster_trustAnchor - The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. You must use a self-signed certificate. The certificate used to sign the HSM CSR must be directly available, and thus must be the root certificate. The certificate must be in PEM format and can contain a maximum of 5000 characters.

Request Lenses

initializeCluster_clusterId :: Lens' InitializeCluster Text Source #

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

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

initializeCluster_trustAnchor :: Lens' InitializeCluster Text Source #

The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. You must use a self-signed certificate. The certificate used to sign the HSM CSR must be directly available, and thus must be the root certificate. The certificate must be in PEM format and can contain a maximum of 5000 characters.

Destructuring the Response

data InitializeClusterResponse Source #

See: newInitializeClusterResponse smart constructor.

Constructors

InitializeClusterResponse' 

Fields

Instances

Instances details
Generic InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Associated Types

type Rep InitializeClusterResponse :: Type -> Type #

Read InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Show InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

NFData InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Eq InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

type Rep InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

type Rep InitializeClusterResponse = D1 ('MetaData "InitializeClusterResponse" "Amazonka.CloudHSMV2.InitializeCluster" "amazonka-cloudhsmv2-2.0-JPONnjzt63Q1wP3HCntyXZ" 'False) (C1 ('MetaCons "InitializeClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterState)) :*: (S1 ('MetaSel ('Just "stateMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newInitializeClusterResponse Source #

Create a value of InitializeClusterResponse 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:

InitializeClusterResponse, initializeClusterResponse_state - The cluster's state.

InitializeClusterResponse, initializeClusterResponse_stateMessage - A description of the cluster's state.

$sel:httpStatus:InitializeClusterResponse', initializeClusterResponse_httpStatus - The response's http status code.

Response Lenses