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 [`ListReceivedGrants`](crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`grant_arns(impl Into<String>)`](crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder::grant_arns) / [`set_grant_arns(Option<Vec<String>>)`](crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder::set_grant_arns): <p>Amazon Resource Names (ARNs) of the grants.</p>
    ///   - [`filters(Filter)`](crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder::filters) / [`set_filters(Option<Vec<Filter>>)`](crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder::set_filters): <p>Filters to scope the results. The following filters are supported:</p>  <ul>   <li> <p> <code>ProductSKU</code> </p> </li>   <li> <p> <code>LicenseIssuerName</code> </p> </li>   <li> <p> <code>LicenseArn</code> </p> </li>   <li> <p> <code>GrantStatus</code> </p> </li>   <li> <p> <code>GranterAccountId</code> </p> </li>  </ul>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder::set_next_token): <p>Token for the next set of results.</p>
    ///   - [`max_results(i32)`](crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder::set_max_results): <p>Maximum number of results to return in a single call.</p>
    /// - On success, responds with [`ListReceivedGrantsOutput`](crate::operation::list_received_grants::ListReceivedGrantsOutput) with field(s):
    ///   - [`grants(Option<Vec<Grant>>)`](crate::operation::list_received_grants::ListReceivedGrantsOutput::grants): <p>Received grant details.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_received_grants::ListReceivedGrantsOutput::next_token): <p>Token for the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListReceivedGrantsError>`](crate::operation::list_received_grants::ListReceivedGrantsError)
    pub fn list_received_grants(&self) -> crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder {
        crate::operation::list_received_grants::builders::ListReceivedGrantsFluentBuilder::new(self.handle.clone())
    }
}