Module Values.AutoScalingPolicyStateChangeReasonSource

The reason for an AutoScalingPolicyStatus change.

Sourcetype nonrec t = {
  1. code : AutoScalingPolicyStateChangeReasonCode.t option;
    (*

    The code indicating the reason for the change in status.USER_REQUEST indicates that the scaling policy status was changed by a user. PROVISION_FAILURE indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE indicates an error.

    *)
  2. message : String_.t option;
    (*

    A friendly, more verbose message that accompanies an automatic scaling policy state change.

    *)
}
Sourceval make : ?code:??? -> ?message:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.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