AmazonSimpleNotificationServiceClient is an implementation of AmazonSimpleNotificationService;
the client allows you to manage your AmazonSimpleNotificationService resources.
If you want to use the AmazonSimpleNotificationServiceClient from a Medium Trust hosting environment, please create the client with an AmazonSimpleNotificationServiceConfig object whose UseSecureStringForAwsSecretKey property is false.
If you want to use the AmazonSimpleNotificationServiceClient from a Medium Trust hosting environment, please create the client with an AmazonSimpleNotificationServiceConfig object whose UseSecureStringForAwsSecretKey property is false.
Declaration Syntax
C# |
public class AmazonSimpleNotificationServiceClient : AmazonSimpleNotificationService, IDisposable
Members
All Members | Constructors | Methods | |||
Icon | Member | 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.
CopyC# <?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.
CopyC# <?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.
CopyC# <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration> | |
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
AmazonSimpleNotificationService 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, SecureString, RegionEndpoint) |
Constructs an AmazonSimpleNotificationServiceClient with AWS Access Key ID, AWS Secret Key and an
AmazonSimpleNotificationService Configuration object
| |
AmazonSimpleNotificationServiceClient(AWSCredentials) |
Constructs an AmazonSimpleNotificationServiceClient with AWSCredentials
| |
AmazonSimpleNotificationServiceClient(AWSCredentials, RegionEndpoint) |
Constructs an AmazonSimpleNotificationServiceClient with AWSCredentials
| |
AmazonSimpleNotificationServiceClient(AWSCredentials, AmazonSimpleNotificationServiceConfig) |
Constructs an AmazonSimpleNotificationServiceClient with AWSCredentials and an
AmazonSimpleNotificationService Configuration object
| |
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
AmazonSimpleNotificationServiceConfig 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.
| |
AddPermission(AddPermissionRequest) |
Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.
| |
ConfirmSubscription(ConfirmSubscriptionRequest) |
Verifies an endpoint owner's intent to receive messages by validating the token
sent to the endpoint by an earlier Subscribe action.
If the token is valid, the action creates a new subscription and returns its
Amazon Resource Name (ARN).
| |
CreatePlatformApplication(CreatePlatformApplicationRequest) |
Creates a platform application object for one of the supported push notification services,
such as APNS and GCM, to which devices and mobile apps may register.
| |
CreatePlatformEndpoint(CreatePlatformEndpointRequest) |
Creates an endpoint for a device on one of the supported push notification services, such as GCM and APNS.
| |
CreateTopic(CreateTopicRequest) |
Creates a topic to which notifications can be published. Users can create
at most 3000 topics.
| |
DeleteEndpoint(DeleteEndpointRequest) |
Deletes the endpoint for a device on one of the supported push notification services, such as GCM and APNS.
| |
DeletePlatformApplication(DeletePlatformApplicationRequest) |
Deletes a platform application object for one of the supported push notification services,
such as APNS and GCM.
| |
DeleteTopic(DeleteTopicRequest) |
Deletes a topic and all its subscriptions.
Deleting a topic might prevent some messages previously sent to the topic from being delivered to
subscribers.
| |
Dispose()()()() |
Disposes of all managed and unmanaged resources.
| |
Equals(Object) | (Inherited from Object.) | |
GetEndpointAttributes(GetEndpointAttributesRequest) |
Retrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM and APNS.
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPlatformApplicationAttributes(GetPlatformApplicationAttributesRequest) |
Retrieves the attributes of the platform application object for the supported push notification services,
such as APNS and GCM.
| |
GetSubscriptionAttributes(GetSubscriptionAttributesRequest) |
Returns all of the properties of a subscription customers have created. Subscription
properties returned might differ based on the authorization of the user.
| |
GetTopicAttributes(GetTopicAttributesRequest) |
Returns all of the properties of a topic customers have created. Topic
properties returned might differ based on the authorization of the user.
| |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
ListEndpointsByPlatformApplication(ListEndpointsByPlatformApplicationRequest) |
Lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS.
| |
ListPlatformApplications(ListPlatformApplicationsRequest) |
Lists the platform application objects for the supported push notification services,
such as APNS and GCM.
| |
ListSubscriptions(ListSubscriptionsRequest) |
Returns a list of the requester's subscriptions.
| |
ListSubscriptionsByTopic(ListSubscriptionsByTopicRequest) |
Returns a list of the subscriptions to a specific topic.
| |
ListTopics(ListTopicsRequest) |
Returns a list of the requester's topics.
| |
Publish(PublishRequest) |
Sends a message to all of a topic's subscribed endpoints.
| |
RemovePermission(RemovePermissionRequest) |
Removes a statement from a topic's access control policy.
| |
SetEndpointAttributes(SetEndpointAttributesRequest) |
Sets the attributes for the an endpoint for a device on one of the supported push notification services, such as GCM and APNS.
| |
SetPlatformApplicationAttributes(SetPlatformApplicationAttributesRequest) |
Sets the attributes of the platform application object for the supported push notification services,
such as APNS and GCM.
| |
SetSubscriptionAttributes(SetSubscriptionAttributesRequest) |
Sets an attribute of the topic to a new value.
| |
SetTopicAttributes(SetTopicAttributesRequest) |
Sets an attribute of a topic to a new value.
| |
Subscribe(SubscribeRequest) |
Prepares to subscribe an endpoint by sending the endpoint a confirmation message.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
Unsubscribe(UnsubscribeRequest) |
Deletes a subscription.
|
Remarks
Amazon Simple Notification Service
Inheritance Hierarchy
Object | |
AmazonSimpleNotificationServiceClient |
See Also