@datafire/amazonaws_sns

5.0.0 • Public • Published

@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

  • input object

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

  • input object

Output

ListEndpointsByPlatformApplication

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

Input

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

Output

ListPhoneNumbersOptedOut

amazonaws_sns.ListPhoneNumbersOptedOut({}, context)

Input

  • input object

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

  • ActionsList array

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.
    • PlatformApplicationArn String

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

  • GetSubscriptionAttributesResponse object: Response for GetSubscriptionAttributes action.

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

  • ListString array

ListSubscriptionsByTopicInput

  • ListSubscriptionsByTopicInput object: Input for ListSubscriptionsByTopic action.

ListSubscriptionsByTopicResponse

  • ListSubscriptionsByTopicResponse object: Response for ListSubscriptionsByTopic action.

ListSubscriptionsInput

  • ListSubscriptionsInput object: Input for ListSubscriptions action.

ListSubscriptionsResponse

ListTopicsInput

ListTopicsResponse

  • ListTopicsResponse object: Response for ListTopics action.

MapStringToString

  • MapStringToString array

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

  • PlatformApplication object: Platform application object.

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

  • SubscribeInput object: Input for Subscribe action.

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

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/amazonaws_sns

Weekly Downloads

7

Version

5.0.0

License

MIT

Unpacked Size

155 kB

Total Files

5

Last publish

Collaborators

  • datafire