aws_sdk_inspector2/client/disassociate_member.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DisassociateMember`](crate::operation::disassociate_member::builders::DisassociateMemberFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::disassociate_member::builders::DisassociateMemberFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::disassociate_member::builders::DisassociateMemberFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID of the member account to disassociate.</p><br>
7 /// - On success, responds with [`DisassociateMemberOutput`](crate::operation::disassociate_member::DisassociateMemberOutput) with field(s):
8 /// - [`account_id(String)`](crate::operation::disassociate_member::DisassociateMemberOutput::account_id): <p>The Amazon Web Services account ID of the successfully disassociated member.</p>
9 /// - On failure, responds with [`SdkError<DisassociateMemberError>`](crate::operation::disassociate_member::DisassociateMemberError)
10 pub fn disassociate_member(&self) -> crate::operation::disassociate_member::builders::DisassociateMemberFluentBuilder {
11 crate::operation::disassociate_member::builders::DisassociateMemberFluentBuilder::new(self.handle.clone())
12 }
13}