pub struct StartDetectMitigationActionsTaskRequest {
pub actions: Vec<String>,
pub client_request_token: String,
pub include_only_active_violations: Option<bool>,
pub include_suppressed_alerts: Option<bool>,
pub target: DetectMitigationActionsTaskTarget,
pub task_id: String,
pub violation_event_occurrence_range: Option<ViolationEventOccurrenceRange>,
}
Fields§
§actions: Vec<String>
The actions to be performed when a device has unexpected behavior.
client_request_token: String
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, AWS SDKs will automatically generate a unique client request.
include_only_active_violations: Option<bool>
Specifies to list only active violations.
include_suppressed_alerts: Option<bool>
Specifies to include suppressed alerts.
target: DetectMitigationActionsTaskTarget
Specifies the ML Detect findings to which the mitigation actions are applied.
task_id: String
The unique identifier of the task.
violation_event_occurrence_range: Option<ViolationEventOccurrenceRange>
Specifies the time period of which violation events occurred between.
Trait Implementations§
Source§impl Clone for StartDetectMitigationActionsTaskRequest
impl Clone for StartDetectMitigationActionsTaskRequest
Source§fn clone(&self) -> StartDetectMitigationActionsTaskRequest
fn clone(&self) -> StartDetectMitigationActionsTaskRequest
Returns a duplicate 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 Default for StartDetectMitigationActionsTaskRequest
impl Default for StartDetectMitigationActionsTaskRequest
Source§fn default() -> StartDetectMitigationActionsTaskRequest
fn default() -> StartDetectMitigationActionsTaskRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for StartDetectMitigationActionsTaskRequest
impl PartialEq for StartDetectMitigationActionsTaskRequest
Source§fn eq(&self, other: &StartDetectMitigationActionsTaskRequest) -> bool
fn eq(&self, other: &StartDetectMitigationActionsTaskRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StartDetectMitigationActionsTaskRequest
Auto Trait Implementations§
impl Freeze for StartDetectMitigationActionsTaskRequest
impl RefUnwindSafe for StartDetectMitigationActionsTaskRequest
impl Send for StartDetectMitigationActionsTaskRequest
impl Sync for StartDetectMitigationActionsTaskRequest
impl Unpin for StartDetectMitigationActionsTaskRequest
impl UnwindSafe for StartDetectMitigationActionsTaskRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more