-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add event stream serde dependencies #824
feat: add event stream serde dependencies #824
Conversation
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
3daeabe
to
d264d87
Compare
Codecov Report
@@ Coverage Diff @@
## smithy-codegen #824 +/- ##
=================================================
- Coverage 92.12% 91.9% -0.22%
=================================================
Files 145 150 +5
Lines 2908 3027 +119
Branches 513 529 +16
=================================================
+ Hits 2679 2782 +103
- Misses 229 245 +16
Continue to review full report at Codecov.
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
d264d87
to
71e0ab1
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
71e0ab1
to
4ef3b40
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
4ef3b40
to
3441e19
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
* to event stream binary chunks; Use a pull stream | ||
* here to support low connection speed. | ||
* | ||
* This doesn't work actually on browser currently |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
3441e19
to
a2b931d
Compare
This comment has been minimized.
This comment has been minimized.
2e82629
to
fc25e69
Compare
This comment has been minimized.
This comment has been minimized.
feat: revive event stream dependencies feat: allow event signer provider in the config feat: rename util-eventstream-node to eventstream-serde-node feat: separate eventstream serde from util package feat: exprimental event stream signing dependencies feat: add eventstream-serde-browser chore: add doc for not supporting eventstream request on browser chore: add ignore files to eventstream dependencies chore: remove middleware-eventstream-signing from PR chore: remove eventstream-signer-node from PR chore(eventstream-serde-node): add unit tests feat: throw error/exception event and terminate event stream chore: fix docs fix: add eventstream-serde-config-resolver
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
* feat: add event stream serde dependencies([aws#824](aws#824)) * support eventstream traits([smithy-typescript#110](smithy-lang/smithy-typescript#110))
* feat: add event stream serde dependencies([#824](#824)) * support eventstream traits([smithy-typescript#110](smithy-lang/smithy-typescript#110))
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
This change add 3 packages that used to serialize/deserialize the event stream:
@aws-sdk/eventstream-serde-browser
: provide anEventStreamMarshaller
class that hasserialize
anddeserialize
methods.serialize()
serializes input into event stream formatted binary stream; Whereasdeserialize()
converts output from response ReadableStream to structured output. The implementation is adopted from v2 eventstream@aws-sdk/eventstream-serde-node
: Same function to@aws-sdk/eventstream-serde-browser
by compatible with NodeJs stream API.@aws-sdk/eventstream-serde-config-resolver
: Provide a client config resolver function that resolve client config toEventStreamMarshaller
on different runtimes accordingly. This config will apply to client only ifeventstream
trait is found in model.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.