MiddyLikeRequest: {
    context: Context;
    error: Error | null;
    event: unknown;
    internal: { [key: string]: unknown };
    response: unknown | null;
}

This type represents the request object that is passed to each middleware in the middleware chain.

Type declaration

  • context: Context
  • error: Error | null
  • event: unknown
  • internal: { [key: string]: unknown }
  • response: unknown | null