Jump to Content

Class ListTemplatesCommandProtected

Lists the email templates present in your Amazon SES account in the current AWS 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.

import { SESClient, ListTemplatesCommand } from "@aws-sdk/client-ses"; // ES Modules import
// const { SESClient, ListTemplatesCommand } = require("@aws-sdk/client-ses"); // CommonJS import
const client = new SESClient(config);
const input = { // ListTemplatesRequest
NextToken: "STRING_VALUE",
MaxItems: Number("int"),
};
const command = new ListTemplatesCommand(input);
const response = await client.send(command);

Param

ListTemplatesCommandInput

Returns

ListTemplatesCommandOutput

See

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<ListTemplatesCommandInput, ListTemplatesCommandOutput>

Methods