Deleting a registry - 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 (PDF).

Deleting a registry

You may want to delete a registry when the schemas it contains should no longer be organized under that registry. You will need to reassign those schemas to another registry.

Deleting one or more registries is a permanent action that cannot be undone. Make sure that the registry or registries no longer needed.

The default registry can be deleted using the Amazon CLI.

Amazon Glue API

To delete the entire registry including the schema and all of its versions, call the DeleteRegistry action (Python: delete_registry) API. Specify a RegistryId structure to identify the registry.

For example:

aws glue delete-registry --registry-id RegistryArn="arn:aws:glue:us-east-2:901234567890:registry/registryName1"
aws glue delete-registry --registry-id RegistryName="TestRegistry-deletebyname"

To get the status of the delete operation, you can call the GetRegistry API after the asynchronous call.

Amazon Glue console

To delete a registry from the Amazon Glue console:

  1. Sign in to the Amazon Web Services Management Console and open the Amazon Glue console at https://console.amazonaws.cn/glue/.

  2. In the navigation pane, under Data catalog, choose Schema registries.

  3. Choose a registry from the list, by checking a box.

  4. In the Action menu, choose Delete registry.

  5. Enter the text Delete in the field to confirm deletion.

  6. Choose Delete.

The registries you selected are deleted from Amazon Glue.