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

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.

Modifies an existing high-availability partition group.

Synopsis

Creating a Request

data ModifyHapg Source #

See: newModifyHapg smart constructor.

Constructors

ModifyHapg' 

Fields

  • label :: Maybe Text

    The new label for the high-availability partition group.

  • partitionSerialList :: Maybe [Text]

    The list of partition serial numbers to make members of the high-availability partition group.

  • hapgArn :: Text

    The ARN of the high-availability partition group to modify.

Instances

Instances details
ToJSON ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

ToHeaders ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

Methods

toHeaders :: ModifyHapg -> [Header] #

ToPath ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

ToQuery ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

AWSRequest ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

Associated Types

type AWSResponse ModifyHapg #

Generic ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

Associated Types

type Rep ModifyHapg :: Type -> Type #

Read ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

Show ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

NFData ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

Methods

rnf :: ModifyHapg -> () #

Eq ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

Hashable ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

type AWSResponse ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

type Rep ModifyHapg Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

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

newModifyHapg Source #

Arguments

:: Text

ModifyHapg

-> ModifyHapg 

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

$sel:partitionSerialList:ModifyHapg', modifyHapg_partitionSerialList - The list of partition serial numbers to make members of the high-availability partition group.

ModifyHapg, modifyHapg_hapgArn - The ARN of the high-availability partition group to modify.

Request Lenses

modifyHapg_label :: Lens' ModifyHapg (Maybe Text) Source #

The new label for the high-availability partition group.

modifyHapg_partitionSerialList :: Lens' ModifyHapg (Maybe [Text]) Source #

The list of partition serial numbers to make members of the high-availability partition group.

modifyHapg_hapgArn :: Lens' ModifyHapg Text Source #

The ARN of the high-availability partition group to modify.

Destructuring the Response

data ModifyHapgResponse Source #

See: newModifyHapgResponse smart constructor.

Constructors

ModifyHapgResponse' 

Fields

Instances

Instances details
Generic ModifyHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

Associated Types

type Rep ModifyHapgResponse :: Type -> Type #

Read ModifyHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

Show ModifyHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

NFData ModifyHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

Methods

rnf :: ModifyHapgResponse -> () #

Eq ModifyHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

type Rep ModifyHapgResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHapg

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

newModifyHapgResponse Source #

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

ModifyHapg, modifyHapgResponse_hapgArn - The ARN of the high-availability partition group.

$sel:httpStatus:ModifyHapgResponse', modifyHapgResponse_httpStatus - The response's http status code.

Response Lenses

modifyHapgResponse_hapgArn :: Lens' ModifyHapgResponse (Maybe Text) Source #

The ARN of the high-availability partition group.