pub struct CreateAnalyzer { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAnalyzer
.
Creates an analyzer for your account.
Implementations§
source§impl CreateAnalyzer
impl CreateAnalyzer
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateAnalyzer, AwsResponseRetryClassifier>, SdkError<CreateAnalyzerError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateAnalyzer, AwsResponseRetryClassifier>, SdkError<CreateAnalyzerError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateAnalyzerOutput, SdkError<CreateAnalyzerError>>
pub async fn send(
self
) -> Result<CreateAnalyzerOutput, SdkError<CreateAnalyzerError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn analyzer_name(self, input: impl Into<String>) -> Self
pub fn analyzer_name(self, input: impl Into<String>) -> Self
The name of the analyzer to create.
sourcepub fn set_analyzer_name(self, input: Option<String>) -> Self
pub fn set_analyzer_name(self, input: Option<String>) -> Self
The name of the analyzer to create.
sourcepub fn type(self, input: Type) -> Self
pub fn type(self, input: Type) -> Self
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 set_type(self, input: Option<Type>) -> Self
pub fn set_type(self, input: Option<Type>) -> Self
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, input: InlineArchiveRule) -> Self
pub fn archive_rules(self, input: InlineArchiveRule) -> Self
Appends an item to archiveRules
.
To override the contents of this collection use set_archive_rules
.
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
sourcepub fn set_archive_rules(self, input: Option<Vec<InlineArchiveRule>>) -> Self
pub fn set_archive_rules(self, input: Option<Vec<InlineArchiveRule>>) -> Self
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags to apply to the analyzer.
The tags to apply to the analyzer.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A client token.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A client token.
Trait Implementations§
source§impl Clone for CreateAnalyzer
impl Clone for CreateAnalyzer
source§fn clone(&self) -> CreateAnalyzer
fn clone(&self) -> CreateAnalyzer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more