code: @Override
      public DeleteHsmResult deleteHsm(DeleteHsmRequest request) {
          request = beforeClientExecution(request);
          return executeDeleteHsm(request);
      }
docs: <p>
  Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's
  elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To
  find these values, use <a>DescribeClusters</a>.
  </p>
  
  @param deleteHsmRequest
  @return Result of the DeleteHsm operation returned by the service.
  @throws CloudHsmInternalFailureException
  The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
  @throws CloudHsmServiceException
  The request was rejected because an error occurred.
  @throws CloudHsmResourceNotFoundException
  The request was rejected because it refers to a resource that cannot be found.
  @throws CloudHsmInvalidRequestException
  The request was rejected because it is not a valid request.
  @throws CloudHsmAccessDeniedException
  The request was rejected because the requester does not have permission to perform the requested
  operation.
  @sample AWSCloudHSMV2.DeleteHsm
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteHsm" target="_top">AWS API
  Documentation</a>