Learn R Programming

paws.compute (version 0.7.0)

ec2_describe_local_gateways: Describes one or more local gateways

Description

Describes one or more local gateways. By default, all local gateways are described. Alternatively, you can filter the results.

See https://www.paws-r-sdk.com/docs/ec2_describe_local_gateways/ for full documentation.

Usage

ec2_describe_local_gateways(
  LocalGatewayIds = NULL,
  Filters = NULL,
  MaxResults = NULL,
  NextToken = NULL,
  DryRun = NULL
)

Arguments

LocalGatewayIds

The IDs of the local gateways.

Filters

One or more filters.

  • local-gateway-id - The ID of a local gateway.

  • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

  • owner-id - The ID of the Amazon Web Services account that owns the local gateway.

  • state - The state of the association.

MaxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

NextToken

The token for the next page of results.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.