Menu
AWS Glue
Developer Guide

Importing an Athena Catalog to AWS 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 – String, 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 Athena Data Catalog to AWS Glue

Request

  • CatalogId – Catalog id string, matching the Single-line string pattern.

    The ID of the catalog to import. Currently, this should be the AWS 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, matching the Single-line string pattern.

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

Response

  • ImportStatus – A CatalogImportStatus object.

    The status of the specified catalog migration.

Errors

  • InternalServiceException

  • OperationTimeoutException