Skip to content

Disassociate Data Share Consumer

redshift_disassociate_data_share_consumer R Documentation

From a datashare consumer account, remove association for the specified datashare

Description

From a datashare consumer account, remove association for the specified datashare.

Usage

redshift_disassociate_data_share_consumer(DataShareArn,
  DisassociateEntireAccount, ConsumerArn, ConsumerRegion)

Arguments

DataShareArn

[required] The Amazon Resource Name (ARN) of the datashare to remove association for.

DisassociateEntireAccount

A value that specifies whether association for the datashare is removed from the entire account.

ConsumerArn

The Amazon Resource Name (ARN) of the consumer namespace that association for the datashare is removed from.

ConsumerRegion

From a datashare consumer account, removes association of a datashare from all the existing and future namespaces in the specified Amazon Web Services Region.

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"
)

Request syntax

svc$disassociate_data_share_consumer(
  DataShareArn = "string",
  DisassociateEntireAccount = TRUE|FALSE,
  ConsumerArn = "string",
  ConsumerRegion = "string"
)