Dissociate principals from a resource share and remove a resource share - Amazon SageMaker AI
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).

Dissociate principals from a resource share and remove a resource share

The resource owner can dissociate principals from the resource share for a set of permissions or delete the entire resource share using the Amazon CLI or the Amazon RAM console. For details about how to dissociate principals from a resource share, see Update a Resource Share in the Amazon RAM documentation. For details about how to delete a resource share, see Deleting a resource share in the Amazon RAM documentation.

Amazon CLI

To dissociate principals from a resource share, use the command dissociate-resource-share as follows:

aws ram disassociate-resource-share --resource-share-arn <resource-share-arn> --principals <principal>

To delete a resource share, use the command delete-resource-share as follows:

aws ram delete-resource-share --resource-share-arn <resource-share-arn>

Amazon RAM console

For more details about how to dissociate principals from a resource share, see Update a Resource Share in the Amazon RAM documentation. For more details about how to delete a resource share, see Deleting a resource share in the Amazon RAM documentation.