AWS SDK

AWS SDK

rev. 1fb202108840af7ccb1069c5b8afebf43a5e5aec

Files changed:

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

@@ -1,1 +0,140 @@
    9      9   
repository = "https://github.com/awslabs/aws-sdk-rust"
   10     10   
rust-version = "1.81.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
[package.metadata.docs.rs]
   15     15   
all-features = true
   16     16   
targets = ["x86_64-unknown-linux-gnu"]
   17     17   
[dependencies.aws-credential-types]
   18     18   
path = "../aws-credential-types"
   19         -
version = "1.2.1"
          19  +
version = "1.2.2"
   20     20   
   21     21   
[dependencies.aws-runtime]
   22     22   
path = "../aws-runtime"
   23         -
version = "1.5.5"
          23  +
version = "1.5.6"
   24     24   
   25     25   
[dependencies.aws-smithy-async]
   26     26   
path = "../aws-smithy-async"
   27         -
version = "1.2.4"
          27  +
version = "1.2.5"
   28     28   
   29     29   
[dependencies.aws-smithy-http]
   30     30   
path = "../aws-smithy-http"
   31         -
version = "0.61.1"
          31  +
version = "0.62.0"
   32     32   
   33     33   
[dependencies.aws-smithy-json]
   34     34   
path = "../aws-smithy-json"
   35         -
version = "0.61.2"
          35  +
version = "0.61.3"
   36     36   
   37     37   
[dependencies.aws-smithy-query]
   38     38   
path = "../aws-smithy-query"
   39     39   
version = "0.60.7"
   40     40   
   41     41   
[dependencies.aws-smithy-runtime]
   42     42   
path = "../aws-smithy-runtime"
   43     43   
features = ["client"]
   44         -
version = "1.7.8"
          44  +
version = "1.8.0"
   45     45   
   46     46   
[dependencies.aws-smithy-runtime-api]
   47     47   
path = "../aws-smithy-runtime-api"
   48     48   
features = ["client", "http-02x"]
   49         -
version = "1.7.3"
          49  +
version = "1.7.4"
   50     50   
   51     51   
[dependencies.aws-smithy-types]
   52     52   
path = "../aws-smithy-types"
   53         -
version = "1.2.13"
          53  +
version = "1.3.0"
   54     54   
   55     55   
[dependencies.aws-smithy-xml]
   56     56   
path = "../aws-smithy-xml"
   57     57   
version = "0.60.9"
   58     58   
   59     59   
[dependencies.aws-types]
   60     60   
path = "../aws-types"
   61         -
version = "1.3.5"
          61  +
version = "1.3.6"
   62     62   
   63     63   
[dependencies.http]
   64     64   
version = "0.2.9"
   65     65   
   66     66   
[dependencies.once_cell]
   67     67   
version = "1.16"
   68     68   
   69     69   
[dependencies.regex-lite]
   70     70   
version = "0.1.5"
   71     71   
   72     72   
[dependencies.tracing]
   73     73   
version = "0.1"
   74     74   
[dev-dependencies.aws-credential-types]
   75     75   
path = "../aws-credential-types"
   76     76   
features = ["test-util"]
   77         -
version = "1.2.1"
          77  +
version = "1.2.2"
   78     78   
   79     79   
[dev-dependencies.aws-runtime]
   80     80   
path = "../aws-runtime"
   81     81   
features = ["test-util"]
   82         -
version = "1.5.5"
          82  +
version = "1.5.6"
   83     83   
   84     84   
[dev-dependencies.aws-smithy-async]
   85     85   
path = "../aws-smithy-async"
   86     86   
features = ["test-util"]
   87         -
version = "1.2.4"
          87  +
version = "1.2.5"
          88  +
          89  +
[dev-dependencies.aws-smithy-http-client]
          90  +
path = "../aws-smithy-http-client"
          91  +
features = ["test-util", "wire-mock"]
          92  +
version = "1.0.0"
   88     93   
   89     94   
[dev-dependencies.aws-smithy-protocol-test]
   90     95   
path = "../aws-smithy-protocol-test"
   91         -
version = "0.63.0"
          96  +
version = "0.63.1"
   92     97   
   93     98   
[dev-dependencies.aws-smithy-runtime]
   94     99   
path = "../aws-smithy-runtime"
   95         -
features = ["test-util", "wire-mock"]
   96         -
