aws-sdk-organizations 1.120.0

AWS SDK for AWS Organizations
Documentation
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 [`ListCreateAccountStatus`](crate::operation::list_create_account_status::builders::ListCreateAccountStatusFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_create_account_status::builders::ListCreateAccountStatusFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`states(CreateAccountState)`](crate::operation::list_create_account_status::builders::ListCreateAccountStatusFluentBuilder::states) / [`set_states(Option<Vec::<CreateAccountState>>)`](crate::operation::list_create_account_status::builders::ListCreateAccountStatusFluentBuilder::set_states):<br>required: **false**<br><p>A list of one or more states that you want included in the response. If this parameter isn't present, all requests are included in the response.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_create_account_status::builders::ListCreateAccountStatusFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_create_account_status::builders::ListCreateAccountStatusFluentBuilder::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_create_account_status::builders::ListCreateAccountStatusFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_create_account_status::builders::ListCreateAccountStatusFluentBuilder::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 [`ListCreateAccountStatusOutput`](crate::operation::list_create_account_status::ListCreateAccountStatusOutput) with field(s):
    ///   - [`create_account_statuses(Option<Vec::<CreateAccountStatus>>)`](crate::operation::list_create_account_status::ListCreateAccountStatusOutput::create_account_statuses): <p>A list of objects with details about the requests. Certain elements, such as the accountId number, are present in the output only after the account has been successfully created.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_create_account_status::ListCreateAccountStatusOutput::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<ListCreateAccountStatusError>`](crate::operation::list_create_account_status::ListCreateAccountStatusError)
    pub fn list_create_account_status(&self) -> crate::operation::list_create_account_status::builders::ListCreateAccountStatusFluentBuilder {
        crate::operation::list_create_account_status::builders::ListCreateAccountStatusFluentBuilder::new(self.handle.clone())
    }
}