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
sourceimpl Clone for StartDetectMitigationActionsTaskRequest
impl Clone for StartDetectMitigationActionsTaskRequest
sourcefn clone(&self) -> StartDetectMitigationActionsTaskRequest
fn clone(&self) -> StartDetectMitigationActionsTaskRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for StartDetectMitigationActionsTaskRequest
impl Default for StartDetectMitigationActionsTaskRequest
sourcefn default() -> StartDetectMitigationActionsTaskRequest
fn default() -> StartDetectMitigationActionsTaskRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartDetectMitigationActionsTaskRequest> for StartDetectMitigationActionsTaskRequest
impl PartialEq<StartDetectMitigationActionsTaskRequest> for StartDetectMitigationActionsTaskRequest
sourcefn eq(&self, other: &StartDetectMitigationActionsTaskRequest) -> bool
fn eq(&self, other: &StartDetectMitigationActionsTaskRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartDetectMitigationActionsTaskRequest) -> bool
fn ne(&self, other: &StartDetectMitigationActionsTaskRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartDetectMitigationActionsTaskRequest
Auto Trait Implementations
impl RefUnwindSafe for StartDetectMitigationActionsTaskRequest
impl Send for StartDetectMitigationActionsTaskRequest
impl Sync for StartDetectMitigationActionsTaskRequest
impl Unpin for StartDetectMitigationActionsTaskRequest
impl UnwindSafe for StartDetectMitigationActionsTaskRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more