-
- Downloads
Add support for TimeStreamWrite and TimeStreamQuery (#2707)
TODO: - [x] docs - [x] integration test (canary even?) - [x] customize README for timestream ## Motivation and Context - #613 - https://github.com/awslabs/aws-sdk-rust/issues/114 ## Description This adds support for TSW and TSQ by adding endpoint discovery as a customization. This is made much simpler by the fact that endpoint discovery for these services **has no parameters** which means that there is no complexity from caching the returned endpoint. Customers call `.enable_endpoint_discovery()` on the client to create a version of the client with endpoint discovery enabled. This returns a new client and a Reloader from which customers must spawn the reload task if they want endpoint discovery to rerun. ## Testing <!--- Please describe in detail how you tested your changes --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [ ] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or runtime crates - [ ] I have updated `CHANGELOG.next.toml` if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates ---- _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 6 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-inlineable/Cargo.toml 1 addition, 0 deletionsaws/rust-runtime/aws-inlineable/Cargo.toml
- aws/rust-runtime/aws-inlineable/src/endpoint_discovery.rs 287 additions, 0 deletionsaws/rust-runtime/aws-inlineable/src/endpoint_discovery.rs
- aws/rust-runtime/aws-inlineable/src/lib.rs 9 additions, 0 deletionsaws/rust-runtime/aws-inlineable/src/lib.rs
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsCodegenDecorator.kt 3 additions, 0 deletions...lin/software/amazon/smithy/rustsdk/AwsCodegenDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsCrateDocsDecorator.kt 7 additions, 2 deletions...n/software/amazon/smithy/rustsdk/AwsCrateDocsDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsDocs.kt 25 additions, 2 deletions...src/main/kotlin/software/amazon/smithy/rustsdk/AwsDocs.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/IntegrationTestDependencies.kt 3 additions, 0 deletions...ware/amazon/smithy/rustsdk/IntegrationTestDependencies.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/ServiceSpecificDecorator.kt 6 additions, 0 deletions...azon/smithy/rustsdk/customize/ServiceSpecificDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/timestream/TimestreamDecorator.kt 106 additions, 0 deletions...mithy/rustsdk/customize/timestream/TimestreamDecorator.kt
- aws/sdk/aws-models/timestream-query.json 3047 additions, 0 deletionsaws/sdk/aws-models/timestream-query.json
- aws/sdk/aws-models/timestream-write.json 3663 additions, 0 deletionsaws/sdk/aws-models/timestream-write.json
- aws/sdk/gradle.properties 1 addition, 2 deletionsaws/sdk/gradle.properties
- aws/sdk/integration-tests/Cargo.toml 1 addition, 0 deletionsaws/sdk/integration-tests/Cargo.toml
- aws/sdk/integration-tests/timestreamquery/Cargo.toml 20 additions, 0 deletionsaws/sdk/integration-tests/timestreamquery/Cargo.toml
- aws/sdk/integration-tests/timestreamquery/tests/endpoint_disco.rs 76 additions, 0 deletions...integration-tests/timestreamquery/tests/endpoint_disco.rs
- aws/sdk/integration-tests/timestreamquery/tests/traffic.json 407 additions, 0 deletionsaws/sdk/integration-tests/timestreamquery/tests/traffic.json
- aws/sra-test/integration-tests/aws-sdk-s3/Cargo.toml 1 addition, 0 deletionsaws/sra-test/integration-tests/aws-sdk-s3/Cargo.toml
- buildSrc/src/main/kotlin/aws/sdk/ServiceLoader.kt 1 addition, 1 deletionbuildSrc/src/main/kotlin/aws/sdk/ServiceLoader.kt
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/Util.kt 2 additions, 0 deletions...amazon/smithy/rust/codegen/client/smithy/endpoint/Util.kt
Loading
Please register or sign in to comment