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 |
Deletes an email template.
You can execute this operation no more than once per second.
Synopsis
- data DeleteEmailTemplate = DeleteEmailTemplate' {
- templateName :: Text
- newDeleteEmailTemplate :: Text -> DeleteEmailTemplate
- deleteEmailTemplate_templateName :: Lens' DeleteEmailTemplate Text
- data DeleteEmailTemplateResponse = DeleteEmailTemplateResponse' {
- httpStatus :: Int
- newDeleteEmailTemplateResponse :: Int -> DeleteEmailTemplateResponse
- deleteEmailTemplateResponse_httpStatus :: Lens' DeleteEmailTemplateResponse Int
Creating a Request
data DeleteEmailTemplate Source #
Represents a request to delete an email template. For more information, see the Amazon SES Developer Guide.
See: newDeleteEmailTemplate
smart constructor.
DeleteEmailTemplate' | |
|
Instances
newDeleteEmailTemplate Source #
Create a value of DeleteEmailTemplate
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:DeleteEmailTemplate'
, deleteEmailTemplate_templateName
- The name of the template to be deleted.
Request Lenses
deleteEmailTemplate_templateName :: Lens' DeleteEmailTemplate Text Source #
The name of the template to be deleted.
Destructuring the Response
data DeleteEmailTemplateResponse Source #
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
See: newDeleteEmailTemplateResponse
smart constructor.
DeleteEmailTemplateResponse' | |
|
Instances
newDeleteEmailTemplateResponse Source #
Create a value of DeleteEmailTemplateResponse
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:DeleteEmailTemplateResponse'
, deleteEmailTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEmailTemplateResponse_httpStatus :: Lens' DeleteEmailTemplateResponse Int Source #
The response's http status code.