#[non_exhaustive]pub struct CreateAnalyzerInput {
pub analyzer_name: Option<String>,
pub type: Option<Type>,
pub archive_rules: Option<Vec<InlineArchiveRule>>,
pub tags: Option<HashMap<String, String>>,
pub client_token: Option<String>,
}Expand description
Creates an analyzer.
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.analyzer_name: Option<String>The name of the analyzer to create.
type: Option<Type>The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
archive_rules: Option<Vec<InlineArchiveRule>>Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
The tags to apply to the analyzer.
client_token: Option<String>A client token.
Implementations§
source§impl CreateAnalyzerInput
impl CreateAnalyzerInput
sourcepub fn analyzer_name(&self) -> Option<&str>
pub fn analyzer_name(&self) -> Option<&str>
The name of the analyzer to create.
sourcepub fn type(&self) -> Option<&Type>
pub fn type(&self) -> Option<&Type>
The type of analyzer to create. Only ACCOUNT and ORGANIZATION analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
sourcepub fn archive_rules(&self) -> Option<&[InlineArchiveRule]>
pub fn archive_rules(&self) -> Option<&[InlineArchiveRule]>
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
The tags to apply to the analyzer.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A client token.
source§impl CreateAnalyzerInput
impl CreateAnalyzerInput
sourcepub fn builder() -> CreateAnalyzerInputBuilder
pub fn builder() -> CreateAnalyzerInputBuilder
Creates a new builder-style object to manufacture CreateAnalyzerInput.
Trait Implementations§
source§impl Clone for CreateAnalyzerInput
impl Clone for CreateAnalyzerInput
source§fn clone(&self) -> CreateAnalyzerInput
fn clone(&self) -> CreateAnalyzerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateAnalyzerInput
impl Debug for CreateAnalyzerInput
source§impl PartialEq<CreateAnalyzerInput> for CreateAnalyzerInput
impl PartialEq<CreateAnalyzerInput> for CreateAnalyzerInput
source§fn eq(&self, other: &CreateAnalyzerInput) -> bool
fn eq(&self, other: &CreateAnalyzerInput) -> bool
self and other values to be equal, and is used
by ==.