Class: FilesEventMiddleware
Class: FilesEventMiddleware
Class representing a FilesEventMiddleware.
Author
Mr. Stone evensstone@gmail.com
Constructors
Constructor
new FilesEventMiddleware(options): FilesEventMiddleware;
Create a FilesEventMiddleware.
Parameters
options
Options for creating the FilesEventMiddleware.
blueprint
IBlueprint
Returns
FilesEventMiddleware
Methods
handle()
handle(context, next): Promise<AwsLambdaHttpAdapterResponseBuilder>;
Handles the incoming event, processes it, and invokes the next middleware in the pipeline.
Parameters
context
The adapter context containing the raw event, execution context, and other data.
next
NextMiddleware
<AwsLambdaHttpAdapterContext
, AwsLambdaHttpAdapterResponseBuilder
>
The next middleware to be invoked in the pipeline.
Returns
Promise
<AwsLambdaHttpAdapterResponseBuilder
>
A promise that resolves to the destination type after processing.
Throws
If required components such as the rawEvent or IncomingEventBuilder are not provided.