@middy/http-partial-response
Version:
HTTP partial response middleware for the middy framework
18 lines (13 loc) • 459 B
TypeScript
// Copyright 2017 - 2026 will Farrell, Luciano Mammino, and Middy contributors.
// SPDX-License-Identifier: MIT
import type middy from "@middy/core";
export interface Options {
filteringKeyName?: string;
}
declare function httpPartialResponse(
options?: Options,
): middy.MiddlewareObj<unknown, unknown, Error>;
export declare function httpPartialResponseValidateOptions(
options?: Record<string, unknown>,
): void;
export default httpPartialResponse;