pub struct DeleteMembersFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteMembers
.
Deletes the specified member accounts from Security Hub.
You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API to delete accounts that belong to an Organizations organization.
Implementations§
source§impl DeleteMembersFluentBuilder
impl DeleteMembersFluentBuilder
sourcepub fn as_input(&self) -> &DeleteMembersInputBuilder
pub fn as_input(&self) -> &DeleteMembersInputBuilder
Access the DeleteMembers as a reference.
sourcepub async fn send(
self
) -> Result<DeleteMembersOutput, SdkError<DeleteMembersError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteMembersOutput, SdkError<DeleteMembersError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteMembersOutput, DeleteMembersError, Self>, SdkError<DeleteMembersError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteMembersOutput, DeleteMembersError, Self>, SdkError<DeleteMembersError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn account_ids(self, input: impl Into<String>) -> Self
pub fn account_ids(self, input: impl Into<String>) -> Self
Appends an item to AccountIds
.
To override the contents of this collection use set_account_ids
.
The list of account IDs for the member accounts to delete.
sourcepub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
The list of account IDs for the member accounts to delete.
sourcepub fn get_account_ids(&self) -> &Option<Vec<String>>
pub fn get_account_ids(&self) -> &Option<Vec<String>>
The list of account IDs for the member accounts to delete.
Trait Implementations§
source§impl Clone for DeleteMembersFluentBuilder
impl Clone for DeleteMembersFluentBuilder
source§fn clone(&self) -> DeleteMembersFluentBuilder
fn clone(&self) -> DeleteMembersFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more