Skip to content

Commit 7279e2f

Browse files
committed
movee examples back to original packages
1 parent 5139aed commit 7279e2f

File tree

11 files changed

+8
-11
lines changed

11 files changed

+8
-11
lines changed
Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,16 @@ public class CloudWatchReadLogs {
2828
public static void main(final String[] args) {
2929
final String usage = """
3030
Usage:
31-
<logGroupName> <startTime> <endTime>
31+
<logGroupName>
3232
Where:
33-
logGroupName - The name of the log group (for example, /aws/lambda/ChatAIHandler).
34-
startTime - The start time for the log events (in milliseconds since epoch).
35-
endTime - The end time for the log events (in milliseconds since epoch).
33+
logGroupName - The name of the log group (for example, /aws/lambda/ChatAIHandler).
3634
""";
37-
if (args.length != 3) {
38-
System.out.print(usage);
39-
System.exit(1);
40-
}
41-
String logGroupName = args[0];
42-
long startTime = Long.parseLong(args[1]);
43-
long endTime = Long.parseLong(args[2]);
35+
// if (args.length != 3) {
36+
// System.out.print(usage);
37+
// System.exit(1);
38+
// }
39+
40+
String logGroupName = "/aws/lambda/ChatAIHandler" ; //args[0];
4441
CloudWatchLogsClient logsClient = CloudWatchLogsClient.builder()
4542
.region(Region.US_EAST_1)
4643
.build();

0 commit comments

Comments
 (0)