import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateTemplateRequest, UpdateTemplateResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SESClientResolvedConfig } from "../SESClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateTemplateCommand}. */ export interface UpdateTemplateCommandInput extends UpdateTemplateRequest { } /** * @public * * The output of {@link UpdateTemplateCommand}. */ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __MetadataBearer { } declare const UpdateTemplateCommand_base: { new (input: UpdateTemplateCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateTemplateCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates an email template. Email templates enable you to send personalized email to * one or more destinations in a single operation. For more information, see the Amazon SES * Developer Guide.

*

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. * ```javascript * import { SESClient, UpdateTemplateCommand } from "@aws-sdk/client-ses"; // ES Modules import * // const { SESClient, UpdateTemplateCommand } = require("@aws-sdk/client-ses"); // CommonJS import * // import type { SESClientConfig } from "@aws-sdk/client-ses"; * const config = {}; // type is SESClientConfig * const client = new SESClient(config); * const input = { // UpdateTemplateRequest * Template: { // Template * TemplateName: "STRING_VALUE", // required * SubjectPart: "STRING_VALUE", * TextPart: "STRING_VALUE", * HtmlPart: "STRING_VALUE", * }, * }; * const command = new UpdateTemplateCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateTemplateCommandInput - {@link UpdateTemplateCommandInput} * @returns {@link UpdateTemplateCommandOutput} * @see {@link UpdateTemplateCommandInput} for command's `input` shape. * @see {@link UpdateTemplateCommandOutput} for command's `response` shape. * @see {@link SESClientResolvedConfig | config} for SESClient's `config` shape. * * @throws {@link InvalidTemplateException} (client fault) *

Indicates that the template that you specified could not be rendered. This issue may * occur when a template refers to a partial that does not exist.

* * @throws {@link TemplateDoesNotExistException} (client fault) *

Indicates that the Template object you specified does not exist in your Amazon SES * account.

* * @throws {@link SESServiceException} *

Base exception class for all service exceptions from SES service.

* * * @public */ export declare class UpdateTemplateCommand extends UpdateTemplateCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateTemplateRequest; output: {}; }; sdk: { input: UpdateTemplateCommandInput; output: UpdateTemplateCommandOutput; }; }; }