Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EndpointState

import type { EndpointState } from "https://aws-api.deno.dev/v0.4/services/chimesdkidentity.ts?docs=full";

A read-only field that represents the state of an AppInstanceUserEndpoint. Supported values:

  • ACTIVE: The AppInstanceUserEndpoint is active and able to receive messages. When ACTIVE, the EndpointStatusReason remains empty.
  • INACTIVE: The AppInstanceUserEndpoint is inactive and can't receive message. When INACTIVE, the corresponding reason will be conveyed through EndpointStatusReason.
  • INVALID_DEVICE_TOKEN indicates that an AppInstanceUserEndpoint is INACTIVE due to invalid device token
  • INVALID_PINPOINT_ARN indicates that an AppInstanceUserEndpoint is INACTIVE due to an invalid pinpoint ARN that was input through the ResourceArn field.
interface EndpointState {
StatusReason?: EndpointStatusReason | null;
}

§Properties

§

Enum that indicates the Status of an AppInstanceUserEndpoint.

§
StatusReason?: EndpointStatusReason | null
[src]

The reason for the EndpointStatus.