AWS SDK for JavaScript in the browser and Node.js (In Maintenance Mode, End-of-Life on 09/08/2025). The AWS SDK for JavaScript v3 in the browser and Node.js is available here: https://github.com/aws/aws-sdk-js-v3
File could use more cleanup as well, as there are also unused variables from whoever touched it last.
Without this change, you cannot use the client to get a streamed sagemaker request.
Checklist
[x ] npm run test passes (tests seem flaky, less are failing after this change, and failures change with each run, before and after the change. Your guys' judgement call)
[x ] run npm run integration if integration test is changed (tests are flaky and also just fail, always fail on my machine before and after change, didn't change them)
Fixes https://github.com/aws/aws-sdk-js/issues/4580, problem is that there were undefined variables in
lib/protocol/rest_json.js
File could use more cleanup as well, as there are also unused variables from whoever touched it last.
Without this change, you cannot use the client to get a streamed sagemaker request.
Checklist
npm run test
passes (tests seem flaky, less are failing after this change, and failures change with each run, before and after the change. Your guys' judgement call)npm run integration
if integration test is changed (tests are flaky and also just fail, always fail on my machine before and after change, didn't change them)