1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeDataShares`](crate::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`data_share_arn(impl Into<String>)`](crate::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder::data_share_arn) / [`set_data_share_arn(Option<String>)`](crate::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder::set_data_share_arn):<br>required: **false**<br><p>The identifier of the datashare to describe details of.</p><br>
    ///   - [`max_records(i32)`](crate::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder::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::builders::DescribeDataSharesFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder::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>DescribeDataShares</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 [`DescribeDataSharesOutput`](crate::operation::describe_data_shares::DescribeDataSharesOutput) with field(s):
    ///   - [`data_shares(Option<Vec::<DataShare>>)`](crate::operation::describe_data_shares::DescribeDataSharesOutput::data_shares): <p>The results returned from describing datashares.</p>
    ///   - [`marker(Option<String>)`](crate::operation::describe_data_shares::DescribeDataSharesOutput::marker): <p>An optional parameter that specifies the starting point to return a set of response records. When the results of a <code>DescribeDataShares</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<DescribeDataSharesError>`](crate::operation::describe_data_shares::DescribeDataSharesError)
    pub fn describe_data_shares(&self) -> crate::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder {
        crate::operation::describe_data_shares::builders::DescribeDataSharesFluentBuilder::new(self.handle.clone())
    }
}