You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by omamoo February 7, 2024
Hello all,
I'm writing a code that uploading content to S3 bucket that resides at different account, i.e. I have a cross account scenario of uploading content to S3.
While writing the code I used GetBucketLocation API call to determine the bucket location, however on cross account scenario the GetBucketLocation fails since I'm not the bucket owner, in addition, I saw on AWS documentation that their recommendation is to use HeadBucket API call, however the SDK does not expose this API call and defined this call as internal.
Discussed in #3175
Originally posted by omamoo February 7, 2024
Hello all,
I'm writing a code that uploading content to S3 bucket that resides at different account, i.e. I have a cross account scenario of uploading content to S3.
While writing the code I used
GetBucketLocation
API call to determine the bucket location, however on cross account scenario theGetBucketLocation
fails since I'm not the bucket owner, in addition, I saw on AWS documentation that their recommendation is to useHeadBucket
API call, however the SDK does not expose this API call and defined this call asinternal
.Here is a snapshot from the SDK code:
Can we make this public for use?
The text was updated successfully, but these errors were encountered: