{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud-wan/json-schema/amazon-cloud-wan-create-connection-response-schema.json",
  "title": "CreateConnectionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud-wan-connections-api-openapi.yml#/components/schemas/CreateConnectionResponse",
  "type": "object",
  "properties": {
    "Connection": {
      "$ref": "#/$defs/Connection"
    }
  },
  "$defs": {
    "Connection": {
      "type": "object",
      "properties": {
        "ConnectionId": {
          "type": "string",
          "description": "The ID of the connection."
        },
        "ConnectionArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the connection."
        },
        "GlobalNetworkId": {
          "type": "string",
          "description": "The ID of the global network."
        },
        "DeviceId": {
          "type": "string",
          "description": "The ID of the first device in the connection."
        },
        "ConnectedDeviceId": {
          "type": "string",
          "description": "The ID of the second device in the connection."
        },
        "LinkId": {
          "type": "string",
          "description": "The ID of the link for the first device in the connection."
        },
        "ConnectedLinkId": {
          "type": "string",
          "description": "The ID of the link for the second device in the connection."
        },
        "Description": {
          "type": "string",
          "description": "The description of the connection."
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the connection was created."
        },
        "State": {
          "type": "string",
          "enum": [
            "PENDING",
            "AVAILABLE",
            "DELETING",
            "UPDATING"
          ],
          "description": "The state of the connection."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The tags for the connection."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key. Constraints: Maximum length of 128 characters."
        },
        "Value": {
          "type": "string",
          "description": "The tag value. Constraints: Maximum length of 256 characters."
        }
      }
    }
  }
}