Module Values.AutoTuneOptionsSource

Auto-Tune settings when updating a domain. For more information, see Auto-Tune for Amazon OpenSearch Service.

Sourcetype nonrec t = {
  1. desiredState : AutoTuneDesiredState.t option;
    (*

    Whether Auto-Tune is enabled or disabled.

    *)
  2. rollbackOnDisable : RollbackOnDisable.t option;
    (*

    When disabling Auto-Tune, specify NO_ROLLBACK to retain all prior Auto-Tune settings or DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. If you specify DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request. Otherwise, OpenSearch Service is unable to perform the rollback.

    *)
  3. maintenanceSchedules : AutoTuneMaintenanceScheduleList.t option;
    (*

    DEPRECATED. Use off-peak window instead. A list of maintenance schedules during which Auto-Tune can deploy changes.

    *)
  4. useOffPeakWindow : Boolean.t option;
    (*

    Whether to use the domain's off-peak window to deploy configuration changes on the domain rather than a maintenance schedule.

    *)
}
Sourceval make : ?desiredState:??? -> ?rollbackOnDisable:??? -> ?maintenanceSchedules:??? -> ?useOffPeakWindow:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Enum of string | `Long of DurationValue.t ]) list | `Timestamp of StartAt.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