SnsSchema: ZodObject<
{
Records: ZodArray<
ZodObject<
{
EventSource: ZodLiteral<"aws:sns">;
EventSubscriptionArn: ZodString;
EventVersion: ZodString;
Sns: ZodObject<
{
Message: ZodString;
MessageAttributes: ZodOptional<
ZodRecord<
ZodString,
ZodObject<{ Type: ...; Value: ... }, $strip>,
>,
>;
MessageId: ZodString;
Signature: ZodOptional<ZodString>;
SignatureVersion: ZodOptional<ZodString>;
SigningCertUrl: ZodOptional<ZodURL>;
SigningCertURL: ZodOptional<ZodURL>;
Subject: ZodOptional<ZodNullable<ZodString>>;
Timestamp: ZodISODateTime;
TopicArn: ZodString;
Type: ZodLiteral<"Notification">;
UnsubscribeUrl: ZodURL;
UnsubscribeURL: ZodOptional<ZodURL>;
},
$strip,
>;
},
$strip,
>,
>;
},
$strip,
> = ...
Zod schema for SNS event