code: func (c *StorageGateway) ListVolumes(input *ListVolumesInput) (*ListVolumesOutput, error) {
  	req, out := c.ListVolumesRequest(input)
  	return out, req.Send()
  }
docs: // ListVolumes API operation for AWS Storage Gateway.
  //
  // Lists the iSCSI stored volumes of a gateway. Results are sorted by volume
  // ARN. The response includes only the volume ARNs. If you want additional volume
  // information, use the DescribeStorediSCSIVolumes or the DescribeCachediSCSIVolumes
  // API.
  //
  // The operation supports pagination. By default, the operation returns a maximum
  // of up to 100 volumes. You can optionally specify the Limit field in the body
  // to limit the number of volumes in the response. If the number of volumes
  // returned in the response is truncated, the response includes a Marker field.
  // You can use this Marker value in your subsequent request to retrieve the
  // next set of volumes. This operation is only supported in the cached volume
  // and stored volume gateway types.
  //
  // 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 ListVolumes 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/ListVolumes