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
 
Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

This action is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.

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

Syntax

C#
public abstract GetIdentityVerificationAttributesResponse GetIdentityVerificationAttributes(
         GetIdentityVerificationAttributesRequest request
)

Parameters

request
Type: Amazon.SimpleEmail.Model.GetIdentityVerificationAttributesRequest

Container for the necessary parameters to execute the GetIdentityVerificationAttributes service method.

Return Value
Type: Amazon.SimpleEmail.Model.GetIdentityVerificationAttributesResponse
The response from the GetIdentityVerificationAttributes service method, as returned by SimpleEmailService.

Examples

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

Get verification attributes example

var sesClient = new AmazonSimpleEmailServiceClient();

var idsResponse = sesClient.ListIdentities();

if (idsResponse.Identities.Count > 0)
{
  var request = new GetIdentityVerificationAttributesRequest
  {
    Identities = idsResponse.Identities
  };

  var response = sesClient.GetIdentityVerificationAttributes(request);

  foreach (var attr in response.VerificationAttributes)
  {
    Console.WriteLine(attr.Key);
    Console.WriteLine("  Verification Status: " + 
      attr.Value.VerificationStatus.Value);
    Console.WriteLine("  Verification Token: " + 
      attr.Value.VerificationToken);
    Console.WriteLine();
  }
};
      

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5