{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-update-timeline-event-input-schema.json",
  "title": "UpdateTimelineEventInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-incident-manager-update-timeline-event-api-openapi.yml#/components/schemas/UpdateTimelineEventInput",
  "type": "object",
  "properties": {
    "clientToken": {
      "type": "string",
      "description": "A token that ensures that a client calls the operation only once with the specified details."
    },
    "incidentRecordArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the incident that includes the timeline event."
    },
    "eventId": {
      "type": "string",
      "description": "The ID of the event to update. You can use ListTimelineEvents to find an event's ID."
    },
    "eventTime": {
      "type": "string",
      "description": "The timestamp for when the event occurred."
    },
    "eventType": {
      "type": "string",
      "description": "The type of event. You can update events of type Custom Event and Note."
    },
    "eventData": {
      "type": "string",
      "description": "A short description of the event."
    },
    "eventReferences": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EventReference"
      },
      "description": "Updates all existing references in a TimelineEvent. A reference is an Amazon Web Services resource involved or associated with the incident. To specify a reference, enter its Amazon Resource Name (ARN). You can also specify a related item associated with that resource. For example, to specify an Amazon DynamoDB (DynamoDB) table as a resource, use its ARN. You can also specify an Amazon CloudWatch metric associated with the DynamoDB table as a related item. This update action overrides all existing references. If you want to keep existing references, you must specify them in the call. If you do"
    }
  },
  "required": [
    "incidentRecordArn",
    "eventId"
  ],
  "$defs": {
    "EventReference": {
      "type": "object",
      "properties": {
        "resource": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a TimelineEvent."
        },
        "relatedItemId": {
          "type": "string",
          "description": "The ID of a RelatedItem referenced in a TimelineEvent."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}