You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sample-apps/java-events-v1sdk/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
This sample application shows the use of the `aws-lambda-java-events` library with event types that require AWS SDK as a dependency. A separate handler class is defined for each input type. For other event types (which don't require the AWS SDK), see the `java-events` sample.
4
4
5
+
**Note: The `java-events-v1sdk` examples are deprecated.** As of version 3.0.0 of the `aws-lambda-java-events` package, [users are no longer required to pull in SDK dependencies in order to use that library](https://github.com/aws/aws-lambda-java-libs/tree/master/aws-lambda-java-events). Please see the [`java-events` package](https://github.com/awsdocs/aws-lambda-developer-guide/tree/main/sample-apps/java-events) for updated examples.
Copy file name to clipboardExpand all lines: sample-apps/java-events/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,8 +90,11 @@ By default, the function uses a handler class named `Handler` that takes an API
90
90
-`HandlerCognito.java` - Takes `CognitoEvent` as input.
91
91
-`HandlerCWEvents.java` - Takes `ScheduledEventEvent` as input.
92
92
-`HandlerCWLogs.java` - Takes `CloudWatchLogsEvent` as input.
93
+
-`HandlerDynamoDB.java` - Takes `DynamodbEvent` as input.
93
94
-`HandlerFirehose.java` - Takes `KinesisFirehoseEvent` as input.
95
+
-`HandlerKinesis.java` - Takes `KinesisEvent` as input.
94
96
-`HandlerLex.java` - Takes `LexEvent` as input.
97
+
-`HandlerS3.java` - Takes `S3Event` as input.
95
98
-`HandlerSNS.java` - Takes `SNSEvent` as input.
96
99
97
100
To use a different handler, change the value of the Handler setting in the application template (`template.yml` or `template-mvn.yaml`). For example, to use the Amazon Lex handler:
@@ -118,8 +121,11 @@ The following event type keys are supported:
0 commit comments