{
  "name": "ListDomainBindings",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudSites.ListDomainBindings",
    "service": "sites"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "maxResults": {
        "default": null,
        "format": "uint32",
        "minimum": 0.0,
        "type": [
          "integer",
          "null"
        ]
      },
      "nextToken": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "siteId": {
        "type": "string"
      }
    },
    "required": [
      "siteId"
    ],
    "title": "ListDomainBindingsRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "DomainBindingDescription": {
        "properties": {
          "bindingId": {
            "type": "string"
          },
          "cnameTarget": {
            "type": [
              "string",
              "null"
            ]
          },
          "dnsNotes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "dnsPath": {
            "$ref": "#/definitions/DomainDnsPath"
          },
          "hostname": {
            "type": "string"
          },
          "siteId": {
            "type": "string"
          },
          "status": {
            "$ref": "#/definitions/DomainBindingStatus"
          },
          "validationRecordName": {
            "type": [
              "string",
              "null"
            ]
          },
          "validationRecordType": {
            "type": [
              "string",
              "null"
            ]
          },
          "validationRecordValue": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "bindingId",
          "dnsPath",
          "hostname",
          "siteId",
          "status"
        ],
        "type": "object"
      },
      "DomainBindingStatus": {
        "enum": [
          "PENDING_VALIDATION",
          "ACTIVE",
          "DEGRADED",
          "FAILED",
          "DELETED"
        ],
        "type": "string"
      },
      "DomainDnsPath": {
        "enum": [
          "EXTERNAL_SUBDOMAIN",
          "APEX_ALIAS",
          "DELEGATED_ZONE"
        ],
        "type": "string"
      }
    },
    "properties": {
      "bindings": {
        "items": {
          "$ref": "#/definitions/DomainBindingDescription"
        },
        "type": "array"
      },
      "nextToken": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "bindings"
    ],
    "title": "ListDomainBindingsResponse",
    "type": "object"
  }
}
