Skip to content

Describe Data Shares For Producer

redshift_describe_data_shares_for_producer R Documentation

Returns a list of datashares when the account identifier being called is a producer account identifier

Description

Returns a list of datashares when the account identifier being called is a producer account identifier.

Usage

redshift_describe_data_shares_for_producer(ProducerArn, Status,
  MaxRecords, Marker)

Arguments

ProducerArn

The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.

Status

An identifier giving the status of a datashare in the producer. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.

MaxRecords

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Marker

An optional parameter that specifies the starting point to return a set of response records. When the results of a describe_data_shares_for_producer request exceed the value specified in MaxRecords, Amazon Web Services returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

Value

A list with the following syntax:

list(
  DataShares = list(
    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"
    )
  ),
  Marker = "string"
)

Request syntax

svc$describe_data_shares_for_producer(
  ProducerArn = "string",
  Status = "ACTIVE"|"AUTHORIZED"|"PENDING_AUTHORIZATION"|"DEAUTHORIZED"|"REJECTED",
  MaxRecords = 123,
  Marker = "string"
)