Variable KinesisFirehoseSchemaConst
KinesisFirehoseSchema: ZodObject<
extendShape<
{
deliveryStreamArn: ZodString;
invocationId: ZodString;
region: ZodString;
sourceKinesisStreamArn: ZodOptional<ZodString>;
},
{
records: ZodArray<
ZodObject<
extendShape<
{
approximateArrivalTimestamp: ZodNumber;
kinesisRecordMetadata: ZodOptional<
ZodNullable<
ZodObject<
{
approximateArrivalTimestamp: ...;
partitionKey: ...;
sequenceNumber: ...;
shardId: ...;
subsequenceNumber: ...;
},
"strip",
ZodTypeAny,
{
approximateArrivalTimestamp: ...;
partitionKey: ...;
sequenceNumber: ...;
shardId: ...;
subsequenceNumber: ...;
},
{
approximateArrivalTimestamp: ...;
partitionKey: ...;
sequenceNumber: ...;
shardId: ...;
subsequenceNumber: ...;
},
>,
>,
>;
recordId: ZodString;
},
{ data: ZodEffects<ZodString, string, string> },
>,
"strip",
ZodTypeAny,
{
approximateArrivalTimestamp: number;
data: string;
kinesisRecordMetadata?:
| null
| {
approximateArrivalTimestamp: number;
partitionKey: string;
sequenceNumber: string;
shardId: string;
subsequenceNumber: number;
};
recordId: string;
},
{
approximateArrivalTimestamp: number;
data: string;
kinesisRecordMetadata?: | null
| {
approximateArrivalTimestamp: number;
partitionKey: string;
sequenceNumber: string;
shardId: string;
subsequenceNumber: number;
};
recordId: string;
},
>,
"many",
>;
},
>,
"strip",
ZodTypeAny,
{
deliveryStreamArn: string;
invocationId: string;
records: {
approximateArrivalTimestamp: number;
data: string;
kinesisRecordMetadata?: | null
| {
approximateArrivalTimestamp: number;
partitionKey: string;
sequenceNumber: string;
shardId: string;
subsequenceNumber: number;
};
recordId: string;
}[];
region: string;
sourceKinesisStreamArn?: string;
},
{
deliveryStreamArn: string;
invocationId: string;
records: {
approximateArrivalTimestamp: number;
data: string;
kinesisRecordMetadata?: | null
| {
approximateArrivalTimestamp: number;
partitionKey: string;
sequenceNumber: string;
shardId: string;
subsequenceNumber: number;
};
recordId: string;
}[];
region: string;
sourceKinesisStreamArn?: string;
},
> = ...
Zod schema for Kinesis Firehose events