Variable CustomSMSSenderTriggerSchemaConst
CustomSMSSenderTriggerSchema: ZodObject<
{
callerContext: ZodObject<
{ awsSdkVersion: ZodString; clientId: ZodNullable<ZodString> },
$strip,
>;
region: ZodString;
request: ZodObject<
{
clientMetadata: ZodOptional<
ZodNullable<ZodRecord<ZodString, ZodString>>,
>;
code: ZodString;
type: ZodLiteral<"customSMSSenderRequestV1">;
userAttributes: ZodRecord<ZodString, ZodString>;
},
$strip,
>;
triggerSource: ZodEnum<
{
CustomSMSSender_AdminCreateUser: "CustomSMSSender_AdminCreateUser";
CustomSMSSender_Authentication: "CustomSMSSender_Authentication";
CustomSMSSender_ForgotPassword: "CustomSMSSender_ForgotPassword";
CustomSMSSender_ResendCode: "CustomSMSSender_ResendCode";
CustomSMSSender_SignUp: "CustomSMSSender_SignUp";
CustomSMSSender_UpdateUserAttribute: "CustomSMSSender_UpdateUserAttribute";
CustomSMSSender_VerifyUserAttribute: "CustomSMSSender_VerifyUserAttribute";
},
>;
userName: ZodOptional<ZodString>;
userPoolId: ZodString;
version: ZodString;
},
$strip,
> = ...
A zod schema for a Cognito Custom SMS Sender trigger event.