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

Message

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

Information about a message.

interface Message {
inputName: string;
messageId: string;
payload: Uint8Array | string;
timestamp?: TimestampValue | null;
}

§Properties

§
inputName: string
[src]

The name of the input into which the message payload is transformed.

§
messageId: string
[src]

The ID to assign to the message. Within each batch sent, each "messageId" must be unique.

§
payload: Uint8Array | string
[src]

The payload of the message. This can be a JSON string or a Base-64-encoded string representing binary data (in which case you must decode it).

§
timestamp?: TimestampValue | null
[src]

The timestamp associated with the message.