File tree Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1818 <dependencies >
1919 <dependency >
2020 <groupId >com.amazonaws</groupId >
21- <artifactId >aws-java-sdk-s3</artifactId >
22- <version >1.11.265</version >
23- </dependency >
24- <dependency >
25- <groupId >com.amazonaws</groupId >
26- <artifactId >aws-java-sdk-lambda</artifactId >
27- <version >1.11.265</version >
21+ <artifactId >aws-lambda-java-core</artifactId >
22+ <version >1.2.1</version >
2823 </dependency >
2924 <dependency >
3025 <groupId >com.amazonaws</groupId >
31- <artifactId >aws-lambda-java-core </artifactId >
32- <version >1.1 .0</version >
26+ <artifactId >aws-lambda-java-events </artifactId >
27+ <version >3.7 .0</version >
3328 </dependency >
3429 <dependency >
3530 <groupId >com.amazonaws</groupId >
36- <artifactId >aws-lambda- java-events </artifactId >
37- <version >1.3.0 </version >
31+ <artifactId >aws-java-sdk-s3 </artifactId >
32+ <version >1.11.280 </version >
3833 </dependency >
3934 </dependencies >
4035
Original file line number Diff line number Diff line change 1717import com .amazonaws .services .s3 .AmazonS3ClientBuilder ;
1818import com .amazonaws .services .s3 .model .CopyObjectRequest ;
1919
20- public class S3Copy implements RequestHandler <S3Event , String > {
20+ public class S3CopyHandler implements RequestHandler <S3Event , String > {
2121
2222 private static final String DESTINATION_BUCKET = "targetbucket10" ; // Destination bucket name
2323
Original file line number Diff line number Diff line change 1+ Manifest-Version : 1.0
2+ Main-Class : example.S3CopyHandler
3+
You can’t perform that action at this time.
0 commit comments