1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`InviteMembers`](crate::operation::invite_members::builders::InviteMembersFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_ids(impl Into<String>)`](crate::operation::invite_members::builders::InviteMembersFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::invite_members::builders::InviteMembersFluentBuilder::set_account_ids):<br>required: **true**<br><p>The list of account IDs of the Amazon Web Services accounts to invite to Security Hub as members. </p><br>
    /// - On success, responds with [`InviteMembersOutput`](crate::operation::invite_members::InviteMembersOutput) with field(s):
    ///   - [`unprocessed_accounts(Option<Vec::<Result>>)`](crate::operation::invite_members::InviteMembersOutput::unprocessed_accounts): <p>The list of Amazon Web Services accounts that could not be processed. For each account, the list includes the account ID and the email address.</p>
    /// - On failure, responds with [`SdkError<InviteMembersError>`](crate::operation::invite_members::InviteMembersError)
    pub fn invite_members(&self) -> crate::operation::invite_members::builders::InviteMembersFluentBuilder {
        crate::operation::invite_members::builders::InviteMembersFluentBuilder::new(self.handle.clone())
    }
}