UNPKG

763 BTypeScriptView Raw
1import { DeserializeHandlerOptions, Endpoint, EndpointBearer, MetadataBearer, Pluggable, Provider, RequestSerializer, ResponseDeserializer, SerializeHandlerOptions, UrlParser } from "@aws-sdk/types";
2export declare const deserializerMiddlewareOption: DeserializeHandlerOptions;
3export declare const serializerMiddlewareOption: SerializeHandlerOptions;
4export declare type V1OrV2Endpoint = {
5 urlParser?: UrlParser;
6 endpoint?: Provider<Endpoint>;
7};
8export declare function getSerdePlugin<InputType extends object, SerDeContext, OutputType extends MetadataBearer>(config: V1OrV2Endpoint, serializer: RequestSerializer<any, SerDeContext & EndpointBearer>, deserializer: ResponseDeserializer<OutputType, any, SerDeContext>): Pluggable<InputType, OutputType>;