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 6
6
// snippet-start:[s3.java2.list.buckets.main]
7
7
import software .amazon .awssdk .regions .Region ;
8
8
import software .amazon .awssdk .services .s3 .S3Client ;
9
- import software .amazon .awssdk .services .s3 .model .Bucket ;
10
- import software .amazon .awssdk .services .s3 .model .ListBucketsResponse ;
11
9
import software .amazon .awssdk .services .s3 .paginators .ListBucketsIterable ;
12
-
13
- import java .util .List ;
14
-
15
10
/**
16
11
* Before running this Java V2 code example, set up your development
17
12
* environment, including your credentials.
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ public static void main(String[] args) {
28
28
}
29
29
30
30
// snippet-start:[S3Lock.javav2.lock.role.main]
31
-
32
31
/**
33
32
* Creates an IAM role for AWS S3 Batch Operations to manage object locks.
34
33
*/
You can’t perform that action at this time.
0 commit comments