{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-interactive-video-service/json-schema/amazon-interactive-video-service-update-room-response-schema.json",
  "title": "UpdateRoomResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-interactive-video-service-operations-api-openapi.yml#/components/schemas/UpdateRoomResponse",
  "type": "object",
  "properties": {
    "arn": {
      "type": "string",
      "description": "Room ARN, from the request (if identifier was an ARN)."
    },
    "id": {
      "type": "string",
      "description": "Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room."
    },
    "name": {
      "type": "string",
      "description": "Room name, from the request (if specified)."
    },
    "createTime": {
      "type": "string",
      "format": "date-time",
      "description": "Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string."
    },
    "updateTime": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string."
    },
    "maximumMessageRatePerSecond": {
      "type": "integer",
      "description": "Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified)."
    },
    "maximumMessageLength": {
      "type": "integer",
      "description": "Maximum number of characters in a single message, from the request (if specified)."
    },
    "messageReviewHandler": {
      "$ref": "#/$defs/MessageReviewHandler"
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)."
    },
    "loggingConfigurationIdentifiers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of logging configurations attached to the room, from the request (if specified)."
    }
  },
  "$defs": {
    "MessageReviewHandler": {
      "type": "object",
      "properties": {
        "uri": {
          "type": "string",
          "description": "Identifier of the message review handler. Currently this must be an ARN of a lambda function."
        },
        "fallbackResult": {
          "type": "string",
          "description": "Specifies the fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. (For the timeout period, see Service Quotas.) If allowed, the message is delivered with returned content to all users connected to the room. If denied, the message is not delivered to any user. Default: ALLOW."
        }
      }
    }
  }
}