Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- verifyDomainIdentity :: Text -> VerifyDomainIdentity
- data VerifyDomainIdentity
- vdiDomain :: Lens' VerifyDomainIdentity Text
- verifyDomainIdentityResponse :: Int -> Text -> VerifyDomainIdentityResponse
- data VerifyDomainIdentityResponse
- vdirsResponseStatus :: Lens' VerifyDomainIdentityResponse Int
- vdirsVerificationToken :: Lens' VerifyDomainIdentityResponse Text
Creating a Request
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:
vdiDomain
- The domain to be verified.
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.
Request Lenses
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.
Response Lenses
vdirsResponseStatus :: Lens' VerifyDomainIdentityResponse Int Source #
- - | The response status code.
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.