Module Values_0.StartDetectMitigationActionsTaskRequestSource

Starts a Device Defender ML Detect mitigation actions task. Requires permission to access the StartDetectMitigationActionsTask action.

Sourcetype nonrec t = {
  1. taskId : MitigationActionsTaskId.t;
    (*

    The unique identifier of the task.

    *)
  2. target : DetectMitigationActionsTaskTarget.t;
    (*

    Specifies the ML Detect findings to which the mitigation actions are applied.

    *)
  3. actions : DetectMitigationActionsToExecuteList.t;
    (*

    The actions to be performed when a device has unexpected behavior.

    *)
  4. violationEventOccurrenceRange : ViolationEventOccurrenceRange.t option;
    (*

    Specifies the time period of which violation events occurred between.

    *)
  5. includeOnlyActiveViolations : NullableBoolean.t option;
    (*

    Specifies to list only active violations.

    *)
  6. includeSuppressedAlerts : NullableBoolean.t option;
    (*

    Specifies to include suppressed alerts.

    *)
  7. clientRequestToken : ClientRequestToken.t;
    (*

    Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

    *)
}
Sourceval context_ : string
Sourceval make : ?violationEventOccurrenceRange:??? -> ?includeOnlyActiveViolations:??? -> ?includeSuppressedAlerts:??? -> taskId:MitigationActionsTaskId.t -> target:DetectMitigationActionsTaskTarget.t -> actions:DetectMitigationActionsToExecuteList.t -> clientRequestToken:ClientRequestToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of NullableBoolean.t | `List of [> `String of MitigationActionName.t ] list | `String of MitigationActionsTaskId.t | `Structure of (string * [> `List of [> `String of ViolationId.t ] list | `String of SecurityProfileName.t | `Timestamp of Timestamp.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