Variable PreAuthenticationTriggerSchemaConst
PreAuthenticationTriggerSchema: ZodObject<
{
callerContext: ZodObject<
{ awsSdkVersion: ZodString; clientId: ZodString },
$strip,
>;
region: ZodString;
request: ZodObject<
{
userAttributes: ZodRecord<ZodString, ZodString>;
userNotFound: ZodOptional<ZodBoolean>;
validationData: ZodOptional<ZodRecord<ZodString, ZodString>>;
},
$strip,
>;
response: ZodObject<{}, $strip>;
triggerSource: ZodLiteral<"PreAuthentication_Authentication">;
userName: ZodOptional<ZodString>;
userPoolId: ZodString;
version: ZodString;
},
$strip,
> = ...
A zod schema for a Cognito Pre-Authentication trigger event.