aws-sdk-rust
aws-sdk-rust copied to clipboard
Enum aws_sdk_s3::error::GetObjectErrorKind doesn't include NoSuchBucket
What is the problem?
Per https://docs.rs/aws-sdk-s3/latest/aws_sdk_s3/error/enum.GetObjectErrorKind.html, enum aws_sdk_s3::error::GetObjectErrorKind doesn't include NoSuchBucket. However, the aws-cli call aws s3api get-object --bucket NoSuchBucket --key file.txt /dev/null produces An error occurred (NoSuchBucket) when calling the GetObject operation: The specified bucket does not exist.
Version
aws-sdk-s3 v0.9.0
Platform
Darwin localhost Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64
AWS Services
S3
Description
I would expect aws_sdk_s3::error::GetObjectErrorKind (and possibly other Kinds) to include the NoSuchBucket variant.
Logs
No response
I'll escalate this to our internal team that is responsible for updating the S3 model.
Internal tracking ID: P62314171
Opened an issue in aws/aws-sdk which is used to track issues across multiple sdks. Closing this issue
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.