-
- Downloads
Fix event streams in the orchestrator implementation (#2673)
## Motivation and Context This PR gets event streams working in the client orchestrator implementation, and depends on #2671. The orchestrator's `TypeErasedBox` enforces a `Send + Sync` requirement on inputs and outputs. For the most part, this isn't an issue since almost all generated inputs/outputs are `Send + Sync`, but it turns out the `EventStreamSender` wasn't `Sync` due to an omission of the `Sync` bound. Thus, this PR is a breaking change, as it adds a `Sync` requirement for anyone who passes a stream to an event stream operation. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Showing
- CHANGELOG.next.toml 12 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-runtime/Cargo.toml 5 additions, 0 deletionsaws/rust-runtime/aws-runtime/Cargo.toml
- aws/rust-runtime/aws-runtime/src/auth.rs 1 addition, 469 deletionsaws/rust-runtime/aws-runtime/src/auth.rs
- aws/rust-runtime/aws-runtime/src/auth/sigv4.rs 609 additions, 0 deletionsaws/rust-runtime/aws-runtime/src/auth/sigv4.rs
- aws/rust-runtime/aws-sigv4/src/lib.rs 12 additions, 0 deletionsaws/rust-runtime/aws-sigv4/src/lib.rs
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/SigV4AuthDecorator.kt 7 additions, 1 deletion...tlin/software/amazon/smithy/rustsdk/SigV4AuthDecorator.kt
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/protocol/MakeOperationGenerator.kt 7 additions, 1 deletion...ient/smithy/generators/protocol/MakeOperationGenerator.kt
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/protocol/RequestSerializerGenerator.kt 11 additions, 2 deletions.../smithy/generators/protocol/RequestSerializerGenerator.kt
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/protocols/HttpBoundProtocolGenerator.kt 15 additions, 1 deletion...gen/client/smithy/protocols/HttpBoundProtocolGenerator.kt
- codegen-client/src/test/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/protocol/ProtocolTestGeneratorTest.kt 8 additions, 2 deletions...t/smithy/generators/protocol/ProtocolTestGeneratorTest.kt
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/protocol/ProtocolGenerator.kt 13 additions, 2 deletions...egen/core/smithy/generators/protocol/ProtocolGenerator.kt
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/protocols/HttpBoundProtocolPayloadGenerator.kt 29 additions, 10 deletions...ore/smithy/protocols/HttpBoundProtocolPayloadGenerator.kt
- rust-runtime/aws-smithy-http/src/event_stream/sender.rs 16 additions, 3 deletionsrust-runtime/aws-smithy-http/src/event_stream/sender.rs
- rust-runtime/aws-smithy-runtime-api/src/client/orchestrator.rs 6 additions, 6 deletions...runtime/aws-smithy-runtime-api/src/client/orchestrator.rs
- rust-runtime/aws-smithy-runtime/src/client/orchestrator.rs 1 addition, 1 deletionrust-runtime/aws-smithy-runtime/src/client/orchestrator.rs
- rust-runtime/aws-smithy-runtime/src/client/test_util/serializer.rs 5 additions, 1 deletion...ime/aws-smithy-runtime/src/client/test_util/serializer.rs
Loading
Please register or sign in to comment