Skip to content

List Gateways

backupgateway_list_gateways R Documentation

Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region

Description

Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region. The returned list is ordered by gateway Amazon Resource Name (ARN).

Usage

backupgateway_list_gateways(MaxResults, NextToken)

Arguments

MaxResults

The maximum number of gateways to list.

NextToken

The next item following a partial list of returned resources. For example, if a request is made to return MaxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

Value

A list with the following syntax:

list(
  Gateways = list(
    list(
      GatewayArn = "string",
      GatewayDisplayName = "string",
      GatewayType = "BACKUP_VM",
      HypervisorId = "string",
      LastSeenTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_gateways(
  MaxResults = 123,
  NextToken = "string"
)