Struct aws_sdk_macie2::client::fluent_builders::UpdateAllowList
source · pub struct UpdateAllowList { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateAllowList
.
Updates the settings for an allow list.
Implementations§
source§impl UpdateAllowList
impl UpdateAllowList
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateAllowList, AwsResponseRetryClassifier>, SdkError<UpdateAllowListError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateAllowList, AwsResponseRetryClassifier>, SdkError<UpdateAllowListError>>
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<UpdateAllowListOutput, SdkError<UpdateAllowListError>>
pub async fn send(
self
) -> Result<UpdateAllowListOutput, SdkError<UpdateAllowListError>>
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 criteria(self, input: AllowListCriteria) -> Self
pub fn criteria(self, input: AllowListCriteria) -> Self
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
sourcepub fn set_criteria(self, input: Option<AllowListCriteria>) -> Self
pub fn set_criteria(self, input: Option<AllowListCriteria>) -> Self
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A custom description of the allow list. The description can contain as many as 512 characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A custom description of the allow list. The description can contain as many as 512 characters.
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.
Trait Implementations§
source§impl Clone for UpdateAllowList
impl Clone for UpdateAllowList
source§fn clone(&self) -> UpdateAllowList
fn clone(&self) -> UpdateAllowList
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more