Repository navigation
Generate event stream operations on async clients - #997
Open
stobrien89 wants to merge 1 commit into
Open
stobrien89 wants to merge 1 commit into
stobrien89 wants to merge 1 commit into
Conversation
kuhe
previously approved these changes
Nov 30, 2026
stobrien89
force-pushed
the
python-client-event-streams
branch
from
November 30, 2026 16:08
28e0de4 to
dc1eac1
Compare
stobrien89
force-pushed
the
python-client-event-streams
branch
2 times, most recently
from
November 30, 2026 17:32
b6ee7e9 to
89099dc
Compare
stobrien89
force-pushed
the
python-client-event-streams
branch
from
November 30, 2026 18:17
89099dc to
efa7fcb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
Stacked on #995.
Description of changes:
Generated clients now support event stream operations, matching the Java generator. With #995, the Python generator can generate every client aws-sdk-python ships (39, versus 27 before both PRs), including S3, Bedrock Runtime, Kinesis, Lambda and Transcribe Streaming.
AsyncInputEventStream,AsyncOutputEventStreamorAsyncDuplexEventStream, depending on which sides stream, and callspipeline.input_stream,output_streamorduplex_stream._<Union>Deserializer, which the runtime registry already builds.Fix found along the way:
rest-json-1-clientis now big enough for partitioned stubs, and the facade didn't re-export dictionary forms, since a stub only re-exports what__all__names. The facade now adds them, and the union deserializers, to__all__. This also affects large AWS clients such as EC2.rest-json-1-clientnow includes the 7 event stream operations, so no projection omits operations. A new unit test checks that an event stream operation is async only.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.