storagegateway_list_gateways: Lists gateways owned by an AWS account in an AWS Region...

Description Usage Arguments Value Request syntax Examples

View source: R/storagegateway_operations.R

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

1

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.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
list(
  Gateways = list(
    list(
      GatewayId = "string",
      GatewayARN = "string",
      GatewayType = "string",
      GatewayOperationalState = "string",
      GatewayName = "string",
      Ec2InstanceId = "string",
      Ec2InstanceRegion = "string"
    )
  ),
  Marker = "string"
)

Request syntax

1
2
3
4
svc$list_gateways(
  Marker = "string",
  Limit = 123
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# 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"
)

## End(Not run)

paws.storage documentation built on March 7, 2021, 5:07 p.m.