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.
Source code in docs_src/capo_redshift/_services/async_redshift.py
5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 | |