-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Java V2 update the S3 Java ListBuckets example #7192
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add junit-bom
ListBucketsIterable response = s3.listBucketsPaginator(); | ||
|
||
// Iterate over each response page and print bucket names. | ||
response.stream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
response.buckets().forEach(bucket ->
System.out.println("Bucket Name: " + bucket.name())
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this file should be in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use text blocks with indents for the policies.
This pull request updates the S3 Java ListBuckets example
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.