aws_sdk_inspector2/client/associate_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 [`AssociateMember`](crate::operation::associate_member::builders::AssociateMemberFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::associate_member::builders::AssociateMemberFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::associate_member::builders::AssociateMemberFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID of the member account to be associated.</p><br>
7 /// - On success, responds with [`AssociateMemberOutput`](crate::operation::associate_member::AssociateMemberOutput) with field(s):
8 /// - [`account_id(String)`](crate::operation::associate_member::AssociateMemberOutput::account_id): <p>The Amazon Web Services account ID of the successfully associated member account.</p>
9 /// - On failure, responds with [`SdkError<AssociateMemberError>`](crate::operation::associate_member::AssociateMemberError)
10 pub fn associate_member(&self) -> crate::operation::associate_member::builders::AssociateMemberFluentBuilder {
11 crate::operation::associate_member::builders::AssociateMemberFluentBuilder::new(self.handle.clone())
12 }
13}