import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateCustomVerificationEmailTemplateRequest, CreateCustomVerificationEmailTemplateResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateCustomVerificationEmailTemplateCommand}. */ export interface CreateCustomVerificationEmailTemplateCommandInput extends CreateCustomVerificationEmailTemplateRequest { } /** * @public * * The output of {@link CreateCustomVerificationEmailTemplateCommand}. */ export interface CreateCustomVerificationEmailTemplateCommandOutput extends CreateCustomVerificationEmailTemplateResponse, __MetadataBearer { } declare const CreateCustomVerificationEmailTemplateCommand_base: { new (input: CreateCustomVerificationEmailTemplateCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateCustomVerificationEmailTemplateCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a new custom verification email template.

*

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SESv2Client, CreateCustomVerificationEmailTemplateCommand } from "@aws-sdk/client-sesv2"; // ES Modules import * // const { SESv2Client, CreateCustomVerificationEmailTemplateCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import * // import type { SESv2ClientConfig } from "@aws-sdk/client-sesv2"; * const config = {}; // type is SESv2ClientConfig * const client = new SESv2Client(config); * const input = { // CreateCustomVerificationEmailTemplateRequest * TemplateName: "STRING_VALUE", // required * FromEmailAddress: "STRING_VALUE", // required * TemplateSubject: "STRING_VALUE", // required * TemplateContent: "STRING_VALUE", // required * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * SuccessRedirectionURL: "STRING_VALUE", // required * FailureRedirectionURL: "STRING_VALUE", // required * }; * const command = new CreateCustomVerificationEmailTemplateCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param CreateCustomVerificationEmailTemplateCommandInput - {@link CreateCustomVerificationEmailTemplateCommandInput} * @returns {@link CreateCustomVerificationEmailTemplateCommandOutput} * @see {@link CreateCustomVerificationEmailTemplateCommandInput} for command's `input` shape. * @see {@link CreateCustomVerificationEmailTemplateCommandOutput} for command's `response` shape. * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape. * * @throws {@link AlreadyExistsException} (client fault) *

The resource specified in your request already exists.

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

The input you provided is invalid.

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

There are too many instances of the specified resource type.

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

The resource you attempted to access doesn't exist.

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

Too many requests have been made to the operation.

* * @throws {@link SESv2ServiceException} *

Base exception class for all service exceptions from SESv2 service.

* * * @public */ export declare class CreateCustomVerificationEmailTemplateCommand extends CreateCustomVerificationEmailTemplateCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateCustomVerificationEmailTemplateRequest; output: {}; }; sdk: { input: CreateCustomVerificationEmailTemplateCommandInput; output: CreateCustomVerificationEmailTemplateCommandOutput; }; }; }