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.
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.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class GetIdentityVerificationAttributesRequest : AmazonSimpleEmailServiceRequest IRequestEvents
The GetIdentityVerificationAttributesRequest type exposes the following members
Name | Description | |
---|---|---|
GetIdentityVerificationAttributesRequest() |
Name | Type | Description | |
---|---|---|---|
Identities | System.Collections.Generic.List<System.String> |
Gets and sets the property Identities.
A list of identities. |
This example shows how to get information about verification attributes for identities (email addresses and domains).
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(); } };
.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