#[non_exhaustive]pub struct UpdateAllowListInput {
pub criteria: Option<AllowListCriteria>,
pub description: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.criteria: Option<AllowListCriteria>
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.
description: Option<String>
A custom description of the allow list. The description can contain as many as 512 characters.
id: Option<String>
The unique identifier for the Amazon Macie resource that the request applies to.
name: Option<String>
A custom name for the allow list. The name can contain as many as 128 characters.
Implementations§
source§impl UpdateAllowListInput
impl UpdateAllowListInput
sourcepub fn criteria(&self) -> Option<&AllowListCriteria>
pub fn criteria(&self) -> Option<&AllowListCriteria>
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) -> Option<&str>
pub fn description(&self) -> Option<&str>
A custom description of the allow list. The description can contain as many as 512 characters.
source§impl UpdateAllowListInput
impl UpdateAllowListInput
sourcepub fn builder() -> UpdateAllowListInputBuilder
pub fn builder() -> UpdateAllowListInputBuilder
Creates a new builder-style object to manufacture UpdateAllowListInput
.
Trait Implementations§
source§impl Clone for UpdateAllowListInput
impl Clone for UpdateAllowListInput
source§fn clone(&self) -> UpdateAllowListInput
fn clone(&self) -> UpdateAllowListInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAllowListInput
impl Debug for UpdateAllowListInput
source§impl PartialEq<UpdateAllowListInput> for UpdateAllowListInput
impl PartialEq<UpdateAllowListInput> for UpdateAllowListInput
source§fn eq(&self, other: &UpdateAllowListInput) -> bool
fn eq(&self, other: &UpdateAllowListInput) -> bool
self
and other
values to be equal, and is used
by ==
.