code: @Override
      public ModifyHapgResult modifyHapg(ModifyHapgRequest request) {
          request = beforeClientExecution(request);
          return executeModifyHapg(request);
      }
docs: <p>
  This is documentation for <b>AWS CloudHSM Classic</b>. For more information, see <a
  href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM Classic FAQs</a>, the <a
  href="http://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS CloudHSM Classic User Guide</a>, and the <a
  href="http://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.
  </p>
  <p>
  <b>For information about the current version of AWS CloudHSM</b>, see <a
  href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the <a
  href="http://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>, and the <a
  href="http://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API Reference</a>.
  </p>
  <p>
  Modifies an existing high-availability partition group.
  </p>
  
  @param modifyHapgRequest
  @return Result of the ModifyHapg operation returned by the service.
  @throws CloudHsmServiceException
  Indicates that an exception occurred in the AWS CloudHSM service.
  @throws CloudHsmInternalException
  Indicates that an internal error occurred.
  @throws InvalidRequestException
  Indicates that one or more of the request parameters are not valid.
  @sample AWSCloudHSM.ModifyHapg
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHapg" target="_top">AWS API
  Documentation</a>