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 |
Displays the template object (which includes the Subject line, HTML part and text part) for the template you specify.
You can execute this operation no more than once per second.
Creating a Request
Creates a value of GetTemplate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtTemplateName
- The name of the template you want to retrieve.
data GetTemplate Source #
See: getTemplate
smart constructor.
Instances
Request Lenses
gtTemplateName :: Lens' GetTemplate Text Source #
The name of the template you want to retrieve.
Destructuring the Response
Creates a value of GetTemplateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtrsTemplate
- Undocumented member.gtrsResponseStatus
- -- | The response status code.
data GetTemplateResponse Source #
See: getTemplateResponse
smart constructor.
Instances
Response Lenses
gtrsTemplate :: Lens' GetTemplateResponse (Maybe Template) Source #
Undocumented member.
gtrsResponseStatus :: Lens' GetTemplateResponse Int Source #
- - | The response status code.