Skip to content

/AWS1/CL_LSA=>GETREGIONS()

About GetRegions

Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the Availability Zones in a region.

Method Signature

IMPORTING

Optional arguments:

IV_INCLUDEAVAILABILITYZONES TYPE /AWS1/LSABOOLEAN /AWS1/LSABOOLEAN

A Boolean value indicating whether to also include Availability Zones in your get regions request. Availability Zones are indicated with a letter: us-east-2a.

IV_INCLRELATIONALDATABASEAZS TYPE /AWS1/LSABOOLEAN /AWS1/LSABOOLEAN

A Boolean value indicating whether to also include Availability Zones for databases in your get regions request. Availability Zones are indicated with a letter (us-east-2a).

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSAGETREGIONSRESULT /AWS1/CL_LSAGETREGIONSRESULT