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).
Amazon Redshift will no longer support the creation of new Python UDFs starting November 1, 2025.
If you would like to use Python UDFs, create the UDFs prior to that date.
Existing Python UDFs will continue to function as normal. For more information, see the
blog post
.
Deleting a datashare created in your account in
Amazon Redshift
You can delete a datashare created in your account using the console or with
SQL.
- Console
-
To delete a datashare created in your account using the console, first
connect to a database to see the list of datashares created in your
account.
Sign in to the Amazon Web Services Management Console and open the Amazon Redshift console at
https://console.amazonaws.cn/redshiftv2/.
-
On the navigation menu, choose Clusters,
then choose your cluster. The cluster details page appears.
-
Choose Datashares. The datashare list
appears.
-
In the Datashares created in my account
section, choose Connect to database.
-
Choose one or more datashares you want to delete, then choose
Delete. The Delete datashares page
appears.
Deleting a datashare shared with Lake Formation doesn't automatically
remove the associated permissions in Lake Formation. To remove them, go to
the Lake Formation console.
-
Type Delete to confirm deleting the
specified datashares.
-
Choose Delete.
After datashares are deleted, datashare consumers lose access to the
datashares.
- SQL
-
You can use SQL to delete the datashare objects at any point using
DROP DATASHARE.
Cluster superusers and owners of datashare can drop datashares.
The following example drops a datashare named
salesshare
.
DROP DATASHARE salesshare;