Copyright | (c) 2013-2021 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 |
Updates an existing custom verification email template.
For more information about 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.
Synopsis
- data UpdateCustomVerificationEmailTemplate = UpdateCustomVerificationEmailTemplate' {}
- newUpdateCustomVerificationEmailTemplate :: Text -> Text -> Text -> Text -> Text -> Text -> UpdateCustomVerificationEmailTemplate
- updateCustomVerificationEmailTemplate_templateName :: Lens' UpdateCustomVerificationEmailTemplate Text
- updateCustomVerificationEmailTemplate_fromEmailAddress :: Lens' UpdateCustomVerificationEmailTemplate Text
- updateCustomVerificationEmailTemplate_templateSubject :: Lens' UpdateCustomVerificationEmailTemplate Text
- updateCustomVerificationEmailTemplate_templateContent :: Lens' UpdateCustomVerificationEmailTemplate Text
- updateCustomVerificationEmailTemplate_successRedirectionURL :: Lens' UpdateCustomVerificationEmailTemplate Text
- updateCustomVerificationEmailTemplate_failureRedirectionURL :: Lens' UpdateCustomVerificationEmailTemplate Text
- data UpdateCustomVerificationEmailTemplateResponse = UpdateCustomVerificationEmailTemplateResponse' {
- httpStatus :: Int
- newUpdateCustomVerificationEmailTemplateResponse :: Int -> UpdateCustomVerificationEmailTemplateResponse
- updateCustomVerificationEmailTemplateResponse_httpStatus :: Lens' UpdateCustomVerificationEmailTemplateResponse Int
Creating a Request
data UpdateCustomVerificationEmailTemplate Source #
Represents a request to update an existing custom verification email template.
See: newUpdateCustomVerificationEmailTemplate
smart constructor.
UpdateCustomVerificationEmailTemplate' | |
|
Instances
newUpdateCustomVerificationEmailTemplate Source #
Create a value of UpdateCustomVerificationEmailTemplate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:templateName:UpdateCustomVerificationEmailTemplate'
, updateCustomVerificationEmailTemplate_templateName
- The name of the custom verification email template that you want to
update.
$sel:fromEmailAddress:UpdateCustomVerificationEmailTemplate'
, updateCustomVerificationEmailTemplate_fromEmailAddress
- The email address that the custom verification email is sent from.
$sel:templateSubject:UpdateCustomVerificationEmailTemplate'
, updateCustomVerificationEmailTemplate_templateSubject
- The subject line of the custom verification email.
$sel:templateContent:UpdateCustomVerificationEmailTemplate'
, updateCustomVerificationEmailTemplate_templateContent
- The content of the custom verification email. The total size of the
email must be less than 10 MB. The message body may contain HTML, with
some limitations. For more information, see
Custom Verification Email Frequently Asked Questions
in the Amazon SES Developer Guide.
$sel:successRedirectionURL:UpdateCustomVerificationEmailTemplate'
, updateCustomVerificationEmailTemplate_successRedirectionURL
- The URL that the recipient of the verification email is sent to if his
or her address is successfully verified.
$sel:failureRedirectionURL:UpdateCustomVerificationEmailTemplate'
, updateCustomVerificationEmailTemplate_failureRedirectionURL
- The URL that the recipient of the verification email is sent to if his
or her address is not successfully verified.
Request Lenses
updateCustomVerificationEmailTemplate_templateName :: Lens' UpdateCustomVerificationEmailTemplate Text Source #
The name of the custom verification email template that you want to update.
updateCustomVerificationEmailTemplate_fromEmailAddress :: Lens' UpdateCustomVerificationEmailTemplate Text Source #
The email address that the custom verification email is sent from.
updateCustomVerificationEmailTemplate_templateSubject :: Lens' UpdateCustomVerificationEmailTemplate Text Source #
The subject line of the custom verification email.
updateCustomVerificationEmailTemplate_templateContent :: Lens' UpdateCustomVerificationEmailTemplate Text Source #
The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations. For more information, see Custom Verification Email Frequently Asked Questions in the Amazon SES Developer Guide.
updateCustomVerificationEmailTemplate_successRedirectionURL :: Lens' UpdateCustomVerificationEmailTemplate Text Source #
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
updateCustomVerificationEmailTemplate_failureRedirectionURL :: Lens' UpdateCustomVerificationEmailTemplate Text Source #
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
Destructuring the Response
data UpdateCustomVerificationEmailTemplateResponse Source #
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
See: newUpdateCustomVerificationEmailTemplateResponse
smart constructor.
UpdateCustomVerificationEmailTemplateResponse' | |
|
Instances
Eq UpdateCustomVerificationEmailTemplateResponse Source # | |
Read UpdateCustomVerificationEmailTemplateResponse Source # | |
Show UpdateCustomVerificationEmailTemplateResponse Source # | |
Generic UpdateCustomVerificationEmailTemplateResponse Source # | |
NFData UpdateCustomVerificationEmailTemplateResponse Source # | |
type Rep UpdateCustomVerificationEmailTemplateResponse Source # | |
Defined in Amazonka.SESV2.UpdateCustomVerificationEmailTemplate type Rep UpdateCustomVerificationEmailTemplateResponse = D1 ('MetaData "UpdateCustomVerificationEmailTemplateResponse" "Amazonka.SESV2.UpdateCustomVerificationEmailTemplate" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "UpdateCustomVerificationEmailTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateCustomVerificationEmailTemplateResponse Source #
:: Int |
|
-> UpdateCustomVerificationEmailTemplateResponse |
Create a value of UpdateCustomVerificationEmailTemplateResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateCustomVerificationEmailTemplateResponse'
, updateCustomVerificationEmailTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
updateCustomVerificationEmailTemplateResponse_httpStatus :: Lens' UpdateCustomVerificationEmailTemplateResponse Int Source #
The response's http status code.