Struct aws_sdk_iot::client::fluent_builders::StartAuditMitigationActionsTask [−][src]
pub struct StartAuditMitigationActionsTask<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartAuditMitigationActionsTask
.
Starts a task that applies a set of mitigation actions to the specified target.
Requires permission to access the StartAuditMitigationActionsTask action.
Implementations
impl<C, M, R> StartAuditMitigationActionsTask<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartAuditMitigationActionsTask<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartAuditMitigationActionsTaskOutput, SdkError<StartAuditMitigationActionsTaskError>> where
R::Policy: SmithyRetryPolicy<StartAuditMitigationActionsTaskInputOperationOutputAlias, StartAuditMitigationActionsTaskOutput, StartAuditMitigationActionsTaskError, StartAuditMitigationActionsTaskInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartAuditMitigationActionsTaskOutput, SdkError<StartAuditMitigationActionsTaskError>> where
R::Policy: SmithyRetryPolicy<StartAuditMitigationActionsTaskInputOperationOutputAlias, StartAuditMitigationActionsTaskOutput, StartAuditMitigationActionsTaskError, StartAuditMitigationActionsTaskInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
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.
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.
Adds a key-value pair to auditCheckToActionsMapping
.
To override the contents of this collection use set_audit_check_to_actions_mapping
.
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartAuditMitigationActionsTask<C, M, R>
impl<C, M, R> Send for StartAuditMitigationActionsTask<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartAuditMitigationActionsTask<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartAuditMitigationActionsTask<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartAuditMitigationActionsTask<C, M, R>
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