Module Values_0.StartAuditMitigationActionsTaskRequestSource

Starts a task that applies a set of mitigation actions to the specified target. Requires permission to access the StartAuditMitigationActionsTask action.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. 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.

    *)
  3. auditCheckToActionsMapping : AuditCheckToActionsMapping.t;
    (*

    For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.

    *)
  4. 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.

    *)
}
Sourceval context_ : string
Sourceval make : taskId:MitigationActionsTaskId.t -> target:AuditMitigationActionsTaskTarget.t -> auditCheckToActionsMapping:AuditCheckToActionsMapping.t -> clientRequestToken:ClientRequestToken.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t