aws-sdk-rust icon indicating copy to clipboard operation
aws-sdk-rust copied to clipboard

Enum aws_sdk_s3::error::GetObjectErrorKind doesn't include NoSuchBucket

Open josb opened this issue 3 years ago • 1 comments
trafficstars

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

josb avatar Apr 01 '22 23:04 josb

I'll escalate this to our internal team that is responsible for updating the S3 model.

Velfi avatar Apr 04 '22 16:04 Velfi

Internal tracking ID: P62314171

jdisanti avatar Sep 30 '22 18:09 jdisanti

Opened an issue in aws/aws-sdk which is used to track issues across multiple sdks. Closing this issue

jmklix avatar Oct 03 '22 17:10 jmklix

⚠️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.

github-actions[bot] avatar Oct 03 '22 17:10 github-actions[bot]