Unverified Commit eb261e63 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Enable crate reorganization for the SDK (#2433)

* Enable the crate reorg for the SDK

* Fix `aws-config`

* Fix SDK integration tests

* Fix event stream error module bug

* Fix doc test imports

* Fix some tests

* Fix external type check

* Fix the canary for both versions

* Fix codegen crash for certain SDK models

* Fix some doc compilation failures

* Update the changelog

* Fix presigning test merge conflict
parent a339f6bc
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -275,3 +275,10 @@ message = "Smithy members named `send` were previously renamed to `send_value` a
references = ["smithy-rs#2382"]
meta = { "breaking" = true, "tada" = false, "bug" = true, "target" = "server" }
author = "jdisanti"

[[aws-sdk-rust]]
message = "The modules in the SDK crates have been reorganized. See the [SDK Crate Reorganization Upgrade Guidance](https://github.com/awslabs/aws-sdk-rust/discussions/752) to see how to fix your code after this change."
references = ["smithy-rs#2433"]
meta = { "breaking" = true, "tada" = false, "bug" = false }
author = "jdisanti"
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ allowed_external_types = [
   "aws_credential_types::provider::ProvideCredentials",
   "aws_credential_types::provider::Result",
   "aws_credential_types::provider::SharedCredentialsProvider",
   "aws_sdk_sts::model::PolicyDescriptorType",
   "aws_sdk_sts::types::_policy_descriptor_type::PolicyDescriptorType",
   "aws_smithy_async::rt::sleep::AsyncSleep",
   "aws_smithy_client::bounds::SmithyConnector",
   "aws_smithy_client::erase::DynConnector",
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ mod test {
    use crate::imds::client::test::{imds_request, imds_response, token_request, token_response};
    use crate::imds::region::ImdsRegionProvider;
    use crate::provider_config::ProviderConfig;
    use aws_sdk_sts::Region;
    use aws_sdk_sts::config::Region;
    use aws_smithy_async::rt::sleep::TokioSleep;
    use aws_smithy_client::erase::DynConnector;
    use aws_smithy_client::test_connection::TestConnection;
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ mod tests {
    use super::ProfileFileAppNameProvider;
    use crate::provider_config::ProviderConfig;
    use crate::test_case::no_traffic_connector;
    use aws_sdk_sts::AppName;
    use aws_sdk_sts::config::AppName;
    use aws_types::os_shim_internal::{Env, Fs};
    use tracing_test::traced_test;

+2 −2
Original line number Diff line number Diff line
@@ -11,9 +11,9 @@ use crate::sso::{SsoConfig, SsoCredentialsProvider};
use crate::sts;
use crate::web_identity_token::{StaticConfiguration, WebIdentityTokenCredentialsProvider};
use aws_credential_types::provider::{self, error::CredentialsError, ProvideCredentials};
use aws_sdk_sts::input::AssumeRoleInput;
use aws_sdk_sts::middleware::DefaultMiddleware;
use aws_sdk_sts::{Config, Credentials};
use aws_sdk_sts::operation::assume_role::AssumeRoleInput;
use aws_sdk_sts::{config::Credentials, Config};
use aws_smithy_client::erase::DynConnector;
use aws_types::region::Region;
use std::fmt::Debug;
Loading