Associate Data Share Consumer
redshift_associate_data_share_consumer | R Documentation |
From a datashare consumer account, associates a datashare with the account (AssociateEntireAccount) or the specified namespace (ConsumerArn)¶
Description¶
From 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.
Usage¶
redshift_associate_data_share_consumer(DataShareArn,
AssociateEntireAccount, ConsumerArn, ConsumerRegion, AllowWrites)
Arguments¶
DataShareArn
[required] The Amazon Resource Name (ARN) of the datashare that the consumer is to use.
AssociateEntireAccount
A value that specifies whether the datashare is associated with the entire account.
ConsumerArn
The Amazon Resource Name (ARN) of the consumer namespace associated with the datashare.
ConsumerRegion
From a datashare consumer account, associates a datashare with all existing and future namespaces in the specified Amazon Web Services Region.
AllowWrites
If set to true, allows write operations for a datashare.
Value¶
A list with the following syntax:
list(
DataShareArn = "string",
ProducerArn = "string",
AllowPubliclyAccessibleConsumers = TRUE|FALSE,
DataShareAssociations = list(
list(
ConsumerIdentifier = "string",
Status = "ACTIVE"|"PENDING_AUTHORIZATION"|"AUTHORIZED"|"DEAUTHORIZED"|"REJECTED"|"AVAILABLE",
ConsumerRegion = "string",
CreatedDate = as.POSIXct(
"2015-01-01"
),
StatusChangeDate = as.POSIXct(
"2015-01-01"
),
ProducerAllowedWrites = TRUE|FALSE,
ConsumerAcceptedWrites = TRUE|FALSE
)
),
ManagedBy = "string"
)