Module Values.OffPeakWindowOptionsSource

Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.

Sourcetype nonrec t = {
  1. enabled : Boolean.t option;
    (*

    Whether to enable an off-peak window. This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.

    *)
  2. offPeakWindow : OffPeakWindow.t option;
    (*

    Off-peak window settings for the domain.

    *)
}
Sourceval make : ?enabled:??? -> ?offPeakWindow:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `Structure of (string * [> `Long of StartTimeHours.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