AWS SDK for .NET Documentation
ListVolumes Method (listVolumesRequest)
AmazonAmazon.StorageGatewayAmazonStorageGatewayClientListVolumes(ListVolumesRequest) Did this page help you?   Yes   No    Tell us about it...

This operation 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 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.

Declaration Syntax
C#
public ListVolumesResponse ListVolumes(
	ListVolumesRequest listVolumesRequest
)
Parameters
listVolumesRequest (ListVolumesRequest)
Container for the necessary parameters to execute the ListVolumes service method on AmazonStorageGateway.
Return Value
The response from the ListVolumes service method, as returned by AmazonStorageGateway.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)