amazonka-ses-1.6.1: Amazon Simple Email Service SDK.

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

Network.AWS.SES.VerifyDomainIdentity

Contents

Description

Adds a domain to the list of identities for your Amazon SES account 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

verifyDomainIdentity Source #

Creates a value of VerifyDomainIdentity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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: verifyDomainIdentity smart constructor.

Instances
Eq VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Data VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VerifyDomainIdentity -> c VerifyDomainIdentity #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VerifyDomainIdentity #

toConstr :: VerifyDomainIdentity -> Constr #

dataTypeOf :: VerifyDomainIdentity -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VerifyDomainIdentity) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VerifyDomainIdentity) #

gmapT :: (forall b. Data b => b -> b) -> VerifyDomainIdentity -> VerifyDomainIdentity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VerifyDomainIdentity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VerifyDomainIdentity -> r #

gmapQ :: (forall d. Data d => d -> u) -> VerifyDomainIdentity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VerifyDomainIdentity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VerifyDomainIdentity -> m VerifyDomainIdentity #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VerifyDomainIdentity -> m VerifyDomainIdentity #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VerifyDomainIdentity -> m VerifyDomainIdentity #

Read VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Show VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Generic VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Associated Types

type Rep VerifyDomainIdentity :: Type -> Type #

Hashable VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

AWSRequest VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Associated Types

type Rs VerifyDomainIdentity :: Type #

ToHeaders VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

ToPath VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

ToQuery VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

NFData VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Methods

rnf :: VerifyDomainIdentity -> () #

type Rep VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

type Rep VerifyDomainIdentity = D1 (MetaData "VerifyDomainIdentity" "Network.AWS.SES.VerifyDomainIdentity" "amazonka-ses-1.6.1-LMoDrV6qkh7KTlxxGOHB3A" True) (C1 (MetaCons "VerifyDomainIdentity'" PrefixI True) (S1 (MetaSel (Just "_vdiDomain") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs VerifyDomainIdentity Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Request Lenses

vdiDomain :: Lens' VerifyDomainIdentity Text Source #

The domain to be verified.

Destructuring the Response

verifyDomainIdentityResponse Source #

Creates a value of VerifyDomainIdentityResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • vdirsResponseStatus - -- | The response status code.
  • vdirsVerificationToken - 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.

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: verifyDomainIdentityResponse smart constructor.

Instances
Eq VerifyDomainIdentityResponse Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Data VerifyDomainIdentityResponse Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VerifyDomainIdentityResponse -> c VerifyDomainIdentityResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VerifyDomainIdentityResponse #

toConstr :: VerifyDomainIdentityResponse -> Constr #

dataTypeOf :: VerifyDomainIdentityResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VerifyDomainIdentityResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VerifyDomainIdentityResponse) #

gmapT :: (forall b. Data b => b -> b) -> VerifyDomainIdentityResponse -> VerifyDomainIdentityResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VerifyDomainIdentityResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VerifyDomainIdentityResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> VerifyDomainIdentityResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VerifyDomainIdentityResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VerifyDomainIdentityResponse -> m VerifyDomainIdentityResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VerifyDomainIdentityResponse -> m VerifyDomainIdentityResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VerifyDomainIdentityResponse -> m VerifyDomainIdentityResponse #

Read VerifyDomainIdentityResponse Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Show VerifyDomainIdentityResponse Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Generic VerifyDomainIdentityResponse Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

Associated Types

type Rep VerifyDomainIdentityResponse :: Type -> Type #

NFData VerifyDomainIdentityResponse Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

type Rep VerifyDomainIdentityResponse Source # 
Instance details

Defined in Network.AWS.SES.VerifyDomainIdentity

type Rep VerifyDomainIdentityResponse = D1 (MetaData "VerifyDomainIdentityResponse" "Network.AWS.SES.VerifyDomainIdentity" "amazonka-ses-1.6.1-LMoDrV6qkh7KTlxxGOHB3A" False) (C1 (MetaCons "VerifyDomainIdentityResponse'" PrefixI True) (S1 (MetaSel (Just "_vdirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_vdirsVerificationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

Response Lenses

vdirsVerificationToken :: 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.