Importing an Athena catalog to Amazon Glue - Amazon Glue
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.

Importing an Athena catalog to Amazon Glue

The Migration API describes Amazon Glue data types and operations having to do with migrating an Athena Data catalog to Amazon Glue.

Data types

CatalogImportStatus structure

A structure containing migration status information.

Fields

  • ImportCompleted – Boolean.

    True if the migration has completed, or False otherwise.

  • ImportTime – Timestamp.

    The time that the migration was started.

  • ImportedBy – UTF-8 string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The name of the person who initiated the migration.

Operations

ImportCatalogToGlue action (Python: import_catalog_to_glue)

Imports an existing Amazon Athena Data Catalog to Amazon Glue.

Request

  • CatalogId – Catalog id string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The ID of the catalog to import. Currently, this should be the Amazon account ID.

Response

  • No Response parameters.

Errors

  • InternalServiceException

  • OperationTimeoutException

GetCatalogImportStatus action (Python: get_catalog_import_status)

Retrieves the status of a migration operation.

Request

  • CatalogId – Catalog id string, not less than 1 or more than 255 bytes long, matching the Single-line string pattern.

    The ID of the catalog to migrate. Currently, this should be the Amazon account ID.

Response

  • ImportStatus – A CatalogImportStatus object.

    The status of the specified catalog migration.

Errors

  • InternalServiceException

  • OperationTimeoutException