File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
examples/snippets/batch/parser-integration Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
DynamoDBStreamChangeRecordBase ,
9
9
DynamoDBStreamRecord ,
10
10
} from '@aws-lambda-powertools/parser/schemas/dynamodb' ;
11
- import type { DynamoDBRecord , DynamoDBStreamHandler } from 'aws-lambda' ;
11
+ import type { DynamoDBStreamHandler } from 'aws-lambda' ;
12
12
import { z } from 'zod' ;
13
13
14
14
const customSchema = DynamoDBStreamRecord . extend ( {
Original file line number Diff line number Diff line change 8
8
KinesisDataStreamRecord ,
9
9
KinesisDataStreamRecordPayload ,
10
10
} from '@aws-lambda-powertools/parser/schemas/kinesis' ;
11
- import type { KinesisStreamHandler , KinesisStreamRecord } from 'aws-lambda' ;
11
+ import type { KinesisStreamHandler } from 'aws-lambda' ;
12
12
import { z } from 'zod' ;
13
13
14
14
const customSchema = KinesisDataStreamRecord . extend ( {
Original file line number Diff line number Diff line change 5
5
} from '@aws-lambda-powertools/batch' ;
6
6
import { JSONStringified } from '@aws-lambda-powertools/parser/helpers' ;
7
7
import { SqsRecordSchema } from '@aws-lambda-powertools/parser/schemas' ;
8
- import type { SQSHandler , SQSRecord } from 'aws-lambda' ;
8
+ import type { SQSHandler } from 'aws-lambda' ;
9
9
import { z } from 'zod' ;
10
10
11
11
const customSchema = SqsRecordSchema . extend ( {
You can’t perform that action at this time.
0 commit comments