AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 3.5
 
Constants used for properties of type NotificationType.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.ConstantClass
    Amazon.SimpleEmail.NotificationType

Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class NotificationType : ConstantClass

The NotificationType type exposes the following members

Constructors

NameDescription
Public Method NotificationType(string) Default Constructor

Properties

NameTypeDescription
Public Property Value System.String Inherited from Amazon.Runtime.ConstantClass.

Methods

NameDescription
Public Method Static Method FindValue(string) Finds the constant for the unique value.

Fields

NameTypeDescription
Field Static Field Bounce Amazon.SimpleEmail.NotificationType Constant Bounce for NotificationType
Field Static Field Complaint Amazon.SimpleEmail.NotificationType Constant Complaint for NotificationType
Field Static Field Delivery Amazon.SimpleEmail.NotificationType Constant Delivery for NotificationType

Examples

This example shows how to set notification topics for an identity (email address or domain).

Set notification topics example

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);
      

Version Information

.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