Stop sharing a Amazon Cloud Map namespace - Amazon Cloud Map
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).

Stop sharing a Amazon Cloud Map namespace

When a namespace is no longer shared, the namespace and any services and instances associated with it can no longer be accessed by consumer Amazon Web Services accounts. This includes resources created in the namespace by consumers when they had access to the namespace.

To stop sharing a namespace that you own, you must remove it from the resource share. You can do this using the Amazon RAM console or the Amazon CLI.

Amazon RAM console
To stop sharing a namespace that you own using the Amazon RAM console

See Updating a Resource Share in the Amazon RAM User Guide.

Amazon CLI
To stop sharing a namespace that you own using the Amazon CLI

Use the disassociate-resource-share command.