{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-outposts/json-schema/amazon-outposts-get-connection-response-schema.json",
  "title": "GetConnectionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-outposts-connections-api-openapi.yml#/components/schemas/GetConnectionResponse",
  "type": "object",
  "properties": {
    "ConnectionId": {
      "type": "string",
      "description": "The ID of the connection."
    },
    "ConnectionDetails": {
      "$ref": "#/$defs/ConnectionDetails"
    }
  },
  "$defs": {
    "ConnectionDetails": {
      "type": "object",
      "properties": {
        "ClientPublicKey": {
          "type": "string",
          "description": "The public key of the client."
        },
        "ServerPublicKey": {
          "type": "string",
          "description": "The public key of the server."
        },
        "ServerEndpoint": {
          "type": "string",
          "description": "The endpoint for the server."
        },
        "ClientTunnelAddress": {
          "type": "string",
          "description": "The client tunnel address."
        },
        "ServerTunnelAddress": {
          "type": "string",
          "description": "The server tunnel address."
        },
        "AllowedIps": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The allowed IP addresses."
        }
      }
    }
  }
}