File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
javav2/example_code/s3/src/main/java/com/example/s3 Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 66// snippet-start:[s3.java2.list.buckets.main]
77import software .amazon .awssdk .regions .Region ;
88import software .amazon .awssdk .services .s3 .S3Client ;
9- import software .amazon .awssdk .services .s3 .model .Bucket ;
10- import software .amazon .awssdk .services .s3 .model .ListBucketsResponse ;
119import software .amazon .awssdk .services .s3 .paginators .ListBucketsIterable ;
12-
13- import java .util .List ;
14-
1510/**
1611 * Before running this Java V2 code example, set up your development
1712 * environment, including your credentials.
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ public static void main(String[] args) {
2828 }
2929
3030 // snippet-start:[S3Lock.javav2.lock.role.main]
31-
3231 /**
3332 * Creates an IAM role for AWS S3 Batch Operations to manage object locks.
3433 */
You can’t perform that action at this time.
0 commit comments