{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-endpoint-authorization-schema.json",
  "title": "EndpointAuthorization",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-endpoint-access-api-openapi.yml#/components/schemas/EndpointAuthorization",
  "type": "object",
  "properties": {
    "Grantor": {
      "type": "string",
      "description": "The Amazon Web Services account ID of the cluster owner."
    },
    "Grantee": {
      "type": "string",
      "description": "The Amazon Web Services account ID of the grantee of the cluster."
    },
    "ClusterIdentifier": {
      "type": "string",
      "description": "The cluster identifier."
    },
    "AuthorizeTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time (UTC) when the authorization was created."
    },
    "ClusterStatus": {
      "type": "string",
      "description": "The status of the cluster."
    },
    "Status": {
      "type": "string",
      "enum": [
        "Authorized",
        "Revoking"
      ],
      "description": "The status of the authorization action."
    },
    "AllowedAllVPCs": {
      "type": "boolean",
      "description": "Indicates whether all VPCs in the grantee account are allowed access to the cluster."
    },
    "AllowedVPCs": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The VPCs allowed access to the cluster."
    },
    "EndpointCount": {
      "type": "integer",
      "description": "The number of Redshift-managed VPC endpoints created for the authorization."
    }
  }
}