Struct aws_sdk_securityhub::client::fluent_builders::DeleteMembers
source · pub struct DeleteMembers { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteMembers
.
Deletes the specified member accounts from Security Hub.
Can be used to delete member accounts that belong to an organization as well as member accounts that were invited manually.
Implementations§
source§impl DeleteMembers
impl DeleteMembers
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteMembers, AwsResponseRetryClassifier>, SdkError<DeleteMembersError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteMembers, AwsResponseRetryClassifier>, SdkError<DeleteMembersError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteMembersOutput, SdkError<DeleteMembersError>>
pub async fn send(
self
) -> Result<DeleteMembersOutput, SdkError<DeleteMembersError>>
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 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.
Trait Implementations§
source§impl Clone for DeleteMembers
impl Clone for DeleteMembers
source§fn clone(&self) -> DeleteMembers
fn clone(&self) -> DeleteMembers
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more