describe_data_shares_for_consumer
async
¶
describe_data_shares_for_consumer(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
consumer_arn: Optional[String] = None,
status: Optional[DataShareStatusForConsumer] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> DescribeDataSharesForConsumerResult
Returns a list of datashares where the account identifier being called is a consumer account identifier.
Parameters:
-
consumer_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.
-
status(Optional[DataShareStatusForConsumer], default:None) –An 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.
-
max_records(Optional[IntegerOptional], default:None) –The 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. -
marker(Optional[String], default:None) –An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDataSharesForConsumer request exceed the value specified in
MaxRecords, 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.
Raises:
-
InvalidNamespaceFault–The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.
-
UnknownServiceError–The service returned an error code this client does not model.