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

SendEventRequest

import type { SendEventRequest } from "https://aws-api.deno.dev/v0.4/services/connectparticipant.ts?docs=full";
interface SendEventRequest {
ClientToken?: string | null;
ConnectionToken: string;
Content?: string | null;
ContentType: string;
}

§Properties

§
ClientToken?: string | null
[src]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

§
ConnectionToken: string
[src]

The authentication token associated with the participant's connection.

§
Content?: string | null
[src]

The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

Sample Content: "{"messageId":"11111111-aaaa-bbbb-cccc-EXAMPLE01234"}"

§
ContentType: string
[src]

The content type of the request. Supported types are:

  • application/vnd.amazonaws.connect.event.typing
  • application/vnd.amazonaws.connect.event.connection.acknowledged
  • application/vnd.amazonaws.connect.event.message.delivered
  • application/vnd.amazonaws.connect.event.message.read