#[non_exhaustive]pub struct CreateAllowListInput {
pub client_token: Option<String>,
pub criteria: Option<AllowListCriteria>,
pub description: Option<String>,
pub name: Option<String>,
pub tags: Option<HashMap<String, 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.client_token: Option<String>
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
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 (regex) that defines a text pattern to ignore.
description: Option<String>
A custom description of the allow list. The description can contain as many as 512 characters.
name: Option<String>
A custom name for the allow list. The name can contain as many as 128 characters.
A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
Implementations§
source§impl CreateAllowListInput
impl CreateAllowListInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
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 (regex) that defines a text pattern to ignore.
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.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A custom name for the allow list. The name can contain as many as 128 characters.
A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
source§impl CreateAllowListInput
impl CreateAllowListInput
sourcepub fn builder() -> CreateAllowListInputBuilder
pub fn builder() -> CreateAllowListInputBuilder
Creates a new builder-style object to manufacture CreateAllowListInput
.
Trait Implementations§
source§impl Clone for CreateAllowListInput
impl Clone for CreateAllowListInput
source§fn clone(&self) -> CreateAllowListInput
fn clone(&self) -> CreateAllowListInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAllowListInput
impl Debug for CreateAllowListInput
source§impl PartialEq<CreateAllowListInput> for CreateAllowListInput
impl PartialEq<CreateAllowListInput> for CreateAllowListInput
source§fn eq(&self, other: &CreateAllowListInput) -> bool
fn eq(&self, other: &CreateAllowListInput) -> bool
self
and other
values to be equal, and is used
by ==
.