// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeDataSharesForProducer`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`producer_arn(impl Into<String>)`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::producer_arn) / [`set_producer_arn(Option<String>)`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::set_producer_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the producer that returns in the list of datashares.</p><br>
/// - [`status(DataShareStatusForProducer)`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::status) / [`set_status(Option<DataShareStatusForProducer>)`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::set_status):<br>required: **false**<br><p>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.</p><br>
/// - [`max_records(i32)`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::set_max_records):<br>required: **false**<br><p>The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified <code>MaxRecords</code> value, a value is returned in a <code>marker</code> field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.</p><br>
/// - [`marker(impl Into<String>)`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::set_marker):<br>required: **false**<br><p>An optional parameter that specifies the starting point to return a set of response records. When the results of a <code>DescribeDataSharesForProducer</code> request exceed the value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the <code>Marker</code> field of the response. You can retrieve the next set of response records by providing the returned marker value in the <code>Marker</code> parameter and retrying the request.</p><br>
/// - On success, responds with [`DescribeDataSharesForProducerOutput`](crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerOutput) with field(s):
/// - [`data_shares(Option<Vec::<DataShare>>)`](crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerOutput::data_shares): <p>Shows the results of datashares available for producers.</p>
/// - [`marker(Option<String>)`](crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerOutput::marker): <p>An optional parameter that specifies the starting point to return a set of response records. When the results of a <code>DescribeDataSharesForProducer</code> request exceed the value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the <code>Marker</code> field of the response. You can retrieve the next set of response records by providing the returned marker value in the <code>Marker</code> parameter and retrying the request.</p>
/// - On failure, responds with [`SdkError<DescribeDataSharesForProducerError>`](crate::operation::describe_data_shares_for_producer::DescribeDataSharesForProducerError)
pub fn describe_data_shares_for_producer(
&self,
) -> crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder {
crate::operation::describe_data_shares_for_producer::builders::DescribeDataSharesForProducerFluentBuilder::new(self.handle.clone())
}
}