amazonka-storagegateway-0.0.7: Amazon Storage Gateway SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.ListGateways

Contents

Description

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

Synopsis

Request

Request constructor

listGateways :: ListGateways Source

ListGateways constructor.

The fields accessible through corresponding lenses are:

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:

Response lenses