npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_sns

v5.0.0

Published

DataFire integration for Amazon Simple Notification Service

Downloads

9

Readme

@datafire/amazonaws_sns

Client library for Amazon Simple Notification Service

Installation and Usage

npm install --save @datafire/amazonaws_sns
let amazonaws_sns = require('@datafire/amazonaws_sns').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_sns.AddPermission({
  "TopicArn": "",
  "Label": "",
  "AWSAccountId": [],
  "ActionName": []
}).then(data => {
  console.log(data);
});

Description

Amazon Simple Notification Service Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see http://aws.amazon.com/sns. For detailed information about Amazon SNS features and their associated API calls, see the Amazon SNS Developer Guide. We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to Tools for Amazon Web Services.

Actions

AddPermission

amazonaws_sns.AddPermission({
  "TopicArn": "",
  "Label": "",
  "AWSAccountId": [],
  "ActionName": []
}, context)

Input

Output

Output schema unknown

CheckIfPhoneNumberIsOptedOut

amazonaws_sns.CheckIfPhoneNumberIsOptedOut({
  "phoneNumber": ""
}, context)

Input

Output

ConfirmSubscription

amazonaws_sns.ConfirmSubscription({
  "TopicArn": "",
  "Token": ""
}, context)

Input

Output

CreatePlatformApplication

amazonaws_sns.CreatePlatformApplication({
  "Name": "",
  "Platform": "",
  "Attributes": []
}, context)

Input

Output

CreatePlatformEndpoint

amazonaws_sns.CreatePlatformEndpoint({
  "PlatformApplicationArn": "",
  "Token": ""
}, context)

Input

Output

CreateTopic

amazonaws_sns.CreateTopic({
  "Name": ""
}, context)

Input

Output

DeleteEndpoint

amazonaws_sns.DeleteEndpoint({
  "EndpointArn": ""
}, context)

Input

  • input object

Output

Output schema unknown

DeletePlatformApplication

amazonaws_sns.DeletePlatformApplication({
  "PlatformApplicationArn": ""
}, context)

Input

  • input object
    • PlatformApplicationArn required String

Output

Output schema unknown

DeleteTopic

amazonaws_sns.DeleteTopic({
  "TopicArn": ""
}, context)

Input

Output

Output schema unknown

GetEndpointAttributes

amazonaws_sns.GetEndpointAttributes({
  "EndpointArn": ""
}, context)

Input

  • input object

Output

GetPlatformApplicationAttributes

amazonaws_sns.GetPlatformApplicationAttributes({
  "PlatformApplicationArn": ""
}, context)

Input

  • input object
    • PlatformApplicationArn required String

Output

GetSMSAttributes

amazonaws_sns.GetSMSAttributes({}, context)

Input

Output

GetSubscriptionAttributes

amazonaws_sns.GetSubscriptionAttributes({
  "SubscriptionArn": ""
}, context)

Input

Output

GetTopicAttributes

amazonaws_sns.GetTopicAttributes({
  "TopicArn": ""
}, context)

Input

Output

ListEndpointsByPlatformApplication

amazonaws_sns.ListEndpointsByPlatformApplication({
  "PlatformApplicationArn": ""
}, context)

Input

  • input object
    • NextToken string
    • NextToken String
    • PlatformApplicationArn required String

Output

ListPhoneNumbersOptedOut

amazonaws_sns.ListPhoneNumbersOptedOut({}, context)

Input

Output

ListPlatformApplications

amazonaws_sns.ListPlatformApplications({}, context)

Input

  • input object
    • NextToken string
    • NextToken String

Output

ListSubscriptions

amazonaws_sns.ListSubscriptions({}, context)

Input

  • input object

Output

ListSubscriptionsByTopic

amazonaws_sns.ListSubscriptionsByTopic({
  "TopicArn": ""
}, context)

Input

Output

ListTopics

amazonaws_sns.ListTopics({}, context)

Input

  • input object

Output

OptInPhoneNumber

amazonaws_sns.OptInPhoneNumber({
  "phoneNumber": ""
}, context)

Input

Output

Publish

amazonaws_sns.Publish({
  "Message": ""
}, context)

Input

Output

RemovePermission

amazonaws_sns.RemovePermission({
  "TopicArn": "",
  "Label": ""
}, context)

Input

Output

Output schema unknown

