1 | import { HttpHandler, HttpRequest, HttpResponse } from "@aws-sdk/protocol-http";
|
2 | import { HttpHandlerOptions, Provider } from "@aws-sdk/types";
|
3 |
|
4 | export interface FetchHttpHandlerOptions {
|
5 |
|
6 | requestTimeout?: number;
|
7 | }
|
8 | export declare class FetchHttpHandler implements HttpHandler {
|
9 | private config?;
|
10 | private readonly configProvider?;
|
11 | constructor(options?: FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | undefined>);
|
12 | destroy(): void;
|
13 | handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
|
14 | response: HttpResponse;
|
15 | }>;
|
16 | }
|