libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm
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.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
Eq CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Read CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Show CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Generic CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Associated Types

type Rep CreateHapg :: Type -> Type #

NFData CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Methods

rnf :: CreateHapg -> () #

Hashable CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

ToJSON CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

AWSRequest CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Associated Types

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

type Rep CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

type Rep CreateHapg = D1 ('MetaData "CreateHapg" "Amazonka.CloudHSM.CreateHapg" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" 'False) (C1 ('MetaCons "CreateHapg'" 'PrefixI 'True) (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

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

Defined in Amazonka.CloudHSM.CreateHapg

Read CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Show CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Generic CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Associated Types

type Rep CreateHapgResponse :: Type -> Type #

NFData CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

Methods

rnf :: CreateHapgResponse -> () #

type Rep CreateHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.CreateHapg

type Rep CreateHapgResponse = D1 ('MetaData "CreateHapgResponse" "Amazonka.CloudHSM.CreateHapg" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" '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.