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.3/services/iotanalytics.ts?docs=full";

Information about a message.

interface Message {
messageId: string;
payload: Uint8Array | string;
}

§Properties

§
messageId: string
[src]

The ID you want to assign to the message. Each messageId must be unique within each batch sent.

§
payload: Uint8Array | string
[src]

The payload of the message. This can be a JSON string or a base64-encoded string representing binary data, in which case you must decode it by means of a pipeline activity.