Learn R Programming

paws.storage (version 0.1.12)

storagegateway_list_gateways: Lists gateways owned by an AWS account in an AWS Region specified in the request

Description

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

Usage

storagegateway_list_gateways(Marker, Limit)

Value

A list with the following syntax:

list(
  Gateways = list(
    list(
      GatewayId = "string",
      GatewayARN = "string",
      GatewayType = "string",
      GatewayOperationalState = "string",
      GatewayName = "string",
      Ec2InstanceId = "string",
      Ec2InstanceRegion = "string"
    )
  ),
  Marker = "string"
)

Arguments

Marker

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

Limit

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

Request syntax

svc$list_gateways(
  Marker = "string",
  Limit = 123
)

Examples

Run this code
if (FALSE) {
# Lists gateways owned by an AWS account in a specified region as
# requested. Results are sorted by gateway ARN up to a maximum of 100
# gateways.
svc$list_gateways(
  Limit = 2L,
  Marker = "1"
)
}

Run the code above in your browser using DataLab