AWS SDK for .NET Documentation
ListGateways Method (listGatewaysRequest)
AmazonAmazon.StorageGatewayAmazonStorageGatewayListGateways(ListGatewaysRequest) Did this page help you?   Yes   No    Tell us about it...

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.

Declaration Syntax
C#
ListGatewaysResponse ListGateways(
	ListGatewaysRequest listGatewaysRequest
)
Parameters
listGatewaysRequest (ListGatewaysRequest)
Container for the necessary parameters to execute the ListGateways service method on AmazonStorageGateway.
Return Value
The response from the ListGateways service method, as returned by AmazonStorageGateway.
Exceptions

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