v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1490380385.5 KB

Lists gateways owned by an Amazon Web Services account in an Amazon Web Services 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.

post/#X-Amz-Target=StorageGateway_20130630.ListGateways

Query parameters

Limitstring

Pagination limit

Markerstring

Pagination token

Headers

X-Amz-Target'StorageGateway_20130630.ListGateways' required

Request body

Markerstring

An opaque string that indicates the position at which to begin the returned list of gateways.

Limitinteger

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

Response

Success

Markerstring

Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.

Example response

{
  "Gateways": [
    {
      "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
    },
    {
      "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-23A4567C"
    }
  ],
  "Marker": "1"
}