{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-update-replication-set-input-schema.json",
  "title": "UpdateReplicationSetInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-incident-manager-update-replication-set-api-openapi.yml#/components/schemas/UpdateReplicationSetInput",
  "type": "object",
  "properties": {
    "arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the replication set you're updating."
    },
    "actions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UpdateReplicationSetAction"
      },
      "description": "An action to add or delete a Region."
    },
    "clientToken": {
      "type": "string",
      "description": "A token that ensures that the operation is called only once with the specified details."
    }
  },
  "required": [
    "arn",
    "actions"
  ],
  "$defs": {
    "AddRegionAction": {
      "type": "object",
      "properties": {
        "regionName": {
          "type": "string",
          "description": "The Amazon Web Services Region name to add to the replication set."
        },
        "sseKmsKeyId": {
          "type": "string",
          "description": "The KMS key ID to use to encrypt your replication set."
        }
      },
      "required": [
        "regionName"
      ]
    },
    "DeleteRegionAction": {
      "type": "object",
      "properties": {
        "regionName": {
          "type": "string",
          "description": "The name of the Amazon Web Services Region you're deleting from the replication set."
        }
      },
      "required": [
        "regionName"
      ]
    },
    "UpdateReplicationSetAction": {
      "type": "object",
      "properties": {
        "addRegionAction": {
          "$ref": "#/$defs/AddRegionAction"
        },
        "deleteRegionAction": {
          "$ref": "#/$defs/DeleteRegionAction"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}