method ISnsTransport.publish
ISnsTransport.publish(
topicArn: string,
body: string
): Promise<string | undefined>

Publish a message to a topic. Returns the message ID or undefined.

Parameters

topicArn: string
body: string

Return Type

Promise<string | undefined>

Usage

import { type ISnsTransport } from "queue-plugin/src/index.ts";