PublishRequest
import type { PublishRequest } from "https://aws-api.deno.dev/v0.3/services/iotdata.ts?docs=full";
The input for the Publish operation.
interface PublishRequest {
payload?: Uint8Array | string | null;
qos?: number | null;
retain?: boolean | null;
topic: string;
}§Properties
§
payload?: Uint8Array | string | null
[src]The message body. MQTT accepts text, binary, and empty (null) message payloads.
Publishing an empty (null) payload with retain = true
deletes the retained message identified by topic from IoT Core.