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.
Inheritance Hierarchy
Amazon.Runtime.AbstractWebServiceClient
Amazon.Runtime.AmazonWebServiceClient
Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient
Namespace: Amazon.SimpleNotificationService
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class AmazonSimpleNotificationServiceClient : AmazonWebServiceClient IAmazonSimpleNotificationService, IDisposable
The AmazonSimpleNotificationServiceClient type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
AmazonSimpleNotificationServiceClient() |
Constructs AmazonSimpleNotificationServiceClient with the credentials loaded from the application's
default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration> |
![]() |
AmazonSimpleNotificationServiceClient(RegionEndpoint) |
Constructs AmazonSimpleNotificationServiceClient with the credentials loaded from the application's
default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration> |
![]() |
AmazonSimpleNotificationServiceClient(AmazonSimpleNotificationServiceConfig) |
Constructs AmazonSimpleNotificationServiceClient with the credentials loaded from the application's
default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration> |
![]() |
AmazonSimpleNotificationServiceClient(AWSCredentials) | Constructs AmazonSimpleNotificationServiceClient with AWS Credentials |
![]() |
AmazonSimpleNotificationServiceClient(AWSCredentials, RegionEndpoint) | Constructs AmazonSimpleNotificationServiceClient with AWS Credentials |
![]() |
AmazonSimpleNotificationServiceClient(AWSCredentials, AmazonSimpleNotificationServiceConfig) | Constructs AmazonSimpleNotificationServiceClient with AWS Credentials and an AmazonSimpleNotificationServiceClient Configuration object. |
![]() |
AmazonSimpleNotificationServiceClient(string, string) | Constructs AmazonSimpleNotificationServiceClient with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonSimpleNotificationServiceClient(string, string, RegionEndpoint) | Constructs AmazonSimpleNotificationServiceClient with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonSimpleNotificationServiceClient(string, string, AmazonSimpleNotificationServiceConfig) | Constructs AmazonSimpleNotificationServiceClient with AWS Access Key ID, AWS Secret Key and an AmazonSimpleNotificationServiceClient Configuration object. If the config object's UseSecureStringForAwsSecretKey is false, the AWS Secret Key is stored as a clear-text string. Please use this option only if the application environment doesn't allow the use of SecureStrings. |
![]() |
AmazonSimpleNotificationServiceClient(string, string, string) | Constructs AmazonSimpleNotificationServiceClient with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonSimpleNotificationServiceClient(string, string, string, RegionEndpoint) | Constructs AmazonSimpleNotificationServiceClient with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonSimpleNotificationServiceClient(string, string, string, AmazonSimpleNotificationServiceConfig) | Constructs AmazonSimpleNotificationServiceClient with AWS Access Key ID, AWS Secret Key and an AmazonSimpleNotificationServiceClient Configuration object. If the config object's UseSecureStringForAwsSecretKey is false, the AWS Secret Key is stored as a clear-text string. Please use this option only if the application environment doesn't allow the use of SecureStrings. |
Methods
Name | Description | |
---|---|---|
![]() |
AddPermission(AddPermissionRequest) |
The |
![]() |
AddPermissionAsync(AddPermissionRequest, CancellationToken) |
Initiates the asynchronous execution of the AddPermission operation.
|
![]() |
ConfirmSubscription(ConfirmSubscriptionRequest) |
The |
![]() |
ConfirmSubscriptionAsync(ConfirmSubscriptionRequest, CancellationToken) |
Initiates the asynchronous execution of the ConfirmSubscription operation.
|
![]() |
CreatePlatformApplication(CreatePlatformApplicationRequest) |
The |
![]() |
CreatePlatformApplicationAsync(CreatePlatformApplicationRequest, CancellationToken) |
Initiates the asynchronous execution of the CreatePlatformApplication operation.
|
![]() |
CreatePlatformEndpoint(CreatePlatformEndpointRequest) |
The |
![]() |
CreatePlatformEndpointAsync(CreatePlatformEndpointRequest, CancellationToken) |
Initiates the asynchronous execution of the CreatePlatformEndpoint operation.
|
![]() |
CreateTopic(CreateTopicRequest) |
The |
![]() |
CreateTopicAsync(CreateTopicRequest, CancellationToken) |
Initiates the asynchronous execution of the CreateTopic operation.
|
![]() |
DeleteEndpoint(DeleteEndpointRequest) |
The |
![]() |
DeleteEndpointAsync(DeleteEndpointRequest, CancellationToken) |
Initiates the asynchronous execution of the DeleteEndpoint operation.
|
![]() |
DeletePlatformApplication(DeletePlatformApplicationRequest) |
The |
![]() |
DeletePlatformApplicationAsync(DeletePlatformApplicationRequest, CancellationToken) |
Initiates the asynchronous execution of the DeletePlatformApplication operation.
|
![]() |
DeleteTopic(DeleteTopicRequest) |
The |
![]() |
DeleteTopicAsync(DeleteTopicRequest, CancellationToken) |
Initiates the asynchronous execution of the DeleteTopic operation.
|
![]() |
Dispose() | Disposes of all managed and unmanaged resources. |
![]() |
GetEndpointAttributes(GetEndpointAttributesRequest) |
The |
![]() |
GetEndpointAttributesAsync(GetEndpointAttributesRequest, CancellationToken) |
Initiates the asynchronous execution of the GetEndpointAttributes operation.
|
![]() |
GetPlatformApplicationAttributes(GetPlatformApplicationAttributesRequest) |
The |
![]() |
GetPlatformApplicationAttributesAsync(GetPlatformApplicationAttributesRequest, CancellationToken) |
Initiates the asynchronous execution of the GetPlatformApplicationAttributes operation.
|
![]() |
GetSubscriptionAttributes(GetSubscriptionAttributesRequest) |
The |
![]() |
GetSubscriptionAttributesAsync(GetSubscriptionAttributesRequest, CancellationToken) |
Initiates the asynchronous execution of the GetSubscriptionAttributes operation.
|
![]() |
GetTopicAttributes(GetTopicAttributesRequest) |
The |
![]() |
GetTopicAttributesAsync(GetTopicAttributesRequest, CancellationToken) |
Initiates the asynchronous execution of the GetTopicAttributes operation.
|
![]() |
ListEndpointsByPlatformApplication(ListEndpointsByPlatformApplicationRequest) |
The |
![]() |
ListEndpointsByPlatformApplicationAsync(ListEndpointsByPlatformApplicationRequest, CancellationToken) |
Initiates the asynchronous execution of the ListEndpointsByPlatformApplication operation.
|
![]() |
ListPlatformApplications(ListPlatformApplicationsRequest) |
The |
![]() |
ListPlatformApplications() |
The |
![]() |
ListPlatformApplicationsAsync(ListPlatformApplicationsRequest, CancellationToken) |
Initiates the asynchronous execution of the ListPlatformApplications operation.
|
![]() |
ListSubscriptions(ListSubscriptionsRequest) |
The |
![]() |
ListSubscriptions() |
The |
![]() |
ListSubscriptionsAsync(ListSubscriptionsRequest, CancellationToken) |
Initiates the asynchronous execution of the ListSubscriptions operation.
|
![]() |
ListSubscriptionsByTopic(ListSubscriptionsByTopicRequest) |
The |
![]() |
ListSubscriptionsByTopicAsync(ListSubscriptionsByTopicRequest, CancellationToken) |
Initiates the asynchronous execution of the ListSubscriptionsByTopic operation.
|
![]() |
ListTopics(ListTopicsRequest) |
The |
![]() |
ListTopics() |
The |
![]() |
ListTopicsAsync(ListTopicsRequest, CancellationToken) |
Initiates the asynchronous execution of the ListTopics operation.
|
![]() |
Publish(PublishRequest) |
The To use the |
![]() |
PublishAsync(PublishRequest, CancellationToken) |
Initiates the asynchronous execution of the Publish operation.
|
![]() |
RemovePermission(RemovePermissionRequest) |
The |
![]() |
RemovePermissionAsync(RemovePermissionRequest, CancellationToken) |
Initiates the asynchronous execution of the RemovePermission operation.
|
![]() |
SetEndpointAttributes(SetEndpointAttributesRequest) |
The |
![]() |
SetEndpointAttributesAsync(SetEndpointAttributesRequest, CancellationToken) |
Initiates the asynchronous execution of the SetEndpointAttributes operation.
|
![]() |
SetPlatformApplicationAttributes(SetPlatformApplicationAttributesRequest) |
The |
![]() |
SetPlatformApplicationAttributesAsync(SetPlatformApplicationAttributesRequest, CancellationToken) |
Initiates the asynchronous execution of the SetPlatformApplicationAttributes operation.
|
![]() |
SetSubscriptionAttributes(SetSubscriptionAttributesRequest) |
The |
![]() |
SetSubscriptionAttributesAsync(SetSubscriptionAttributesRequest, CancellationToken) |
Initiates the asynchronous execution of the SetSubscriptionAttributes operation.
|
![]() |
SetTopicAttributes(SetTopicAttributesRequest) |
The |
![]() |
SetTopicAttributesAsync(SetTopicAttributesRequest, CancellationToken) |
Initiates the asynchronous execution of the SetTopicAttributes operation.
|
![]() |
Subscribe(SubscribeRequest) |
The |
![]() |
SubscribeAsync(SubscribeRequest, CancellationToken) |
Initiates the asynchronous execution of the Subscribe operation.
|
![]() |
Unsubscribe(UnsubscribeRequest) |
The |
![]() |
UnsubscribeAsync(UnsubscribeRequest, CancellationToken) |
Initiates the asynchronous execution of the Unsubscribe operation.
|
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8