Struct aws_sdk_iot::operation::start_audit_mitigation_actions_task::StartAuditMitigationActionsTaskInput
source · #[non_exhaustive]pub struct StartAuditMitigationActionsTaskInput {
pub task_id: Option<String>,
pub target: Option<AuditMitigationActionsTaskTarget>,
pub audit_check_to_actions_mapping: Option<HashMap<String, Vec<String>>>,
pub client_request_token: Option<String>,
}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.task_id: Option<String>A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
target: Option<AuditMitigationActionsTaskTarget>Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of audit check, to all findings from an audit, or to a specific set of findings.
audit_check_to_actions_mapping: Option<HashMap<String, Vec<String>>>For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.
client_request_token: Option<String>Each audit mitigation task must have a unique client request token. If you try to start a new task with the same token as a task that already exists, an exception occurs. If you omit this value, a unique client request token is generated automatically.
Implementations§
source§impl StartAuditMitigationActionsTaskInput
impl StartAuditMitigationActionsTaskInput
sourcepub fn task_id(&self) -> Option<&str>
pub fn task_id(&self) -> Option<&str>
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
sourcepub fn target(&self) -> Option<&AuditMitigationActionsTaskTarget>
pub fn target(&self) -> Option<&AuditMitigationActionsTaskTarget>
Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of audit check, to all findings from an audit, or to a specific set of findings.
sourcepub fn audit_check_to_actions_mapping(
&self,
) -> Option<&HashMap<String, Vec<String>>>
pub fn audit_check_to_actions_mapping( &self, ) -> Option<&HashMap<String, Vec<String>>>
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Each audit mitigation task must have a unique client request token. If you try to start a new task with the same token as a task that already exists, an exception occurs. If you omit this value, a unique client request token is generated automatically.
source§impl StartAuditMitigationActionsTaskInput
impl StartAuditMitigationActionsTaskInput
sourcepub fn builder() -> StartAuditMitigationActionsTaskInputBuilder
pub fn builder() -> StartAuditMitigationActionsTaskInputBuilder
Creates a new builder-style object to manufacture StartAuditMitigationActionsTaskInput.
Trait Implementations§
source§impl Clone for StartAuditMitigationActionsTaskInput
impl Clone for StartAuditMitigationActionsTaskInput
source§fn clone(&self) -> StartAuditMitigationActionsTaskInput
fn clone(&self) -> StartAuditMitigationActionsTaskInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for StartAuditMitigationActionsTaskInput
impl PartialEq for StartAuditMitigationActionsTaskInput
source§fn eq(&self, other: &StartAuditMitigationActionsTaskInput) -> bool
fn eq(&self, other: &StartAuditMitigationActionsTaskInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartAuditMitigationActionsTaskInput
Auto Trait Implementations§
impl Freeze for StartAuditMitigationActionsTaskInput
impl RefUnwindSafe for StartAuditMitigationActionsTaskInput
impl Send for StartAuditMitigationActionsTaskInput
impl Sync for StartAuditMitigationActionsTaskInput
impl Unpin for StartAuditMitigationActionsTaskInput
impl UnwindSafe for StartAuditMitigationActionsTaskInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more