version = "1.7.8"
         100  +
features = ["test-util"]
         101  +
version = "1.8.0"
   97    102   
   98    103   
[dev-dependencies.aws-smithy-runtime-api]
   99    104   
path = "../aws-smithy-runtime-api"
  100    105   
features = ["test-util"]
  101         -
version = "1.7.3"
         106  +
version = "1.7.4"
  102    107   
  103    108   
[dev-dependencies.aws-smithy-types]
  104    109   
path = "../aws-smithy-types"
  105    110   
features = ["test-util"]
  106         -
version = "1.2.13"
         111  +
version = "1.3.0"
  107    112   
  108    113   
[dev-dependencies.futures-util]
  109    114   
version = "0.3.25"
  110    115   
features = ["alloc"]
  111    116   
default-features = false
  112    117   
         118  +
[dev-dependencies.http-1x]
         119  +
version = "1"
         120  +
package = "http"
         121  +
  113    122   
[dev-dependencies.serde_json]
  114    123   
version = "1.0.0"
  115    124   
  116    125   
[dev-dependencies.tokio]
  117    126   
version = "1.23.1"
  118    127   
features = ["macros", "test-util", "rt-multi-thread"]
  119    128   
  120    129   
[dev-dependencies.tracing-subscriber]
  121    130   
version = "0.3.16"
  122    131   
features = ["env-filter", "json"]
  123    132   
  124    133   
[features]
  125    134   
behavior-version-latest = []
  126    135   
rustls = ["aws-smithy-runtime/tls-rustls"]
         136  +
default-https-client = ["aws-smithy-runtime/default-https-client"]
  127    137   
rt-tokio = ["aws-smithy-async/rt-tokio", "aws-smithy-types/rt-tokio"]
  128    138   
test-util = ["aws-credential-types/test-util", "aws-smithy-runtime/test-util"]
  129    139   
gated-tests = []
  130         -
default = ["rustls", "rt-tokio"]
         140  +
default = ["rustls", "default-https-client", "rt-tokio"]

tmp-codegen-diff/aws-sdk/sdk/sts/tests/signing-it.rs

@@ -1,1 +37,37 @@
    1      1   
/*
    2      2   
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
    3      3   
 * SPDX-License-Identifier: Apache-2.0
    4      4   
 */
    5      5   
    6      6   
use aws_sdk_sts::config::{Credentials, Region};
    7         -
use aws_smithy_runtime::client::http::test_util::capture_request;
           7  +
use aws_smithy_http_client::test_util::capture_request;
    8      8   
    9      9   
#[tokio::test]
   10     10   
async fn assume_role_signed() {
   11     11   
    let creds = Credentials::for_tests();
   12     12   
    let (http_client, request) = capture_request(None);
   13     13   
    let conf = aws_sdk_sts::Config::builder()
   14     14   
        .behavior_version_latest()
   15     15   
        .credentials_provider(creds)
   16     16   
        .region(Region::new("us-east-1"))
   17     17   
        .http_client(http_client)

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

@@ -1,1 +0,146 @@
    9      9   
repository = "https://github.com/awslabs/aws-sdk-rust"
   10     10   
rust-version = "1.81.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
[package.metadata.docs.rs]
   15     15   
all-features = true
   16     16   
targets = ["x86_64-unknown-linux-gnu"]
   17     17   
[dependencies.aws-credential-types]
   18     18   
path = "../aws-credential-types"
   19         -
version = "1.2.1"
          19  +
version = "1.2.2"
   20     20   
   21     21   
[dependencies.aws-runtime]
   22     22   
path = "../aws-runtime"
   23         -
version = "1.5.5"
          23  +
version = "1.5.6"
   24     24   
   25     25   
[dependencies.aws-smithy-async]
   26     26   
path = "../aws-smithy-async"
   27         -
version = "1.2.4"
          27  +
version = "1.2.5"
   28     28   
   29     29   
[dependencies.aws-smithy-http]
   30     30   
path = "../aws-smithy-http"
   31         -
version = "0.61.1"
          31  +
version = "0.62.0"
   32     32   
   33     33   
[dependencies.aws-smithy-json]
   34     34   
path = "../aws-smithy-json"
   35         -
version = "0.61.2"
          35  +
version = "0.61.3"
   36     36   
   37     37   
[dependencies.aws-smithy-runtime]
   38     38   
path = "../aws-smithy-runtime"
   39     39   
features = ["client"]
   40         -
version = "1.7.8"
          40  +
version = "1.8.0"
   41     41   
   42     42   
[dependencies.aws-smithy-runtime-api]
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x"]
   45         -
version = "1.7.3"
          45  +
version = "1.7.4"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49         -
version = "1.2.13"
          49  +
version = "1.3.0"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53         -
version = "1.3.5"
          53  +
version = "1.3.6"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.fastrand]
   59     59   
