Module Values.NotScaledReasonSource

Describes the reason for an activity that isn't scaled (not scaled activity), in machine-readable format. For help interpreting the not scaled reason details, see Scaling activities for Application Auto Scaling in the Application Auto Scaling User Guide.

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

    A code that represents the reason for not scaling. Valid values: AutoScalingAnticipatedFlapping TargetServicePutResourceAsUnscalable AlreadyAtMaxCapacity AlreadyAtMinCapacity AlreadyAtDesiredCapacity

    *)
  2. maxCapacity : ResourceCapacity.t option;
    (*

    The maximum capacity.

    *)
  3. minCapacity : ResourceCapacity.t option;
    (*

    The minimum capacity.

    *)
  4. currentCapacity : ResourceCapacity.t option;
    (*

    The current capacity.

    *)
}
Sourceval make : ?code:??? -> ?maxCapacity:??? -> ?minCapacity:??? -> ?currentCapacity:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of ResourceCapacity.t | `String of XmlString.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