amazonka-storagegateway-0.0.7: Amazon Storage Gateway SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.ListVolumes

Contents

Description

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.

http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_ListVolumes.html

Synopsis

Request

Request constructor

listVolumes Source

ListVolumes constructor.

The fields accessible through corresponding lenses are:

Request lenses

lvLimit :: Lens' ListVolumes (Maybe Natural) Source

Specifies that the list of volumes returned be limited to the specified number of items.

lvMarker :: Lens' ListVolumes (Maybe Text) Source

A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request.

Response

Response constructor

listVolumesResponse :: ListVolumesResponse Source

ListVolumesResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses