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 |
Lists the existing custom verification email templates for your account in the current AWS Region.
For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
This operation returns paginated results.
Synopsis
- data ListCustomVerificationEmailTemplates = ListCustomVerificationEmailTemplates' {}
- newListCustomVerificationEmailTemplates :: ListCustomVerificationEmailTemplates
- listCustomVerificationEmailTemplates_nextToken :: Lens' ListCustomVerificationEmailTemplates (Maybe Text)
- listCustomVerificationEmailTemplates_maxResults :: Lens' ListCustomVerificationEmailTemplates (Maybe Natural)
- data ListCustomVerificationEmailTemplatesResponse = ListCustomVerificationEmailTemplatesResponse' {}
- newListCustomVerificationEmailTemplatesResponse :: Int -> ListCustomVerificationEmailTemplatesResponse
- listCustomVerificationEmailTemplatesResponse_nextToken :: Lens' ListCustomVerificationEmailTemplatesResponse (Maybe Text)
- listCustomVerificationEmailTemplatesResponse_customVerificationEmailTemplates :: Lens' ListCustomVerificationEmailTemplatesResponse (Maybe [CustomVerificationEmailTemplate])
- listCustomVerificationEmailTemplatesResponse_httpStatus :: Lens' ListCustomVerificationEmailTemplatesResponse Int
Creating a Request
data ListCustomVerificationEmailTemplates Source #
Represents a request to list the existing custom verification email templates for your account.
For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.
See: newListCustomVerificationEmailTemplates
smart constructor.
ListCustomVerificationEmailTemplates' | |
|
Instances
newListCustomVerificationEmailTemplates :: ListCustomVerificationEmailTemplates Source #
Create a value of ListCustomVerificationEmailTemplates
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:nextToken:ListCustomVerificationEmailTemplates'
, listCustomVerificationEmailTemplates_nextToken
- An array the contains the name and creation time stamp for each template
in your Amazon SES account.
$sel:maxResults:ListCustomVerificationEmailTemplates'
, listCustomVerificationEmailTemplates_maxResults
- The maximum number of custom verification email templates to return.
This value must be at least 1 and less than or equal to 50. If you do
not specify a value, or if you specify a value less than 1 or greater
than 50, the operation will return up to 50 results.
Request Lenses
listCustomVerificationEmailTemplates_nextToken :: Lens' ListCustomVerificationEmailTemplates (Maybe Text) Source #
An array the contains the name and creation time stamp for each template in your Amazon SES account.
listCustomVerificationEmailTemplates_maxResults :: Lens' ListCustomVerificationEmailTemplates (Maybe Natural) Source #
The maximum number of custom verification email templates to return. This value must be at least 1 and less than or equal to 50. If you do not specify a value, or if you specify a value less than 1 or greater than 50, the operation will return up to 50 results.
Destructuring the Response
data ListCustomVerificationEmailTemplatesResponse Source #
A paginated list of custom verification email templates.
See: newListCustomVerificationEmailTemplatesResponse
smart constructor.
ListCustomVerificationEmailTemplatesResponse' | |
|
Instances
newListCustomVerificationEmailTemplatesResponse Source #
:: Int |
|
-> ListCustomVerificationEmailTemplatesResponse |
Create a value of ListCustomVerificationEmailTemplatesResponse
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:nextToken:ListCustomVerificationEmailTemplates'
, listCustomVerificationEmailTemplatesResponse_nextToken
- A token indicating that there are additional custom verification email
templates available to be listed. Pass this token to a subsequent call
to ListTemplates
to retrieve the next 50 custom verification email
templates.
$sel:customVerificationEmailTemplates:ListCustomVerificationEmailTemplatesResponse'
, listCustomVerificationEmailTemplatesResponse_customVerificationEmailTemplates
- A list of the custom verification email templates that exist in your
account.
$sel:httpStatus:ListCustomVerificationEmailTemplatesResponse'
, listCustomVerificationEmailTemplatesResponse_httpStatus
- The response's http status code.
Response Lenses
listCustomVerificationEmailTemplatesResponse_nextToken :: Lens' ListCustomVerificationEmailTemplatesResponse (Maybe Text) Source #
A token indicating that there are additional custom verification email
templates available to be listed. Pass this token to a subsequent call
to ListTemplates
to retrieve the next 50 custom verification email
templates.
listCustomVerificationEmailTemplatesResponse_customVerificationEmailTemplates :: Lens' ListCustomVerificationEmailTemplatesResponse (Maybe [CustomVerificationEmailTemplate]) Source #
A list of the custom verification email templates that exist in your account.
listCustomVerificationEmailTemplatesResponse_httpStatus :: Lens' ListCustomVerificationEmailTemplatesResponse Int Source #
The response's http status code.