aws_sdk_securityhub/client/
delete_invitations.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 [`DeleteInvitations`](crate::operation::delete_invitations::builders::DeleteInvitationsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_ids(impl Into<String>)`](crate::operation::delete_invitations::builders::DeleteInvitationsFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::delete_invitations::builders::DeleteInvitationsFluentBuilder::set_account_ids):<br>required: **true**<br><p>The list of member account IDs that received the invitations you want to delete.</p><br>
7    /// - On success, responds with [`DeleteInvitationsOutput`](crate::operation::delete_invitations::DeleteInvitationsOutput) with field(s):
8    ///   - [`unprocessed_accounts(Option<Vec::<Result>>)`](crate::operation::delete_invitations::DeleteInvitationsOutput::unprocessed_accounts): <p>The list of Amazon Web Services accounts for which the invitations were not deleted. For each account, the list includes the account ID and the email address.</p>
9    /// - On failure, responds with [`SdkError<DeleteInvitationsError>`](crate::operation::delete_invitations::DeleteInvitationsError)
10    pub fn delete_invitations(&self) -> crate::operation::delete_invitations::builders::DeleteInvitationsFluentBuilder {
11        crate::operation::delete_invitations::builders::DeleteInvitationsFluentBuilder::new(self.handle.clone())
12    }
13}