version = "2.0.0"
   60     60   
   61     61   
[dependencies.http]
   62     62   
version = "0.2.9"
   63     63   
   64     64   
[dependencies.once_cell]
   65     65   
version = "1.16"
   66     66   
   67     67   
[dependencies.regex-lite]
   68     68   
version = "0.1.5"
   69     69   
   70     70   
[dependencies.tokio]
   71     71   
version = "1.23.1"
   72     72   
features = ["sync"]
   73     73   
   74     74   
[dependencies.tracing]
   75     75   
version = "0.1"
   76     76   
[dev-dependencies.aws-config]
   77     77   
path = "../aws-config"
   78         -
version = "1.5.18"
          78  +
version = "1.6.0"
   79     79   
   80     80   
[dev-dependencies.aws-credential-types]
   81     81   
path = "../aws-credential-types"
   82     82   
features = ["test-util"]
   83         -
version = "1.2.1"
          83  +
version = "1.2.2"
   84     84   
   85     85   
[dev-dependencies.aws-runtime]
   86     86   
path = "../aws-runtime"
   87     87   
features = ["test-util"]
   88         -
version = "1.5.5"
          88  +
version = "1.5.6"
   89     89   
   90     90   
[dev-dependencies.aws-smithy-async]
   91     91   
path = "../aws-smithy-async"
   92     92   
features = ["test-util"]
   93         -
version = "1.2.4"
          93  +
version = "1.2.5"
          94  +
          95  +
[dev-dependencies.aws-smithy-http-client]
          96  +
path = "../aws-smithy-http-client"
          97  +
features = ["test-util", "wire-mock"]
          98  +
version = "1.0.0"
   94     99   
   95    100   
[dev-dependencies.aws-smithy-protocol-test]
   96    101   
path = "../aws-smithy-protocol-test"
   97         -
version = "0.63.0"
         102  +
version = "0.63.1"
   98    103   
   99    104   
[dev-dependencies.aws-smithy-runtime]
  100    105   
path = "../aws-smithy-runtime"
  101         -
features = ["test-util", "wire-mock"]
  102         -
version = "1.7.8"
         106  +
features = ["test-util"]
         107  +
version = "1.8.0"
  103    108   
  104    109   
[dev-dependencies.aws-smithy-runtime-api]
  105    110   
path = "../aws-smithy-runtime-api"
  106    111   
features = ["test-util"]
  107         -
version = "1.7.3"
         112  +
version = "1.7.4"
  108    113   
  109    114   
[dev-dependencies.aws-smithy-types]
  110    115   
path = "../aws-smithy-types"
  111    116   
features = ["test-util"]
  112         -
version = "1.2.13"
         117  +
version = "1.3.0"
  113    118   
  114    119   
[dev-dependencies.futures-util]
  115    120   
version = "0.3.25"
  116    121   
features = ["alloc"]
  117    122   
default-features = false
  118    123   
         124  +
[dev-dependencies.http-1x]
         125  +
version = "1"
         126  +
package = "http"
         127  +
  119    128   
[dev-dependencies.serde_json]
  120    129   
version = "1.0.0"
  121    130   
  122    131   
[dev-dependencies.tokio]
  123    132   
version = "1.23.1"
  124    133   
features = ["macros", "test-util", "rt-multi-thread"]
  125    134   
  126    135   
[dev-dependencies.tracing-subscriber]
  127    136   
version = "0.3.16"
  128    137   
features = ["env-filter", "json"]
  129    138   
  130    139   
[features]
  131    140   
behavior-version-latest = []
  132    141   
rustls = ["aws-smithy-runtime/tls-rustls"]
         142  +
default-https-client = ["aws-smithy-runtime/default-https-client"]
  133    143   
rt-tokio = ["aws-smithy-async/rt-tokio", "aws-smithy-types/rt-tokio"]
  134    144   
