Redshift.Client.
reject_data_share
(**kwargs)¶From a datashare consumer account, rejects the specified datashare.
See also: AWS API Documentation
Request Syntax
response = client.reject_data_share(
DataShareArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the datashare to reject.
{
'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
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.
The Amazon Resource Name (ARN) of the producer.
A value that specifies whether the datashare can be shared to a publicly accessible cluster.
A value that specifies when the datashare has an association between producer and data consumers.
The association of a datashare from a producer account with a data consumer.
The name of the consumer accounts that have an association with a producer datashare.
The status of the datashare that is associated.
The Amazon Web Services Region of the consumer accounts that have an association with a producer datashare.
The creation date of the datashare that is associated.
The status change data of the datashare that is associated.
The identifier of a datashare to show its managing entity.
Exceptions
Redshift.Client.exceptions.InvalidDataShareFault