SetEndpointAttributes

amazonaws_sns.SetEndpointAttributes({
  "EndpointArn": "",
  "Attributes": []
}, context)

Input

Output

Output schema unknown

SetPlatformApplicationAttributes

amazonaws_sns.SetPlatformApplicationAttributes({
  "PlatformApplicationArn": "",
  "Attributes": []
}, context)

Input

Output

Output schema unknown

SetSMSAttributes

amazonaws_sns.SetSMSAttributes({
  "attributes": []
}, context)

Input

Output

SetSubscriptionAttributes

amazonaws_sns.SetSubscriptionAttributes({
  "SubscriptionArn": "",
  "AttributeName": ""
}, context)

Input

Output

Output schema unknown

SetTopicAttributes

amazonaws_sns.SetTopicAttributes({
  "TopicArn": "",
  "AttributeName": ""
}, context)

Input

Output

Output schema unknown

Subscribe

amazonaws_sns.Subscribe({
  "TopicArn": "",
  "Protocol": ""
}, context)

Input

Output

Unsubscribe

amazonaws_sns.Unsubscribe({
  "SubscriptionArn": ""
}, context)

Input

Output

Output schema unknown

Definitions

ActionsList

AddPermissionInput

AuthorizationErrorException

  • AuthorizationErrorException object: Indicates that the user has been denied access to the requested resource.

Binary

  • Binary string

CheckIfPhoneNumberIsOptedOutInput

  • CheckIfPhoneNumberIsOptedOutInput object: The input for the CheckIfPhoneNumberIsOptedOut action.

CheckIfPhoneNumberIsOptedOutResponse

  • CheckIfPhoneNumberIsOptedOutResponse object: The response from the CheckIfPhoneNumberIsOptedOut action.

ConfirmSubscriptionInput

ConfirmSubscriptionResponse

  • ConfirmSubscriptionResponse object: Response for ConfirmSubscriptions action.

CreateEndpointResponse

  • CreateEndpointResponse object: Response from CreateEndpoint action.

CreatePlatformApplicationInput

  • CreatePlatformApplicationInput object: Input for CreatePlatformApplication action.

CreatePlatformApplicationResponse

  • CreatePlatformApplicationResponse object: Response from CreatePlatformApplication action.

CreatePlatformEndpointInput

  • CreatePlatformEndpointInput object: Input for CreatePlatformEndpoint action.

CreateTopicInput

  • CreateTopicInput object: Input for CreateTopic action.

CreateTopicResponse

  • CreateTopicResponse object: Response from CreateTopic action.

DelegatesList

DeleteEndpointInput

  • DeleteEndpointInput object: Input for DeleteEndpoint action.

DeletePlatformApplicationInput

  • DeletePlatformApplicationInput object: Input for DeletePlatformApplication action.
    • PlatformApplicationArn required String

DeleteTopicInput

  • DeleteTopicInput object

Endpoint

EndpointDisabledException

  • EndpointDisabledException object: Exception error indicating endpoint disabled.

GetEndpointAttributesInput

  • GetEndpointAttributesInput object: Input for GetEndpointAttributes action.

GetEndpointAttributesResponse

  • GetEndpointAttributesResponse object: Response from GetEndpointAttributes of the EndpointArn.

GetPlatformApplicationAttributesInput

  • GetPlatformApplicationAttributesInput object: Input for GetPlatformApplicationAttributes action.
    • PlatformApplicationArn required String

GetPlatformApplicationAttributesResponse

  • GetPlatformApplicationAttributesResponse object: Response for GetPlatformApplicationAttributes action.

GetSMSAttributesInput

  • GetSMSAttributesInput object: The input for the GetSMSAttributes request.

GetSMSAttributesResponse

  • GetSMSAttributesResponse object: The response from the GetSMSAttributes request.

GetSubscriptionAttributesInput

  • GetSubscriptionAttributesInput object: Input for GetSubscriptionAttributes.

GetSubscriptionAttributesResponse

GetTopicAttributesInput

  • GetTopicAttributesInput object: Input for GetTopicAttributes action.

GetTopicAttributesResponse

  • GetTopicAttributesResponse object: Response for GetTopicAttributes action.

InternalErrorException

  • InternalErrorException object: Indicates an internal service error.

InvalidParameterException

  • InvalidParameterException object: Indicates that a request parameter does not comply with the associated constraints.

