aws_sdk_workmail/client/list_resource_delegates.rs
// 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 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):<br>required: **true**<br><p>The identifier for the organization that contains the resource for which delegates are listed.</p><br>
/// - [`resource_id(impl 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):<br>required: **true**<br><p>The identifier for the resource whose delegates are listed.</p> <p>The identifier can accept <i>ResourceId</i>, <i>Resourcename</i>, or <i>email</i>. The following identity formats are available:</p> <ul> <li> <p>Resource ID: r-0123456789a0123456789b0123456789</p></li> <li> <p>Email address: resource@domain.tld</p></li> <li> <p>Resource name: resource</p></li> </ul><br>
/// - [`next_token(impl 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):<br>required: **false**<br><p>The token used to paginate through the delegates associated with a resource.</p><br>
/// - [`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):<br>required: **false**<br><p>The number of maximum results in a page.</p><br>
/// - 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())
}
}