aws-sdk-organizations 1.120.0

AWS SDK for AWS Organizations
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListDelegatedAdministrators`](crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_principal(impl Into<String>)`](crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder::service_principal) / [`set_service_principal(Option<String>)`](crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder::set_service_principal):<br>required: **false**<br><p>Specifies a service principal name. If specified, then the operation lists the delegated administrators only for the specified service.</p> <p>If you don't specify a service principal, the operation lists all delegated administrators for all services in your organization.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder::set_next_token):<br>required: **false**<br><p>The parameter for receiving additional results if you receive a <code>NextToken</code> response in a previous request. A <code>NextToken</code> response indicates that more output is available. Set this parameter to the value of the previous call's <code>NextToken</code> response to indicate where the output should continue from.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that you can retrieve the remaining results.</p><br>
    /// - On success, responds with [`ListDelegatedAdministratorsOutput`](crate::operation::list_delegated_administrators::ListDelegatedAdministratorsOutput) with field(s):
    ///   - [`delegated_administrators(Option<Vec::<DelegatedAdministrator>>)`](crate::operation::list_delegated_administrators::ListDelegatedAdministratorsOutput::delegated_administrators): <p>The list of delegated administrators in your organization.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_delegated_administrators::ListDelegatedAdministratorsOutput::next_token): <p>If present, indicates that more output is available than is included in the current response. Use this value in the <code>NextToken</code> request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the <code>NextToken</code> response element comes back as <code>null</code>.</p>
    /// - On failure, responds with [`SdkError<ListDelegatedAdministratorsError>`](crate::operation::list_delegated_administrators::ListDelegatedAdministratorsError)
    pub fn list_delegated_administrators(
        &self,
    ) -> crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder {
        crate::operation::list_delegated_administrators::builders::ListDelegatedAdministratorsFluentBuilder::new(self.handle.clone())
    }
}