| Copyright | (c) 2013-2017 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 |
Network.AWS.SES.ListTemplates
Description
Lists the email templates present in your Amazon SES account.
You can execute this operation no more than once per second.
- listTemplates :: ListTemplates
- data ListTemplates
- ltNextToken :: Lens' ListTemplates (Maybe Text)
- ltMaxItems :: Lens' ListTemplates (Maybe Int)
- listTemplatesResponse :: Int -> ListTemplatesResponse
- data ListTemplatesResponse
- ltrsTemplatesMetadata :: Lens' ListTemplatesResponse [TemplateMetadata]
- ltrsNextToken :: Lens' ListTemplatesResponse (Maybe Text)
- ltrsResponseStatus :: Lens' ListTemplatesResponse Int
Creating a Request
listTemplates :: ListTemplates Source #
Creates a value of ListTemplates with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltNextToken- The token to use for pagination.ltMaxItems- The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will return up to 10 results.
data ListTemplates Source #
See: listTemplates smart constructor.
Instances
Request Lenses
ltNextToken :: Lens' ListTemplates (Maybe Text) Source #
The token to use for pagination.
ltMaxItems :: Lens' ListTemplates (Maybe Int) Source #
The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will return up to 10 results.
Destructuring the Response
listTemplatesResponse Source #
Arguments
| :: Int | |
| -> ListTemplatesResponse |
Creates a value of ListTemplatesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltrsTemplatesMetadata- An array the contains the name of creation time stamp for each template in your Amazon SES account.ltrsNextToken- The token to use for pagination.ltrsResponseStatus- -- | The response status code.
data ListTemplatesResponse Source #
See: listTemplatesResponse smart constructor.
Response Lenses
ltrsTemplatesMetadata :: Lens' ListTemplatesResponse [TemplateMetadata] Source #
An array the contains the name of creation time stamp for each template in your Amazon SES account.
ltrsNextToken :: Lens' ListTemplatesResponse (Maybe Text) Source #
The token to use for pagination.
ltrsResponseStatus :: Lens' ListTemplatesResponse Int Source #
- - | The response status code.