UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

33 lines (32 loc) 994 B
import type { Endpoint, EndpointV2, Provider } from "@smithy/types"; /** * This is an additional config resolver layer for clients using the default * endpoints ruleset. It modifies the input and output config types to make * the endpoint configuration property required. * * It must be placed after the `resolveEndpointConfig` * resolver. This replaces the "CustomEndpoints" config resolver, which was used * prior to default endpoint rulesets. * * @public */ export interface EndpointRequiredInputConfig { endpoint: string | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>; } /** * @internal */ interface PreviouslyResolved { endpoint?: Provider<Endpoint>; } /** * @internal */ export interface EndpointRequiredResolvedConfig { endpoint: Provider<Endpoint>; } /** * @internal */ export declare const resolveEndpointRequiredConfig: <T>(input: T & EndpointRequiredInputConfig & PreviouslyResolved) => T & EndpointRequiredResolvedConfig; export {};