test-util = ["aws-credential-types/test-util", "aws-smithy-runtime/test-util"]
  135    145   
gated-tests = []
  136         -
default = ["rustls", "rt-tokio"]
         146  +
default = ["rustls", "default-https-client", "rt-tokio"]

tmp-codegen-diff/aws-sdk/sdk/timestreamquery/tests/endpoint_disco.rs

@@ -1,1 +36,36 @@
    1      1   
/*
    2      2   
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
    3      3   
 * SPDX-License-Identifier: Apache-2.0
    4      4   
 */
    5      5   
    6         -
use aws_smithy_runtime::client::http::test_util::dvr::ReplayingClient;
           6  +
use aws_smithy_http_client::test_util::dvr::ReplayingClient;
    7      7   
    8      8   
#[tokio::test]
    9      9   
async fn do_endpoint_discovery() {
   10     10   
    use aws_credential_types::provider::SharedCredentialsProvider;
   11     11   
    use aws_sdk_timestreamquery as query;
   12     12   
    use aws_sdk_timestreamquery::config::{Credentials, StalledStreamProtectionConfig};
   13     13   
    use aws_smithy_async::rt::sleep::SharedAsyncSleep;
   14     14   
    use aws_smithy_async::test_util::controlled_time_and_sleep;
   15     15   
    use aws_smithy_async::time::{SharedTimeSource, TimeSource};
   16     16   
    use aws_types::region::Region;

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

@@ -1,1 +0,101 @@
    9      9   
repository = "https://github.com/awslabs/aws-sdk-rust"
   10     10   
rust-version = "1.81.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
[package.metadata.docs.rs]
   15     15   
all-features = true
   16     16   
targets = ["x86_64-unknown-linux-gnu"]
   17     17   
[dependencies.aws-credential-types]
   18     18   
path = "../aws-credential-types"
   19         -
version = "1.2.1"
          19  +
version = "1.2.2"
   20     20   
   21     21   
[dependencies.aws-runtime]
   22     22   
path = "../aws-runtime"
   23         -
version = "1.5.5"
          23  +
version = "1.5.6"
   24     24   
   25     25   
[dependencies.aws-smithy-async]
   26     26   
path = "../aws-smithy-async"
   27         -
version = "1.2.4"
          27  +
version = "1.2.5"
   28     28   
   29     29   
[dependencies.aws-smithy-http]
   30     30   
path = "../aws-smithy-http"
   31         -
version = "0.61.1"
          31  +
version = "0.62.0"
   32     32   
   33     33   
[dependencies.aws-smithy-json]
   34     34   
path = "../aws-smithy-json"
   35         -
version = "0.61.2"
          35  +
version = "0.61.3"
   36     36   
   37     37   
[dependencies.aws-smithy-runtime]
   38     38   
path = "../aws-smithy-runtime"
   39     39   
features = ["client"]
   40         -
version = "1.7.8"
          40  +
version = "1.8.0"
   41     41   
   42     42   
[dependencies.aws-smithy-runtime-api]
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x"]
   45         -
version = "1.7.3"
          45  +
version = "1.7.4"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49         -
version = "1.2.13"
          49  +
version = "1.3.0"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53         -
version = "1.3.5"
          53  +
version = "1.3.6"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.fastrand]
   59     59   
version = "2.0.0"
   60     60   
   61     61   
[dependencies.http]
   62     62   
version = "0.2.9"
   63     63   
   64     64   
[dependencies.once_cell]
   65     65   
version = "1.16"
   66     66   
   67     67   
[dependencies.regex-lite]
   68     68   
version = "0.1.5"
   69     69   
   70     70   
[dependencies.tokio]
   71     71   
version = "1.23.1"
   72     72   
features = ["sync"]
   73     73   
   74     74   
[dependencies.tracing]
   75     75   
version = "0.1"
   76     76   
[dev-dependencies.aws-config]
   77     77   
path = "../aws-config"
   78         -
version = "1.5.18"
          78  +
version = "1.6.0"
   79     79   
   80     80   
[dev-dependencies.aws-credential-types]
   81     81   
path = "../aws-credential-types"
   82     82   
features = ["test-util"]
   83         -
version = "1.2.1"
          83  +
version = "1.2.2"
   84     84   
   85     85   
[dev-dependencies.aws-smithy-async]
   86     86   
path = "../aws-smithy-async"
   87     87   
