Expand description
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 https://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.
If you’re using the service, you’re probably looking for SnsClient and Sns.
Structs§
- AddPermission
Input - Check
IfPhone Number IsOpted OutInput The input for the
CheckIfPhoneNumberIsOptedOut
action.- Check
IfPhone Number IsOpted OutResponse The response from the
CheckIfPhoneNumberIsOptedOut
action.- Confirm
Subscription Input Input for ConfirmSubscription action.
- Confirm
Subscription Response Response for ConfirmSubscriptions action.
- Create
Endpoint Response Response from CreateEndpoint action.
- Create
Platform Application Input Input for CreatePlatformApplication action.
- Create
Platform Application Response Response from CreatePlatformApplication action.
- Create
Platform Endpoint Input Input for CreatePlatformEndpoint action.
- Create
Topic Input Input for CreateTopic action.
- Create
Topic Response Response from CreateTopic action.
- Delete
Endpoint Input Input for DeleteEndpoint action.
- Delete
Platform Application Input Input for DeletePlatformApplication action.
- Delete
Topic Input - GetEndpoint
Attributes Input Input for GetEndpointAttributes action.
- GetEndpoint
Attributes Response Response from GetEndpointAttributes of the EndpointArn.
- GetPlatform
Application Attributes Input Input for GetPlatformApplicationAttributes action.
- GetPlatform
Application Attributes Response Response for GetPlatformApplicationAttributes action.
- GetSMS
Attributes Input The input for the
GetSMSAttributes
request.- GetSMS
Attributes Response The response from the
GetSMSAttributes
request.- GetSubscription
Attributes Input Input for GetSubscriptionAttributes.
- GetSubscription
Attributes Response Response for GetSubscriptionAttributes action.
- GetTopic
Attributes Input Input for GetTopicAttributes action.
- GetTopic
Attributes Response Response for GetTopicAttributes action.
- List
Endpoints ByPlatform Application Input Input for ListEndpointsByPlatformApplication action.
- List
Endpoints ByPlatform Application Response Response for ListEndpointsByPlatformApplication action.
- List
Phone Numbers Opted OutInput The input for the
ListPhoneNumbersOptedOut
action.- List
Phone Numbers Opted OutResponse The response from the
ListPhoneNumbersOptedOut
action.- List
Platform Applications Input Input for ListPlatformApplications action.
- List
Platform Applications Response Response for ListPlatformApplications action.
- List
Subscriptions ByTopic Input Input for ListSubscriptionsByTopic action.
- List
Subscriptions ByTopic Response Response for ListSubscriptionsByTopic action.
- List
Subscriptions Input Input for ListSubscriptions action.
- List
Subscriptions Response Response for ListSubscriptions action
- List
Tags ForResource Request - List
Tags ForResource Response - List
Topics Input - List
Topics Response Response for ListTopics action.
- Message
Attribute Value 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.
- OptIn
Phone Number Input Input for the OptInPhoneNumber action.
- OptIn
Phone Number Response The response for the OptInPhoneNumber action.
- Platform
Application Platform application object.
- Publish
Input Input for Publish action.
- Publish
Response Response for Publish action.
- Remove
Permission Input Input for RemovePermission action.
- SetEndpoint
Attributes Input Input for SetEndpointAttributes action.
- SetPlatform
Application Attributes Input Input for SetPlatformApplicationAttributes action.
- SetSMS
Attributes Input The input for the SetSMSAttributes action.
- SetSMS
Attributes Response The response for the SetSMSAttributes action.
- SetSubscription
Attributes Input Input for SetSubscriptionAttributes action.
- SetTopic
Attributes Input Input for SetTopicAttributes action.
- SnsClient
- A client for the Amazon SNS API.
- Subscribe
Input Input for Subscribe action.
- Subscribe
Response Response for Subscribe action.
- Subscription
A wrapper type for the attributes of an Amazon SNS subscription.
- Tag
The list of tags to be added to the specified topic.
- TagResource
Request - TagResource
Response - Topic
A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use
GetTopicAttributes
.- Unsubscribe
Input Input for Unsubscribe action.
- Untag
Resource Request - Untag
Resource Response
Enums§
- AddPermission
Error - Errors returned by AddPermission
- Check
IfPhone Number IsOpted OutError - Errors returned by CheckIfPhoneNumberIsOptedOut
- Confirm
Subscription Error - Errors returned by ConfirmSubscription
- Create
Platform Application Error - Errors returned by CreatePlatformApplication
- Create
Platform Endpoint Error - Errors returned by CreatePlatformEndpoint
- Create
Topic Error - Errors returned by CreateTopic
- Delete
Endpoint Error - Errors returned by DeleteEndpoint
- Delete
Platform Application Error - Errors returned by DeletePlatformApplication
- Delete
Topic Error - Errors returned by DeleteTopic
- GetEndpoint
Attributes Error - Errors returned by GetEndpointAttributes
- GetPlatform
Application Attributes Error - Errors returned by GetPlatformApplicationAttributes
- GetSMS
Attributes Error - Errors returned by GetSMSAttributes
- GetSubscription
Attributes Error - Errors returned by GetSubscriptionAttributes
- GetTopic
Attributes Error - Errors returned by GetTopicAttributes
- List
Endpoints ByPlatform Application Error - Errors returned by ListEndpointsByPlatformApplication
- List
Phone Numbers Opted OutError - Errors returned by ListPhoneNumbersOptedOut
- List
Platform Applications Error - Errors returned by ListPlatformApplications
- List
Subscriptions ByTopic Error - Errors returned by ListSubscriptionsByTopic
- List
Subscriptions Error - Errors returned by ListSubscriptions
- List
Tags ForResource Error - Errors returned by ListTagsForResource
- List
Topics Error - Errors returned by ListTopics
- OptIn
Phone Number Error - Errors returned by OptInPhoneNumber
- Publish
Error - Errors returned by Publish
- Remove
Permission Error - Errors returned by RemovePermission
- SetEndpoint
Attributes Error - Errors returned by SetEndpointAttributes
- SetPlatform
Application Attributes Error - Errors returned by SetPlatformApplicationAttributes
- SetSMS
Attributes Error - Errors returned by SetSMSAttributes
- SetSubscription
Attributes Error - Errors returned by SetSubscriptionAttributes
- SetTopic
Attributes Error - Errors returned by SetTopicAttributes
- Subscribe
Error - Errors returned by Subscribe
- TagResource
Error - Errors returned by TagResource
- Unsubscribe
Error - Errors returned by Unsubscribe
- Untag
Resource Error - Errors returned by UntagResource
Traits§
- Sns
- Trait representing the capabilities of the Amazon SNS API. Amazon SNS clients implement this trait.