describe_data_shares_for_producer
async
¶
describe_data_shares_for_producer(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
producer_arn: Optional[String] = None,
status: Optional[DataShareStatusForProducer] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> DescribeDataSharesForProducerResult
Returns a list of datashares when the account identifier being called is a producer account identifier.
Parameters:
-
producer_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.
-
status(Optional[DataShareStatusForProducer], default:None) –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.
-
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 DescribeDataSharesForProducer 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.