features = ["test-util"]
   88         -
version = "1.2.4"
          88  +
version = "1.2.5"
   89     89   
   90     90   
[dev-dependencies.tokio]
   91     91   
version = "1.23.1"
   92     92   
features = ["macros", "test-util", "rt-multi-thread"]
   93     93   
   94     94   
[features]
   95     95   
behavior-version-latest = []
   96     96   
rustls = ["aws-smithy-runtime/tls-rustls"]
          97  +
default-https-client = ["aws-smithy-runtime/default-https-client"]
   97     98   
rt-tokio = ["aws-smithy-async/rt-tokio", "aws-smithy-types/rt-tokio"]
   98     99   
test-util = ["aws-credential-types/test-util", "aws-smithy-runtime/test-util"]
   99    100   
gated-tests = []
  100         -
default = ["rustls", "rt-tokio"]
         101  +
default = ["rustls", "default-https-client", "rt-tokio"]

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

@@ -1,1 +0,168 @@
    9      9   
repository = "https://github.com/awslabs/aws-sdk-rust"
   10     10   
rust-version = "1.81.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
[package.metadata.docs.rs]
   15     15   
all-features = true
   16     16   
targets = ["x86_64-unknown-linux-gnu"]
   17     17   
[dependencies.aws-credential-types]
   18     18   
path = "../aws-credential-types"
   19         -
version = "1.2.1"
          19  +
version = "1.2.2"
   20     20   
   21     21   
[dependencies.aws-runtime]
   22     22   
path = "../aws-runtime"
   23     23   
features = ["event-stream"]
   24         -
version = "1.5.5"
          24  +
version = "1.5.6"
   25     25   
   26     26   
[dependencies.aws-sigv4]
   27     27   
path = "../aws-sigv4"
   28         -
version = "1.2.9"
          28  +
version = "1.3.0"
   29     29   
   30     30   
[dependencies.aws-smithy-async]
   31     31   
path = "../aws-smithy-async"
   32         -
version = "1.2.4"
          32  +
version = "1.2.5"
   33     33   
   34     34   
[dependencies.aws-smithy-eventstream]
   35     35   
path = "../aws-smithy-eventstream"
   36     36   
version = "0.60.7"
   37     37   
   38     38   
[dependencies.aws-smithy-http]
   39     39   
path = "../aws-smithy-http"
   40     40   
features = ["event-stream"]
   41         -
version = "0.61.1"
          41  +
version = "0.62.0"
   42     42   
   43     43   
[dependencies.aws-smithy-json]
   44     44   
path = "../aws-smithy-json"
   45         -
version = "0.61.2"
          45  +
version = "0.61.3"
   46     46   
   47     47   
[dependencies.aws-smithy-runtime]
   48     48   
path = "../aws-smithy-runtime"
   49     49   
features = ["client"]
   50         -
version = "1.7.8"
          50  +
version = "1.8.0"
   51     51   
   52     52   
[dependencies.aws-smithy-runtime-api]
   53     53   
path = "../aws-smithy-runtime-api"
   54     54   
features = ["client", "http-02x"]
   55         -
version = "1.7.3"
          55  +
version = "1.7.4"
   56     56   
   57     57   
[dependencies.aws-smithy-types]
   58     58   
path = "../aws-smithy-types"
   59     59   
features = ["http-body-0-4-x"]
   60         -
version = "1.2.13"
          60  +
version = "1.3.0"
   61     61   
   62     62   
[dependencies.aws-types]
   63     63   
path = "../aws-types"
   64         -
version = "1.3.5"
          64  +
version = "1.3.6"
   65     65   
   66     66   
[dependencies.bytes]
   67     67   
version = "1.4.0"
   68     68   
   69     69   
[dependencies.http]
   70     70   
version = "0.2.9"
   71     71   
   72     72   
[dependencies.hyper]
   73     73   
version = "0.14.26"
   74     74   
features = ["stream"]
   75     75   
   76     76   
[dependencies.once_cell]
   77     77   
version = "1.16"
   78     78   
   79     79   
[dependencies.regex-lite]
   80     80   
version = "0.1.5"
   81     81   
   82     82   
[dependencies.tracing]
   83     83   
version = "0.1"
   84     84   
[dev-dependencies.async-stream]
   85     85   
version = "0.3.0"
   86     86   
   87     87   
[dev-dependencies.aws-config]
   88     88   
