{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud-wan/json-schema/amazon-cloud-wan-get-links-response-schema.json",
  "title": "GetLinksResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud-wan-links-api-openapi.yml#/components/schemas/GetLinksResponse",
  "type": "object",
  "properties": {
    "Links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Link"
      },
      "description": "The links."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next page of results."
    }
  },
  "$defs": {
    "Bandwidth": {
      "type": "object",
      "properties": {
        "UploadSpeed": {
          "type": "integer",
          "description": "Upload speed in Mbps."
        },
        "DownloadSpeed": {
          "type": "integer",
          "description": "Download speed in Mbps."
        }
      }
    },
    "Link": {
      "type": "object",
      "properties": {
        "LinkId": {
          "type": "string",
          "description": "The ID of the link."
        },
        "LinkArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the link."
        },
        "GlobalNetworkId": {
          "type": "string",
          "description": "The ID of the global network."
        },
        "SiteId": {
          "type": "string",
          "description": "The ID of the site."
        },
        "Description": {
          "type": "string",
          "description": "The description of the link."
        },
        "Type": {
          "type": "string",
          "description": "The type of the link."
        },
        "Bandwidth": {
          "$ref": "#/$defs/Bandwidth"
        },
        "Provider": {
          "type": "string",
          "description": "The provider of the link."
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the link was created."
        },
        "State": {
          "type": "string",
          "enum": [
            "PENDING",
            "AVAILABLE",
            "DELETING",
            "UPDATING"
          ],
          "description": "The state of the link."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The tags for the link."
        }
      }
    },
    "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."
        }
      }
    }
  }
}