We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Deletes an email template.
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, DeleteTemplateCommand } from "@aws-sdk/client-ses"; // ES Modules import// const { SESClient, DeleteTemplateCommand } = require("@aws-sdk/client-ses"); // CommonJS importconst client = new SESClient(config);const input = { // DeleteTemplateRequest TemplateName: "STRING_VALUE", // required};const command = new DeleteTemplateCommand(input);const response = await client.send(command);// {};
DeleteTemplateCommandInput
DeleteTemplateCommandOutput
input
response
config
SESServiceException
Base exception class for all service exceptions from SES service.
Readonly
Static
Deletes an email template.
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
DeleteTemplateCommandInput
Returns
DeleteTemplateCommandOutput
See
input
shape.response
shape.config
shape.Throws
SESServiceException
Base exception class for all service exceptions from SES service.