Struct aws_sdk_macie2::client::fluent_builders::DeleteAllowList
source · pub struct DeleteAllowList { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteAllowList
.
Deletes an allow list.
Implementations§
source§impl DeleteAllowList
impl DeleteAllowList
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteAllowList, AwsResponseRetryClassifier>, SdkError<DeleteAllowListError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteAllowList, AwsResponseRetryClassifier>, SdkError<DeleteAllowListError>>
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<DeleteAllowListOutput, SdkError<DeleteAllowListError>>
pub async fn send(
self
) -> Result<DeleteAllowListOutput, SdkError<DeleteAllowListError>>
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 id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the Amazon Macie resource that the request applies to.
sourcepub fn ignore_job_checks(self, input: impl Into<String>) -> Self
pub fn ignore_job_checks(self, input: impl Into<String>) -> Self
Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.
When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.
sourcepub fn set_ignore_job_checks(self, input: Option<String>) -> Self
pub fn set_ignore_job_checks(self, input: Option<String>) -> Self
Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.
When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.
Trait Implementations§
source§impl Clone for DeleteAllowList
impl Clone for DeleteAllowList
source§fn clone(&self) -> DeleteAllowList
fn clone(&self) -> DeleteAllowList
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more