更新結構描述或登錄檔 - AWS Glue

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

更新結構描述或登錄檔

建立後,您可以編輯結構描述、結構描述版本或登錄檔。

更新登錄檔

您可以使用 AWS Glue API 或 AWS Glue 主控台更新登錄檔。無法編輯現有登錄檔的名稱。您可以編輯登錄檔的描述。

AWS Glue API

若要更新現有的登錄檔,請使用 UpdateRegistry 動作 (Python: update_registry) API。

指定 RegistryId 結構,以指出您要更新的登錄檔。傳遞 Description 以變更登錄檔的描述。

aws glue update-registry --description updatedDescription --registry-id RegistryArn="arn:aws:glue:us-east-2:901234567890:registry/registryName1"
AWS Glue 主控台

使用 AWS Glue 主控台更新登錄檔:

  1. 登入 AWS Management Console ,並在 https://https://console.aws.amazon.com/glue/ 開啟 AWS Glue主控台。

  2. 在導覽窗格的 Data catalog 下,選擇 Schema registries (結構描述登錄檔)。

  3. 從登錄檔清單中選擇登錄檔,方法是勾選其方塊。

  4. Actions (動作) 選單上,選擇 Edit registry (編輯登錄檔)