InvalidParameterValueException

  • InvalidParameterValueException object: Indicates that a request parameter does not comply with the associated constraints.

ListEndpointsByPlatformApplicationInput

  • ListEndpointsByPlatformApplicationInput object: Input for ListEndpointsByPlatformApplication action.

ListEndpointsByPlatformApplicationResponse

  • ListEndpointsByPlatformApplicationResponse object: Response for ListEndpointsByPlatformApplication action.

ListOfEndpoints

ListOfPlatformApplications

ListPhoneNumbersOptedOutInput

  • ListPhoneNumbersOptedOutInput object: The input for the ListPhoneNumbersOptedOut action.

ListPhoneNumbersOptedOutResponse

  • ListPhoneNumbersOptedOutResponse object: The response from the ListPhoneNumbersOptedOut action.

ListPlatformApplicationsInput

  • ListPlatformApplicationsInput object: Input for ListPlatformApplications action.

ListPlatformApplicationsResponse

ListString

ListSubscriptionsByTopicInput

  • ListSubscriptionsByTopicInput object: Input for ListSubscriptionsByTopic action.

ListSubscriptionsByTopicResponse

  • ListSubscriptionsByTopicResponse object: Response for ListSubscriptionsByTopic action.

ListSubscriptionsInput

  • ListSubscriptionsInput object: Input for ListSubscriptions action.

ListSubscriptionsResponse

ListTopicsInput

ListTopicsResponse

MapStringToString

MessageAttributeMap

MessageAttributeValue

  • MessageAttributeValue object: The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see Publish. Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes). For more information, see Using Amazon SNS Message Attributes.

NotFoundException

  • NotFoundException object: Indicates that the requested resource does not exist.

OptInPhoneNumberInput

  • OptInPhoneNumberInput object: Input for the OptInPhoneNumber action.

OptInPhoneNumberResponse

  • OptInPhoneNumberResponse object: The response for the OptInPhoneNumber action.

PhoneNumber

  • PhoneNumber string

PhoneNumberList

PlatformApplication

PlatformApplicationDisabledException

  • PlatformApplicationDisabledException object: Exception error indicating platform application disabled.

PublishInput

PublishResponse

  • PublishResponse object: Response for Publish action.

RemovePermissionInput

  • RemovePermissionInput object: Input for RemovePermission action.

SetEndpointAttributesInput

  • SetEndpointAttributesInput object: Input for SetEndpointAttributes action.

SetPlatformApplicationAttributesInput

  • SetPlatformApplicationAttributesInput object: Input for SetPlatformApplicationAttributes action.

SetSMSAttributesInput

  • SetSMSAttributesInput object: The input for the SetSMSAttributes action.

SetSMSAttributesResponse

  • SetSMSAttributesResponse object: The response for the SetSMSAttributes action.

SetSubscriptionAttributesInput

SetTopicAttributesInput

String

  • String string

SubscribeInput

SubscribeResponse

  • SubscribeResponse object: Response for Subscribe action.

Subscription

SubscriptionAttributesMap

SubscriptionLimitExceededException

  • SubscriptionLimitExceededException object: Indicates that the customer already owns the maximum allowed number of subscriptions.

SubscriptionsList

ThrottledException

  • ThrottledException object: Indicates that the rate at which requests have been submitted for this action exceeds the limit for your account.

Topic

  • Topic object: A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use GetTopicAttributes.

TopicAttributesMap

TopicLimitExceededException

  • TopicLimitExceededException object: Indicates that the customer already owns the maximum allowed number of topics.

TopicsList

  • TopicsList array

UnsubscribeInput

  • UnsubscribeInput object: Input for Unsubscribe action.

account

  • account string

action

  • action string

attributeName

  • attributeName string

attributeValue

  • attributeValue string

authenticateOnUnsubscribe

  • authenticateOnUnsubscribe string

boolean

  • boolean boolean

delegate

  • delegate string

endpoint

  • endpoint string

label

  • label string

message

  • message string

messageId

  • messageId string

messageStructure

  • messageStructure string

nextToken

  • nextToken string

protocol

  • protocol string

string

  • string string

subject

  • subject string

subscriptionARN

  • subscriptionARN string

token

  • token string

topicARN

  • topicARN string

topicName

  • topicName string