{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-update-maintenance-window-request-schema.json",
  "title": "UpdateMaintenanceWindowRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-maintenance-window-api-openapi.yml#/components/schemas/UpdateMaintenanceWindowRequest",
  "type": "object",
  "properties": {
    "WindowId": {
      "type": "string",
      "description": "The ID of the maintenance window to update."
    },
    "Name": {
      "type": "string",
      "description": "The name of the maintenance window."
    },
    "Description": {
      "type": "string",
      "description": "An optional description for the update request."
    },
    "StartDate": {
      "type": "string",
      "description": "The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become active. StartDate allows you to delay activation of the maintenance window until the specified future date. When using a rate schedule, if you provide a start date that occurs in the past, the current date and time are used as the start date."
    },
    "EndDate": {
      "type": "string",
      "description": "The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become inactive. EndDate allows you to set a date and time in the future when the maintenance window will no longer run."
    },
    "Schedule": {
      "type": "string",
      "description": "The schedule of the maintenance window in the form of a cron or rate expression."
    },
    "ScheduleTimezone": {
      "type": "string",
      "description": "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."
    },
    "ScheduleOffset": {
      "type": "integer",
      "description": "The number of days to wait after the date and time specified by a cron expression before running the maintenance window. For example, the following cron expression schedules a maintenance window to run the third Tuesday of every month at 11:30 PM. cron(30 23 ? * TUE#3 *) If the schedule offset is 2, the maintenance window won't run until two days later."
    },
    "Duration": {
      "type": "integer",
      "description": "The duration of the maintenance window in hours."
    },
    "Cutoff": {
      "type": "integer",
      "description": "The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution."
    },
    "AllowUnassociatedTargets": {
      "type": "boolean",
      "description": "Whether targets must be registered with the maintenance window before tasks can be defined for those targets."
    },
    "Enabled": {
      "type": "boolean",
      "description": "Whether the maintenance window is enabled."
    },
    "Replace": {
      "type": "boolean",
      "description": "If True, then all fields that are required by the CreateMaintenanceWindow operation are also required for this API request. Optional fields that aren't specified are set to null."
    }
  },
  "required": [
    "WindowId"
  ]
}