path = "../aws-config"
   89         -
version = "1.5.18"
          89  +
version = "1.6.0"
   90     90   
   91     91   
[dev-dependencies.aws-credential-types]
   92     92   
path = "../aws-credential-types"
   93     93   
features = ["test-util"]
   94         -
version = "1.2.1"
          94  +
version = "1.2.2"
   95     95   
   96     96   
[dev-dependencies.aws-runtime]
   97     97   
path = "../aws-runtime"
   98     98   
features = ["test-util"]
   99         -
version = "1.5.5"
          99  +
version = "1.5.6"
  100    100   
  101    101   
[dev-dependencies.aws-smithy-async]
  102    102   
path = "../aws-smithy-async"
  103    103   
features = ["test-util"]
  104         -
version = "1.2.4"
         104  +
version = "1.2.5"
  105    105   
  106    106   
[dev-dependencies.aws-smithy-eventstream]
  107    107   
path = "../aws-smithy-eventstream"
  108    108   
features = ["test-util"]
  109    109   
version = "0.60.7"
  110    110   
         111  +
[dev-dependencies.aws-smithy-http-client]
         112  +
path = "../aws-smithy-http-client"
         113  +
features = ["test-util", "wire-mock"]
         114  +
version = "1.0.0"
         115  +
  111    116   
[dev-dependencies.aws-smithy-protocol-test]
  112    117   
path = "../aws-smithy-protocol-test"
  113         -
version = "0.63.0"
         118  +
version = "0.63.1"
  114    119   
  115    120   
[dev-dependencies.aws-smithy-runtime]
  116    121   
path = "../aws-smithy-runtime"
  117         -
features = ["test-util", "wire-mock"]
  118         -
version = "1.7.8"
         122  +
features = ["test-util"]
         123  +
version = "1.8.0"
  119    124   
  120    125   
[dev-dependencies.aws-smithy-runtime-api]
  121    126   
path = "../aws-smithy-runtime-api"
  122    127   
features = ["test-util"]
  123         -
version = "1.7.3"
         128  +
version = "1.7.4"
  124    129   
  125    130   
[dev-dependencies.aws-smithy-types]
  126    131   
path = "../aws-smithy-types"
  127    132   
features = ["test-util"]
  128         -
version = "1.2.13"
         133  +
version = "1.3.0"
  129    134   
  130    135   
[dev-dependencies.futures-core]
  131    136   
version = "0.3.25"
  132    137   
  133    138   
[dev-dependencies.futures-util]
  134    139   
version = "0.3.25"
  135    140   
features = ["alloc"]
  136    141   
default-features = false
  137    142   
  138    143   
[dev-dependencies.hound]
  139    144   
version = "3.4.0"
  140    145   
         146  +
[dev-dependencies.http-1x]
         147  +
version = "1"
         148  +
package = "http"
         149  +
  141    150   
[dev-dependencies.serde_json]
  142    151   
version = "1.0.0"
  143    152   
  144    153   
[dev-dependencies.tokio]
  145    154   
version = "1.23.1"
  146    155   
features = ["macros", "test-util", "rt-multi-thread"]
  147    156   
  148    157   
[dev-dependencies.tracing-subscriber]
  149    158   
version = "0.3.16"
  150    159   
features = ["env-filter", "json"]
  151    160   
  152    161   
[features]
  153    162   
behavior-version-latest = []
  154    163   
rustls = ["aws-smithy-runtime/tls-rustls"]
         164  +
default-https-client = ["aws-smithy-runtime/default-https-client"]
  155    165   
rt-tokio = ["aws-smithy-async/rt-tokio", "aws-smithy-types/rt-tokio"]
  156    166   
test-util = ["aws-credential-types/test-util", "aws-smithy-runtime/test-util"]
  157    167   
gated-tests = []
  158         -
default = ["rustls", "rt-tokio"]
         168  +
default = ["rustls", "default-https-client", "rt-tokio"]

tmp-codegen-diff/aws-sdk/sdk/transcribestreaming/tests/test.rs

@@ -1,1 +49,49 @@
    9      9   
use aws_sdk_transcribestreaming::operation::start_stream_transcription::StartStreamTranscriptionOutput;
   10     10   
#[allow(unused)] // making sure `EventReceiver` is re-exported
   11     11   
use aws_sdk_transcribestreaming::primitives::event_stream::EventReceiver;
   12     12   
