Socket
Socket
Sign inDemoInstall

@aws-lite/sns

Package Overview
Dependencies
0
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aws-lite/sns

Official `aws-lite` plugin for SNS


Version published
Maintainers
3
Install size
12.6 kB
Created

Readme

Source

@aws-lite/sns

Official aws-lite plugin for SNS

Maintained by: @architect

Install

npm i @aws-lite/sns

Optionally install types:

npm i -D @aws-lite/sns-types

Reference

Reference documentation with examples at aws-lite.org

Methods

Publish

Canonical AWS API doc

Properties:

  • Message (string) [required]
    • Message payload to send
  • MessageAttributes (string)
    • String to MessageAttributeValue object map
  • MessageDeduplicationId (string)
    • Ensures request is idempotent; may only be used for FIFO topics
  • MessageGroupId (string)
    • Tag specifying a specific message group; may only be used for FIFO topics
  • MessageStructure (string)
    • May be set to json publish JSON payloads
  • PhoneNumber (string)
    • SMS recipient phone number in E.164 format; if not specified, you must specify TargetArn or TargetArn
  • Subject (string)
    • Email subject line
  • TargetArn (string)
    • If not specified, you must specify PhoneNumber or TopicArn
  • TopicArn (string)
    • ARN of the the topic to publish to; if not specified, you must specify PhoneNumber or TargetArn

Methods yet to be implemented

Please help out by opening a PR!

Learn more

FAQs

Last updated on 25 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc