Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data ListVolumes
- listVolumes :: Text -> ListVolumes
- lvGatewayARN :: Lens' ListVolumes Text
- lvLimit :: Lens' ListVolumes (Maybe Natural)
- lvMarker :: Lens' ListVolumes (Maybe Text)
- data ListVolumesResponse
- listVolumesResponse :: ListVolumesResponse
- lvrGatewayARN :: Lens' ListVolumesResponse (Maybe Text)
- lvrMarker :: Lens' ListVolumesResponse (Maybe Text)
- lvrVolumeInfos :: Lens' ListVolumesResponse [VolumeInfo]
Request
data ListVolumes Source
Eq ListVolumes | |
Ord ListVolumes | |
Read ListVolumes | |
Show ListVolumes | |
ToJSON ListVolumes | |
AWSRequest ListVolumes | |
AWSPager ListVolumes | |
ToQuery ListVolumes | |
ToPath ListVolumes | |
ToHeaders ListVolumes | |
type Sv ListVolumes = StorageGateway | |
type Rs ListVolumes = ListVolumesResponse |
Request constructor
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:
lvrGatewayARN
::
Maybe
Text
lvrMarker
::
Maybe
Text
lvrVolumeInfos
::
[VolumeInfo
]