@Override
    public ListVolumesResult listVolumes(ListVolumesRequest request) {
        request = beforeClientExecution(request);
        return executeListVolumes(request);
    }
@ Override public ListVolumesResult listVolumes ( ListVolumesRequest request ) { request = beforeClientExecution ( request ) ; return executeListVolumes ( request ) ; }
<p>
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 <a>DescribeStorediSCSIVolumes</a> or the
<a>DescribeCachediSCSIVolumes</a> API.
</p>
<p>
The operation supports pagination. By default, the operation returns a maximum of up to 100 volumes. You can
optionally specify the <code>Limit</code> 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.
</p>

@param listVolumesRequest
A JSON object that contains one or more of the following fields:</p>
<ul>
<li>
<p>
<a>ListVolumesInput$Limit</a>
</p>
</li>
<li>
<p>
<a>ListVolumesInput$Marker</a>
</p>
</li>
@return Result of the ListVolumes operation returned by the service.
@throws InvalidGatewayRequestException
An exception occurred because an invalid gateway request was issued to the service. For more information,
see the error and message fields.
@throws InternalServerErrorException
An internal server error has occurred during the request. For more information, see the error and message
fields.
@sample AWSStorageGateway.ListVolumes
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumes" target="_top">AWS API
Documentation</a>