aws_sdk_dataexchange/client/
list_received_data_grants.rs

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 [`ListReceivedDataGrants`](crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be included in the next page.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token used to retrieve the next page of results for this operation.</p><br>
    ///   - [`acceptance_state(AcceptanceStateFilterValue)`](crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder::acceptance_state) / [`set_acceptance_state(Option<Vec::<AcceptanceStateFilterValue>>)`](crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder::set_acceptance_state):<br>required: **false**<br><p>The acceptance state of the data grants to list.</p><br>
    /// - On success, responds with [`ListReceivedDataGrantsOutput`](crate::operation::list_received_data_grants::ListReceivedDataGrantsOutput) with field(s):
    ///   - [`data_grant_summaries(Option<Vec::<ReceivedDataGrantSummariesEntry>>)`](crate::operation::list_received_data_grants::ListReceivedDataGrantsOutput::data_grant_summaries): <p>An object that contains a list of received data grant information.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_received_data_grants::ListReceivedDataGrantsOutput::next_token): <p>The pagination token used to retrieve the next page of results for this operation.</p>
    /// - On failure, responds with [`SdkError<ListReceivedDataGrantsError>`](crate::operation::list_received_data_grants::ListReceivedDataGrantsError)
    pub fn list_received_data_grants(&self) -> crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder {
        crate::operation::list_received_data_grants::builders::ListReceivedDataGrantsFluentBuilder::new(self.handle.clone())
    }
}