use aws_sdk_transcribestreaming::primitives::Blob;
   13     13   
use aws_sdk_transcribestreaming::types::error::{AudioStreamError, TranscriptResultStreamError};
   14     14   
use aws_sdk_transcribestreaming::types::{
   15     15   
    AudioEvent, AudioStream, LanguageCode, MediaEncoding, TranscriptResultStream,
   16     16   
};
   17     17   
use aws_sdk_transcribestreaming::{Client, Config};
   18     18   
use aws_smithy_eventstream::test_util::validate_body;
   19         -
use aws_smithy_runtime::client::http::test_util::dvr::{Event, ReplayingClient};
          19  +
use aws_smithy_http_client::test_util::dvr::{Event, ReplayingClient};
   20     20   
use bytes::BufMut;
   21     21   
use futures_core::Stream;
   22     22   
use std::error::Error as StdError;
   23     23   
   24     24   
const CHUNK_SIZE: usize = 8192;
   25     25   
   26     26   
#[tokio::test]
   27     27   
async fn test_success() {
   28     28   
    let input_stream = stream! {
   29     29   
        let pcm = pcm_data();

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

@@ -1,1 +0,54 @@
    4      4   
version = "0.1.0"
    5      5   
authors = ["Zelda Hessler <zhessler@amazon.com>"]
    6      6   
description = "These tests ensure that things will fail (or not fail) as expected\nwhen default features are disabled for all SDK and runtime crates.\n"
    7      7   
edition = "2021"
    8      8   
license = "Apache-2.0"
    9      9   
repository = "https://github.com/smithy-lang/smithy-rs"
   10     10   
publish = false
   11     11   
   12     12   
[dev-dependencies]
   13     13   
futures = "0.3.25"
   14         -
http = "0.2.9"
   15     14   
   16     15   
[dev-dependencies.aws-config]
   17     16   
path = "../../sdk/aws-config"
   18     17   
default-features = false
   19         -
version = "1.5.18"
          18  +
version = "1.6.0"
   20     19   
   21     20   
[dev-dependencies.aws-sdk-s3]
   22     21   
path = "../../sdk/s3"
   23     22   
default-features = false
   24     23   
version = "0.0.0-local"
   25     24   
   26     25   
[dev-dependencies.aws-smithy-async]
   27     26   
path = "../../sdk/aws-smithy-async"
   28         -
version = "1.2.4"
          27  +
version = "1.2.5"
   29     28   
   30     29   
[dev-dependencies.aws-smithy-runtime]
   31     30   
path = "../../sdk/aws-smithy-runtime"
   32     31   
features = ["test-util"]
   33         -
version = "1.7.8"
          32  +
version = "1.8.0"
          33  +
          34  +
[dev-dependencies.aws-smithy-http-client]
          35  +
path = "../../sdk/aws-smithy-http-client"
          36  +
features = ["test-util"]
          37  +
version = "1.0.0"
   34     38   
   35     39   
[dev-dependencies.aws-credential-types]
   36     40   
path = "../../sdk/aws-credential-types"
   37     41   
features = ["test-util"]
   38         -
version = "1.2.1"
          42  +
version = "1.2.2"
   39     43   
   40     44   
[dev-dependencies.tokio]
   41     45   
version = "1.23.1"
   42     46   
features = ["full", "test-util"]
   43     47   
   44     48   
[dev-dependencies.tracing-subscriber]
   45     49   
version = "0.3.15"
   46     50   
features = ["env-filter"]
          51  +
          52  +
[dev-dependencies.http-1x]
          53  +
package = "http"
          54  +
version = "1"

tmp-codegen-diff/aws-sdk/tests/no-default-features/tests/client-construction.rs

@@ -1,1 +101,101 @@
    3      3   
 * SPDX-License-Identifier: Apache-2.0
    4      4   
 */
    5      5   
    6      6   
use aws_sdk_s3::config::IdentityCache;
    7      7   
    8      8   
use aws_sdk_s3::config::{
    9      9   
    retry::RetryConfig, timeout::TimeoutConfig, BehaviorVersion, Config, Credentials, Region,
   10     10   
    SharedAsyncSleep, Sleep, StalledStreamProtectionConfig,
   11     11   
};
   12     12   
use aws_sdk_s3::primitives::SdkBody;
   13         -
use aws_smithy_runtime::client::http::test_util::infallible_client_fn;
          13  +
use aws_smithy_http_client::test_util::infallible_client_fn;
   14     14   
   15     15   
use aws_sdk_s3::error::DisplayErrorContext;
   16     16   
use aws_smithy_async::rt::sleep::AsyncSleep;
   17         -
use aws_smithy_runtime::client::http::test_util::capture_request;
          17  +
use aws_smithy_http_client::test_util::capture_request;
   18     18   
use aws_smithy_runtime::test_util::capture_test_logs::capture_test_logs;
   19     19   
use std::time::Duration;
   20     20   
   21     21   
// This will fail due to lack of a connector when constructing the SDK Config
   22     22   
// If this test doesn't panic, you may have accidentally unified features, resulting in
   23     23   
// the connector being enabled transitively
   24     24   
#[tokio::test]
   25     25   
#[should_panic(
   26         -
    expected = "Enable the `rustls` crate feature or configure a HTTP client to fix this."
          26  +
    expected = "Enable the `default-https-client` crate feature or configure an HTTP client to fix this."
   27     27   
)]
   28     28   
