AWS SDK Version 3 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.

Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

The verification status of an email address is "Pending" until the email address owner clicks the link within the verification email that Amazon SES sent to that address. If the email address owner clicks the link within 24 hours, the verification status of the email address changes to "Success". If the link is not clicked within 24 hours, the verification status changes to "Failed." In that case, to verify the email address, you must restart the verification process from the beginning.

For domain identities, the domain's verification status is "Pending" as Amazon SES searches for the required TXT record in the DNS settings of the domain. When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, to verify the domain, you must restart the verification process from the beginning.

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

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetIdentityVerificationAttributesAsync.

Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z

Syntax

C#
public virtual GetIdentityVerificationAttributesResponse GetIdentityVerificationAttributes(
         GetIdentityVerificationAttributesRequest request
)

Parameters

request
Type: Amazon.SimpleEmail.Model.GetIdentityVerificationAttributesRequest

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

Return Value


The response from the GetIdentityVerificationAttributes service method, as returned by SimpleEmailService.

Examples

The following example returns the verification status and the verification token for a domain identity:

GetIdentityVerificationAttributes


var client = new AmazonSimpleEmailServiceClient();
var response = client.GetIdentityVerificationAttributes(new GetIdentityVerificationAttributesRequest 
{
    Identities = new List<string> {
        "example.com"
    }
});

Dictionary<string, IdentityVerificationAttributes> verificationAttributes = response.VerificationAttributes;

            

Version Information

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

See Also