Skip to content

Deauthorize Data Share

redshift_deauthorize_data_share R Documentation

From a datashare producer account, removes authorization from the specified datashare

Description

From a datashare producer account, removes authorization from the specified datashare.

Usage

redshift_deauthorize_data_share(DataShareArn, ConsumerIdentifier)

Arguments

DataShareArn

[required] The namespace Amazon Resource Name (ARN) of the datashare to remove authorization from.

ConsumerIdentifier

[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.

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$deauthorize_data_share(
  DataShareArn = "string",
  ConsumerIdentifier = "string"
)