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

Copyright(c) 2013-2017 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 # 
Data VerifyDomainIdentity Source # 

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

Methods

rnf :: VerifyDomainIdentity -> () #

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

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

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 # 
Show VerifyDomainIdentityResponse Source # 
Generic VerifyDomainIdentityResponse Source # 
NFData VerifyDomainIdentityResponse Source # 
type Rep VerifyDomainIdentityResponse Source # 
type Rep VerifyDomainIdentityResponse = D1 (MetaData "VerifyDomainIdentityResponse" "Network.AWS.SES.VerifyDomainIdentity" "amazonka-ses-1.5.0-IX6fk8AIUZF8NF0Dlao5KP" 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 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.