http://redshift.{region}.amazonaws.com/#Action=AssociateDataShareConsumerFrom a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn). If you make this association, the consumer can consume the datashare.
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
A value that specifies whether the datashare is associated with the entire account.
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://redshift.{region}.amazonaws.com/#Action=AssociateDataShareConsumer' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://redshift.{region}.amazonaws.com/#Action=AssociateDataShareConsumerFrom a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn). If you make this association, the consumer can consume the datashare.
The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.
A value that specifies whether the datashare is associated with the entire account.
The Amazon Resource Name (ARN) of the consumer that is associated with the datashare.
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://redshift.{region}.amazonaws.com/#Action=AssociateDataShareConsumer' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}