#[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 for UpdateAllowListInput
impl PartialEq 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 ==
.impl StructuralPartialEq for UpdateAllowListInput
Auto Trait Implementations§
impl Freeze for UpdateAllowListInput
impl RefUnwindSafe for UpdateAllowListInput
impl Send for UpdateAllowListInput
impl Sync for UpdateAllowListInput
impl Unpin for UpdateAllowListInput
impl UnwindSafe for UpdateAllowListInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more