Struct aws_sdk_iot::input::StartAuditMitigationActionsTaskInput [−][src]
#[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
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartAuditMitigationActionsTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartAuditMitigationActionsTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartAuditMitigationActionsTask
>
Creates a new builder-style object to manufacture StartAuditMitigationActionsTaskInput
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
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.
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for StartAuditMitigationActionsTaskInput
impl Sync for StartAuditMitigationActionsTaskInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more