{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-describe-ipam-byoasn-result-schema.json",
  "title": "DescribeIpamByoasnResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-ipam-byoasn-api-openapi.yml#/components/schemas/DescribeIpamByoasnResult",
  "type": "object",
  "properties": {
    "Byoasns": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Byoasn"
      },
      "description": "ASN and BYOIP CIDR associations."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to use to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "Byoasn": {
      "type": "object",
      "properties": {
        "Asn": {
          "type": "string",
          "description": "A public 2-byte or 4-byte ASN."
        },
        "IpamId": {
          "type": "string",
          "description": "An IPAM ID."
        },
        "StatusMessage": {
          "type": "string",
          "description": "The status message."
        },
        "State": {
          "type": "string",
          "enum": [
            "deprovisioned",
            "failed-deprovision",
            "failed-provision",
            "pending-deprovision",
            "pending-provision",
            "provisioned"
          ],
          "description": "The provisioning state of the BYOASN."
        }
      }
    }
  }
}