CloudHSM / Client / modify_hapg

modify_hapg#

CloudHSM.Client.modify_hapg(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.modify_hapg(
    HapgArn='string',
    Label='string',
    PartitionSerialList=[
        'string',
    ]
)
Parameters:
  • HapgArn (string) –

    [REQUIRED]

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

  • Label (string) – The new label for the high-availability partition group.

  • PartitionSerialList (list) –

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

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'HapgArn': 'string'
}

Response Structure

  • (dict) –

    • HapgArn (string) –

      The ARN of the high-availability partition group.

Exceptions

  • CloudHSM.Client.exceptions.CloudHsmServiceException

  • CloudHSM.Client.exceptions.CloudHsmInternalException

  • CloudHSM.Client.exceptions.InvalidRequestException