AWS SDK

AWS SDK

rev. 4b3027207f9561924d49b49e22604a1be1cbe804

Files changed:

tmp-codegen-diff/aws-sdk/sdk/timestreamwrite/src/config/endpoint/internals.rs

@@ -5,5 +65,68 @@
   25     25   
        if (*use_fips) == (true) {
   26     26   
            return Err(::aws_smithy_http::endpoint::ResolveEndpointError::message(
   27     27   
                "Invalid Configuration: FIPS and custom endpoint are not supported".to_string(),
   28     28   
            ));
   29     29   
        }
   30     30   
        if (*use_dual_stack) == (true) {
   31     31   
            return Err(::aws_smithy_http::endpoint::ResolveEndpointError::message(
   32     32   
                "Invalid Configuration: Dualstack and custom endpoint are not supported".to_string(),
   33     33   
            ));
   34     34   
        }
   35         -
        return Ok(::aws_smithy_types::endpoint::Endpoint::builder().url(endpoint.to_owned()).build());
          35  +
        return Ok(::aws_smithy_types::endpoint::Endpoint::builder()
          36  +
            .url(endpoint.to_owned())
          37  +
            .property("is_custom_endpoint", true)
          38  +
            .build());
   36     39   
    }
   37     40   
    #[allow(unused_variables)]
   38     41   
    if let Some(region) = region {
   39     42   
        #[allow(unused_variables)]
   40     43   
        if let Some(partition_result) = partition_resolver.resolve_partition(region.as_ref() as &str, _diagnostic_collector) {
   41     44   
            if (*use_fips) == (true) {
   42     45   
                if (*use_dual_stack) == (true) {
   43     46   
                    if (true) == (partition_result.supports_fips()) {
   44     47   
                        if (true) == (partition_result.supports_dual_stack()) {
   45     48   
                            if ("aws") == (partition_result.name()) {

tmp-codegen-diff/aws-sdk/sdk/transcribestreaming/Cargo.toml

@@ -21,21 +81,81 @@
   41     41   
features = ["event-stream"]
   42     42   
version = "0.62.5"
   43     43   
   44     44   
[dependencies.aws-smithy-json]
   45     45   
path = "../aws-smithy-json"
   46     46   
version = "0.61.7"
   47     47   
   48     48   
[dependencies.aws-smithy-runtime]
   49     49   
path = "../aws-smithy-runtime"
   50     50   
features = ["client"]
   51         -
version = "1.9.4"
          51  +
version = "1.9.5"
   52     52   
   53     53   
[dependencies.aws-smithy-runtime-api]
   54     54   
path = "../aws-smithy-runtime-api"
   55     55   
features = ["client", "http-02x"]
   56     56   
version = "1.9.2"
   57     57   
   58     58   
[dependencies.aws-smithy-types]
   59     59   
path = "../aws-smithy-types"
   60     60   
features = ["http-body-0-4-x"]
   61     61   
version = "1.3.4"
@@ -94,94 +154,154 @@
  114    114   
features = ["test-util", "wire-mock"]
  115    115   
version = "1.1.4"
  116    116   
  117    117   
[dev-dependencies.aws-smithy-protocol-test]
  118    118   
path = "../aws-smithy-protocol-test"
  119    119   
version = "0.63.6"
  120    120   
  121    121   
[dev-dependencies.aws-smithy-runtime]
  122    122   
path = "../aws-smithy-runtime"
  123    123   
features = ["test-util"]
  124         -
version = "1.9.4"
         124  +
version = "1.9.5"
  125    125   
  126    126   
[dev-dependencies.aws-smithy-runtime-api]
  127    127   
path = "../aws-smithy-runtime-api"
  128    128   
features = ["test-util"]
  129    129   
version = "1.9.2"
  130    130   
  131    131   
[dev-dependencies.aws-smithy-types]
  132    132   
path = "../aws-smithy-types"
  133    133   
features = ["test-util"]
  134    134   
version = "1.3.4"

tmp-codegen-diff/aws-sdk/sdk/transcribestreaming/src/config.rs

@@ -1273,1273 +1332,1334 @@
 1293   1293   
            use crate::config::endpoint::ResolveEndpoint;
 1294   1294   
            crate::config::endpoint::DefaultResolver::new().into_shared_resolver()
 1295   1295   
        }));
 1296   1296   
        runtime_components.push_interceptor(::aws_smithy_runtime::client::http::connection_poisoning::ConnectionPoisoningInterceptor::new());
 1297   1297   
        runtime_components.push_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier::default());
 1298   1298   
        runtime_components.push_interceptor(crate::sdk_feature_tracker::retry_mode::RetryModeFeatureTrackerInterceptor::new());
 1299   1299   
        runtime_components.push_interceptor(::aws_runtime::service_clock_skew::ServiceClockSkewInterceptor::new());
 1300   1300   
        runtime_components.push_interceptor(::aws_runtime::request_info::RequestInfoInterceptor::new());
 1301   1301   
        runtime_components.push_interceptor(::aws_runtime::user_agent::UserAgentInterceptor::new());
 1302   1302   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
        1303  +
        runtime_components.push_interceptor(::aws_runtime::observability_detection::ObservabilityDetectionInterceptor::new());
        1304  +
        runtime_components.push_interceptor(::aws_runtime::endpoint_discovery::EndpointOverrideInterceptor::new());
 1303   1305   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1304   1306   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1305   1307   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1306   1308   
        ));
 1307   1309   
        Self { config, runtime_components }
 1308   1310   
    }
 1309   1311   
}
 1310   1312   
 1311   1313   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1312   1314   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {

tmp-codegen-diff/aws-sdk/sdk/transcribestreaming/src/config/endpoint/internals.rs

@@ -5,5 +65,68 @@
   25     25   
        if (*use_fips) == (true) {
   26     26   
            return Err(::aws_smithy_http::endpoint::ResolveEndpointError::message(
   27     27   
                "Invalid Configuration: FIPS and custom endpoint are not supported".to_string(),
   28     28   
            ));
   29     29   
        }
   30     30   
        if (*use_dual_stack) == (true) {
   31     31   
            return Err(::aws_smithy_http::endpoint::ResolveEndpointError::message(
   32     32   
                "Invalid Configuration: Dualstack and custom endpoint are not supported".to_string(),
   33     33   
            ));
   34     34   
        }
   35         -
        return Ok(::aws_smithy_types::endpoint::Endpoint::builder().url(endpoint.to_owned()).build());
          35  +
        return Ok(::aws_smithy_types::endpoint::Endpoint::builder()
          36  +
            .url(endpoint.to_owned())
          37  +
            .property("is_custom_endpoint", true)
          38  +
            .build());
   36     39   
    }
   37     40   
    #[allow(unused_variables)]
   38     41   
    if let Some(region) = region {
   39     42   
        #[allow(unused_variables)]
   40     43   
        if let Some(partition_result) = partition_resolver.resolve_partition(region.as_ref() as &str, _diagnostic_collector) {
   41     44   
            if (*use_fips) == (true) {
   42     45   
                if (*use_dual_stack) == (true) {
   43     46   
                    if (true) == (partition_result.supports_fips()) {
   44     47   
                        if (true) == (partition_result.supports_dual_stack()) {
   45     48   
                            return Ok(::aws_smithy_types::endpoint::Endpoint::builder()

tmp-codegen-diff/aws-sdk/tests/no-default-features/Cargo.toml

@@ -2,2 +54,54 @@
   22     22   
default-features = false
   23     23   
version = "0.0.0-local"
   24     24   
   25     25   
[dev-dependencies.aws-smithy-async]
   26     26   
path = "../../sdk/aws-smithy-async"
   27     27   
version = "1.2.6"
   28     28   
   29     29   
[dev-dependencies.aws-smithy-runtime]
   30     30   
path = "../../sdk/aws-smithy-runtime"
   31     31   
features = ["test-util"]
   32         -
version = "1.9.4"
          32  +
version = "1.9.5"
   33     33   
   34     34   
[dev-dependencies.aws-smithy-http-client]
   35     35   
path = "../../sdk/aws-smithy-http-client"
   36     36   
features = ["test-util"]
   37     37   
version = "1.1.4"
   38     38   
   39     39   
[dev-dependencies.aws-credential-types]
   40     40   
path = "../../sdk/aws-credential-types"
   41     41   
features = ["test-util"]
   42     42   
version = "1.2.9"

tmp-codegen-diff/aws-sdk/tests/telemetry/Cargo.toml

@@ -5,5 +60,60 @@
   25     25   
features = ["test-util", "behavior-version-latest"]
   26     26   
version = "0.0.0-local"
   27     27   
   28     28   
[dev-dependencies.aws-sdk-s3]
   29     29   
path = "../../sdk/s3"
   30     30   
features = ["test-util", "behavior-version-latest"]
   31     31   
version = "0.0.0-local"
   32     32   
   33     33   
[dev-dependencies.aws-smithy-observability]
   34     34   
path = "../../sdk/aws-smithy-observability"
   35         -
version = "0.1.4"
          35  +
version = "0.1.5"
   36     36   
   37     37   
[dev-dependencies.aws-smithy-observability-otel]
   38     38   
path = "../../sdk/aws-smithy-observability-otel"
   39     39   
version = "0.1.2"
   40     40   
   41     41   
[dev-dependencies.aws-smithy-runtime]
   42     42   
path = "../../sdk/aws-smithy-runtime"
   43     43   
features = ["client", "test-util"]
   44         -
version = "1.9.4"
          44  +
version = "1.9.5"
   45     45   
   46     46   
[dev-dependencies.aws-smithy-types]
   47     47   
path = "../../sdk/aws-smithy-types"
   48     48   
version = "1.3.4"
   49     49   
   50     50   
[dev-dependencies.opentelemetry]
   51     51   
version = "0.26.0"
   52     52   
features = ["metrics"]
   53     53   
   54     54   
[dev-dependencies.opentelemetry_sdk]