{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-update-incident-record-input-schema.json",
  "title": "UpdateIncidentRecordInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-incident-manager-update-incident-record-api-openapi.yml#/components/schemas/UpdateIncidentRecordInput",
  "type": "object",
  "properties": {
    "clientToken": {
      "type": "string",
      "description": "A token that ensures that a client calls the operation only once with the specified details."
    },
    "arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the incident record you are updating."
    },
    "title": {
      "type": "string",
      "description": "A brief description of the incident."
    },
    "summary": {
      "type": "string",
      "description": "A longer description of what occurred during the incident."
    },
    "impact": {
      "type": "integer",
      "description": "Defines the impact of the incident to customers and applications. If you provide an impact for an incident, it overwrites the impact provided by the response plan. Supported impact codes 1 - Critical 2 - High 3 - Medium 4 - Low 5 - No Impact"
    },
    "status": {
      "type": "string",
      "description": "The status of the incident. Possible statuses are Open or Resolved."
    },
    "chatChannel": {
      "$ref": "#/$defs/ChatChannel"
    },
    "notificationTargets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NotificationTargetItem"
      },
      "description": "The Amazon SNS targets that Incident Manager notifies when a client updates an incident. Using multiple SNS topics creates redundancy in the event that a Region is down during the incident."
    }
  },
  "required": [
    "arn"
  ],
  "$defs": {
    "ChatChannel": {
      "type": "object",
      "properties": {
        "empty": {
          "$ref": "#/$defs/EmptyChatChannel"
        },
        "chatbotSns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon SNS targets that Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics."
        }
      },
      "description": "Exactly one member is set."
    },
    "EmptyChatChannel": {
      "type": "object",
      "properties": {}
    },
    "NotificationTargetItem": {
      "type": "object",
      "properties": {
        "snsTopicArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the SNS topic."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}