UNPKG

aws-sdk-v3-proxy

Version:

A wrapper for adding proxy support to AWS SDK v3 clients

5 lines (4 loc) 340 B
import { AddProxyOptions, ClientWithConfig } from './types'; export declare const getHttpProxy: () => string; export declare const getHttpsProxy: () => string; export declare const addProxyToClient: <T>(client: ClientWithConfig<T>, { debug, httpsOnly, throwOnNoProxy, agentOptions, httpProxy, httpsProxy, ...opts }?: AddProxyOptions) => T;