Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates 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.
Creating a Request
Creates a value of CreateTemplate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctTemplate
- The content of the email, composed of a subject line, an HTML part, and a text-only part.
data CreateTemplate Source #
Represents a request to create an email template. For more information, see the Amazon SES Developer Guide .
See: createTemplate
smart constructor.
Instances
Request Lenses
ctTemplate :: Lens' CreateTemplate Template Source #
The content of the email, composed of a subject line, an HTML part, and a text-only part.
Destructuring the Response
createTemplateResponse Source #
Creates a value of CreateTemplateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctrsResponseStatus
- -- | The response status code.
data CreateTemplateResponse Source #
See: createTemplateResponse
smart constructor.
Instances
Response Lenses
ctrsResponseStatus :: Lens' CreateTemplateResponse Int Source #
- - | The response status code.