Skip to content

/AWS1/CL_EC2=>DESCRIBELOCALGATEWAYS()

About DescribeLocalGateways

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

Method Signature

IMPORTING

Optional arguments:

IT_LOCALGATEWAYIDS TYPE /AWS1/CL_EC2LOCALGWIDSET_W=>TT_LOCALGATEWAYIDSET TT_LOCALGATEWAYIDSET

The IDs of the local gateways.

IT_FILTERS TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST TT_FILTERLIST

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.

IV_MAXRESULTS TYPE /AWS1/EC2LOCALGWMAXRESULTS /AWS1/EC2LOCALGWMAXRESULTS

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

IV_NEXTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The token for the next page of results.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DESCRLOCALGWSRSLT /AWS1/CL_EC2DESCRLOCALGWSRSLT