amazonka-cloudhsm-2.0: Amazon CloudHSM 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.CloudHSM.CreateLunaClient

Description

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Creates an HSM client.

Synopsis

Creating a Request

data CreateLunaClient Source #

Contains the inputs for the CreateLunaClient action.

See: newCreateLunaClient smart constructor.

Constructors

CreateLunaClient' 

Fields

  • label :: Maybe Text

    The label for the client.

  • certificate :: Text

    The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.

Instances

Instances details
ToJSON CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

ToHeaders CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

ToPath CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

ToQuery CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

AWSRequest CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

Associated Types

type AWSResponse CreateLunaClient #

Generic CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

Associated Types

type Rep CreateLunaClient :: Type -> Type #

Read CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

Show CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

NFData CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

Methods

rnf :: CreateLunaClient -> () #

Eq CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

Hashable CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

type AWSResponse CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

type Rep CreateLunaClient Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

type Rep CreateLunaClient = D1 ('MetaData "CreateLunaClient" "Amazonka.CloudHSM.CreateLunaClient" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "CreateLunaClient'" 'PrefixI 'True) (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateLunaClient Source #

Create a value of CreateLunaClient 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:label:CreateLunaClient', createLunaClient_label - The label for the client.

$sel:certificate:CreateLunaClient', createLunaClient_certificate - The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.

Request Lenses

createLunaClient_certificate :: Lens' CreateLunaClient Text Source #

The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.

Destructuring the Response

data CreateLunaClientResponse Source #

Contains the output of the CreateLunaClient action.

See: newCreateLunaClientResponse smart constructor.

Constructors

CreateLunaClientResponse' 

Fields

Instances

Instances details
Generic CreateLunaClientResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

Associated Types

type Rep CreateLunaClientResponse :: Type -> Type #

Read CreateLunaClientResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

Show CreateLunaClientResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

NFData CreateLunaClientResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

Eq CreateLunaClientResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

type Rep CreateLunaClientResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateLunaClient

type Rep CreateLunaClientResponse = D1 ('MetaData "CreateLunaClientResponse" "Amazonka.CloudHSM.CreateLunaClient" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "CreateLunaClientResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateLunaClientResponse Source #

Create a value of CreateLunaClientResponse 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:clientArn:CreateLunaClientResponse', createLunaClientResponse_clientArn - The ARN of the client.

$sel:httpStatus:CreateLunaClientResponse', createLunaClientResponse_httpStatus - The response's http status code.

Response Lenses