Skip to content

/AWS1/CL_ATH=>LISTDATACATALOGS()

About ListDataCatalogs

Lists the data catalogs in the current Amazon Web Services account.

In the Athena console, data catalogs are listed as "data sources" on the Data sources page under the Data source name column.

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/ATHMAXDATACATALOGSCOUNT /AWS1/ATHMAXDATACATALOGSCOUNT

Specifies the maximum number of data catalogs to return.

IV_WORKGROUP TYPE /AWS1/ATHWORKGROUPNAME /AWS1/ATHWORKGROUPNAME

The name of the workgroup. Required if making an IAM Identity Center request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHLSTDATACATALOGSOUT /AWS1/CL_ATHLSTDATACATALOGSOUT