interface ISnsTransport

Domain port for SNS operations.

Methods

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

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

close(): Promise<void>

Close the client.

Usage

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