File tree 2 files changed +6
-3
lines changed
example/software/ExampleFunction
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 78
78
<artifactId >maven-compiler-plugin</artifactId >
79
79
<version >3.8.1</version >
80
80
<configuration >
81
- <source >1.8 </source >
82
- <target >1.8 </target >
81
+ <source >17 </source >
82
+ <target >17 </target >
83
83
</configuration >
84
84
</plugin >
85
85
</plugins >
Original file line number Diff line number Diff line change @@ -49,7 +49,10 @@ public APIGatewayProxyResponseEvent handleRequest(final APIGatewayProxyRequestEv
49
49
.tableName (TABLE_NAME )
50
50
.item (itemAttributes )
51
51
.build ());
52
- return response .withBody ("successful" ).withStatusCode (200 );
52
+ return response .withBody ("""
53
+ successful
54
+ multi-line
55
+ response""" ).withStatusCode (200 );
53
56
} catch (DynamoDbException e ) {
54
57
context .getLogger ().log (e .getMessage ());
55
58
return response .withBody ("error" ).withStatusCode (500 );
You can’t perform that action at this time.
0 commit comments