Safe Haskell | None |
---|---|
Language | Haskell2010 |
This operation lists gateways owned by an AWS account in a region specified in the request. The returned list is ordered by gateway Amazon Resource Name (ARN).
By default, the operation returns a maximum of 100 gateways. This operation supports pagination that allows you to optionally reduce the number of gateways returned in a response.
If you have more gateways than are returned in a response-that is, the response returns only a truncated list of your gateways-the response contains a marker that you can specify in your next request to fetch the next page of gateways.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_ListGateways.html
- data ListGateways
- listGateways :: ListGateways
- lgLimit :: Lens' ListGateways (Maybe Natural)
- lgMarker :: Lens' ListGateways (Maybe Text)
- data ListGatewaysResponse
- listGatewaysResponse :: ListGatewaysResponse
- lgrGateways :: Lens' ListGatewaysResponse [GatewayInfo]
- lgrMarker :: Lens' ListGatewaysResponse (Maybe Text)
Request
data ListGateways Source
Request constructor
Request lenses
lgLimit :: Lens' ListGateways (Maybe Natural) Source
Specifies that the list of gateways returned be limited to the specified number of items.
lgMarker :: Lens' ListGateways (Maybe Text) Source
An opaque string that indicates the position at which to begin the returned list of gateways.
Response
Response constructor
listGatewaysResponse :: ListGatewaysResponse Source
ListGatewaysResponse
constructor.
The fields accessible through corresponding lenses are:
lgrGateways
::
[GatewayInfo
]lgrMarker
::
Maybe
Text