Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

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

Closed
jmklix opened this issue Oct 3, 2022 · 3 comments
Closed
Assignees
Labels
bug Something isn't working s3 service-api This issue pertains to the AWS API

Comments

@jmklix
Copy link
Member

jmklix commented Oct 3, 2022

Transfered from awslabs/aws-sdk-rust: awslabs/aws-sdk-rust#501

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

@jmklix jmklix added service-api This issue pertains to the AWS API s3 labels Oct 3, 2022
@jmklix jmklix self-assigned this Oct 3, 2022
@jmklix
Copy link
Member Author

jmklix commented Oct 3, 2022

P62314171

@jmklix
Copy link
Member Author

jmklix commented Oct 30, 2024

Re-opening original issue and closing this tracking issue

@jmklix jmklix closed this as completed Oct 30, 2024
Copy link

This issue is now closed.

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working s3 service-api This issue pertains to the AWS API
Projects
None yet
Development

No branches or pull requests

1 participant