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 GetIdentityVerificationAttributes service

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.SimpleEmail.Model.GetIdentityVerificationAttributesResult
      Amazon.SimpleEmail.Model.GetIdentityVerificationAttributesResponse

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

Syntax

C#
public class GetIdentityVerificationAttributesResponse : GetIdentityVerificationAttributesResult

The GetIdentityVerificationAttributesResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property GetIdentityVerificationAttributesResult Amazon.SimpleEmail.Model.GetIdentityVerificationAttributesResult Gets and sets the GetIdentityVerificationAttributesResult property. Represents the output of a GetIdentityVerificationAttributes operation.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property VerificationAttributes System.Collections.Generic.Dictionary<System.String, Amazon.SimpleEmail.Model.IdentityVerificationAttributes> Gets and sets the property VerificationAttributes.

A map of Identities to IdentityVerificationAttributes objects.

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

.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