Module Values.AddOnRequestSource

Describes a request to enable, modify, or disable an add-on for an Amazon Lightsail resource. An additional cost may be associated with enabling add-ons. For more information, see the Lightsail pricing page.

Sourcetype nonrec t = {
  1. addOnType : AddOnType.t;
    (*

    The add-on type.

    *)
  2. autoSnapshotAddOnRequest : AutoSnapshotAddOnRequest.t option;
    (*

    An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.

    *)
  3. stopInstanceOnIdleRequest : StopInstanceOnIdleRequest.t option;
    (*

    An object that represents additional parameters when enabling or modifying the StopInstanceOnIdle add-on. This object only applies to Lightsail for Research resources.

    *)
}
Sourceval context_ : string
Sourceval make : ?autoSnapshotAddOnRequest:??? -> ?stopInstanceOnIdleRequest:??? -> addOnType:AddOnType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of TimeOfDay.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