Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the ListDirectoryBuckets API call #2779

Closed
2 tasks
ncw opened this issue Sep 9, 2024 · 2 comments
Closed
2 tasks

Support the ListDirectoryBuckets API call #2779

ncw opened this issue Sep 9, 2024 · 2 comments
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@ncw
Copy link

ncw commented Sep 9, 2024

Describe the feature

The Java, Python, .NET, PHP and Ruby SDKs all support ListDirectoryBuckets

This is missing from the Go SDK.

Use Case

To list directory buckets

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Go SDK V2 Module Versions Used

	github.com/aws/aws-sdk-go-v2 v1.30.3
	github.com/aws/aws-sdk-go-v2/config v1.27.27
	github.com/aws/aws-sdk-go-v2/credentials v1.17.27
	github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.10
	github.com/aws/aws-sdk-go-v2/service/s3 v1.58.3
	github.com/aws/smithy-go v1.20.3
	github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.3 // indirect
	github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.11 // indirect
	github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.15 // indirect
	github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.15 // indirect
	github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect
	github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.15 // indirect
	github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.3 // indirect
	github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.17 // indirect
	github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17 // indirect
	github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.15 // indirect
	github.com/aws/aws-sdk-go-v2/service/sso v1.22.4 // indirect
	github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.4 // indirect
	github.com/aws/aws-sdk-go-v2/service/sts v1.30.3 // indirect

Go version used

go version go1.23rc2 linux/amd64

@ncw ncw added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Sep 9, 2024
@ncw
Copy link
Author

ncw commented Sep 9, 2024

Never mind, looks like this is implemented!

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/s3#Client.ListDirectoryBuckets

A Go example of this is missing from

https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-ListExamples.html

Which is what made me think it was missing, and github code search didn't find it either for some unknown reason

https://github.com/search?q=repo%3Aaws%2Faws-sdk-go-v2+ListDirectoryBuckets&type=code

Sorry for the noise!

@ncw ncw closed this as completed Sep 9, 2024
Copy link

github-actions bot commented Sep 9, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant