Amazon API Gateway · Schema

Error

GatewayHTTP APIREST APIServerlessWebSocket

Properties

Name Type Description
message string A human-readable error message.
code string The error code.
View JSON Schema on GitHub

JSON Schema

amazon-api-gateway-error-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Error",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "A human-readable error message."
    },
    "code": {
      "type": "string",
      "description": "The error code."
    }
  }
}