Values_0.StartAuditMitigationActionsTaskRequestSourceStarts a task that applies a set of mitigation actions to the specified target. Requires permission to access the StartAuditMitigationActionsTask action.
type nonrec t = {taskId : MitigationActionsTaskId.t;A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
*)target : AuditMitigationActionsTaskTarget.t;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.
*)auditCheckToActionsMapping : AuditCheckToActionsMapping.t;For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.
*)clientRequestToken : ClientRequestToken.t;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.
*)}val make :
taskId:MitigationActionsTaskId.t ->
target:AuditMitigationActionsTaskTarget.t ->
auditCheckToActionsMapping:AuditCheckToActionsMapping.t ->
clientRequestToken:ClientRequestToken.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of AuditCheckName.t ]
* [> `List of [> `String of MitigationActionName.t ] list ])
list
| `String of MitigationActionsTaskId.t
| `Structure of
(string
* [> `List of [> `String of FindingId.t ] list
| `Map of
([> `String of AuditCheckName.t ]
* [> `List of
[> `String of ReasonForNonComplianceCode.t ] list ])
list
| `String of AuditTaskId.t ])
list ])
list ]