Returns a list of datashares where the account identifier being called is a consumer account identifier¶
Description¶
Returns a list of datashares where the account identifier being called is a consumer account identifier.
Usage¶
Arguments¶
-
ConsumerArnThe Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
-
StatusAn identifier giving the status of a datashare in the consumer cluster. If this field is specified, Amazon Redshift returns the list of datashares that have the specified status.
-
MaxRecordsThe maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value. -
MarkerAn optional parameter that specifies the starting point to return a set of response records. When the results of a
describe_data_shares_for_consumerrequest exceed the value specified inMaxRecords, Amazon Web Services returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter 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",
DataShareType = "INTERNAL"
)
),
Marker = "string"
)