We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.
Essential cookies are necessary to provide our site and services and cannot be deactivated. They are usually set in response to your actions on the site, such as setting your privacy preferences, signing in, or filling in forms.
Performance cookies provide anonymous statistics about how customers navigate our site so we can improve site experience and performance. Approved third parties may perform analytics on our behalf, but they cannot use the data for their own purposes.
Functional cookies help us provide useful site features, remember your preferences, and display relevant content. Approved third parties may set these cookies to provide certain site features. If you do not allow these cookies, then some or all of these services may not function properly.
Advertising cookies may be set through our site by us or our advertising partners and help us deliver relevant marketing content. If you do not allow these cookies, you will experience less relevant advertising.
Blocking some types of cookies may impact your experience of our sites. You may review and change your choices at any time by clicking Cookie preferences in the footer of this site. We and selected third-parties use cookies or similar technologies as specified in the AWS Cookie Notice.
Redshift.Client.
deauthorize_data_share
(**kwargs)¶From a datashare producer account, removes authorization from the specified datashare.
See also: AWS API Documentation
Request Syntax
response = client.deauthorize_data_share(
DataShareArn='string',
ConsumerIdentifier='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the datashare to remove authorization from.
[REQUIRED]
The identifier of the data consumer that is to have authorization removed from the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
dict
Response Syntax
{
'DataShareArn': 'string',
'ProducerArn': 'string',
'AllowPubliclyAccessibleConsumers': True|False,
'DataShareAssociations': [
{
'ConsumerIdentifier': 'string',
'Status': 'ACTIVE'|'PENDING_AUTHORIZATION'|'AUTHORIZED'|'DEAUTHORIZED'|'REJECTED'|'AVAILABLE',
'ConsumerRegion': 'string',
'CreatedDate': datetime(2015, 1, 1),
'StatusChangeDate': datetime(2015, 1, 1)
},
],
'ManagedBy': 'string'
}
Response Structure
(dict) --
DataShareArn (string) --
An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster. A datashare ARN is in the arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
format.
ProducerArn (string) --
The Amazon Resource Name (ARN) of the producer.
AllowPubliclyAccessibleConsumers (boolean) --
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
DataShareAssociations (list) --
A value that specifies when the datashare has an association between producer and data consumers.
(dict) --
The association of a datashare from a producer account with a data consumer.
ConsumerIdentifier (string) --
The name of the consumer accounts that have an association with a producer datashare.
Status (string) --
The status of the datashare that is associated.
ConsumerRegion (string) --
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
CreatedDate (datetime) --
The creation date of the datashare that is associated.
StatusChangeDate (datetime) --
The status change data of the datashare that is associated.
ManagedBy (string) --
The identifier of a datashare to show its managing entity.
Exceptions
Redshift.Client.exceptions.InvalidDataShareFault