amazon-s3-encryption-client-java
amazon-s3-encryption-client-java copied to clipboard
fix: disable low-level Multipart Upload in Async client
Issue #, if available:
Description of changes:
The async client does not support "low-level" multipart uploads via CreateMPU/UploadPart/CompleteMPU. However, these APIs are accessible through the delegate client, which is misleading. This change overrides the unsupported operations and throws exceptions accordingly.
This MAY break some customers, however, it is safer that way as otherwise objects are uploaded in plaintext.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable:
- [ ] Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.