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.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class GetIdentityNotificationAttributesResponse : GetIdentityNotificationAttributesResult
The GetIdentityNotificationAttributesResponse type exposes the following members
Name | Description | |
---|---|---|
GetIdentityNotificationAttributesResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
GetIdentityNotificationAttributesResult | Amazon.SimpleEmail.Model.GetIdentityNotificationAttributesResult | Gets and sets the GetIdentityNotificationAttributesResult property. Represents the output of a GetIdentityNotificationAttributes operation. | |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
NotificationAttributes | System.Collections.Generic.Dictionary<System.String, Amazon.SimpleEmail.Model.IdentityNotificationAttributes> |
Gets and sets the property NotificationAttributes.
A map of Identity to IdentityNotificationAttributes. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
This example shows how to get information about notification attributes for identities (email addresses and domains).
var sesClient = new AmazonSimpleEmailServiceClient(); var idsResponse = sesClient.ListIdentities(); if (idsResponse.Identities.Count > 0) { var request = new GetIdentityNotificationAttributesRequest { Identities = idsResponse.Identities }; var response = sesClient.GetIdentityNotificationAttributes(request); foreach (var attr in response.NotificationAttributes) { Console.WriteLine(attr.Key); Console.WriteLine(" Bounce Topic: " + attr.Value.BounceTopic); Console.WriteLine(" Complaint Topic: " + attr.Value.ComplaintTopic); Console.WriteLine(" Forwarding Enabled: " + attr.Value.ForwardingEnabled); Console.WriteLine(); } }
.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