async fn test_clients_from_sdk_config() {
   29     29   
    aws_config::load_defaults(BehaviorVersion::latest()).await;
   30     30   
}
   31     31   
   32     32   
// This will fail due to lack of a connector when constructing the service client
   33     33   
#[tokio::test]
   34     34   
async fn test_clients_from_service_config() {
   35     35   
    use aws_sdk_s3::config::Region;
   36     36   
   37     37   
    #[derive(Clone, Debug)]
   38     38   
    struct StubSleep;
   39     39   
    impl AsyncSleep for StubSleep {
   40     40   
        fn sleep(&self, _duration: Duration) -> Sleep {
   41     41   
            Sleep::new(Box::pin(async { /* no-op */ }))
   42     42   
        }
   43     43   
    }
   44     44   
   45     45   
    let config = Config::builder()
   46     46   
        .region(Region::new("us-east-1"))
   47     47   
        .credentials_provider(Credentials::for_tests())
   48     48   
        .sleep_impl(SharedAsyncSleep::new(StubSleep))
   49     49   
        .behavior_version(BehaviorVersion::latest())
   50     50   
        .build();
   51     51   
    // Creating the client shouldn't panic or error since presigning doesn't require a connector
   52     52   
    let client = aws_sdk_s3::Client::from_conf(config);
   53     53   
   54     54   
    let err = client
   55     55   
        .list_buckets()
   56     56   
        .send()
   57     57   
        .await
   58     58   
        .expect_err("it should fail to send a request because there is no HTTP client");
   59     59   
    let msg = format!("{}", DisplayErrorContext(err));
   60     60   
    assert!(
   61         -
        msg.contains("No HTTP client was available to send this request. Enable the `rustls` crate feature or configure a HTTP client to fix this."),
   62         -
        "expected '{msg}' to contain 'No HTTP client was available to send this request. Enable the `rustls` crate feature or set a HTTP client to fix this.'"
          61  +
        msg.contains("No HTTP client was available to send this request. Enable the `default-https-client` crate feature or configure an HTTP client to fix this."),
          62  +
        "expected '{msg}' to contain 'No HTTP client was available to send this request. Enable the `default-https-client` crate feature or set an HTTP client to fix this.'"
   63     63   
    );
   64     64   
}
   65     65   
   66     66   
#[tokio::test]
   67     67   
#[should_panic(expected = "Invalid client configuration: A behavior major version must be set")]
   68     68   
async fn test_missing_behavior_version() {
   69     69   
    use aws_sdk_s3::config::Region;
   70     70   
    let http_client =
   71         -
        infallible_client_fn(|_req| http::Response::builder().body(SdkBody::empty()).unwrap());
          71  +
        infallible_client_fn(|_req| http_1x::Response::builder().body(SdkBody::empty()).unwrap());
   72     72   
   73     73   
    let config = Config::builder()
   74     74   
        .region(Region::new("us-east-1"))
   75     75   
        .identity_cache(IdentityCache::no_cache())
   76     76   
        .credentials_provider(Credentials::for_tests())
   77     77   
        .http_client(http_client)
   78     78   
        .build();
   79     79   
    // This line panics
   80     80   
    let _client = aws_sdk_s3::Client::from_conf(config);
   81     81   
}