Skip to content

Commit

Permalink
fix:Updating comment (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluPhy authored Feb 4, 2022
1 parent 2e104a6 commit 80c32f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/README_KinesisDataAnalytics.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sample function

The following is an example for an Application Destination Lambda function that receives Amazon Kinesis Data Analytics event records as an input. To send Kinesis Data Analytics output records the Lamdbda function must be compliant with the (required input and return data models)[https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output-lambda.html], so the handler returns a list of delivery statuses for each record.
The following is an example for an Application Destination Lambda function that receives Amazon Kinesis Data Analytics event records as an input. To send Kinesis Data Analytics output records the Lambda function must be compliant with the (required input and return data models)[https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output-lambda.html], so the handler returns a list of delivery statuses for each record.

The following Lambda function receives Amazon Kinesis Data Analytics event record data as an input and writes some of the record data to CloudWatch Logs. For each entry it adds an element to the response slice, marking it delivered. When the logic considers the delivery to be failed the `events.KinesisAnalyticsOutputDeliveryFailed` value should be used for the response `Result` field.

Expand Down

0 comments on commit 80c32f1

Please sign in to comment.