1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListResourceDelegates`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl ::std::convert::Into<String>)`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::set_organization_id): <p>The identifier for the organization that contains the resource for which delegates are listed.</p>
    ///   - [`resource_id(impl ::std::convert::Into<String>)`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::set_resource_id): <p>The identifier for the resource whose delegates are listed.</p>
    ///   - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::set_next_token): <p>The token used to paginate through the delegates associated with a resource.</p>
    ///   - [`max_results(i32)`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::set_max_results): <p>The number of maximum results in a page.</p>
    /// - On success, responds with [`ListResourceDelegatesOutput`](crate::operation::list_resource_delegates::ListResourceDelegatesOutput) with field(s):
    ///   - [`delegates(Option<Vec<Delegate>>)`](crate::operation::list_resource_delegates::ListResourceDelegatesOutput::delegates): <p>One page of the resource's delegates.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_resource_delegates::ListResourceDelegatesOutput::next_token): <p>The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.</p>
    /// - On failure, responds with [`SdkError<ListResourceDelegatesError>`](crate::operation::list_resource_delegates::ListResourceDelegatesError)
    pub fn list_resource_delegates(&self) -> crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder {
        crate::operation::list_resource_delegates::builders::ListResourceDelegatesFluentBuilder::new(self.handle.clone())
    }
}