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 email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Synopsis
- data UpdateTemplate = UpdateTemplate' {}
- newUpdateTemplate :: Template -> UpdateTemplate
- updateTemplate_template :: Lens' UpdateTemplate Template
- data UpdateTemplateResponse = UpdateTemplateResponse' {
- httpStatus :: Int
- newUpdateTemplateResponse :: Int -> UpdateTemplateResponse
- updateTemplateResponse_httpStatus :: Lens' UpdateTemplateResponse Int
Creating a Request
data UpdateTemplate Source #
See: newUpdateTemplate
smart constructor.
Instances
Create a value of UpdateTemplate
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:template:UpdateTemplate'
, updateTemplate_template
- Undocumented member.
Request Lenses
updateTemplate_template :: Lens' UpdateTemplate Template Source #
Undocumented member.
Destructuring the Response
data UpdateTemplateResponse Source #
See: newUpdateTemplateResponse
smart constructor.
UpdateTemplateResponse' | |
|
Instances
Eq UpdateTemplateResponse Source # | |
Defined in Amazonka.SES.UpdateTemplate | |
Read UpdateTemplateResponse Source # | |
Show UpdateTemplateResponse Source # | |
Defined in Amazonka.SES.UpdateTemplate showsPrec :: Int -> UpdateTemplateResponse -> ShowS # show :: UpdateTemplateResponse -> String # showList :: [UpdateTemplateResponse] -> ShowS # | |
Generic UpdateTemplateResponse Source # | |
Defined in Amazonka.SES.UpdateTemplate type Rep UpdateTemplateResponse :: Type -> Type # | |
NFData UpdateTemplateResponse Source # | |
Defined in Amazonka.SES.UpdateTemplate rnf :: UpdateTemplateResponse -> () # | |
type Rep UpdateTemplateResponse Source # | |
Defined in Amazonka.SES.UpdateTemplate type Rep UpdateTemplateResponse = D1 ('MetaData "UpdateTemplateResponse" "Amazonka.SES.UpdateTemplate" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "UpdateTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateTemplateResponse Source #
Create a value of UpdateTemplateResponse
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:UpdateTemplateResponse'
, updateTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
updateTemplateResponse_httpStatus :: Lens' UpdateTemplateResponse Int Source #
The response's http status code.