{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-update-scheduled-action-request-schema.json",
  "title": "UpdateScheduledActionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-operations-api-openapi.yml#/components/schemas/UpdateScheduledActionRequest",
  "type": "object",
  "properties": {
    "DomainName": {
      "type": "string",
      "description": "The name of the domain to reschedule an action for."
    },
    "ActionID": {
      "type": "string",
      "description": "The unique identifier of the action to reschedule. To retrieve this ID, send a ListScheduledActions request."
    },
    "ActionType": {
      "type": "string",
      "enum": [
        "SERVICE_SOFTWARE_UPDATE",
        "JVM_HEAP_SIZE_TUNING",
        "JVM_YOUNG_GEN_TUNING"
      ],
      "description": "The type of action to reschedule. Can be one of SERVICE_SOFTWARE_UPDATE, JVM_HEAP_SIZE_TUNING, or JVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request."
    },
    "ScheduleAt": {
      "type": "string",
      "enum": [
        "NOW",
        "TIMESTAMP",
        "OFF_PEAK_WINDOW"
      ],
      "description": "When to schedule the action. NOW - Immediately schedules the update to happen in the current hour if there's capacity available. TIMESTAMP - Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value for DesiredStartTime. OFF_PEAK_WINDOW - Marks the action to be picked up during an upcoming off-peak window. There's no guarantee that the change will be implemented during the next immediate window. Depending on capacity, it might happen in subsequent days."
    },
    "DesiredStartTime": {
      "type": "integer",
      "description": "The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you set ScheduleAt to TIMESTAMP."
    }
  },
  "required": [
    "DomainName",
    "ActionID",
    "ActionType",
    "ScheduleAt"
  ]
}