| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SESV2.DeleteEmailTemplate
Description
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.
Constructors
| DeleteEmailTemplate' | |
Fields
| |
Instances
newDeleteEmailTemplate Source #
Arguments
| :: Text | |
| -> DeleteEmailTemplate |
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:
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.
Constructors
| DeleteEmailTemplateResponse' | |
Fields
| |
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.