aws_sdk_securityhub/client/invite_members.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 [`InviteMembers`](crate::operation::invite_members::builders::InviteMembersFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`InviteMembersOutput`](crate::operation::invite_members::InviteMembersOutput) with field(s):
8 /// - [`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>
9 /// - On failure, responds with [`SdkError<InviteMembersError>`](crate::operation::invite_members::InviteMembersError)
10 pub fn invite_members(&self) -> crate::operation::invite_members::builders::InviteMembersFluentBuilder {
11 crate::operation::invite_members::builders::InviteMembersFluentBuilder::new(self.handle.clone())
12 }
13}