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