UNPKG

@aws-sdk/middleware-sdk-s3

Version:

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-sdk-s3/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-sdk-s3) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-sdk-s3.svg)](https://www.npmjs.com/package/@

17 lines (16 loc) 609 B
import { FinalizeRequestHandlerOptions, FinalizeRequestMiddleware, Pluggable } from "@smithy/types"; /** * @internal * * Log a warning if the input to PutObject is detected to be a Stream of unknown ContentLength and * recommend the usage of the @aws-sdk/lib-storage Upload class. */ export declare function checkContentLengthHeader(): FinalizeRequestMiddleware<any, any>; /** * @internal */ export declare const checkContentLengthHeaderMiddlewareOptions: FinalizeRequestHandlerOptions; /** * @internal */ export declare const getCheckContentLengthHeaderPlugin: (unused: any) => Pluggable<any, any>;