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

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 a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.

Synopsis

Creating a Request

data CreateHapg Source #

Contains the inputs for the CreateHapgRequest action.

See: newCreateHapg smart constructor.

Constructors

CreateHapg' 

Fields

  • label :: Text

    The label of the new high-availability partition group.

Instances

Instances details
ToJSON CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

ToHeaders CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Methods

toHeaders :: CreateHapg -> [Header] #

ToPath CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

ToQuery CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

AWSRequest CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Associated Types

type AWSResponse CreateHapg #

Generic CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Associated Types

type Rep CreateHapg :: Type -> Type #

Read CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Show CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

NFData CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Methods

rnf :: CreateHapg -> () #

Eq CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Hashable CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

type AWSResponse CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

type Rep CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

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

newCreateHapg Source #

Create a value of CreateHapg 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:CreateHapg', createHapg_label - The label of the new high-availability partition group.

Request Lenses

createHapg_label :: Lens' CreateHapg Text Source #

The label of the new high-availability partition group.

Destructuring the Response

data CreateHapgResponse Source #

Contains the output of the CreateHAPartitionGroup action.

See: newCreateHapgResponse smart constructor.

Constructors

CreateHapgResponse' 

Fields

Instances

Instances details
Generic CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Associated Types

type Rep CreateHapgResponse :: Type -> Type #

Read CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Show CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

NFData CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Methods

rnf :: CreateHapgResponse -> () #

Eq CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

type Rep CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

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

newCreateHapgResponse Source #

Create a value of CreateHapgResponse 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:hapgArn:CreateHapgResponse', createHapgResponse_hapgArn - The ARN of the high-availability partition group.

$sel:httpStatus:CreateHapgResponse', createHapgResponse_httpStatus - The response's http status code.

Response Lenses

createHapgResponse_hapgArn :: Lens' CreateHapgResponse (Maybe Text) Source #

The ARN of the high-availability partition group.