UNPKG

@mbc-cqrs-serverless/import

Version:
19 lines (18 loc) 640 B
import { IEvent } from '@mbc-cqrs-serverless/core'; import { SQSMessageAttributes, SQSRecord, SQSRecordAttributes } from 'aws-lambda'; import { ImportEvent } from './import.event'; export declare class ImportQueueEvent implements IEvent, SQSRecord { source: string; messageId: string; receiptHandle: string; body: string; attributes: SQSRecordAttributes; messageAttributes: SQSMessageAttributes; md5OfBody: string; eventSource: string; eventSourceARN: string; awsRegion: string; private _importEvent?; fromSqsRecord(record: SQSRecord): ImportQueueEvent; get importEvent(): ImportEvent; }