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 an email address to the list of identities for your Amazon SES account and attempts to verify it. As a result of executing this operation, a customized verification email is sent to the specified address.
To use this operation, you must first create a custom verification email template. For more information about creating and using custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide .
You can execute this operation no more than once per second.
- sendCustomVerificationEmail :: Text -> Text -> SendCustomVerificationEmail
- data SendCustomVerificationEmail
- scveConfigurationSetName :: Lens' SendCustomVerificationEmail (Maybe Text)
- scveEmailAddress :: Lens' SendCustomVerificationEmail Text
- scveTemplateName :: Lens' SendCustomVerificationEmail Text
- sendCustomVerificationEmailResponse :: Int -> SendCustomVerificationEmailResponse
- data SendCustomVerificationEmailResponse
- scversMessageId :: Lens' SendCustomVerificationEmailResponse (Maybe Text)
- scversResponseStatus :: Lens' SendCustomVerificationEmailResponse Int
Creating a Request
sendCustomVerificationEmail Source #
Creates a value of SendCustomVerificationEmail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scveConfigurationSetName
- Name of a configuration set to use when sending the verification email.scveEmailAddress
- The email address to verify.scveTemplateName
- The name of the custom verification email template to use when sending the verification email.
data SendCustomVerificationEmail Source #
Represents a request to send a custom verification email to a specified recipient.
See: sendCustomVerificationEmail
smart constructor.
Request Lenses
scveConfigurationSetName :: Lens' SendCustomVerificationEmail (Maybe Text) Source #
Name of a configuration set to use when sending the verification email.
scveEmailAddress :: Lens' SendCustomVerificationEmail Text Source #
The email address to verify.
scveTemplateName :: Lens' SendCustomVerificationEmail Text Source #
The name of the custom verification email template to use when sending the verification email.
Destructuring the Response
sendCustomVerificationEmailResponse Source #
Creates a value of SendCustomVerificationEmailResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scversMessageId
- The unique message identifier returned from theSendCustomVerificationEmail
operation.scversResponseStatus
- -- | The response status code.
data SendCustomVerificationEmailResponse Source #
The response received when attempting to send the custom verification email.
See: sendCustomVerificationEmailResponse
smart constructor.
Response Lenses
scversMessageId :: Lens' SendCustomVerificationEmailResponse (Maybe Text) Source #
The unique message identifier returned from the SendCustomVerificationEmail
operation.
scversResponseStatus :: Lens' SendCustomVerificationEmailResponse Int Source #
- - | The response status code.