Module Values_0.UpdateMitigationActionRequestSource

Updates the definition for the specified mitigation action. Requires permission to access the UpdateMitigationAction action.

Sourcetype nonrec t = {
  1. actionName : MitigationActionName.t;
    (*

    The friendly name for the mitigation action. You cannot change the name by using UpdateMitigationAction. Instead, you must delete and recreate the mitigation action with the new name.

    *)
  2. roleArn : RoleArn.t option;
    (*

    The ARN of the IAM role that is used to apply the mitigation action.

    *)
  3. actionParams : MitigationActionParams.t option;
    (*

    Defines the type of action and the parameters for that action.

    *)
}
Sourceval context_ : string
Sourceval make : ?roleArn:??? -> ?actionParams:??? -> actionName:MitigationActionName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of MitigationActionName.t | `Structure of (string * [> `Structure of (string * [> `Boolean of NullableBoolean.t | `Enum of string | `List of [> `String of ThingGroupName.t ] list | `String of RoleArn.t ]) list ]) 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