{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-appsync/json-schema/amazon-appsync-associate-api-response-schema.json",
  "title": "AssociateApiResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-appsync-apiassociation-api-openapi.yml#/components/schemas/AssociateApiResponse",
  "type": "object",
  "properties": {
    "apiAssociation": {
      "$ref": "#/$defs/ApiAssociation"
    }
  },
  "$defs": {
    "ApiAssociation": {
      "type": "object",
      "properties": {
        "domainName": {
          "type": "string",
          "description": "The domain name."
        },
        "apiId": {
          "type": "string",
          "description": "The API ID."
        },
        "associationStatus": {
          "type": "string",
          "enum": [
            "PROCESSING",
            "FAILED",
            "SUCCESS"
          ],
          "description": "Identifies the status of an association. PROCESSING: The API association is being created. You cannot modify association requests during processing. SUCCESS: The API association was successful. You can modify associations after success. FAILED: The API association has failed. You can modify associations after failure."
        },
        "deploymentDetail": {
          "type": "string",
          "description": "Details about the last deployment status."
        }
      }
    }
  }
}