{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-vpc-lattice/json-schema/amazon-vpc-lattice-get-service-network-resource-association-response-schema.json",
  "title": "GetServiceNetworkResourceAssociationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-vpc-lattice-getservicenetworkresourceassociation-api-openapi.yml#/components/schemas/GetServiceNetworkResourceAssociationResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the association."
    },
    "arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the association."
    },
    "status": {
      "type": "string",
      "description": "The status of the association."
    },
    "createdBy": {
      "type": "string",
      "description": "The account that created the association."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time that the association was created, in ISO-8601 format."
    },
    "resourceConfigurationId": {
      "type": "string",
      "description": "The ID of the resource configuration that is associated with the service network."
    },
    "resourceConfigurationArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the association."
    },
    "resourceConfigurationName": {
      "type": "string",
      "description": "The name of the resource configuration that is associated with the service network."
    },
    "serviceNetworkId": {
      "type": "string",
      "description": "The ID of the service network that is associated with the resource configuration."
    },
    "serviceNetworkArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the service network that is associated with the resource configuration."
    },
    "serviceNetworkName": {
      "type": "string",
      "description": "The name of the service network that is associated with the resource configuration."
    },
    "failureReason": {
      "type": "string",
      "description": "The reason the association request failed."
    },
    "failureCode": {
      "type": "string",
      "description": "The failure code."
    },
    "lastUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The most recent date and time that the association was updated, in ISO-8601 format."
    },
    "privateDnsEntry": {
      "$ref": "#/$defs/DnsEntry"
    },
    "privateDnsEnabled": {
      "type": "boolean",
      "description": "Indicates if private DNS is enabled in the service network resource association."
    },
    "dnsEntry": {
      "$ref": "#/$defs/DnsEntry"
    },
    "isManagedAssociation": {
      "type": "boolean",
      "description": "Indicates whether the association is managed by Amazon."
    },
    "domainVerificationStatus": {
      "type": "string",
      "description": "The domain verification status in the service network resource association."
    }
  },
  "$defs": {
    "DnsEntry": {
      "type": "object",
      "properties": {
        "domainName": {
          "type": "string",
          "description": "The domain name of the service."
        },
        "hostedZoneId": {
          "type": "string",
          "description": "The ID of the hosted zone."
        }
      }
    }
  }
}