Struct aws_sdk_accessanalyzer::input::CreateAnalyzerInput [−][src]
#[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
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateAnalyzer, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateAnalyzer, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateAnalyzer
>
Creates a new builder-style object to manufacture CreateAnalyzerInput
The name of the analyzer to create.
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.
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.
A client token.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateAnalyzerInput
impl Send for CreateAnalyzerInput
impl Sync for CreateAnalyzerInput
impl Unpin for CreateAnalyzerInput
impl UnwindSafe for CreateAnalyzerInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more