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:
-
Sign in to the Amazon Web Services Management Console and open the Amazon Glue console at https://console.amazonaws.cn/glue/
. In the navigation pane, under Data catalog, choose Schema registries.
Choose a registry from the list, by checking a box.
In the Action menu, choose Delete registry.
Enter the text
Delete
in the field to confirm deletion.Choose Delete.
The registries you selected are deleted from Amazon Glue.