Skip to content

Commit bf68cae

Browse files
rcohaws-sdk-rust-ci
authored andcommitted
[smithy-rs] Fix runtime crate versions (#3260)
## Motivation and Context When the stable/unstable crate versions were split, this caused a regression in determining the crate version during codegen. This enhances our crate-version forwarding code to publish all the crate versions. For impact, see codegen-client-test. ## Description - Change the build artifact to be a JSON blob will all required versions. ## Testing - [ ] Audit diff ## 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._
1 parent b4e4b19 commit bf68cae

File tree

749 files changed

+1123
-749
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

749 files changed

+1123
-749
lines changed

sdk/accessanalyzer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "Apache-2.0"
99
repository = "https://github.com/awslabs/aws-sdk-rust"
1010
readme = "README.md"
1111
[package.metadata.smithy]
12-
codegen-version = "null-cd6baa940c2bd00a11c378891136c73238c02a0b"
12+
codegen-version = "1.0.2-cd6baa940c2bd00a11c378891136c73238c02a0b"
1313
[package.metadata.docs.rs]
1414
all-features = true
1515
targets = ["x86_64-unknown-linux-gnu"]

sdk/accessanalyzer/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,7 @@ impl Builder {
10491049
self.set_credentials_provider(Some(crate::config::SharedCredentialsProvider::new(
10501050
::aws_credential_types::Credentials::for_tests(),
10511051
)));
1052+
self.behavior_version = ::std::option::Option::Some(crate::config::BehaviorVersion::latest());
10521053
self
10531054
}
10541055
#[cfg(any(feature = "test-util", test))]

sdk/account/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "Apache-2.0"
99
repository = "https://github.com/awslabs/aws-sdk-rust"
1010
readme = "README.md"
1111
[package.metadata.smithy]
12-
codegen-version = "null-cd6baa940c2bd00a11c378891136c73238c02a0b"
12+
codegen-version = "1.0.2-cd6baa940c2bd00a11c378891136c73238c02a0b"
1313
[package.metadata.docs.rs]
1414
all-features = true
1515
targets = ["x86_64-unknown-linux-gnu"]

sdk/account/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@ impl Builder {
10321032
self.set_credentials_provider(Some(crate::config::SharedCredentialsProvider::new(
10331033
::aws_credential_types::Credentials::for_tests(),
10341034
)));
1035+
self.behavior_version = ::std::option::Option::Some(crate::config::BehaviorVersion::latest());
10351036
self
10361037
}
10371038
#[cfg(any(feature = "test-util", test))]

sdk/acm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "Apache-2.0"
99
repository = "https://github.com/awslabs/aws-sdk-rust"
1010
readme = "README.md"
1111
[package.metadata.smithy]
12-
codegen-version = "null-cd6baa940c2bd00a11c378891136c73238c02a0b"
12+
codegen-version = "1.0.2-cd6baa940c2bd00a11c378891136c73238c02a0b"
1313
[package.metadata.docs.rs]
1414
all-features = true
1515
targets = ["x86_64-unknown-linux-gnu"]

sdk/acm/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@ impl Builder {
10321032
self.set_credentials_provider(Some(crate::config::SharedCredentialsProvider::new(
10331033
::aws_credential_types::Credentials::for_tests(),
10341034
)));
1035+
self.behavior_version = ::std::option::Option::Some(crate::config::BehaviorVersion::latest());
10351036
self
10361037
}
10371038
#[cfg(any(feature = "test-util", test))]

sdk/acmpca/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "Apache-2.0"
99
repository = "https://github.com/awslabs/aws-sdk-rust"
1010
readme = "README.md"
1111
[package.metadata.smithy]
12-
codegen-version = "null-cd6baa940c2bd00a11c378891136c73238c02a0b"
12+
codegen-version = "1.0.2-cd6baa940c2bd00a11c378891136c73238c02a0b"
1313
[package.metadata.docs.rs]
1414
all-features = true
1515
targets = ["x86_64-unknown-linux-gnu"]

sdk/acmpca/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@ impl Builder {
10321032
self.set_credentials_provider(Some(crate::config::SharedCredentialsProvider::new(
10331033
::aws_credential_types::Credentials::for_tests(),
10341034
)));
1035+
self.behavior_version = ::std::option::Option::Some(crate::config::BehaviorVersion::latest());
10351036
self
10361037
}
10371038
#[cfg(any(feature = "test-util", test))]

sdk/alexaforbusiness/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "Apache-2.0"
99
repository = "https://github.com/awslabs/aws-sdk-rust"
1010
readme = "README.md"
1111
[package.metadata.smithy]
12-
codegen-version = "null-cd6baa940c2bd00a11c378891136c73238c02a0b"
12+
codegen-version = "1.0.2-cd6baa940c2bd00a11c378891136c73238c02a0b"
1313
[package.metadata.docs.rs]
1414
all-features = true
1515
targets = ["x86_64-unknown-linux-gnu"]

sdk/alexaforbusiness/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,7 @@ impl Builder {
10491049
self.set_credentials_provider(Some(crate::config::SharedCredentialsProvider::new(
10501050
::aws_credential_types::Credentials::for_tests(),
10511051
)));
1052+
self.behavior_version = ::std::option::Option::Some(crate::config::BehaviorVersion::latest());
10521053
self
10531054
}
10541055
#[cfg(any(feature = "test-util", test))]

0 commit comments

Comments
 (0)