-
- Downloads
Http Prefix Header Support (#263)
* Http Prefix Header Support The impetus of this diff is adding support for HttpPrefix headers. This ended up leading to a bunch of other changes: 1. operation.build() now always returns a result to account for inability to construct HTTP requests from certain inputs 2. HeaderName/HeaderValue is now created eagerly to give a better error message 3. httpPrefixHeaders are supported 4. The Dynamo movies example now uses the fluent client. * Disable clippy lint of extra wrap * Fix example * Delete some dead code
Showing
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/FluentClientGenerator.kt 5 additions, 1 deletion...n/software/amazon/smithy/rustsdk/FluentClientGenerator.kt
- aws/sdk/build.gradle.kts 1 addition, 2 deletionsaws/sdk/build.gradle.kts
- aws/sdk/examples/dynamo-movies/src/main.rs 40 additions, 33 deletionsaws/sdk/examples/dynamo-movies/src/main.rs
- aws/sdk/examples/kms-helloworld/src/main.rs 1 addition, 1 deletionaws/sdk/examples/kms-helloworld/src/main.rs
- aws/sdk/integration-tests/dynamodb/tests/movies.rs 5 additions, 5 deletionsaws/sdk/integration-tests/dynamodb/tests/movies.rs
- aws/sdk/integration-tests/kms/tests/integration.rs 3 additions, 3 deletionsaws/sdk/integration-tests/kms/tests/integration.rs
- aws/sdk/integration-tests/kms/tests/sensitive-it.rs 1 addition, 1 deletionaws/sdk/integration-tests/kms/tests/sensitive-it.rs
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/BuilderGenerator.kt 33 additions, 13 deletions...smithy/rust/codegen/smithy/generators/BuilderGenerator.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/HttpProtocolGenerator.kt 5 additions, 4 deletions...y/rust/codegen/smithy/generators/HttpProtocolGenerator.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/HttpProtocolTestGenerator.kt 0 additions, 9 deletions...st/codegen/smithy/generators/HttpProtocolTestGenerator.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/HttpTraitBindingGenerator.kt 98 additions, 28 deletions...st/codegen/smithy/generators/HttpTraitBindingGenerator.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/Instantiator.kt 2 additions, 1 deletion...zon/smithy/rust/codegen/smithy/generators/Instantiator.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/StructureGenerator.kt 10 additions, 7 deletions...ithy/rust/codegen/smithy/generators/StructureGenerator.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/protocols/AwsJson10.kt 6 additions, 4 deletions.../amazon/smithy/rust/codegen/smithy/protocols/AwsJson10.kt
- codegen/src/test/kotlin/software/amazon/smithy/rust/codegen/generators/HttpTraitBindingGeneratorTest.kt 87 additions, 2 deletions.../rust/codegen/generators/HttpTraitBindingGeneratorTest.kt
- codegen/src/test/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/HttpProtocolTestGeneratorTest.kt 4 additions, 2 deletions...odegen/smithy/generators/HttpProtocolTestGeneratorTest.kt
- rust-runtime/smithy-http/Cargo.toml 1 addition, 0 deletionsrust-runtime/smithy-http/Cargo.toml
- rust-runtime/smithy-http/src/operation.rs 21 additions, 0 deletionsrust-runtime/smithy-http/src/operation.rs
Loading
Please register or sign in to comment