Skip to content

/AWS1/CL_ATH=>LISTNAMEDQUERIES()

About ListNamedQueries

Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the specified workgroup. If a workgroup is not specified, lists the saved queries for the primary workgroup.

Method Signature

IMPORTING

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/ATHTOKEN /AWS1/ATHTOKEN

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

IV_MAXRESULTS TYPE /AWS1/ATHMAXNAMEDQUERIESCOUNT /AWS1/ATHMAXNAMEDQUERIESCOUNT

The maximum number of queries to return in this request.

IV_WORKGROUP TYPE /AWS1/ATHWORKGROUPNAME /AWS1/ATHWORKGROUPNAME

The name of the workgroup from which the named queries are being returned. If a workgroup is not specified, the saved queries for the primary workgroup are returned.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHLSTNAMEDQUERIESOUT /AWS1/CL_ATHLSTNAMEDQUERIESOUT