

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

# Einen Athena Katalog importieren nach AWS Glue
<a name="aws-glue-api-catalog-migration"></a>

Die Migrations-API beschreibt AWS Glue Datentypen und Vorgänge, die mit der Migration eines Athena Datenkatalogs zu zu tun haben. AWS Glue

## Datentypen
<a name="aws-glue-api-catalog-migration-objects"></a>
+ [CatalogImportStatus Struktur](#aws-glue-api-catalog-migration-CatalogImportStatus)

## CatalogImportStatus Struktur
<a name="aws-glue-api-catalog-migration-CatalogImportStatus"></a>

Eine Struktur, die Migrationsstatusinformationen enthält.

**Felder**
+ `ImportCompleted` – Boolesch.

  `True`, wenn die Migration abgeschlossen ist, andernfalls `False`.
+ `ImportTime` – Zeitstempel.

  Der Zeitpunkt des Beginns der Migration.
+ `ImportedBy` – UTF-8-Zeichenfolge, nicht weniger als 1 oder mehr als 255 Bytes lang, passend zum [Single-line string pattern](aws-glue-api-common.md#aws-glue-api-regex-oneLine).

  Der Name der Person, die die Migration eingeleitet hat.

## Operationen
<a name="aws-glue-api-catalog-migration-actions"></a>
+ [ImportCatalogToGlue Aktion (Python: import\$1catalog\$1to\$1glue)](#aws-glue-api-catalog-migration-ImportCatalogToGlue)
+ [GetCatalogImportStatus Aktion (Python: get\$1catalog\$1import\$1status)](#aws-glue-api-catalog-migration-GetCatalogImportStatus)

## ImportCatalogToGlue Aktion (Python: import\$1catalog\$1to\$1glue)
<a name="aws-glue-api-catalog-migration-ImportCatalogToGlue"></a>

Importiert einen vorhandenen Amazon Athena Athena-Datenkatalog in AWS Glue.

**Anforderung**
+ `CatalogId` – Katalog-ID-Zeichenfolge, nicht weniger als 1 oder mehr als 255 Bytes lang, passend zum [Single-line string pattern](aws-glue-api-common.md#aws-glue-api-regex-oneLine).

  Die ID des Katalogs, der importiert werden soll. Derzeit sollte dies die AWS Konto-ID sein.

**Antwort**
+ *Keine Antwortparameter.*

**Fehler**
+ `InternalServiceException`
+ `OperationTimeoutException`

## GetCatalogImportStatus Aktion (Python: get\$1catalog\$1import\$1status)
<a name="aws-glue-api-catalog-migration-GetCatalogImportStatus"></a>

Ruft den Status einer Migrationsoperation ab.

**Anforderung**
+ `CatalogId` – Katalog-ID-Zeichenfolge, nicht weniger als 1 oder mehr als 255 Bytes lang, passend zum [Single-line string pattern](aws-glue-api-common.md#aws-glue-api-regex-oneLine).

  Die ID des Katalogs, der migriert werden soll. Derzeit sollte dies die Konto-ID sein. AWS 

**Antwort**
+ `ImportStatus` – Ein [CatalogImportStatus](#aws-glue-api-catalog-migration-CatalogImportStatus)-Objekt.

  Der Status der angegebenen Katalogmigration.

**Fehler**
+ `InternalServiceException`
+ `OperationTimeoutException`