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: docs/utilities/data_classes.md
+12-17Lines changed: 12 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -975,36 +975,31 @@ or plain text, depending on the original payload.
975
975
976
976
### Kinesis Firehose delivery stream
977
977
978
-
Kinesis Firehose Data Transformation can use a Lambda Function to modify the records
979
-
inline, and re-emit them back to the Delivery Stream.
978
+
When using Kinesis Firehose, you can use a Lambda function to [perform data transformation](https://docs.aws.amazon.com/firehose/latest/dev/data-transformation.html){target="_blank"}. For each transformed record, you can choose to either:
980
979
981
-
Similar to Kinesis Data Streams, the events contain base64 encoded data. You can use the helper
982
-
function to access the data either as json or plain text, depending on the original payload.
980
+
***A)** Put them back to the delivery stream (default)
981
+
***B)** Drop them so consumers don't receive them (e.g., data validation)
982
+
***C)** Indicate a record failed data transformation and should be retried
983
983
984
-
When constructing response to Firehose, You can utilize the `KinesisFirehoseDataTransformationResponse` class shown
985
-
in the example below.
984
+
To do that, you can use `KinesisFirehoseDataTransformationResponse` class along with helper functions to make it easier to decode and encode base64 data in the stream.
0 commit comments