AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.dll
Version: (assembly version)
public class NotificationType : ConstantClass
The NotificationType type exposes the following members
Name | Description | |
---|---|---|
NotificationType(string) | Default Constructor |
Name | Type | Description | |
---|---|---|---|
Value | System.String | Inherited from Amazon.Runtime.ConstantClass. |
Name | Description | |
---|---|---|
FindValue(string) | Finds the constant for the unique value. |
Name | Type | Description | |
---|---|---|---|
Bounce | Amazon.SimpleEmail.NotificationType | Constant Bounce for NotificationType | |
Complaint | Amazon.SimpleEmail.NotificationType | Constant Complaint for NotificationType | |
Delivery | Amazon.SimpleEmail.NotificationType | Constant Delivery for NotificationType |
This example shows how to set notification topics for an identity (email address or domain).
var sesClient = new AmazonSimpleEmailServiceClient(); var bounceRequest = new SetIdentityNotificationTopicRequest { Identity = "johndoe@example.com", NotificationType = NotificationType.Bounce, SnsTopic = "arn:aws:sns:us-east-1:80398EXAMPLE:CodingTestResults" }; sesClient.SetIdentityNotificationTopic(bounceRequest); var complaintRequest = new SetIdentityNotificationTopicRequest { Identity = "johndoe@example.com", NotificationType = NotificationType.Complaint, SnsTopic = "arn:aws:sns:us-east-1:80398EXAMPLE:CodingTestResults" }; sesClient.SetIdentityNotificationTopic(complaintRequest);
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8