Hey there. I am struggling to get the S3 Canonical ID of an IAM user using the Go SDK.
Despite creating an S3 client with hardcoded access ID/Secret values of the IAM user in question, the ID I am receiving from the API is the one used to create the IAM user in the first place. For example, my current project creates a new IAM user, creates a new Access Key for that user, and then lists that user's buckets using the new Access Key in order to receive the
ListBucketsOutput.Owner.ID. The issue here is that the ID returned is the one used to create the IAM user in the first place despite triple-checking that I am using a completely new client/session.
Anyone know what may be happening here?
WriteAtBuffer? Does invoking this clear the buffer of those bytes, such that subsequent calls to WriteAt do not fail? And: Is this the typical method by which one concurrently drains the buffer while writing to it? Note that the process of reading from the buffer (e.g., the calls to
Bytes()shall be performed in a separate Goroutine). Thanks in advance.
service/ec2/api.goauto generated? I see 6 contributors the PR I was about to open has a warning
For changes to files under the/model/
folder, and manual edits to autogenerated code (e.g./service/s3/api.go
) please create an Issue instead of a PR for those type of changeshow is this done
I am trying to delete a total directory from S3 that i uploaded to S3 and i want to delete it by using the Golang SDK , But not able to do that , i am able to delete the files present in the Directory in S3 but not that total Directory using the Golang SDK i need an example on it.
Example i uploaded a Directory test inside that there is one folder test.txt i am able to delete the test.txt file from S3 by using golang SDK but not able to delete the total Directory test from S3 using the Golang SDK DeleteObjects or DeleteObject
type ImageScanningConfigurationfor setting ScanOnPush. Have the online docs just not been updated yet?
type PutImageScanningConfigurationInputhttps://github.com/aws/aws-sdk-go/blob/master/service/ecr/api.go#L6041 with