@mbc-cqrs-serverless/core
Version:
CQRS and event base core
15 lines (14 loc) • 743 B
TypeScript
import { DynamoDBStreamEvent, EventBridgeEvent, S3Event, SNSEvent, SQSEvent } from 'aws-lambda';
import { StepFunctionsEvent } from '../interfaces';
import { EventService } from './event.services';
export declare class EventController {
private readonly eventService;
private readonly logger;
constructor(eventService: EventService);
handleSnsEvent(event: SNSEvent): Promise<any[][]>;
handleSqsEvent(event: SQSEvent): Promise<any[][]>;
handleDynamoDBEvent(event: DynamoDBStreamEvent): Promise<any[][]>;
handleEventBridgeEvent(event: EventBridgeEvent<any, any>): Promise<any[][]>;
handleStepFunctionsEvent(event: StepFunctionsEvent<any>): Promise<any[][]>;
handleS3Event(event: S3Event): Promise<any[][]>;
}