{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-route-53/json-schema/amazon-route-53-list-traffic-policy-instances-response-schema.json",
  "title": "ListTrafficPolicyInstancesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-route-53-trafficpolicyinstance-api-openapi.yml#/components/schemas/ListTrafficPolicyInstancesResponse",
  "type": "object",
  "properties": {
    "TrafficPolicyInstances": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TrafficPolicyInstance"
      },
      "description": "A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request."
    },
    "HostedZoneIdMarker": {
      "type": "string",
      "description": "If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request."
    },
    "TrafficPolicyInstanceNameMarker": {
      "type": "string",
      "description": "If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request."
    },
    "TrafficPolicyInstanceTypeMarker": {
      "type": "string",
      "enum": [
        "SOA",
        "A",
        "TXT",
        "NS",
        "CNAME",
        "MX",
        "NAPTR",
        "PTR",
        "SRV",
        "SPF",
        "AAAA",
        "CAA",
        "DS",
        "TLSA",
        "SSHFP",
        "SVCB",
        "HTTPS"
      ],
      "description": "If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request."
    },
    "IsTruncated": {
      "type": "boolean",
      "description": "A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get more traffic policy instances by calling ListTrafficPolicyInstances again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker in the corresponding request parameters."
    },
    "MaxItems": {
      "type": "integer",
      "description": "The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstances that produced the current response."
    }
  },
  "required": [
    "TrafficPolicyInstances",
    "IsTruncated",
    "MaxItems"
  ],
  "$defs": {
    "TrafficPolicyInstance": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The ID that Amazon Route 53 assigned to the new traffic policy instance."
        },
        "HostedZoneId": {
          "type": "string",
          "description": "The ID of the hosted zone that Amazon Route 53 created resource record sets in."
        },
        "Name": {
          "type": "string",
          "description": "The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance."
        },
        "TTL": {
          "type": "integer",
          "description": "The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone."
        },
        "State": {
          "type": "string",
          "description": "The value of State is one of the following values: Applied Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Route 53 edge locations. Creating Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that the CreateTrafficPolicyInstance request completed successfully. Failed Route 53 wasn't able to create or update the resource record sets. When the value of State is Failed, see Message for an explanation of what caused the request to fail."
        },
        "Message": {
          "type": "string",
          "description": "If State is Failed, an explanation of the reason for the failure. If State is another value, Message is empty."
        },
        "TrafficPolicyId": {
          "type": "string",
          "description": "The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone."
        },
        "TrafficPolicyVersion": {
          "type": "integer",
          "description": "The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone."
        },
        "TrafficPolicyType": {
          "type": "string",
          "enum": [
            "SOA",
            "A",
            "TXT",
            "NS",
            "CNAME",
            "MX",
            "NAPTR",
            "PTR",
            "SRV",
            "SPF",
            "AAAA",
            "CAA",
            "DS",
            "TLSA",
            "SSHFP",
            "SVCB",
            "HTTPS"
          ],
          "description": "The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance."
        }
      },
      "required": [
        "Id",
        "HostedZoneId",
        "Name",
        "TTL",
        "State",
        "Message",
        "TrafficPolicyId",
        "TrafficPolicyVersion",
        "TrafficPolicyType"
      ]
    }
  }
}