Module Values_1.UpdateMaintenanceWindowResultSource

Updates an existing maintenance window. Only specified parameters are modified. The value you specify for Duration determines the specific end time for the maintenance window based on the time it begins. No maintenance window tasks are permitted to start after the resulting endtime minus the number of hours you specify for Cutoff. For example, if the maintenance window starts at 3 PM, the duration is three hours, and the value you specify for Cutoff is one hour, no maintenance window tasks can start after 5 PM.

Sourcetype nonrec t = {
  1. windowId : Values_0.MaintenanceWindowId.t option;
    (*

    The ID of the created maintenance window.

    *)
  2. name : Values_0.MaintenanceWindowName.t option;
    (*

    The name of the maintenance window.

    *)
  3. description : Values_0.MaintenanceWindowDescription.t option;
    (*

    An optional description of the update.

    *)
  4. startDate : Values_0.MaintenanceWindowStringDateTime.t option;
    (*

    The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. The maintenance window won't run before this specified time.

    *)
  5. endDate : Values_0.MaintenanceWindowStringDateTime.t option;
    (*

    The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. The maintenance window won't run after this specified time.

    *)
  6. schedule : Values_0.MaintenanceWindowSchedule.t option;
    (*

    The schedule of the maintenance window in the form of a cron or rate expression.

    *)
  7. scheduleTimezone : Values_0.MaintenanceWindowTimezone.t option;
    (*

    The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.

    *)
  8. scheduleOffset : Values_0.MaintenanceWindowOffset.t option;
    (*

    The number of days to wait to run a maintenance window after the scheduled cron expression date and time.

    *)
  9. duration : Values_0.MaintenanceWindowDurationHours.t option;
    (*

    The duration of the maintenance window in hours.

    *)
  10. cutoff : Values_0.MaintenanceWindowCutoff.t option;
    (*

    The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.

    *)
  11. allowUnassociatedTargets : Values_0.MaintenanceWindowAllowUnassociatedTargets.t option;
    (*

    Whether targets must be registered with the maintenance window before tasks can be defined for those targets.

    *)
  12. enabled : MaintenanceWindowEnabled.t option;
    (*

    Whether the maintenance window is enabled.

    *)
}
Sourcetype nonrec error = [
  1. | `DoesNotExistException of Values_0.DoesNotExistException.t
  2. | `InternalServerError of Values_0.InternalServerError.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?windowId:??? -> ?name:??? -> ?description:??? -> ?startDate:??? -> ?endDate:??? -> ?schedule:??? -> ?scheduleTimezone:??? -> ?scheduleOffset:??? -> ?duration:??? -> ?cutoff:??? -> ?allowUnassociatedTargets:??? -> ?enabled:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DoesNotExistException of Values_0.DoesNotExistException.t | `InternalServerError of Values_0.InternalServerError.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DoesNotExistException of Values_0.DoesNotExistException.t | `InternalServerError of Values_0.InternalServerError.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.MaintenanceWindowAllowUnassociatedTargets.t | `Integer of Values_0.MaintenanceWindowOffset.t | `String of Values_0.MaintenanceWindowId.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