Skip to content

/AWS1/CL_DSY=>LISTLOCATIONS()

About ListLocations

Returns a list of source and destination locations.

If you have more locations than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a token that you can specify in your next request to fetch the next page of locations.

Method Signature

IMPORTING

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/DSYMAXRESULTS /AWS1/DSYMAXRESULTS

The maximum number of locations to return.

IV_NEXTTOKEN TYPE /AWS1/DSYNEXTTOKEN /AWS1/DSYNEXTTOKEN

An opaque string that indicates the position at which to begin the next list of locations.

IT_FILTERS TYPE /AWS1/CL_DSYLOCATIONFILTER=>TT_LOCATIONFILTERS TT_LOCATIONFILTERS

You can use API filters to narrow down the list of resources returned by ListLocations. For example, to retrieve all tasks on a specific source location, you can use ListLocations with filter name LocationType S3 and Operator Equals.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DSYLISTLOCSRESPONSE /AWS1/CL_DSYLISTLOCSRESPONSE