Skip to content

/AWS1/CL_CWE=>LISTARCHIVES()

About ListArchives

Lists your archives. You can either list all the archives or you can provide a prefix to match to the archive names. Filter parameters are exclusive.

Method Signature

IMPORTING

Optional arguments:

IV_NAMEPREFIX TYPE /AWS1/CWEARCHIVENAME /AWS1/CWEARCHIVENAME

A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.

IV_EVENTSOURCEARN TYPE /AWS1/CWEARN /AWS1/CWEARN

The ARN of the event source associated with the archive.

IV_STATE TYPE /AWS1/CWEARCHIVESTATE /AWS1/CWEARCHIVESTATE

The state of the archive.

IV_NEXTTOKEN TYPE /AWS1/CWENEXTTOKEN /AWS1/CWENEXTTOKEN

The token returned by a previous call to retrieve the next set of results.

IV_LIMIT TYPE /AWS1/CWELIMITMAX100 /AWS1/CWELIMITMAX100

The maximum number of results to return.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWELISTARCHIVESRSP /AWS1/CL_CWELISTARCHIVESRSP