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
Configuration for accessing Amazon GetIdentityDkimAttributes service

Inheritance Hierarchy


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


public class GetIdentityDkimAttributesResponse : GetIdentityDkimAttributesResult

The GetIdentityDkimAttributesResponse type exposes the following members



Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property DkimAttributes System.Collections.Generic.Dictionary<System.String, Amazon.SimpleEmail.Model.IdentityDkimAttributes> Gets and sets the property DkimAttributes.

The DKIM attributes for an email address or a domain.

Public Property GetIdentityDkimAttributesResult Amazon.SimpleEmail.Model.GetIdentityDkimAttributesResult Gets and sets the GetIdentityDkimAttributesResult property. Represents the output of a GetIdentityDkimAttributes operation.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.


This example shows how to get information about Easy DKIM attributes for identities (email addresses and domains).

Get DKIM attributes example

var sesClient = new AmazonSimpleEmailServiceClient();

var idsResponse = sesClient.ListIdentities();

if (idsResponse.Identities.Count > 0)
  var request = new GetIdentityDkimAttributesRequest
    Identities = idsResponse.Identities

  var response = sesClient.GetIdentityDkimAttributes(request);

  foreach (var attr in response.DkimAttributes)
    Console.WriteLine("  DKIM Enabled: " + attr.Value.DkimEnabled);
    Console.WriteLine("  DKIM Verification Status: " + 

    if (attr.Value.DkimTokens.Count > 0)
      Console.WriteLine("  DKIM Tokens: ");

      foreach (var token in attr.Value.DkimTokens)
        Console.WriteLine("    " + token);

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