We are excited to announce our new API Documentation.
Protected
Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.
You can execute this operation no more than once per second.
Use a bare-bones client and the command you need to make an API call.
import { SESClient, ListTemplatesCommand } from "@aws-sdk/client-ses"; // ES Modules import// const { SESClient, ListTemplatesCommand } = require("@aws-sdk/client-ses"); // CommonJS importconst client = new SESClient(config);const input = { // ListTemplatesRequest NextToken: "STRING_VALUE", MaxItems: Number("int"),};const command = new ListTemplatesCommand(input);const response = await client.send(command);// { // ListTemplatesResponse// TemplatesMetadata: [ // TemplateMetadataList// { // TemplateMetadata// Name: "STRING_VALUE",// CreatedTimestamp: new Date("TIMESTAMP"),// },// ],// NextToken: "STRING_VALUE",// };
ListTemplatesCommandInput
ListTemplatesCommandOutput
input
response
config
SESServiceException
Base exception class for all service exceptions from SES service.
Readonly
Static
Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.
You can execute this operation no more than once per second.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListTemplatesCommandInput
Returns
ListTemplatesCommandOutput
See
input
shape.response
shape.config
shape.Throws
SESServiceException
Base exception class for all service exceptions from SES service.