generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 462
Closed
Labels
feature-requestfeature requestfeature requestgood first issueGood for newcomersGood for newcomershelp wantedCould use a second pair of eyes/handsCould use a second pair of eyes/handsp3
Description
Is your feature request related to a problem? Please describe.
currently the KinesisStreamRecordPayload has data_as_text and data_as_json helpers which are useful for deserialising text/json payload; however, we can have gzipped payload (e.g., from cloudwatch logs) which we don't want to convert to str but still want to leverage the dataclass to do the base64 decode
Describe the solution you'd like
a data_as_bytes method in KinesisStreamRecordPayload
Describe alternatives you've considered
Another custom wrapper class, or just getting the record.kinesis.data attribute then do the base64 decode; but both are not as clean as having a helper on KinesisStreamRecordPayload
Additional context
N/A
michaelbrewer
Metadata
Metadata
Assignees
Labels
feature-requestfeature requestfeature requestgood first issueGood for newcomersGood for newcomershelp wantedCould use a second pair of eyes/handsCould use a second pair of eyes/handsp3