Variable SnsSqsEnvelopeConst
SnsSqsEnvelope: { parse<T extends ZodType>(data: unknown, schema: T): TypeOf<T>[]; safeParse<T extends ZodType>( data: unknown, schema: T, ): ParsedResult<unknown, TypeOf<T>[]>;} = ... Type declaration
parse:function
- parse<T extends ZodType>(data: unknown, schema: T): TypeOf<T>[]
Returns TypeOf<T>[]
safeParse:function
SNS plus SQS Envelope to extract array of Records
Published messages from SNS to SQS has a slightly different payload. Since SNS payload is marshalled into
Record
key in SQS, we have to: