Viewing catalog objects - Amazon Lake Formation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Viewing catalog objects

For each available data source, Amazon Glue creates a corresponding catalog in the Amazon Glue Data Catalog. After you create a catalog, you can view the databases and tables in the catalog using the Lake Formation console or Amazon CLI. For

  1. Open the Lake Formation console at https://console.amazonaws.cn/lakeformation/.

  2. Choose Catalogs under Data Catalog. The catalogs page shows the catalogs that you've permissions on.

    View catalogs.
  3. Choose a catalog from the list to view the databases and tables contained in the catalog. The list contains the databases in your account and resource links, which are links to shared databases and tables in external accounts, and are used for cross-account access to data in the data lake.

    View catalogs/databases.
  4. Choose Tables option under View to view and manage the tables in the database.

Amazon CLI examples for viewing catalogs and databases

The following example shows how to view a catalog using Amazon CLI

aws glue get-catalog \ --catalog-id 123456789012:dynamodbcatalog

The following example shows how to request all catalogs in the account.

aws glue get-catalogs \ --recursive

The following example request shows how to get the databases in the catalog.

aws glue get-database \ --catalog-id 123456789012:dynamodbcatalog --database-name database name