#[non_exhaustive]pub struct StartDetectMitigationActionsTaskInput { /* private fields */ }
Implementations§
source§impl StartDetectMitigationActionsTaskInput
impl StartDetectMitigationActionsTaskInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartDetectMitigationActionsTask, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartDetectMitigationActionsTask, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartDetectMitigationActionsTask
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartDetectMitigationActionsTaskInput
.
source§impl StartDetectMitigationActionsTaskInput
impl StartDetectMitigationActionsTaskInput
sourcepub fn target(&self) -> Option<&DetectMitigationActionsTaskTarget>
pub fn target(&self) -> Option<&DetectMitigationActionsTaskTarget>
Specifies the ML Detect findings to which the mitigation actions are applied.
sourcepub fn actions(&self) -> Option<&[String]>
pub fn actions(&self) -> Option<&[String]>
The actions to be performed when a device has unexpected behavior.
sourcepub fn violation_event_occurrence_range(
&self
) -> Option<&ViolationEventOccurrenceRange>
pub fn violation_event_occurrence_range(
&self
) -> Option<&ViolationEventOccurrenceRange>
Specifies the time period of which violation events occurred between.
sourcepub fn include_only_active_violations(&self) -> Option<bool>
pub fn include_only_active_violations(&self) -> Option<bool>
Specifies to list only active violations.
sourcepub fn include_suppressed_alerts(&self) -> Option<bool>
pub fn include_suppressed_alerts(&self) -> Option<bool>
Specifies to include suppressed alerts.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.
Trait Implementations§
source§impl Clone for StartDetectMitigationActionsTaskInput
impl Clone for StartDetectMitigationActionsTaskInput
source§fn clone(&self) -> StartDetectMitigationActionsTaskInput
fn clone(&self) -> StartDetectMitigationActionsTaskInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<StartDetectMitigationActionsTaskInput> for StartDetectMitigationActionsTaskInput
impl PartialEq<StartDetectMitigationActionsTaskInput> for StartDetectMitigationActionsTaskInput
source§fn eq(&self, other: &StartDetectMitigationActionsTaskInput) -> bool
fn eq(&self, other: &StartDetectMitigationActionsTaskInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.