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

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
Eq InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Read InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Show InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Generic InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Associated Types

type Rep InitializeCluster :: Type -> Type #

NFData InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Methods

rnf :: InitializeCluster -> () #

Hashable InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

ToJSON InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

AWSRequest InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Associated Types

type AWSResponse 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

type Rep InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

type Rep InitializeCluster = D1 ('MetaData "InitializeCluster" "Amazonka.CloudHSMV2.InitializeCluster" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" '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))))
type AWSResponse InitializeCluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

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:

$sel:clusterId: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
Eq InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Read InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Show InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Generic InitializeClusterResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.InitializeCluster

Associated Types

type Rep InitializeClusterResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "InitializeClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stateMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterState)) :*: 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:

$sel:stateMessage:InitializeClusterResponse', initializeClusterResponse_stateMessage - A description of the cluster's state.

$sel:state:InitializeClusterResponse', initializeClusterResponse_state - The cluster's state.

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

Response Lenses