amazonka-ses-1.6.0: 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 #

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 #

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 # 
Data 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 # 
Show VerifyDomainIdentity # 
Generic VerifyDomainIdentity # 
Hashable VerifyDomainIdentity # 
NFData VerifyDomainIdentity # 

Methods

rnf :: VerifyDomainIdentity -> () #

AWSRequest VerifyDomainIdentity # 
ToHeaders VerifyDomainIdentity # 
ToPath VerifyDomainIdentity # 
ToQuery VerifyDomainIdentity # 
type Rep VerifyDomainIdentity # 
type Rep VerifyDomainIdentity = D1 * (MetaData "VerifyDomainIdentity" "Network.AWS.SES.VerifyDomainIdentity" "amazonka-ses-1.6.0-5nUPGbFUhEuKgCCmp7O4es" True) (C1 * (MetaCons "VerifyDomainIdentity'" PrefixI True) (S1 * (MetaSel (Just Symbol "_vdiDomain") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs VerifyDomainIdentity # 

Request Lenses

vdiDomain :: Lens' VerifyDomainIdentity Text #

The domain to be verified.

Destructuring the Response

verifyDomainIdentityResponse #

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 #

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 # 
Data VerifyDomainIdentityResponse # 

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 # 
Show VerifyDomainIdentityResponse # 
Generic VerifyDomainIdentityResponse # 
NFData VerifyDomainIdentityResponse # 
type Rep VerifyDomainIdentityResponse # 
type Rep VerifyDomainIdentityResponse = D1 * (MetaData "VerifyDomainIdentityResponse" "Network.AWS.SES.VerifyDomainIdentity" "amazonka-ses-1.6.0-5nUPGbFUhEuKgCCmp7O4es" False) (C1 * (MetaCons "VerifyDomainIdentityResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_vdirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_vdirsVerificationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

Response Lenses

vdirsVerificationToken :: Lens' VerifyDomainIdentityResponse 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.