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 DeleteTemplate = DeleteTemplate' {
- templateName :: Text
- newDeleteTemplate :: Text -> DeleteTemplate
- deleteTemplate_templateName :: Lens' DeleteTemplate Text
- data DeleteTemplateResponse = DeleteTemplateResponse' {
- httpStatus :: Int
- newDeleteTemplateResponse :: Int -> DeleteTemplateResponse
- deleteTemplateResponse_httpStatus :: Lens' DeleteTemplateResponse Int
Creating a Request
data DeleteTemplate Source #
Represents a request to delete an email template. For more information, see the Amazon SES Developer Guide.
See: newDeleteTemplate
smart constructor.
DeleteTemplate' | |
|
Instances
Create a value of DeleteTemplate
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:DeleteTemplate'
, deleteTemplate_templateName
- The name of the template to be deleted.
Request Lenses
deleteTemplate_templateName :: Lens' DeleteTemplate Text Source #
The name of the template to be deleted.
Destructuring the Response
data DeleteTemplateResponse Source #
See: newDeleteTemplateResponse
smart constructor.
DeleteTemplateResponse' | |
|
Instances
Eq DeleteTemplateResponse Source # | |
Defined in Amazonka.SES.DeleteTemplate | |
Read DeleteTemplateResponse Source # | |
Show DeleteTemplateResponse Source # | |
Defined in Amazonka.SES.DeleteTemplate showsPrec :: Int -> DeleteTemplateResponse -> ShowS # show :: DeleteTemplateResponse -> String # showList :: [DeleteTemplateResponse] -> ShowS # | |
Generic DeleteTemplateResponse Source # | |
Defined in Amazonka.SES.DeleteTemplate type Rep DeleteTemplateResponse :: Type -> Type # | |
NFData DeleteTemplateResponse Source # | |
Defined in Amazonka.SES.DeleteTemplate rnf :: DeleteTemplateResponse -> () # | |
type Rep DeleteTemplateResponse Source # | |
Defined in Amazonka.SES.DeleteTemplate type Rep DeleteTemplateResponse = D1 ('MetaData "DeleteTemplateResponse" "Amazonka.SES.DeleteTemplate" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "DeleteTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteTemplateResponse Source #
Create a value of DeleteTemplateResponse
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:DeleteTemplateResponse'
, deleteTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTemplateResponse_httpStatus :: Lens' DeleteTemplateResponse Int Source #
The response's http status code.