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
.
Removing association of a
datashare from data consumers in a different Amazon Web Services account in Amazon Redshift
With Amazon Redshift, you can remove association from datashares shared by other
Amazon Web Services accounts. Datashares are shareable database objects that encapsulate data
from one or more Redshift databases. The following sections demonstrate the
process of disassociating datashares within your Redshift environment.
- Console
-
As a consumer administrator, you can remove association of datashares
from data consumers on the console.
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 Datashares.
The datashare list page appears.
-
Choose From other accounts.
-
In the Datashares from other accounts
section, choose the datashare to remove association from data
consumers.
-
In the Data consumers section, choose one
or more data consumers to remove association from. Then choose
Remove association.
-
When the Remove association page appears, choose
Remove association.
After association is removed, data consumers will lose access to the
datashare. You can change the data consumer association at any
time.
- SQL
-
The steps in this section are performed after the producer
administrator grants specific actions on the shared database objects
and, if the datashare is being shared with another account, the
producer security administrator authorizes access.
The consumer security administrator can disassociate the datashare
with the following command:
disassociate-data-share-consumer
--data-share-arn <value>
For more information about the command, see disassociate-data-share-consumer.