1 | import {
|
2 | DeserializeHandlerOptions,
|
3 | Endpoint,
|
4 | EndpointBearer,
|
5 | MetadataBearer,
|
6 | Pluggable,
|
7 | Provider,
|
8 | RequestSerializer,
|
9 | ResponseDeserializer,
|
10 | SerializeHandlerOptions,
|
11 | UrlParser,
|
12 | } from "@aws-sdk/types";
|
13 | export declare const deserializerMiddlewareOption: DeserializeHandlerOptions;
|
14 | export declare const serializerMiddlewareOption: SerializeHandlerOptions;
|
15 | export type V1OrV2Endpoint = {
|
16 | urlParser?: UrlParser;
|
17 | endpoint?: Provider<Endpoint>;
|
18 | };
|
19 | export declare function getSerdePlugin<
|
20 | InputType extends object,
|
21 | SerDeContext,
|
22 | OutputType extends MetadataBearer
|
23 | >(
|
24 | config: V1OrV2Endpoint,
|
25 | serializer: RequestSerializer<any, SerDeContext & EndpointBearer>,
|
26 | deserializer: ResponseDeserializer<OutputType, any, SerDeContext>
|
27 | ): Pluggable<InputType, OutputType>;
|