ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying SNSClient (loosely typed) for anything not wrapped here.
Publish — publish one message to the topic at topicArn. The message
is encoded to a string (string as-is, Buffer → UTF-8, else JSON). Returns
the message id (and FIFO sequence number, if any).
CreateTopic — create a topic by name. Returns its ARN.
Optionalattributes: Record<string, string>Subscribe — register a push endpoint on the topic at topicArn. Unlike
poll-based engines, SNS pushes notifications to the endpoint, so this takes
an endpoint (SQS/Lambda ARN, HTTPS URL, email, ...) and a protocol rather
than a message handler. Returns the subscription ARN (or 'pending
confirmation' for endpoints that require confirmation).
SnsStorewraps an AWS v3SNSClientand exposes topic publishing, endpoint subscription registration, and topic administration.