UNPKG

621 BTypeScriptView Raw
1import {
2 AbsoluteLocation,
3 BuildHandler,
4 BuildHandlerOptions,
5 HandlerExecutionContext,
6 MetadataBearer,
7 Pluggable,
8} from "@aws-sdk/types";
9import { UserAgentResolvedConfig } from "./configurations";
10export declare const userAgentMiddleware: (
11 options: UserAgentResolvedConfig
12) => <Output extends MetadataBearer>(
13 next: BuildHandler<any, any>,
14 context: HandlerExecutionContext
15) => BuildHandler<any, any>;
16export declare const getUserAgentMiddlewareOptions: BuildHandlerOptions &
17 AbsoluteLocation;
18export declare const getUserAgentPlugin: (
19 config: UserAgentResolvedConfig
20) => Pluggable<any, any>;