Update when using the S3 GetObjectAttributes API - version 2.20.152
#4455
debora-ito
announced in
Announcements
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
On September 20, 2023, we released a fix for an issue that can cause a
NumberFormatException
when calling the GetObjectAttributes API.The fix was released as part of version
2.20.152
.The change
The objectParts() method on the GetObjectAttributeResponse class returns a collection of ObjectPart instances associated with a multipart upload. After this change, calling ObjectPart.size() on one of the parts in this collection will return a
Long
, while it currently returns anInteger
.How to know if you're impacted
If you are experiencing "incompatible types" error at compile time when using ObjectPart.size() after upgrading to the SDK version
2.20.152
, please update your code to handle this type change.We have more information in the AWS Developer Tools blog post, including impact on other AWS SDKs -
Update to AWS SDK for Java v2, AWS SDK for .NET v3, and AWS Tools for PowerShell when using S3 GetObjectAttributes API
Beta Was this translation helpful? Give feedback.
All reactions