Module Values_1.CreateMitigationActionResponseSource

Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain types of mitigation actions can be applied to specific check names. For more information, see Mitigation actions. Each mitigation action can apply only one type of change. Requires permission to access the CreateMitigationAction action.

Sourcetype nonrec t = {
  1. actionArn : Values_0.MitigationActionArn.t option;
    (*

    The ARN for the new mitigation action.

    *)
  2. actionId : Values_0.MitigationActionId.t option;
    (*

    A unique identifier for the new mitigation action.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of Values_0.InternalFailureException.t
  2. | `InvalidRequestException of Values_0.InvalidRequestException.t
  3. | `LimitExceededException of Values_0.LimitExceededException.t
  4. | `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.t
  5. | `ThrottlingException of Values_0.ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?actionArn:??? -> ?actionId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.t | `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.t | `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.MitigationActionArn.t ]) 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