code: func (c *StorageGateway) DeleteVolume(input *DeleteVolumeInput) (*DeleteVolumeOutput, error) {
  	req, out := c.DeleteVolumeRequest(input)
  	return out, req.Send()
  }
docs: // DeleteVolume API operation for AWS Storage Gateway.
  //
  // Deletes the specified storage volume that you previously created using the
  // CreateCachediSCSIVolume or CreateStorediSCSIVolume API. This operation is
  // only supported in the cached volume and stored volume types. For stored volume
  // gateways, the local disk that was configured as the storage volume is not
  // deleted. You can reuse the local disk to create another storage volume.
  //
  // Before you delete a volume, make sure there are no iSCSI connections to the
  // volume you are deleting. You should also make sure there is no snapshot in
  // progress. You can use the Amazon Elastic Compute Cloud (Amazon EC2) API to
  // query snapshots on the volume you are deleting and check the snapshot status.
  // For more information, go to DescribeSnapshots (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html)
  // in the Amazon Elastic Compute Cloud API Reference.
  //
  // In the request, you must provide the Amazon Resource Name (ARN) of the storage
  // volume you want to delete.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for AWS Storage Gateway's
  // API operation DeleteVolume for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeInvalidGatewayRequestException "InvalidGatewayRequestException"
  //   An exception occurred because an invalid gateway request was issued to the
  //   service. For more information, see the error and message fields.
  //
  //   * ErrCodeInternalServerError "InternalServerError"
  //   An internal server error has occurred during the request. For more information,
  //   see the error and message fields.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolume