// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDistributedGrants`](crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`grant_arns(impl Into<String>)`](crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder::grant_arns) / [`set_grant_arns(Option<Vec<String>>)`](crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder::set_grant_arns): <p>Amazon Resource Names (ARNs) of the grants.</p>
/// - [`filters(Filter)`](crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder::filters) / [`set_filters(Option<Vec<Filter>>)`](crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder::set_filters): <p>Filters to scope the results. The following filters are supported:</p> <ul> <li> <p> <code>LicenseArn</code> </p> </li> <li> <p> <code>GrantStatus</code> </p> </li> <li> <p> <code>GranteePrincipalARN</code> </p> </li> <li> <p> <code>ProductSKU</code> </p> </li> <li> <p> <code>LicenseIssuerName</code> </p> </li> </ul>
/// - [`next_token(impl Into<String>)`](crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder::set_next_token): <p>Token for the next set of results.</p>
/// - [`max_results(i32)`](crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder::set_max_results): <p>Maximum number of results to return in a single call.</p>
/// - On success, responds with [`ListDistributedGrantsOutput`](crate::operation::list_distributed_grants::ListDistributedGrantsOutput) with field(s):
/// - [`grants(Option<Vec<Grant>>)`](crate::operation::list_distributed_grants::ListDistributedGrantsOutput::grants): <p>Distributed grant details.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_distributed_grants::ListDistributedGrantsOutput::next_token): <p>Token for the next set of results.</p>
/// - On failure, responds with [`SdkError<ListDistributedGrantsError>`](crate::operation::list_distributed_grants::ListDistributedGrantsError)
pub fn list_distributed_grants(&self) -> crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder {
crate::operation::list_distributed_grants::builders::ListDistributedGrantsFluentBuilder::new(self.handle.clone())
}
}