Variable CustomEmailSenderTriggerSchemaConst
CustomEmailSenderTriggerSchema: ZodObject<
{
callerContext: ZodObject<
{ awsSdkVersion: ZodString; clientId: ZodNullable<ZodString> },
$strip,
>;
region: ZodString;
request: ZodObject<
{
clientMetadata: ZodOptional<
ZodNullable<ZodRecord<ZodString, ZodString>>,
>;
code: ZodString;
type: ZodLiteral<"customEmailSenderRequestV1">;
userAttributes: ZodRecord<ZodString, ZodString>;
},
$strip,
>;
triggerSource: ZodEnum<
{
CustomEmailSender_AccountTakeOverNotification: "CustomEmailSender_AccountTakeOverNotification";
CustomEmailSender_AdminCreateUser: "CustomEmailSender_AdminCreateUser";
CustomEmailSender_Authentication: "CustomEmailSender_Authentication";
CustomEmailSender_ForgotPassword: "CustomEmailSender_ForgotPassword";
CustomEmailSender_ResendCode: "CustomEmailSender_ResendCode";
CustomEmailSender_SignUp: "CustomEmailSender_SignUp";
CustomEmailSender_UpdateUserAttribute: "CustomEmailSender_UpdateUserAttribute";
CustomEmailSender_VerifyUserAttribute: "CustomEmailSender_VerifyUserAttribute";
},
>;
userName: ZodOptional<ZodString>;
userPoolId: ZodString;
version: ZodString;
},
$strip,
> = ...
A zod schema for a Cognito Custom Email Sender trigger event.