aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
2.96k stars 557 forks source link

chore(middleware-sdk-s3): update s3 status 200 error handling #6232

Open kuhe opened 5 days ago

kuhe commented 5 days ago

Issue

internal

Description

Updates the s3 status 200 error behavior. For JSv3 middleware, the change is to ignore the <Error> tag within a 200 response if it is not the top level XML element.

For Command criteria, it is no longer an allowlist, rather any operation that does not have a response payload of type blob with streaming trait.

Testing

Added unit test.