{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-chime/json-schema/amazon-chime-list-app-instance-user-endpoints-response-schema.json",
  "title": "ListAppInstanceUserEndpointsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-chime-endpoints-api-openapi.yml#/components/schemas/ListAppInstanceUserEndpointsResponse",
  "type": "object",
  "properties": {
    "AppInstanceUserEndpoints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AppInstanceUserEndpointSummary"
      },
      "description": "The information for each requested AppInstanceUserEndpoint."
    },
    "NextToken": {
      "type": "string",
      "description": "The token passed by previous API calls until all requested endpoints are returned."
    }
  },
  "$defs": {
    "AppInstanceUserEndpointSummary": {
      "type": "object",
      "properties": {
        "AppInstanceUserArn": {
          "type": "string",
          "description": "The ARN of the AppInstanceUser."
        },
        "EndpointId": {
          "type": "string",
          "description": "The unique identifier of the AppInstanceUserEndpoint."
        },
        "Name": {
          "type": "string",
          "description": "The name of the AppInstanceUserEndpoint."
        },
        "Type": {
          "type": "string",
          "enum": [
            "APNS",
            "APNS_SANDBOX",
            "GCM"
          ],
          "description": "The type of the AppInstanceUserEndpoint."
        },
        "AllowMessages": {
          "type": "string",
          "enum": [
            "ALL",
            "NONE"
          ],
          "description": "BBoolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint will receive all messages. NONE indicates the endpoint will receive no messages."
        },
        "EndpointState": {
          "$ref": "#/$defs/EndpointState"
        }
      }
    },
    "EndpointState": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE"
          ],
          "description": "Enum that indicates the Status of an AppInstanceUserEndpoint."
        },
        "StatusReason": {
          "type": "string",
          "enum": [
            "INVALID_DEVICE_TOKEN",
            "INVALID_PINPOINT_ARN"
          ],
          "description": "The reason for the EndpointStatus."
        }
      },
      "required": [
        "Status"
      ]
    }
  }
}