{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-update-anycast-ip-list-request-schema.json",
  "title": "UpdateAnycastIpListRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-anycast-ip-list-api-openapi.yml#/components/schemas/UpdateAnycastIpListRequest",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "The ID of the Anycast static IP list."
    },
    "IpAddressType": {
      "type": "string",
      "enum": [
        "ipv4",
        "ipv6",
        "dualstack"
      ],
      "description": "The IP address type for the Anycast static IP list. You can specify one of the following options: ipv4 only ipv6 only dualstack - Allocate a list of both IPv4 and IPv6 addresses"
    },
    "IpamCidrConfigs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IpamCidrConfig"
      },
      "description": "A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for updating the Anycast static IP list."
    },
    "IfMatch": {
      "type": "string",
      "description": "The current version (ETag value) of the Anycast static IP list that you are updating."
    }
  },
  "required": [
    "Id",
    "IfMatch"
  ],
  "$defs": {
    "IpamCidrConfig": {
      "type": "object",
      "properties": {
        "Cidr": {
          "type": "string",
          "description": "The CIDR that specifies the IP address range for this IPAM configuration."
        },
        "IpamPoolArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is assigned to."
        },
        "AnycastIp": {
          "type": "string",
          "description": "The specified Anycast IP address allocated from the IPAM pool for this CIDR configuration."
        },
        "Status": {
          "type": "string",
          "enum": [
            "provisioned",
            "failed-provision",
            "provisioning",
            "deprovisioned",
            "failed-deprovision",
            "deprovisioning",
            "advertised",
            "failed-advertise",
            "advertising",
            "withdrawn",
            "failed-withdraw",
            "withdrawing"
          ],
          "description": "The current status of the IPAM CIDR configuration."
        }
      },
      "required": [
        "Cidr",
        "IpamPoolArn"
      ]
    }
  }
}