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 [`DeleteMembers`](crate::operation::delete_members::builders::DeleteMembersFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`account_ids(Vec<String>)`](crate::operation::delete_members::builders::DeleteMembersFluentBuilder::account_ids) / [`set_account_ids(Option<Vec<String>>)`](crate::operation::delete_members::builders::DeleteMembersFluentBuilder::set_account_ids): <p>The list of account IDs for the member accounts to delete.</p>
/// - On success, responds with [`DeleteMembersOutput`](crate::operation::delete_members::DeleteMembersOutput) with field(s):
/// - [`unprocessed_accounts(Option<Vec<Result>>)`](crate::operation::delete_members::DeleteMembersOutput::unprocessed_accounts): <p>The list of Amazon Web Services accounts that were not deleted. For each account, the list includes the account ID and the email address.</p>
/// - On failure, responds with [`SdkError<DeleteMembersError>`](crate::operation::delete_members::DeleteMembersError)
pub fn delete_members(
&self,
) -> crate::operation::delete_members::builders::DeleteMembersFluentBuilder {
crate::operation::delete_members::builders::DeleteMembersFluentBuilder::new(
self.handle.clone(),
)
}
}