{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-vpc-lattice/json-schema/amazon-vpc-lattice-list-resource-endpoint-associations-response-schema.json",
  "title": "ListResourceEndpointAssociationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-vpc-lattice-listresourceendpointassociations-api-openapi.yml#/components/schemas/ListResourceEndpointAssociationsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResourceEndpointAssociationSummary"
      },
      "description": "Information about the VPC endpoint associations."
    },
    "nextToken": {
      "type": "string",
      "description": "If there are additional results, a pagination token for the next page of results."
    }
  },
  "required": [
    "items"
  ],
  "$defs": {
    "PayerResponsibilityEntry": {
      "type": "object",
      "properties": {
        "scope": {
          "type": "string",
          "enum": [
            "ResourceGatewayCharges"
          ],
          "description": "The category of charges that this entry applies to. ResourceGatewayCharges covers the resource gateway's data processing charge."
        },
        "payerResponsibilityType": {
          "type": "string",
          "enum": [
            "VpcEndpointAccount",
            "ResourceGatewayAccount"
          ],
          "description": "The account that pays this category of charges. VpcEndpointAccount owns the VPC endpoint. ResourceGatewayAccount owns the resource gateway."
        }
      }
    },
    "ResourceEndpointAssociationSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the VPC endpoint association."
        },
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the VPC endpoint association."
        },
        "resourceConfigurationId": {
          "type": "string",
          "description": "The ID of the resource configuration."
        },
        "resourceConfigurationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the resource configuration."
        },
        "resourceConfigurationName": {
          "type": "string",
          "description": "The name of the resource configuration."
        },
        "vpcEndpointId": {
          "type": "string",
          "description": "The ID of the VPC endpoint."
        },
        "vpcEndpointOwner": {
          "type": "string",
          "description": "The owner of the VPC endpoint."
        },
        "createdBy": {
          "type": "string",
          "description": "The account that created the association."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the VPC endpoint association was created, in ISO-8601 format."
        },
        "payerResponsibility": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PayerResponsibilityEntry"
          },
          "description": "Who pays for each category of charges on the VPC endpoint association."
        }
      }
    }
  }
}