UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

14 lines (13 loc) 607 B
import { HttpResponse } from "@smithy/protocol-http"; import { Logger } from "@smithy/types"; import { PreviouslyResolved } from "./configuration"; export interface ValidateChecksumFromResponseOptions { config: PreviouslyResolved; /** * Defines the checksum algorithms clients SHOULD look for when validating checksums * returned in the HTTP response. */ responseAlgorithms?: string[]; logger?: Logger; } export declare const validateChecksumFromResponse: (response: HttpResponse, { config, responseAlgorithms, logger }: ValidateChecksumFromResponseOptions) => Promise<void>;