{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-update-domain-association-request-schema.json",
  "title": "UpdateDomainAssociationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-domain-association-api-openapi.yml#/components/schemas/UpdateDomainAssociationRequest",
  "type": "object",
  "properties": {
    "Domain": {
      "type": "string",
      "description": "The domain to update."
    },
    "TargetResource": {
      "$ref": "#/$defs/DistributionResourceId"
    },
    "IfMatch": {
      "type": "string",
      "description": "The value of the ETag identifier for the standard distribution or distribution tenant that will be associated with the domain."
    }
  },
  "required": [
    "Domain",
    "TargetResource"
  ],
  "$defs": {
    "DistributionResourceId": {
      "type": "object",
      "properties": {
        "DistributionId": {
          "type": "string",
          "description": "The ID of the multi-tenant distribution."
        },
        "DistributionTenantId": {
          "type": "string",
          "description": "The ID of the distribution tenant."
        }
      }
    }
  }
}