Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.


  • BodyLengthCalculator
  • A function that, given a request body, determines the length of the body. This is used to determine the Content-Length that should be sent with a request.


    A function that reads a file stream and calculates
    the size of the file.


    • body: any

    Returns number