libZSservicesZSamazonka-sesZSamazonka-ses
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SES.VerifyDomainIdentity

Description

Adds a domain to the list of identities for your Amazon SES account in the current AWS Region and attempts to verify it. For more information about verifying domains, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Synopsis

Creating a Request

data VerifyDomainIdentity Source #

Represents a request to begin Amazon SES domain verification and to generate the TXT records that you must publish to the DNS server of your domain to complete the verification. For information about domain verification, see the Amazon SES Developer Guide.

See: newVerifyDomainIdentity smart constructor.

Constructors

VerifyDomainIdentity' 

Fields

Instances

Instances details
Eq VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Read VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Show VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Generic VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Associated Types

type Rep VerifyDomainIdentity :: Type -> Type #

NFData VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Methods

rnf :: VerifyDomainIdentity -> () #

Hashable VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

AWSRequest VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Associated Types

type AWSResponse VerifyDomainIdentity #

ToHeaders VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

ToPath VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

ToQuery VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

type Rep VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

type Rep VerifyDomainIdentity = D1 ('MetaData "VerifyDomainIdentity" "Amazonka.SES.VerifyDomainIdentity" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "VerifyDomainIdentity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse VerifyDomainIdentity Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

newVerifyDomainIdentity Source #

Create a value of VerifyDomainIdentity with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:domain:VerifyDomainIdentity', verifyDomainIdentity_domain - The domain to be verified.

Request Lenses

Destructuring the Response

data VerifyDomainIdentityResponse Source #

Returns a TXT record that you must publish to the DNS server of your domain to complete domain verification with Amazon SES.

See: newVerifyDomainIdentityResponse smart constructor.

Constructors

VerifyDomainIdentityResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • verificationToken :: Text

    A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES.

    As Amazon SES searches for the TXT record, the domain's verification status is "Pending". 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, if you still want to verify the domain, you must restart the verification process from the beginning.

Instances

Instances details
Eq VerifyDomainIdentityResponse Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Read VerifyDomainIdentityResponse Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Show VerifyDomainIdentityResponse Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Generic VerifyDomainIdentityResponse Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

Associated Types

type Rep VerifyDomainIdentityResponse :: Type -> Type #

NFData VerifyDomainIdentityResponse Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

type Rep VerifyDomainIdentityResponse Source # 
Instance details

Defined in Amazonka.SES.VerifyDomainIdentity

type Rep VerifyDomainIdentityResponse = D1 ('MetaData "VerifyDomainIdentityResponse" "Amazonka.SES.VerifyDomainIdentity" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "VerifyDomainIdentityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "verificationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newVerifyDomainIdentityResponse Source #

Create a value of VerifyDomainIdentityResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:VerifyDomainIdentityResponse', verifyDomainIdentityResponse_httpStatus - The response's http status code.

$sel:verificationToken:VerifyDomainIdentityResponse', verifyDomainIdentityResponse_verificationToken - A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES.

As Amazon SES searches for the TXT record, the domain's verification status is "Pending". 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, if you still want to verify the domain, you must restart the verification process from the beginning.

Response Lenses

verifyDomainIdentityResponse_verificationToken :: Lens' VerifyDomainIdentityResponse Text Source #

A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES.

As Amazon SES searches for the TXT record, the domain's verification status is "Pending". 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, if you still want to verify the domain, you must restart the verification process from the beginning.