{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-eks/json-schema/amazon-eks-list-associated-access-policies-response-schema.json",
  "title": "ListAssociatedAccessPoliciesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-eks-access-policies-api-openapi.yml#/components/schemas/ListAssociatedAccessPoliciesResponse",
  "type": "object",
  "properties": {
    "clusterName": {
      "type": "string",
      "description": "The name of your cluster."
    },
    "principalArn": {
      "type": "string",
      "description": "The ARN of the IAM principal for the AccessEntry."
    },
    "nextToken": {
      "type": "string",
      "description": "The nextToken value returned from a previous paginated request, where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes."
    },
    "associatedAccessPolicies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssociatedAccessPolicy"
      },
      "description": "The list of access policies associated with the access entry."
    }
  },
  "$defs": {
    "AccessScope": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "cluster",
            "namespace"
          ],
          "description": "The scope type of an access policy."
        },
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A Kubernetes namespace that an access policy is scoped to. A value is required if you specified namespace for Type."
        }
      }
    },
    "AssociatedAccessPolicy": {
      "type": "object",
      "properties": {
        "policyArn": {
          "type": "string",
          "description": "The ARN of the AccessPolicy."
        },
        "accessScope": {
          "$ref": "#/$defs/AccessScope"
        },
        "associatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the AccessPolicy was associated with an AccessEntry."
        },
        "modifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The Unix epoch timestamp for the last modification to the object."
        }
      }
    }
  }
}