{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mq/json-schema/amazon-mq-promote-request-schema.json",
  "title": "PromoteRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mq-operations-api-openapi.yml#/components/schemas/PromoteRequest",
  "type": "object",
  "properties": {
    "BrokerId": {
      "type": "string",
      "description": "The unique ID that Amazon MQ generates for the broker."
    },
    "Mode": {
      "type": "string",
      "enum": [
        "SWITCHOVER",
        "FAILOVER"
      ],
      "description": "The Promote mode requested. Note: Valid values for the parameter are SWITCHOVER, FAILOVER."
    }
  },
  "required": [
    "BrokerId",
    "Mode"
  ]
}