AWS SDK

AWS SDK

rev. 1fb202108840af7ccb1069c5b8afebf43a5e5aec

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3/tests/customizable-operation.rs

@@ -1,1 +41,41 @@
    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_credential_types::provider::SharedCredentialsProvider;
    7      7   
use aws_sdk_s3::config::{Credentials, Region};
    8      8   
use aws_sdk_s3::presigning::PresigningConfig;
    9      9   
use aws_sdk_s3::{Client, Config};
   10         -
use aws_smithy_runtime::client::http::test_util::capture_request;
   11         -
use http::HeaderValue;
          10  +
use aws_smithy_http_client::test_util::capture_request;
          11  +
use http_1x::HeaderValue;
   12     12   
use std::time::{Duration, SystemTime};
   13     13   
   14     14   
#[tokio::test]
   15     15   
async fn test_s3_ops_are_customizable() {
   16     16   
    let (http_client, rcvr) = capture_request(None);
   17     17   
    let config = Config::builder()
   18     18   
        .credentials_provider(SharedCredentialsProvider::new(
   19     19   
            Credentials::for_tests_with_session_token(),
   20     20   
        ))
   21     21   
        .region(Region::new("us-east-1"))

tmp-codegen-diff/aws-sdk/sdk/s3/tests/endpoint_tests.rs

@@ -1,1 +5528,5528 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
#![cfg(feature = "test-util")]
    3      3   
#[::tokio::test]
    4      4   
async fn operation_input_test_get_object_1() {
    5      5   
    /* documentation: Invalid access point ARN: Not S3 */
    6      6   
    /* builtIns: {
    7      7   
        "AWS::Region": "us-east-1"
    8      8   
    } */
    9      9   
    /* clientParams: {} */
   10         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
          10  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
   11     11   
    let conf = {
   12     12   
        #[allow(unused_mut)]
   13     13   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
   14     14   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
   15     15   
        builder.build()
   16     16   
    };
   17     17   
    let client = aws_sdk_s3::Client::from_conf(conf);
   18     18   
    let _result = dbg!(
   19     19   
        client
   20     20   
            .get_object()
   21     21   
            .set_bucket(::std::option::Option::Some(
   22     22   
                "arn:aws:not-s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
   23     23   
            ))
   24     24   
            .set_key(::std::option::Option::Some("key".to_owned()))
   25     25   
            .send()
   26     26   
            .await
   27     27   
    );
   28     28   
    rcvr.expect_no_request();
   29     29   
    let error =
   30     30   
        _result.expect_err("expected error: Invalid ARN: The ARN was not for the S3 service, found: not-s3 [Invalid access point ARN: Not S3]");
   31     31   
    assert!(
   32     32   
        format!("{:?}", error).contains("Invalid ARN: The ARN was not for the S3 service, found: not-s3"),
   33     33   
        "expected error to contain `Invalid ARN: The ARN was not for the S3 service, found: not-s3` but it was {:?}",
   34     34   
        error
   35     35   
    );
   36     36   
}
   37     37   
   38     38   
#[::tokio::test]
   39     39   
async fn operation_input_test_get_object_2() {
   40     40   
    /* documentation: Invalid access point ARN: invalid resource */
   41     41   
    /* builtIns: {
   42     42   
        "AWS::Region": "us-east-1"
   43     43   
    } */
   44     44   
    /* clientParams: {} */
   45         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
          45  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
   46     46   
    let conf = {
   47     47   
        #[allow(unused_mut)]
   48     48   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
   49     49   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
   50     50   
        builder.build()
   51     51   
    };
   52     52   
    let client = aws_sdk_s3::Client::from_conf(conf);
   53     53   
    let _result = dbg!(
   54     54   
        client
   55     55   
            .get_object()
   56     56   
            .set_bucket(::std::option::Option::Some(
   57     57   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint:more-data".to_owned()
   58     58   
            ))
   59     59   
            .set_key(::std::option::Option::Some("key".to_owned()))
   60     60   
            .send()
   61     61   
            .await
   62     62   
    );
   63     63   
    rcvr.expect_no_request();
   64     64   
    let error = _result.expect_err("expected error: Invalid ARN: The ARN may only contain a single resource component after `accesspoint`. [Invalid access point ARN: invalid resource]");
   65     65   
    assert!(
   66     66   
        format!("{:?}", error).contains("Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."),
   67     67   
        "expected error to contain `Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.` but it was {:?}",
   68     68   
        error
   69     69   
    );
   70     70   
}
   71     71   
   72     72   
#[::tokio::test]
   73     73   
async fn operation_input_test_get_object_3() {
   74     74   
    /* documentation: Invalid access point ARN: invalid no ap name */
   75     75   
    /* builtIns: {
   76     76   
        "AWS::Region": "us-east-1"
   77     77   
    } */
   78     78   
    /* clientParams: {} */
   79         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
          79  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
   80     80   
    let conf = {
   81     81   
        #[allow(unused_mut)]
   82     82   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
   83     83   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
   84     84   
        builder.build()
   85     85   
    };
   86     86   
    let client = aws_sdk_s3::Client::from_conf(conf);
   87     87   
    let _result = dbg!(
   88     88   
        client
   89     89   
            .get_object()
   90     90   
            .set_bucket(::std::option::Option::Some("arn:aws:s3:us-west-2:123456789012:accesspoint:".to_owned()))
   91     91   
            .set_key(::std::option::Option::Some("key".to_owned()))
   92     92   
            .send()
   93     93   
            .await
   94     94   
    );
   95     95   
    rcvr.expect_no_request();
   96     96   
    let error = _result.expect_err("expected error: Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided [Invalid access point ARN: invalid no ap name]");
   97     97   
    assert!(
   98     98   
                                            format!("{:?}", error).contains("Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"),
   99     99   
                                            "expected error to contain `Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided` but it was {:?}", error
  100    100   
                                        );
  101    101   
}
  102    102   
  103    103   
#[::tokio::test]
  104    104   
async fn operation_input_test_get_object_4() {
  105    105   
    /* documentation: Invalid access point ARN: AccountId is invalid */
  106    106   
    /* builtIns: {
  107    107   
        "AWS::Region": "us-east-1"
  108    108   
    } */
  109    109   
    /* clientParams: {} */
  110         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         110  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  111    111   
    let conf = {
  112    112   
        #[allow(unused_mut)]
  113    113   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  114    114   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  115    115   
        builder.build()
  116    116   
    };
  117    117   
    let client = aws_sdk_s3::Client::from_conf(conf);
  118    118   
    let _result = dbg!(
  119    119   
        client
  120    120   
            .get_object()
  121    121   
            .set_bucket(::std::option::Option::Some(
  122    122   
                "arn:aws:s3:us-west-2:123456_789012:accesspoint:apname".to_owned()
  123    123   
            ))
  124    124   
            .set_key(::std::option::Option::Some("key".to_owned()))
  125    125   
            .send()
  126    126   
            .await
  127    127   
    );
  128    128   
    rcvr.expect_no_request();
  129    129   
    let error = _result.expect_err("expected error: Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123456_789012` [Invalid access point ARN: AccountId is invalid]");
  130    130   
    assert!(
  131    131   
        format!("{:?}", error).contains("Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123456_789012`"),
  132    132   
        "expected error to contain `Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123456_789012`` but it was {:?}",
  133    133   
        error
  134    134   
    );
  135    135   
}
  136    136   
  137    137   
#[::tokio::test]
  138    138   
async fn operation_input_test_get_object_5() {
  139    139   
    /* documentation: Invalid access point ARN: access point name is invalid */
  140    140   
    /* builtIns: {
  141    141   
        "AWS::Region": "us-east-1"
  142    142   
    } */
  143    143   
    /* clientParams: {} */
  144         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         144  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  145    145   
    let conf = {
  146    146   
        #[allow(unused_mut)]
  147    147   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  148    148   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  149    149   
        builder.build()
  150    150   
    };
  151    151   
    let client = aws_sdk_s3::Client::from_conf(conf);
  152    152   
    let _result = dbg!(
  153    153   
        client
  154    154   
            .get_object()
  155    155   
            .set_bucket(::std::option::Option::Some(
  156    156   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:ap_name".to_owned()
  157    157   
            ))
  158    158   
            .set_key(::std::option::Option::Some("key".to_owned()))
  159    159   
            .send()
  160    160   
            .await
  161    161   
    );
  162    162   
    rcvr.expect_no_request();
  163    163   
    let error = _result.expect_err("expected error: Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `ap_name` [Invalid access point ARN: access point name is invalid]");
  164    164   
    assert!(
  165    165   
        format!("{:?}", error).contains("Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `ap_name`"),
  166    166   
        "expected error to contain `Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `ap_name`` but it was {:?}",
  167    167   
        error
  168    168   
    );
  169    169   
}
  170    170   
  171    171   
#[::tokio::test]
  172    172   
async fn operation_input_test_get_object_6() {
  173    173   
    /* documentation: Access points (disable access points explicitly false) */
  174    174   
    /* builtIns: {
  175    175   
        "AWS::Region": "us-east-1"
  176    176   
    } */
  177    177   
    /* clientParams: {} */
  178         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         178  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  179    179   
    let conf = {
  180    180   
        #[allow(unused_mut)]
  181    181   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  182    182   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  183    183   
        builder.build()
  184    184   
    };
  185    185   
    let client = aws_sdk_s3::Client::from_conf(conf);
  186    186   
    let _result = dbg!(
  187    187   
        client
  188    188   
            .get_object()
  189    189   
            .set_bucket(::std::option::Option::Some(
  190    190   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
  191    191   
            ))
  192    192   
            .set_key(::std::option::Option::Some("key".to_owned()))
  193    193   
            .send()
  194    194   
            .await
  195    195   
    );
  196    196   
    let req = rcvr.expect_request();
  197    197   
    let uri = req.uri().to_string();
  198    198   
    assert!(
  199    199   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com"),
  200    200   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com` but it was `{}`",
  201    201   
        uri
  202    202   
    );
  203    203   
}
  204    204   
  205    205   
#[::tokio::test]
  206    206   
async fn operation_input_test_get_object_7() {
  207    207   
    /* documentation: Access points: partition does not support FIPS */
  208    208   
    /* builtIns: {
  209    209   
        "AWS::Region": "cn-north-1",
  210    210   
        "AWS::UseFIPS": true
  211    211   
    } */
  212    212   
    /* clientParams: {} */
  213         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         213  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  214    214   
    let conf = {
  215    215   
        #[allow(unused_mut)]
  216    216   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  217    217   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
  218    218   
        let builder = builder.use_fips(true);
  219    219   
        builder.build()
  220    220   
    };
  221    221   
    let client = aws_sdk_s3::Client::from_conf(conf);
  222    222   
    let _result = dbg!(
  223    223   
        client
  224    224   
            .get_object()
  225    225   
            .set_bucket(::std::option::Option::Some(
  226    226   
                "arn:aws:s3:cn-north-1:123456789012:accesspoint:myendpoint".to_owned()
  227    227   
            ))
  228    228   
            .set_key(::std::option::Option::Some("key".to_owned()))
  229    229   
            .send()
  230    230   
            .await
  231    231   
    );
  232    232   
    rcvr.expect_no_request();
  233    233   
    let error = _result.expect_err("expected error: Partition does not support FIPS [Access points: partition does not support FIPS]");
  234    234   
    assert!(
  235    235   
        format!("{:?}", error).contains("Partition does not support FIPS"),
  236    236   
        "expected error to contain `Partition does not support FIPS` but it was {:?}",
  237    237   
        error
  238    238   
    );
  239    239   
}
  240    240   
  241    241   
#[::tokio::test]
  242    242   
async fn operation_input_test_get_object_8() {
  243    243   
    /* documentation: Bucket region is invalid */
  244    244   
    /* builtIns: {
  245    245   
        "AWS::Region": "us-east-1"
  246    246   
    } */
  247    247   
    /* clientParams: {} */
  248         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         248  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  249    249   
    let conf = {
  250    250   
        #[allow(unused_mut)]
  251    251   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  252    252   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  253    253   
        builder.build()
  254    254   
    };
  255    255   
    let client = aws_sdk_s3::Client::from_conf(conf);
  256    256   
    let _result = dbg!(
  257    257   
        client
  258    258   
            .get_object()
  259    259   
            .set_bucket(::std::option::Option::Some(
  260    260   
                "arn:aws:s3:us-west -2:123456789012:accesspoint:myendpoint".to_owned()
  261    261   
            ))
  262    262   
            .set_key(::std::option::Option::Some("key".to_owned()))
  263    263   
            .send()
  264    264   
            .await
  265    265   
    );
  266    266   
    rcvr.expect_no_request();
  267    267   
    let error = _result.expect_err("expected error: Invalid region in ARN: `us-west -2` (invalid DNS name) [Bucket region is invalid]");
  268    268   
    assert!(
  269    269   
        format!("{:?}", error).contains("Invalid region in ARN: `us-west -2` (invalid DNS name)"),
  270    270   
        "expected error to contain `Invalid region in ARN: `us-west -2` (invalid DNS name)` but it was {:?}",
  271    271   
        error
  272    272   
    );
  273    273   
}
  274    274   
  275    275   
#[::tokio::test]
  276    276   
async fn operation_input_test_create_bucket_9() {
  277    277   
    /* documentation: Access points when Access points explicitly disabled (used for CreateBucket) */
  278    278   
    /* builtIns: {
  279    279   
        "AWS::Region": "us-east-1"
  280    280   
    } */
  281    281   
    /* clientParams: {} */
  282         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         282  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  283    283   
    let conf = {
  284    284   
        #[allow(unused_mut)]
  285    285   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  286    286   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  287    287   
        builder.build()
  288    288   
    };
  289    289   
    let client = aws_sdk_s3::Client::from_conf(conf);
  290    290   
    let _result = dbg!(
  291    291   
        client
  292    292   
            .create_bucket()
  293    293   
            .set_bucket(::std::option::Option::Some(
  294    294   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
  295    295   
            ))
  296    296   
            .send()
  297    297   
            .await
  298    298   
    );
  299    299   
    rcvr.expect_no_request();
  300    300   
    let error = _result.expect_err("expected error: Access points are not supported for this operation [Access points when Access points explicitly disabled (used for CreateBucket)]");
  301    301   
    assert!(
  302    302   
        format!("{:?}", error).contains("Access points are not supported for this operation"),
  303    303   
        "expected error to contain `Access points are not supported for this operation` but it was {:?}",
  304    304   
        error
  305    305   
    );
  306    306   
}
  307    307   
  308    308   
#[::tokio::test]
  309    309   
async fn operation_input_test_get_object_10() {
  310    310   
    /* documentation: missing arn type */
  311    311   
    /* builtIns: {
  312    312   
        "AWS::Region": "us-east-1"
  313    313   
    } */
  314    314   
    /* clientParams: {} */
  315         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         315  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  316    316   
    let conf = {
  317    317   
        #[allow(unused_mut)]
  318    318   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  319    319   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  320    320   
        builder.build()
  321    321   
    };
  322    322   
    let client = aws_sdk_s3::Client::from_conf(conf);
  323    323   
    let _result = dbg!(
  324    324   
        client
  325    325   
            .get_object()
  326    326   
            .set_bucket(::std::option::Option::Some("arn:aws:s3:us-west-2:123456789012:".to_owned()))
  327    327   
            .set_key(::std::option::Option::Some("key".to_owned()))
  328    328   
            .send()
  329    329   
            .await
  330    330   
    );
  331    331   
    rcvr.expect_no_request();
  332    332   
    let error = _result.expect_err("expected error: Invalid ARN: `arn:aws:s3:us-west-2:123456789012:` was not a valid ARN [missing arn type]");
  333    333   
    assert!(
  334    334   
        format!("{:?}", error).contains("Invalid ARN: `arn:aws:s3:us-west-2:123456789012:` was not a valid ARN"),
  335    335   
        "expected error to contain `Invalid ARN: `arn:aws:s3:us-west-2:123456789012:` was not a valid ARN` but it was {:?}",
  336    336   
        error
  337    337   
    );
  338    338   
}
  339    339   
  340    340   
#[::tokio::test]
  341    341   
async fn operation_input_test_get_object_11() {
  342    342   
    /* documentation: SDK::Host + access point + Dualstack is an error */
  343    343   
    /* builtIns: {
  344    344   
        "AWS::Region": "cn-north-1",
  345    345   
        "AWS::UseDualStack": true,
  346    346   
        "SDK::Endpoint": "https://beta.example.com"
  347    347   
    } */
  348    348   
    /* clientParams: {} */
  349         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         349  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  350    350   
    let conf = {
  351    351   
        #[allow(unused_mut)]
  352    352   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  353    353   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
  354    354   
        let builder = builder.use_dual_stack(true);
  355    355   
        let builder = builder.endpoint_url("https://beta.example.com");
  356    356   
        builder.build()
  357    357   
    };
  358    358   
    let client = aws_sdk_s3::Client::from_conf(conf);
  359    359   
    let _result = dbg!(
  360    360   
        client
  361    361   
            .get_object()
  362    362   
            .set_bucket(::std::option::Option::Some(
  363    363   
                "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint".to_owned()
  364    364   
            ))
  365    365   
            .set_key(::std::option::Option::Some("key".to_owned()))
  366    366   
            .send()
  367    367   
            .await
  368    368   
    );
  369    369   
    rcvr.expect_no_request();
  370    370   
    let error = _result.expect_err(
  371    371   
        "expected error: Cannot set dual-stack in combination with a custom endpoint. [SDK::Host + access point + Dualstack is an error]",
  372    372   
    );
  373    373   
    assert!(
  374    374   
        format!("{:?}", error).contains("Cannot set dual-stack in combination with a custom endpoint."),
  375    375   
        "expected error to contain `Cannot set dual-stack in combination with a custom endpoint.` but it was {:?}",
  376    376   
        error
  377    377   
    );
  378    378   
}
  379    379   
  380    380   
#[::tokio::test]
  381    381   
async fn operation_input_test_get_object_12() {
  382    382   
    /* documentation: Access point ARN with FIPS & Dualstack */
  383    383   
    /* builtIns: {
  384    384   
        "AWS::Region": "us-east-1",
  385    385   
        "AWS::UseFIPS": true,
  386    386   
        "AWS::UseDualStack": true
  387    387   
    } */
  388    388   
    /* clientParams: {} */
  389         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         389  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  390    390   
    let conf = {
  391    391   
        #[allow(unused_mut)]
  392    392   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  393    393   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  394    394   
        let builder = builder.use_fips(true);
  395    395   
        let builder = builder.use_dual_stack(true);
  396    396   
        builder.build()
  397    397   
    };
  398    398   
    let client = aws_sdk_s3::Client::from_conf(conf);
  399    399   
    let _result = dbg!(
  400    400   
        client
  401    401   
            .get_object()
  402    402   
            .set_bucket(::std::option::Option::Some(
  403    403   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
  404    404   
            ))
  405    405   
            .set_key(::std::option::Option::Some("key".to_owned()))
  406    406   
            .send()
  407    407   
            .await
  408    408   
    );
  409    409   
    let req = rcvr.expect_request();
  410    410   
    let uri = req.uri().to_string();
  411    411   
    assert!(
  412    412   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.us-west-2.amazonaws.com"),
  413    413   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.us-west-2.amazonaws.com` but it was `{}`",
  414    414   
        uri
  415    415   
    );
  416    416   
}
  417    417   
  418    418   
#[::tokio::test]
  419    419   
async fn operation_input_test_get_object_13() {
  420    420   
    /* documentation: Access point ARN with Dualstack */
  421    421   
    /* builtIns: {
  422    422   
        "AWS::Region": "us-east-1",
  423    423   
        "AWS::UseDualStack": true
  424    424   
    } */
  425    425   
    /* clientParams: {} */
  426         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         426  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  427    427   
    let conf = {
  428    428   
        #[allow(unused_mut)]
  429    429   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  430    430   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  431    431   
        let builder = builder.use_dual_stack(true);
  432    432   
        builder.build()
  433    433   
    };
  434    434   
    let client = aws_sdk_s3::Client::from_conf(conf);
  435    435   
    let _result = dbg!(
  436    436   
        client
  437    437   
            .get_object()
  438    438   
            .set_bucket(::std::option::Option::Some(
  439    439   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
  440    440   
            ))
  441    441   
            .set_key(::std::option::Option::Some("key".to_owned()))
  442    442   
            .send()
  443    443   
            .await
  444    444   
    );
  445    445   
    let req = rcvr.expect_request();
  446    446   
    let uri = req.uri().to_string();
  447    447   
    assert!(
  448    448   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint.dualstack.us-west-2.amazonaws.com"),
  449    449   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint.dualstack.us-west-2.amazonaws.com` but it was `{}`",
  450    450   
        uri
  451    451   
    );
  452    452   
}
  453    453   
  454    454   
#[::tokio::test]
  455    455   
async fn operation_input_test_get_object_14() {
  456    456   
    /* documentation: vanilla MRAP */
  457    457   
    /* builtIns: {
  458    458   
        "AWS::Region": "us-east-1"
  459    459   
    } */
  460    460   
    /* clientParams: {} */
  461         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         461  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  462    462   
    let conf = {
  463    463   
        #[allow(unused_mut)]
  464    464   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  465    465   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  466    466   
        builder.build()
  467    467   
    };
  468    468   
    let client = aws_sdk_s3::Client::from_conf(conf);
  469    469   
    let _result = dbg!(
  470    470   
        client
  471    471   
            .get_object()
  472    472   
            .set_bucket(::std::option::Option::Some(
  473    473   
                "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap".to_owned()
  474    474   
            ))
  475    475   
            .set_key(::std::option::Option::Some("key".to_owned()))
  476    476   
            .send()
  477    477   
            .await
  478    478   
    );
  479    479   
    let req = rcvr.expect_request();
  480    480   
    let uri = req.uri().to_string();
  481    481   
    assert!(
  482    482   
        uri.starts_with("https://mfzwi23gnjvgw.mrap.accesspoint.s3-global.amazonaws.com"),
  483    483   
        "expected URI to start with `https://mfzwi23gnjvgw.mrap.accesspoint.s3-global.amazonaws.com` but it was `{}`",
  484    484   
        uri
  485    485   
    );
  486    486   
}
  487    487   
  488    488   
#[::tokio::test]
  489    489   
async fn operation_input_test_get_object_15() {
  490    490   
    /* documentation: MRAP does not support FIPS */
  491    491   
    /* builtIns: {
  492    492   
        "AWS::Region": "us-east-1",
  493    493   
        "AWS::UseFIPS": true
  494    494   
    } */
  495    495   
    /* clientParams: {} */
  496         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         496  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  497    497   
    let conf = {
  498    498   
        #[allow(unused_mut)]
  499    499   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  500    500   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  501    501   
        let builder = builder.use_fips(true);
  502    502   
        builder.build()
  503    503   
    };
  504    504   
    let client = aws_sdk_s3::Client::from_conf(conf);
  505    505   
    let _result = dbg!(
  506    506   
        client
  507    507   
            .get_object()
  508    508   
            .set_bucket(::std::option::Option::Some(
  509    509   
                "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap".to_owned()
  510    510   
            ))
  511    511   
            .set_key(::std::option::Option::Some("key".to_owned()))
  512    512   
            .send()
  513    513   
            .await
  514    514   
    );
  515    515   
    rcvr.expect_no_request();
  516    516   
    let error = _result.expect_err("expected error: S3 MRAP does not support FIPS [MRAP does not support FIPS]");
  517    517   
    assert!(
  518    518   
        format!("{:?}", error).contains("S3 MRAP does not support FIPS"),
  519    519   
        "expected error to contain `S3 MRAP does not support FIPS` but it was {:?}",
  520    520   
        error
  521    521   
    );
  522    522   
}
  523    523   
  524    524   
#[::tokio::test]
  525    525   
async fn operation_input_test_get_object_16() {
  526    526   
    /* documentation: MRAP does not support DualStack */
  527    527   
    /* builtIns: {
  528    528   
        "AWS::Region": "us-east-1",
  529    529   
        "AWS::UseDualStack": true
  530    530   
    } */
  531    531   
    /* clientParams: {} */
  532         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         532  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  533    533   
    let conf = {
  534    534   
        #[allow(unused_mut)]
  535    535   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  536    536   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  537    537   
        let builder = builder.use_dual_stack(true);
  538    538   
        builder.build()
  539    539   
    };
  540    540   
    let client = aws_sdk_s3::Client::from_conf(conf);
  541    541   
    let _result = dbg!(
  542    542   
        client
  543    543   
            .get_object()
  544    544   
            .set_bucket(::std::option::Option::Some(
  545    545   
                "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap".to_owned()
  546    546   
            ))
  547    547   
            .set_key(::std::option::Option::Some("key".to_owned()))
  548    548   
            .send()
  549    549   
            .await
  550    550   
    );
  551    551   
    rcvr.expect_no_request();
  552    552   
    let error = _result.expect_err("expected error: S3 MRAP does not support dual-stack [MRAP does not support DualStack]");
  553    553   
    assert!(
  554    554   
        format!("{:?}", error).contains("S3 MRAP does not support dual-stack"),
  555    555   
        "expected error to contain `S3 MRAP does not support dual-stack` but it was {:?}",
  556    556   
        error
  557    557   
    );
  558    558   
}
  559    559   
  560    560   
#[::tokio::test]
  561    561   
async fn operation_input_test_get_object_17() {
  562    562   
    /* documentation: MRAP does not support S3 Accelerate */
  563    563   
    /* builtIns: {
  564    564   
        "AWS::Region": "us-east-1",
  565    565   
        "AWS::S3::Accelerate": true
  566    566   
    } */
  567    567   
    /* clientParams: {} */
  568         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         568  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  569    569   
    let conf = {
  570    570   
        #[allow(unused_mut)]
  571    571   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  572    572   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  573    573   
        let builder = builder.accelerate(true);
  574    574   
        builder.build()
  575    575   
    };
  576    576   
    let client = aws_sdk_s3::Client::from_conf(conf);
  577    577   
    let _result = dbg!(
  578    578   
        client
  579    579   
            .get_object()
  580    580   
            .set_bucket(::std::option::Option::Some(
  581    581   
                "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap".to_owned()
  582    582   
            ))
  583    583   
            .set_key(::std::option::Option::Some("key".to_owned()))
  584    584   
            .send()
  585    585   
            .await
  586    586   
    );
  587    587   
    rcvr.expect_no_request();
  588    588   
    let error = _result.expect_err("expected error: S3 MRAP does not support S3 Accelerate [MRAP does not support S3 Accelerate]");
  589    589   
    assert!(
  590    590   
        format!("{:?}", error).contains("S3 MRAP does not support S3 Accelerate"),
  591    591   
        "expected error to contain `S3 MRAP does not support S3 Accelerate` but it was {:?}",
  592    592   
        error
  593    593   
    );
  594    594   
}
  595    595   
  596    596   
#[::tokio::test]
  597    597   
async fn operation_input_test_get_object_18() {
  598    598   
    /* documentation: MRAP explicitly disabled */
  599    599   
    /* builtIns: {
  600    600   
        "AWS::Region": "us-east-1",
  601    601   
        "AWS::S3::DisableMultiRegionAccessPoints": true
  602    602   
    } */
  603    603   
    /* clientParams: {} */
  604         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         604  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  605    605   
    let conf = {
  606    606   
        #[allow(unused_mut)]
  607    607   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  608    608   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  609    609   
        let builder = builder.disable_multi_region_access_points(true);
  610    610   
        builder.build()
  611    611   
    };
  612    612   
    let client = aws_sdk_s3::Client::from_conf(conf);
  613    613   
    let _result = dbg!(
  614    614   
        client
  615    615   
            .get_object()
  616    616   
            .set_bucket(::std::option::Option::Some(
  617    617   
                "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap".to_owned()
  618    618   
            ))
  619    619   
            .set_key(::std::option::Option::Some("key".to_owned()))
  620    620   
            .send()
  621    621   
            .await
  622    622   
    );
  623    623   
    rcvr.expect_no_request();
  624    624   
    let error = _result.expect_err("expected error: Invalid configuration: Multi-Region Access Point ARNs are disabled. [MRAP explicitly disabled]");
  625    625   
    assert!(
  626    626   
        format!("{:?}", error).contains("Invalid configuration: Multi-Region Access Point ARNs are disabled."),
  627    627   
        "expected error to contain `Invalid configuration: Multi-Region Access Point ARNs are disabled.` but it was {:?}",
  628    628   
        error
  629    629   
    );
  630    630   
}
  631    631   
  632    632   
#[::tokio::test]
  633    633   
async fn operation_input_test_get_object_19() {
  634    634   
    /* documentation: Dual-stack endpoint with path-style forced */
  635    635   
    /* builtIns: {
  636    636   
        "AWS::Region": "us-west-2",
  637    637   
        "AWS::UseDualStack": true,
  638    638   
        "AWS::S3::ForcePathStyle": true
  639    639   
    } */
  640    640   
    /* clientParams: {} */
  641         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         641  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  642    642   
    let conf = {
  643    643   
        #[allow(unused_mut)]
  644    644   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  645    645   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
  646    646   
        let builder = builder.use_dual_stack(true);
  647    647   
        let builder = builder.force_path_style(true);
  648    648   
        builder.build()
  649    649   
    };
  650    650   
    let client = aws_sdk_s3::Client::from_conf(conf);
  651    651   
    let _result = dbg!(
  652    652   
        client
  653    653   
            .get_object()
  654    654   
            .set_bucket(::std::option::Option::Some("bucketname".to_owned()))
  655    655   
            .set_key(::std::option::Option::Some("key".to_owned()))
  656    656   
            .send()
  657    657   
            .await
  658    658   
    );
  659    659   
    let req = rcvr.expect_request();
  660    660   
    let uri = req.uri().to_string();
  661    661   
    assert!(
  662    662   
        uri.starts_with("https://s3.dualstack.us-west-2.amazonaws.com/bucketname"),
  663    663   
        "expected URI to start with `https://s3.dualstack.us-west-2.amazonaws.com/bucketname` but it was `{}`",
  664    664   
        uri
  665    665   
    );
  666    666   
}
  667    667   
  668    668   
#[::tokio::test]
  669    669   
async fn operation_input_test_get_object_20() {
  670    670   
    /* documentation: Dual-stack endpoint + SDK::Host is error */
  671    671   
    /* builtIns: {
  672    672   
        "AWS::Region": "us-west-2",
  673    673   
        "AWS::UseDualStack": true,
  674    674   
        "SDK::Endpoint": "https://abc.com",
  675    675   
        "AWS::S3::ForcePathStyle": true
  676    676   
    } */
  677    677   
    /* clientParams: {} */
  678         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         678  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  679    679   
    let conf = {
  680    680   
        #[allow(unused_mut)]
  681    681   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  682    682   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
  683    683   
        let builder = builder.use_dual_stack(true);
  684    684   
        let builder = builder.endpoint_url("https://abc.com");
  685    685   
        let builder = builder.force_path_style(true);
  686    686   
        builder.build()
  687    687   
    };
  688    688   
    let client = aws_sdk_s3::Client::from_conf(conf);
  689    689   
    let _result = dbg!(
  690    690   
        client
  691    691   
            .get_object()
  692    692   
            .set_bucket(::std::option::Option::Some("bucketname".to_owned()))
  693    693   
            .set_key(::std::option::Option::Some("key".to_owned()))
  694    694   
            .send()
  695    695   
            .await
  696    696   
    );
  697    697   
    rcvr.expect_no_request();
  698    698   
    let error =
  699    699   
        _result.expect_err("expected error: Cannot set dual-stack in combination with a custom endpoint. [Dual-stack endpoint + SDK::Host is error]");
  700    700   
    assert!(
  701    701   
        format!("{:?}", error).contains("Cannot set dual-stack in combination with a custom endpoint."),
  702    702   
        "expected error to contain `Cannot set dual-stack in combination with a custom endpoint.` but it was {:?}",
  703    703   
        error
  704    704   
    );
  705    705   
}
  706    706   
  707    707   
#[::tokio::test]
  708    708   
async fn operation_input_test_get_object_21() {
  709    709   
    /* documentation: path style + ARN bucket */
  710    710   
    /* builtIns: {
  711    711   
        "AWS::Region": "us-west-2",
  712    712   
        "AWS::S3::ForcePathStyle": true
  713    713   
    } */
  714    714   
    /* clientParams: {} */
  715         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         715  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  716    716   
    let conf = {
  717    717   
        #[allow(unused_mut)]
  718    718   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  719    719   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
  720    720   
        let builder = builder.force_path_style(true);
  721    721   
        builder.build()
  722    722   
    };
  723    723   
    let client = aws_sdk_s3::Client::from_conf(conf);
  724    724   
    let _result = dbg!(
  725    725   
        client
  726    726   
            .get_object()
  727    727   
            .set_bucket(::std::option::Option::Some(
  728    728   
                "arn:aws:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap".to_owned()
  729    729   
            ))
  730    730   
            .set_key(::std::option::Option::Some("key".to_owned()))
  731    731   
            .send()
  732    732   
            .await
  733    733   
    );
  734    734   
    rcvr.expect_no_request();
  735    735   
    let error = _result.expect_err("expected error: Path-style addressing cannot be used with ARN buckets [path style + ARN bucket]");
  736    736   
    assert!(
  737    737   
        format!("{:?}", error).contains("Path-style addressing cannot be used with ARN buckets"),
  738    738   
        "expected error to contain `Path-style addressing cannot be used with ARN buckets` but it was {:?}",
  739    739   
        error
  740    740   
    );
  741    741   
}
  742    742   
  743    743   
#[::tokio::test]
  744    744   
async fn operation_input_test_get_object_22() {
  745    745   
    /* documentation: implicit path style bucket + dualstack */
  746    746   
    /* builtIns: {
  747    747   
        "AWS::Region": "us-west-2",
  748    748   
        "AWS::UseDualStack": true
  749    749   
    } */
  750    750   
    /* clientParams: {} */
  751         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         751  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  752    752   
    let conf = {
  753    753   
        #[allow(unused_mut)]
  754    754   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  755    755   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
  756    756   
        let builder = builder.use_dual_stack(true);
  757    757   
        builder.build()
  758    758   
    };
  759    759   
    let client = aws_sdk_s3::Client::from_conf(conf);
  760    760   
    let _result = dbg!(
  761    761   
        client
  762    762   
            .get_object()
  763    763   
            .set_bucket(::std::option::Option::Some("99_ab".to_owned()))
  764    764   
            .set_key(::std::option::Option::Some("key".to_owned()))
  765    765   
            .send()
  766    766   
            .await
  767    767   
    );
  768    768   
    let req = rcvr.expect_request();
  769    769   
    let uri = req.uri().to_string();
  770    770   
    assert!(
  771    771   
        uri.starts_with("https://s3.dualstack.us-west-2.amazonaws.com/99_ab"),
  772    772   
        "expected URI to start with `https://s3.dualstack.us-west-2.amazonaws.com/99_ab` but it was `{}`",
  773    773   
        uri
  774    774   
    );
  775    775   
}
  776    776   
  777    777   
#[::tokio::test]
  778    778   
async fn operation_input_test_get_object_23() {
  779    779   
    /* documentation: implicit path style bucket + dualstack */
  780    780   
    /* builtIns: {
  781    781   
        "AWS::Region": "us-west-2",
  782    782   
        "AWS::UseDualStack": true,
  783    783   
        "SDK::Endpoint": "http://abc.com"
  784    784   
    } */
  785    785   
    /* clientParams: {} */
  786         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         786  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  787    787   
    let conf = {
  788    788   
        #[allow(unused_mut)]
  789    789   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  790    790   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
  791    791   
        let builder = builder.use_dual_stack(true);
  792    792   
        let builder = builder.endpoint_url("http://abc.com");
  793    793   
        builder.build()
  794    794   
    };
  795    795   
    let client = aws_sdk_s3::Client::from_conf(conf);
  796    796   
    let _result = dbg!(
  797    797   
        client
  798    798   
            .get_object()
  799    799   
            .set_bucket(::std::option::Option::Some("99_ab".to_owned()))
  800    800   
            .set_key(::std::option::Option::Some("key".to_owned()))
  801    801   
            .send()
  802    802   
            .await
  803    803   
    );
  804    804   
    rcvr.expect_no_request();
  805    805   
    let error =
  806    806   
        _result.expect_err("expected error: Cannot set dual-stack in combination with a custom endpoint. [implicit path style bucket + dualstack]");
  807    807   
    assert!(
  808    808   
        format!("{:?}", error).contains("Cannot set dual-stack in combination with a custom endpoint."),
  809    809   
        "expected error to contain `Cannot set dual-stack in combination with a custom endpoint.` but it was {:?}",
  810    810   
        error
  811    811   
    );
  812    812   
}
  813    813   
  814    814   
#[::tokio::test]
  815    815   
async fn operation_input_test_get_object_24() {
  816    816   
    /* documentation: don't allow URL injections in the bucket */
  817    817   
    /* builtIns: {
  818    818   
        "AWS::Region": "us-west-2"
  819    819   
    } */
  820    820   
    /* clientParams: {} */
  821         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         821  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  822    822   
    let conf = {
  823    823   
        #[allow(unused_mut)]
  824    824   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  825    825   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
  826    826   
        builder.build()
  827    827   
    };
  828    828   
    let client = aws_sdk_s3::Client::from_conf(conf);
  829    829   
    let _result = dbg!(
  830    830   
        client
  831    831   
            .get_object()
  832    832   
            .set_bucket(::std::option::Option::Some("example.com#".to_owned()))
  833    833   
            .set_key(::std::option::Option::Some("key".to_owned()))
  834    834   
            .send()
  835    835   
            .await
  836    836   
    );
  837    837   
    let req = rcvr.expect_request();
  838    838   
    let uri = req.uri().to_string();
  839    839   
    assert!(
  840    840   
        uri.starts_with("https://s3.us-west-2.amazonaws.com/example.com%23"),
  841    841   
        "expected URI to start with `https://s3.us-west-2.amazonaws.com/example.com%23` but it was `{}`",
  842    842   
        uri
  843    843   
    );
  844    844   
}
  845    845   
  846    846   
#[::tokio::test]
  847    847   
async fn operation_input_test_get_object_25() {
  848    848   
    /* documentation: URI encode bucket names in the path */
  849    849   
    /* builtIns: {
  850    850   
        "AWS::Region": "us-west-2"
  851    851   
    } */
  852    852   
    /* clientParams: {} */
  853         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         853  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  854    854   
    let conf = {
  855    855   
        #[allow(unused_mut)]
  856    856   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  857    857   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
  858    858   
        builder.build()
  859    859   
    };
  860    860   
    let client = aws_sdk_s3::Client::from_conf(conf);
  861    861   
    let _result = dbg!(
  862    862   
        client
  863    863   
            .get_object()
  864    864   
            .set_bucket(::std::option::Option::Some("bucket name".to_owned()))
  865    865   
            .set_key(::std::option::Option::Some("key".to_owned()))
  866    866   
            .send()
  867    867   
            .await
  868    868   
    );
  869    869   
    let req = rcvr.expect_request();
  870    870   
    let uri = req.uri().to_string();
  871    871   
    assert!(
  872    872   
        uri.starts_with("https://s3.us-west-2.amazonaws.com/bucket%20name"),
  873    873   
        "expected URI to start with `https://s3.us-west-2.amazonaws.com/bucket%20name` but it was `{}`",
  874    874   
        uri
  875    875   
    );
  876    876   
}
  877    877   
  878    878   
#[::tokio::test]
  879    879   
async fn operation_input_test_get_object_26() {
  880    880   
    /* documentation: path style + implicit private link */
  881    881   
    /* builtIns: {
  882    882   
        "AWS::Region": "af-south-1",
  883    883   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
  884    884   
    } */
  885    885   
    /* clientParams: {} */
  886         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         886  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  887    887   
    let conf = {
  888    888   
        #[allow(unused_mut)]
  889    889   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  890    890   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
  891    891   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
  892    892   
        builder.build()
  893    893   
    };
  894    894   
    let client = aws_sdk_s3::Client::from_conf(conf);
  895    895   
    let _result = dbg!(
  896    896   
        client
  897    897   
            .get_object()
  898    898   
            .set_bucket(::std::option::Option::Some("99_ab".to_owned()))
  899    899   
            .set_key(::std::option::Option::Some("key".to_owned()))
  900    900   
            .send()
  901    901   
            .await
  902    902   
    );
  903    903   
    let req = rcvr.expect_request();
  904    904   
    let uri = req.uri().to_string();
  905    905   
    assert!(
  906    906   
        uri.starts_with("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/99_ab"),
  907    907   
        "expected URI to start with `https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/99_ab` but it was `{}`",
  908    908   
        uri
  909    909   
    );
  910    910   
}
  911    911   
  912    912   
#[::tokio::test]
  913    913   
async fn operation_input_test_get_object_27() {
  914    914   
    /* documentation: using an IPv4 address forces path style */
  915    915   
    /* builtIns: {
  916    916   
        "AWS::Region": "af-south-1",
  917    917   
        "SDK::Endpoint": "https://123.123.0.1"
  918    918   
    } */
  919    919   
    /* clientParams: {} */
  920         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         920  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  921    921   
    let conf = {
  922    922   
        #[allow(unused_mut)]
  923    923   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  924    924   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
  925    925   
        let builder = builder.endpoint_url("https://123.123.0.1");
  926    926   
        builder.build()
  927    927   
    };
  928    928   
    let client = aws_sdk_s3::Client::from_conf(conf);
  929    929   
    let _result = dbg!(
  930    930   
        client
  931    931   
            .get_object()
  932    932   
            .set_bucket(::std::option::Option::Some("bucketname".to_owned()))
  933    933   
            .set_key(::std::option::Option::Some("key".to_owned()))
  934    934   
            .send()
  935    935   
            .await
  936    936   
    );
  937    937   
    let req = rcvr.expect_request();
  938    938   
    let uri = req.uri().to_string();
  939    939   
    assert!(
  940    940   
        uri.starts_with("https://123.123.0.1/bucketname"),
  941    941   
        "expected URI to start with `https://123.123.0.1/bucketname` but it was `{}`",
  942    942   
        uri
  943    943   
    );
  944    944   
}
  945    945   
  946    946   
#[::tokio::test]
  947    947   
async fn operation_input_test_get_object_28() {
  948    948   
    /* documentation: vanilla access point arn with region mismatch and UseArnRegion=false */
  949    949   
    /* builtIns: {
  950    950   
        "AWS::Region": "us-west-2",
  951    951   
        "AWS::S3::UseArnRegion": false
  952    952   
    } */
  953    953   
    /* clientParams: {} */
  954         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         954  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  955    955   
    let conf = {
  956    956   
        #[allow(unused_mut)]
  957    957   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  958    958   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
  959    959   
        let builder = builder.use_arn_region(false);
  960    960   
        builder.build()
  961    961   
    };
  962    962   
    let client = aws_sdk_s3::Client::from_conf(conf);
  963    963   
    let _result = dbg!(
  964    964   
        client
  965    965   
            .get_object()
  966    966   
            .set_bucket(::std::option::Option::Some(
  967    967   
                "arn:aws:s3:us-east-1:123456789012:accesspoint:myendpoint".to_owned()
  968    968   
            ))
  969    969   
            .set_key(::std::option::Option::Some("key".to_owned()))
  970    970   
            .send()
  971    971   
            .await
  972    972   
    );
  973    973   
    rcvr.expect_no_request();
  974    974   
    let error = _result.expect_err("expected error: Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false` [vanilla access point arn with region mismatch and UseArnRegion=false]");
  975    975   
    assert!(
  976    976   
                                            format!("{:?}", error).contains("Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"),
  977    977   
                                            "expected error to contain `Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`` but it was {:?}", error
  978    978   
                                        );
  979    979   
}
  980    980   
  981    981   
#[::tokio::test]
  982    982   
async fn operation_input_test_get_object_29() {
  983    983   
    /* documentation: vanilla access point arn with region mismatch and UseArnRegion unset */
  984    984   
    /* builtIns: {
  985    985   
        "AWS::Region": "us-east-1"
  986    986   
    } */
  987    987   
    /* clientParams: {} */
  988         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
         988  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
  989    989   
    let conf = {
  990    990   
        #[allow(unused_mut)]
  991    991   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
  992    992   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
  993    993   
        builder.build()
  994    994   
    };
  995    995   
    let client = aws_sdk_s3::Client::from_conf(conf);
  996    996   
    let _result = dbg!(
  997    997   
        client
  998    998   
            .get_object()
  999    999   
            .set_bucket(::std::option::Option::Some(
 1000   1000   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
 1001   1001   
            ))
 1002   1002   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1003   1003   
            .send()
 1004   1004   
            .await
 1005   1005   
    );
 1006   1006   
    let req = rcvr.expect_request();
 1007   1007   
    let uri = req.uri().to_string();
 1008   1008   
    assert!(
 1009   1009   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com"),
 1010   1010   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com` but it was `{}`",
 1011   1011   
        uri
 1012   1012   
    );
 1013   1013   
}
 1014   1014   
 1015   1015   
#[::tokio::test]
 1016   1016   
async fn operation_input_test_get_object_30() {
 1017   1017   
    /* documentation: vanilla access point arn with region mismatch and UseArnRegion=true */
 1018   1018   
    /* builtIns: {
 1019   1019   
        "AWS::Region": "us-east-1",
 1020   1020   
        "AWS::S3::UseArnRegion": true
 1021   1021   
    } */
 1022   1022   
    /* clientParams: {} */
 1023         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1023  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1024   1024   
    let conf = {
 1025   1025   
        #[allow(unused_mut)]
 1026   1026   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1027   1027   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 1028   1028   
        let builder = builder.use_arn_region(true);
 1029   1029   
        builder.build()
 1030   1030   
    };
 1031   1031   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1032   1032   
    let _result = dbg!(
 1033   1033   
        client
 1034   1034   
            .get_object()
 1035   1035   
            .set_bucket(::std::option::Option::Some(
 1036   1036   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
 1037   1037   
            ))
 1038   1038   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1039   1039   
            .send()
 1040   1040   
            .await
 1041   1041   
    );
 1042   1042   
    let req = rcvr.expect_request();
 1043   1043   
    let uri = req.uri().to_string();
 1044   1044   
    assert!(
 1045   1045   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com"),
 1046   1046   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com` but it was `{}`",
 1047   1047   
        uri
 1048   1048   
    );
 1049   1049   
}
 1050   1050   
 1051   1051   
#[::tokio::test]
 1052   1052   
async fn operation_input_test_get_object_31() {
 1053   1053   
    /* documentation: subdomains are not allowed in virtual buckets */
 1054   1054   
    /* builtIns: {
 1055   1055   
        "AWS::Region": "us-east-1"
 1056   1056   
    } */
 1057   1057   
    /* clientParams: {} */
 1058         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1058  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1059   1059   
    let conf = {
 1060   1060   
        #[allow(unused_mut)]
 1061   1061   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1062   1062   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 1063   1063   
        builder.build()
 1064   1064   
    };
 1065   1065   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1066   1066   
    let _result = dbg!(
 1067   1067   
        client
 1068   1068   
            .get_object()
 1069   1069   
            .set_bucket(::std::option::Option::Some("bucket.name".to_owned()))
 1070   1070   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1071   1071   
            .send()
 1072   1072   
            .await
 1073   1073   
    );
 1074   1074   
    let req = rcvr.expect_request();
 1075   1075   
    let uri = req.uri().to_string();
 1076   1076   
    assert!(
 1077   1077   
        uri.starts_with("https://s3.us-east-1.amazonaws.com/bucket.name"),
 1078   1078   
        "expected URI to start with `https://s3.us-east-1.amazonaws.com/bucket.name` but it was `{}`",
 1079   1079   
        uri
 1080   1080   
    );
 1081   1081   
}
 1082   1082   
 1083   1083   
#[::tokio::test]
 1084   1084   
async fn operation_input_test_get_object_32() {
 1085   1085   
    /* documentation: bucket names with 3 characters are allowed in virtual buckets */
 1086   1086   
    /* builtIns: {
 1087   1087   
        "AWS::Region": "us-east-1"
 1088   1088   
    } */
 1089   1089   
    /* clientParams: {} */
 1090         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1090  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1091   1091   
    let conf = {
 1092   1092   
        #[allow(unused_mut)]
 1093   1093   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1094   1094   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 1095   1095   
        builder.build()
 1096   1096   
    };
 1097   1097   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1098   1098   
    let _result = dbg!(
 1099   1099   
        client
 1100   1100   
            .get_object()
 1101   1101   
            .set_bucket(::std::option::Option::Some("aaa".to_owned()))
 1102   1102   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1103   1103   
            .send()
 1104   1104   
            .await
 1105   1105   
    );
 1106   1106   
    let req = rcvr.expect_request();
 1107   1107   
    let uri = req.uri().to_string();
 1108   1108   
    assert!(
 1109   1109   
        uri.starts_with("https://aaa.s3.us-east-1.amazonaws.com"),
 1110   1110   
        "expected URI to start with `https://aaa.s3.us-east-1.amazonaws.com` but it was `{}`",
 1111   1111   
        uri
 1112   1112   
    );
 1113   1113   
}
 1114   1114   
 1115   1115   
#[::tokio::test]
 1116   1116   
async fn operation_input_test_get_object_33() {
 1117   1117   
    /* documentation: bucket names with fewer than 3 characters are not allowed in virtual host */
 1118   1118   
    /* builtIns: {
 1119   1119   
        "AWS::Region": "us-east-1"
 1120   1120   
    } */
 1121   1121   
    /* clientParams: {} */
 1122         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1122  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1123   1123   
    let conf = {
 1124   1124   
        #[allow(unused_mut)]
 1125   1125   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1126   1126   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 1127   1127   
        builder.build()
 1128   1128   
    };
 1129   1129   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1130   1130   
    let _result = dbg!(
 1131   1131   
        client
 1132   1132   
            .get_object()
 1133   1133   
            .set_bucket(::std::option::Option::Some("aa".to_owned()))
 1134   1134   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1135   1135   
            .send()
 1136   1136   
            .await
 1137   1137   
    );
 1138   1138   
    let req = rcvr.expect_request();
 1139   1139   
    let uri = req.uri().to_string();
 1140   1140   
    assert!(
 1141   1141   
        uri.starts_with("https://s3.us-east-1.amazonaws.com/aa"),
 1142   1142   
        "expected URI to start with `https://s3.us-east-1.amazonaws.com/aa` but it was `{}`",
 1143   1143   
        uri
 1144   1144   
    );
 1145   1145   
}
 1146   1146   
 1147   1147   
#[::tokio::test]
 1148   1148   
async fn operation_input_test_get_object_34() {
 1149   1149   
    /* documentation: bucket names with uppercase characters are not allowed in virtual host */
 1150   1150   
    /* builtIns: {
 1151   1151   
        "AWS::Region": "us-east-1"
 1152   1152   
    } */
 1153   1153   
    /* clientParams: {} */
 1154         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1154  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1155   1155   
    let conf = {
 1156   1156   
        #[allow(unused_mut)]
 1157   1157   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1158   1158   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 1159   1159   
        builder.build()
 1160   1160   
    };
 1161   1161   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1162   1162   
    let _result = dbg!(
 1163   1163   
        client
 1164   1164   
            .get_object()
 1165   1165   
            .set_bucket(::std::option::Option::Some("BucketName".to_owned()))
 1166   1166   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1167   1167   
            .send()
 1168   1168   
            .await
 1169   1169   
    );
 1170   1170   
    let req = rcvr.expect_request();
 1171   1171   
    let uri = req.uri().to_string();
 1172   1172   
    assert!(
 1173   1173   
        uri.starts_with("https://s3.us-east-1.amazonaws.com/BucketName"),
 1174   1174   
        "expected URI to start with `https://s3.us-east-1.amazonaws.com/BucketName` but it was `{}`",
 1175   1175   
        uri
 1176   1176   
    );
 1177   1177   
}
 1178   1178   
 1179   1179   
#[::tokio::test]
 1180   1180   
async fn operation_input_test_get_object_35() {
 1181   1181   
    /* documentation: subdomains are allowed in virtual buckets on http endpoints */
 1182   1182   
    /* builtIns: {
 1183   1183   
        "AWS::Region": "us-east-1",
 1184   1184   
        "SDK::Endpoint": "http://example.com"
 1185   1185   
    } */
 1186   1186   
    /* clientParams: {} */
 1187         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1187  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1188   1188   
    let conf = {
 1189   1189   
        #[allow(unused_mut)]
 1190   1190   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1191   1191   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 1192   1192   
        let builder = builder.endpoint_url("http://example.com");
 1193   1193   
        builder.build()
 1194   1194   
    };
 1195   1195   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1196   1196   
    let _result = dbg!(
 1197   1197   
        client
 1198   1198   
            .get_object()
 1199   1199   
            .set_bucket(::std::option::Option::Some("bucket.name".to_owned()))
 1200   1200   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1201   1201   
            .send()
 1202   1202   
            .await
 1203   1203   
    );
 1204   1204   
    let req = rcvr.expect_request();
 1205   1205   
    let uri = req.uri().to_string();
 1206   1206   
    assert!(
 1207   1207   
        uri.starts_with("http://bucket.name.example.com"),
 1208   1208   
        "expected URI to start with `http://bucket.name.example.com` but it was `{}`",
 1209   1209   
        uri
 1210   1210   
    );
 1211   1211   
}
 1212   1212   
 1213   1213   
#[::tokio::test]
 1214   1214   
async fn operation_input_test_list_buckets_36() {
 1215   1215   
    /* documentation: aws-global region uses the global endpoint */
 1216   1216   
    /* builtIns: {
 1217   1217   
        "AWS::Region": "aws-global"
 1218   1218   
    } */
 1219   1219   
    /* clientParams: {} */
 1220         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1220  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1221   1221   
    let conf = {
 1222   1222   
        #[allow(unused_mut)]
 1223   1223   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1224   1224   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1225   1225   
        builder.build()
 1226   1226   
    };
 1227   1227   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1228   1228   
    let _result = dbg!(client.list_buckets().send().await);
 1229   1229   
    let req = rcvr.expect_request();
 1230   1230   
    let uri = req.uri().to_string();
 1231   1231   
    assert!(
 1232   1232   
        uri.starts_with("https://s3.amazonaws.com"),
 1233   1233   
        "expected URI to start with `https://s3.amazonaws.com` but it was `{}`",
 1234   1234   
        uri
 1235   1235   
    );
 1236   1236   
}
 1237   1237   
 1238   1238   
#[::tokio::test]
 1239   1239   
async fn operation_input_test_list_buckets_37() {
 1240   1240   
    /* documentation: aws-global region with fips uses the regional endpoint */
 1241   1241   
    /* builtIns: {
 1242   1242   
        "AWS::Region": "aws-global",
 1243   1243   
        "AWS::UseFIPS": true
 1244   1244   
    } */
 1245   1245   
    /* clientParams: {} */
 1246         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1246  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1247   1247   
    let conf = {
 1248   1248   
        #[allow(unused_mut)]
 1249   1249   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1250   1250   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1251   1251   
        let builder = builder.use_fips(true);
 1252   1252   
        builder.build()
 1253   1253   
    };
 1254   1254   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1255   1255   
    let _result = dbg!(client.list_buckets().send().await);
 1256   1256   
    let req = rcvr.expect_request();
 1257   1257   
    let uri = req.uri().to_string();
 1258   1258   
    assert!(
 1259   1259   
        uri.starts_with("https://s3-fips.us-east-1.amazonaws.com"),
 1260   1260   
        "expected URI to start with `https://s3-fips.us-east-1.amazonaws.com` but it was `{}`",
 1261   1261   
        uri
 1262   1262   
    );
 1263   1263   
}
 1264   1264   
 1265   1265   
#[::tokio::test]
 1266   1266   
async fn operation_input_test_list_buckets_38() {
 1267   1267   
    /* documentation: aws-global region with dualstack uses the regional endpoint */
 1268   1268   
    /* builtIns: {
 1269   1269   
        "AWS::Region": "aws-global",
 1270   1270   
        "AWS::UseDualStack": true
 1271   1271   
    } */
 1272   1272   
    /* clientParams: {} */
 1273         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1273  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1274   1274   
    let conf = {
 1275   1275   
        #[allow(unused_mut)]
 1276   1276   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1277   1277   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1278   1278   
        let builder = builder.use_dual_stack(true);
 1279   1279   
        builder.build()
 1280   1280   
    };
 1281   1281   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1282   1282   
    let _result = dbg!(client.list_buckets().send().await);
 1283   1283   
    let req = rcvr.expect_request();
 1284   1284   
    let uri = req.uri().to_string();
 1285   1285   
    assert!(
 1286   1286   
        uri.starts_with("https://s3.dualstack.us-east-1.amazonaws.com"),
 1287   1287   
        "expected URI to start with `https://s3.dualstack.us-east-1.amazonaws.com` but it was `{}`",
 1288   1288   
        uri
 1289   1289   
    );
 1290   1290   
}
 1291   1291   
 1292   1292   
#[::tokio::test]
 1293   1293   
async fn operation_input_test_list_buckets_39() {
 1294   1294   
    /* documentation: aws-global region with fips and dualstack uses the regional endpoint */
 1295   1295   
    /* builtIns: {
 1296   1296   
        "AWS::Region": "aws-global",
 1297   1297   
        "AWS::UseFIPS": true,
 1298   1298   
        "AWS::UseDualStack": true
 1299   1299   
    } */
 1300   1300   
    /* clientParams: {} */
 1301         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1301  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1302   1302   
    let conf = {
 1303   1303   
        #[allow(unused_mut)]
 1304   1304   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1305   1305   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1306   1306   
        let builder = builder.use_fips(true);
 1307   1307   
        let builder = builder.use_dual_stack(true);
 1308   1308   
        builder.build()
 1309   1309   
    };
 1310   1310   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1311   1311   
    let _result = dbg!(client.list_buckets().send().await);
 1312   1312   
    let req = rcvr.expect_request();
 1313   1313   
    let uri = req.uri().to_string();
 1314   1314   
    assert!(
 1315   1315   
        uri.starts_with("https://s3-fips.dualstack.us-east-1.amazonaws.com"),
 1316   1316   
        "expected URI to start with `https://s3-fips.dualstack.us-east-1.amazonaws.com` but it was `{}`",
 1317   1317   
        uri
 1318   1318   
    );
 1319   1319   
}
 1320   1320   
 1321   1321   
#[::tokio::test]
 1322   1322   
async fn operation_input_test_list_buckets_40() {
 1323   1323   
    /* documentation: aws-global region with accelerate on non-bucket case, uses global endpoint and ignores accelerate */
 1324   1324   
    /* builtIns: {
 1325   1325   
        "AWS::Region": "aws-global",
 1326   1326   
        "AWS::S3::Accelerate": true
 1327   1327   
    } */
 1328   1328   
    /* clientParams: {} */
 1329         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1329  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1330   1330   
    let conf = {
 1331   1331   
        #[allow(unused_mut)]
 1332   1332   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1333   1333   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1334   1334   
        let builder = builder.accelerate(true);
 1335   1335   
        builder.build()
 1336   1336   
    };
 1337   1337   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1338   1338   
    let _result = dbg!(client.list_buckets().send().await);
 1339   1339   
    let req = rcvr.expect_request();
 1340   1340   
    let uri = req.uri().to_string();
 1341   1341   
    assert!(
 1342   1342   
        uri.starts_with("https://s3.amazonaws.com"),
 1343   1343   
        "expected URI to start with `https://s3.amazonaws.com` but it was `{}`",
 1344   1344   
        uri
 1345   1345   
    );
 1346   1346   
}
 1347   1347   
 1348   1348   
#[::tokio::test]
 1349   1349   
async fn operation_input_test_list_buckets_41() {
 1350   1350   
    /* documentation: aws-global region with custom endpoint, uses custom */
 1351   1351   
    /* builtIns: {
 1352   1352   
        "AWS::Region": "aws-global",
 1353   1353   
        "SDK::Endpoint": "https://example.com"
 1354   1354   
    } */
 1355   1355   
    /* clientParams: {} */
 1356         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1356  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1357   1357   
    let conf = {
 1358   1358   
        #[allow(unused_mut)]
 1359   1359   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1360   1360   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1361   1361   
        let builder = builder.endpoint_url("https://example.com");
 1362   1362   
        builder.build()
 1363   1363   
    };
 1364   1364   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1365   1365   
    let _result = dbg!(client.list_buckets().send().await);
 1366   1366   
    let req = rcvr.expect_request();
 1367   1367   
    let uri = req.uri().to_string();
 1368   1368   
    assert!(
 1369   1369   
        uri.starts_with("https://example.com"),
 1370   1370   
        "expected URI to start with `https://example.com` but it was `{}`",
 1371   1371   
        uri
 1372   1372   
    );
 1373   1373   
}
 1374   1374   
 1375   1375   
#[::tokio::test]
 1376   1376   
async fn operation_input_test_get_object_42() {
 1377   1377   
    /* documentation: virtual addressing, aws-global region uses the global endpoint */
 1378   1378   
    /* builtIns: {
 1379   1379   
        "AWS::Region": "aws-global"
 1380   1380   
    } */
 1381   1381   
    /* clientParams: {} */
 1382         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1382  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1383   1383   
    let conf = {
 1384   1384   
        #[allow(unused_mut)]
 1385   1385   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1386   1386   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1387   1387   
        builder.build()
 1388   1388   
    };
 1389   1389   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1390   1390   
    let _result = dbg!(
 1391   1391   
        client
 1392   1392   
            .get_object()
 1393   1393   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1394   1394   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1395   1395   
            .send()
 1396   1396   
            .await
 1397   1397   
    );
 1398   1398   
    let req = rcvr.expect_request();
 1399   1399   
    let uri = req.uri().to_string();
 1400   1400   
    assert!(
 1401   1401   
        uri.starts_with("https://bucket-name.s3.amazonaws.com"),
 1402   1402   
        "expected URI to start with `https://bucket-name.s3.amazonaws.com` but it was `{}`",
 1403   1403   
        uri
 1404   1404   
    );
 1405   1405   
}
 1406   1406   
 1407   1407   
#[::tokio::test]
 1408   1408   
async fn operation_input_test_list_objects_43() {
 1409   1409   
    /* documentation: virtual addressing, aws-global region with Prefix, and Key uses the global endpoint. Prefix and Key parameters should not be used in endpoint evaluation. */
 1410   1410   
    /* builtIns: {
 1411   1411   
        "AWS::Region": "aws-global"
 1412   1412   
    } */
 1413   1413   
    /* clientParams: {} */
 1414         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1414  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1415   1415   
    let conf = {
 1416   1416   
        #[allow(unused_mut)]
 1417   1417   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1418   1418   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1419   1419   
        builder.build()
 1420   1420   
    };
 1421   1421   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1422   1422   
    let _result = dbg!(
 1423   1423   
        client
 1424   1424   
            .list_objects()
 1425   1425   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1426   1426   
            .set_prefix(::std::option::Option::Some("prefix".to_owned()))
 1427   1427   
            .send()
 1428   1428   
            .await
 1429   1429   
    );
 1430   1430   
    let req = rcvr.expect_request();
 1431   1431   
    let uri = req.uri().to_string();
 1432   1432   
    assert!(
 1433   1433   
        uri.starts_with("https://bucket-name.s3.amazonaws.com"),
 1434   1434   
        "expected URI to start with `https://bucket-name.s3.amazonaws.com` but it was `{}`",
 1435   1435   
        uri
 1436   1436   
    );
 1437   1437   
}
 1438   1438   
 1439   1439   
#[::tokio::test]
 1440   1440   
async fn operation_input_test_get_object_44() {
 1441   1441   
    /* documentation: virtual addressing, aws-global region with fips uses the regional fips endpoint */
 1442   1442   
    /* builtIns: {
 1443   1443   
        "AWS::Region": "aws-global",
 1444   1444   
        "AWS::UseFIPS": true
 1445   1445   
    } */
 1446   1446   
    /* clientParams: {} */
 1447         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1447  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1448   1448   
    let conf = {
 1449   1449   
        #[allow(unused_mut)]
 1450   1450   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1451   1451   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1452   1452   
        let builder = builder.use_fips(true);
 1453   1453   
        builder.build()
 1454   1454   
    };
 1455   1455   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1456   1456   
    let _result = dbg!(
 1457   1457   
        client
 1458   1458   
            .get_object()
 1459   1459   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1460   1460   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1461   1461   
            .send()
 1462   1462   
            .await
 1463   1463   
    );
 1464   1464   
    let req = rcvr.expect_request();
 1465   1465   
    let uri = req.uri().to_string();
 1466   1466   
    assert!(
 1467   1467   
        uri.starts_with("https://bucket-name.s3-fips.us-east-1.amazonaws.com"),
 1468   1468   
        "expected URI to start with `https://bucket-name.s3-fips.us-east-1.amazonaws.com` but it was `{}`",
 1469   1469   
        uri
 1470   1470   
    );
 1471   1471   
}
 1472   1472   
 1473   1473   
#[::tokio::test]
 1474   1474   
async fn operation_input_test_get_object_45() {
 1475   1475   
    /* documentation: virtual addressing, aws-global region with dualstack uses the regional dualstack endpoint */
 1476   1476   
    /* builtIns: {
 1477   1477   
        "AWS::Region": "aws-global",
 1478   1478   
        "AWS::UseDualStack": true
 1479   1479   
    } */
 1480   1480   
    /* clientParams: {} */
 1481         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1481  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1482   1482   
    let conf = {
 1483   1483   
        #[allow(unused_mut)]
 1484   1484   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1485   1485   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1486   1486   
        let builder = builder.use_dual_stack(true);
 1487   1487   
        builder.build()
 1488   1488   
    };
 1489   1489   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1490   1490   
    let _result = dbg!(
 1491   1491   
        client
 1492   1492   
            .get_object()
 1493   1493   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1494   1494   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1495   1495   
            .send()
 1496   1496   
            .await
 1497   1497   
    );
 1498   1498   
    let req = rcvr.expect_request();
 1499   1499   
    let uri = req.uri().to_string();
 1500   1500   
    assert!(
 1501   1501   
        uri.starts_with("https://bucket-name.s3.dualstack.us-east-1.amazonaws.com"),
 1502   1502   
        "expected URI to start with `https://bucket-name.s3.dualstack.us-east-1.amazonaws.com` but it was `{}`",
 1503   1503   
        uri
 1504   1504   
    );
 1505   1505   
}
 1506   1506   
 1507   1507   
#[::tokio::test]
 1508   1508   
async fn operation_input_test_get_object_46() {
 1509   1509   
    /* documentation: virtual addressing, aws-global region with fips/dualstack uses the regional fips/dualstack endpoint */
 1510   1510   
    /* builtIns: {
 1511   1511   
        "AWS::Region": "aws-global",
 1512   1512   
        "AWS::UseFIPS": true,
 1513   1513   
        "AWS::UseDualStack": true
 1514   1514   
    } */
 1515   1515   
    /* clientParams: {} */
 1516         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1516  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1517   1517   
    let conf = {
 1518   1518   
        #[allow(unused_mut)]
 1519   1519   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1520   1520   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1521   1521   
        let builder = builder.use_fips(true);
 1522   1522   
        let builder = builder.use_dual_stack(true);
 1523   1523   
        builder.build()
 1524   1524   
    };
 1525   1525   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1526   1526   
    let _result = dbg!(
 1527   1527   
        client
 1528   1528   
            .get_object()
 1529   1529   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1530   1530   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1531   1531   
            .send()
 1532   1532   
            .await
 1533   1533   
    );
 1534   1534   
    let req = rcvr.expect_request();
 1535   1535   
    let uri = req.uri().to_string();
 1536   1536   
    assert!(
 1537   1537   
        uri.starts_with("https://bucket-name.s3-fips.dualstack.us-east-1.amazonaws.com"),
 1538   1538   
        "expected URI to start with `https://bucket-name.s3-fips.dualstack.us-east-1.amazonaws.com` but it was `{}`",
 1539   1539   
        uri
 1540   1540   
    );
 1541   1541   
}
 1542   1542   
 1543   1543   
#[::tokio::test]
 1544   1544   
async fn operation_input_test_get_object_47() {
 1545   1545   
    /* documentation: virtual addressing, aws-global region with accelerate uses the global accelerate endpoint */
 1546   1546   
    /* builtIns: {
 1547   1547   
        "AWS::Region": "aws-global",
 1548   1548   
        "AWS::S3::Accelerate": true
 1549   1549   
    } */
 1550   1550   
    /* clientParams: {} */
 1551         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1551  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1552   1552   
    let conf = {
 1553   1553   
        #[allow(unused_mut)]
 1554   1554   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1555   1555   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1556   1556   
        let builder = builder.accelerate(true);
 1557   1557   
        builder.build()
 1558   1558   
    };
 1559   1559   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1560   1560   
    let _result = dbg!(
 1561   1561   
        client
 1562   1562   
            .get_object()
 1563   1563   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1564   1564   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1565   1565   
            .send()
 1566   1566   
            .await
 1567   1567   
    );
 1568   1568   
    let req = rcvr.expect_request();
 1569   1569   
    let uri = req.uri().to_string();
 1570   1570   
    assert!(
 1571   1571   
        uri.starts_with("https://bucket-name.s3-accelerate.amazonaws.com"),
 1572   1572   
        "expected URI to start with `https://bucket-name.s3-accelerate.amazonaws.com` but it was `{}`",
 1573   1573   
        uri
 1574   1574   
    );
 1575   1575   
}
 1576   1576   
 1577   1577   
#[::tokio::test]
 1578   1578   
async fn operation_input_test_get_object_48() {
 1579   1579   
    /* documentation: virtual addressing, aws-global region with custom endpoint */
 1580   1580   
    /* builtIns: {
 1581   1581   
        "AWS::Region": "aws-global",
 1582   1582   
        "SDK::Endpoint": "https://example.com"
 1583   1583   
    } */
 1584   1584   
    /* clientParams: {} */
 1585         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1585  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1586   1586   
    let conf = {
 1587   1587   
        #[allow(unused_mut)]
 1588   1588   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1589   1589   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1590   1590   
        let builder = builder.endpoint_url("https://example.com");
 1591   1591   
        builder.build()
 1592   1592   
    };
 1593   1593   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1594   1594   
    let _result = dbg!(
 1595   1595   
        client
 1596   1596   
            .get_object()
 1597   1597   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1598   1598   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1599   1599   
            .send()
 1600   1600   
            .await
 1601   1601   
    );
 1602   1602   
    let req = rcvr.expect_request();
 1603   1603   
    let uri = req.uri().to_string();
 1604   1604   
    assert!(
 1605   1605   
        uri.starts_with("https://bucket-name.example.com"),
 1606   1606   
        "expected URI to start with `https://bucket-name.example.com` but it was `{}`",
 1607   1607   
        uri
 1608   1608   
    );
 1609   1609   
}
 1610   1610   
 1611   1611   
#[::tokio::test]
 1612   1612   
async fn operation_input_test_get_object_49() {
 1613   1613   
    /* documentation: ForcePathStyle, aws-global region uses the global endpoint */
 1614   1614   
    /* builtIns: {
 1615   1615   
        "AWS::Region": "aws-global",
 1616   1616   
        "AWS::S3::ForcePathStyle": true
 1617   1617   
    } */
 1618   1618   
    /* clientParams: {} */
 1619         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1619  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1620   1620   
    let conf = {
 1621   1621   
        #[allow(unused_mut)]
 1622   1622   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1623   1623   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1624   1624   
        let builder = builder.force_path_style(true);
 1625   1625   
        builder.build()
 1626   1626   
    };
 1627   1627   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1628   1628   
    let _result = dbg!(
 1629   1629   
        client
 1630   1630   
            .get_object()
 1631   1631   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1632   1632   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1633   1633   
            .send()
 1634   1634   
            .await
 1635   1635   
    );
 1636   1636   
    let req = rcvr.expect_request();
 1637   1637   
    let uri = req.uri().to_string();
 1638   1638   
    assert!(
 1639   1639   
        uri.starts_with("https://s3.amazonaws.com/bucket-name"),
 1640   1640   
        "expected URI to start with `https://s3.amazonaws.com/bucket-name` but it was `{}`",
 1641   1641   
        uri
 1642   1642   
    );
 1643   1643   
}
 1644   1644   
 1645   1645   
#[::tokio::test]
 1646   1646   
async fn operation_input_test_get_object_50() {
 1647   1647   
    /* documentation: ForcePathStyle, aws-global region with dualstack uses regional dualstack endpoint */
 1648   1648   
    /* builtIns: {
 1649   1649   
        "AWS::Region": "aws-global",
 1650   1650   
        "AWS::UseDualStack": true,
 1651   1651   
        "AWS::S3::ForcePathStyle": true
 1652   1652   
    } */
 1653   1653   
    /* clientParams: {} */
 1654         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1654  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1655   1655   
    let conf = {
 1656   1656   
        #[allow(unused_mut)]
 1657   1657   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1658   1658   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1659   1659   
        let builder = builder.use_dual_stack(true);
 1660   1660   
        let builder = builder.force_path_style(true);
 1661   1661   
        builder.build()
 1662   1662   
    };
 1663   1663   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1664   1664   
    let _result = dbg!(
 1665   1665   
        client
 1666   1666   
            .get_object()
 1667   1667   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1668   1668   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1669   1669   
            .send()
 1670   1670   
            .await
 1671   1671   
    );
 1672   1672   
    let req = rcvr.expect_request();
 1673   1673   
    let uri = req.uri().to_string();
 1674   1674   
    assert!(
 1675   1675   
        uri.starts_with("https://s3.dualstack.us-east-1.amazonaws.com/bucket-name"),
 1676   1676   
        "expected URI to start with `https://s3.dualstack.us-east-1.amazonaws.com/bucket-name` but it was `{}`",
 1677   1677   
        uri
 1678   1678   
    );
 1679   1679   
}
 1680   1680   
 1681   1681   
#[::tokio::test]
 1682   1682   
async fn operation_input_test_get_object_51() {
 1683   1683   
    /* documentation: ForcePathStyle, aws-global region custom endpoint uses the custom endpoint */
 1684   1684   
    /* builtIns: {
 1685   1685   
        "AWS::Region": "aws-global",
 1686   1686   
        "SDK::Endpoint": "https://example.com",
 1687   1687   
        "AWS::S3::ForcePathStyle": true
 1688   1688   
    } */
 1689   1689   
    /* clientParams: {} */
 1690         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1690  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1691   1691   
    let conf = {
 1692   1692   
        #[allow(unused_mut)]
 1693   1693   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1694   1694   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1695   1695   
        let builder = builder.endpoint_url("https://example.com");
 1696   1696   
        let builder = builder.force_path_style(true);
 1697   1697   
        builder.build()
 1698   1698   
    };
 1699   1699   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1700   1700   
    let _result = dbg!(
 1701   1701   
        client
 1702   1702   
            .get_object()
 1703   1703   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1704   1704   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1705   1705   
            .send()
 1706   1706   
            .await
 1707   1707   
    );
 1708   1708   
    let req = rcvr.expect_request();
 1709   1709   
    let uri = req.uri().to_string();
 1710   1710   
    assert!(
 1711   1711   
        uri.starts_with("https://example.com/bucket-name"),
 1712   1712   
        "expected URI to start with `https://example.com/bucket-name` but it was `{}`",
 1713   1713   
        uri
 1714   1714   
    );
 1715   1715   
}
 1716   1716   
 1717   1717   
#[::tokio::test]
 1718   1718   
async fn operation_input_test_get_object_52() {
 1719   1719   
    /* documentation: ARN with aws-global region and  UseArnRegion uses the regional endpoint */
 1720   1720   
    /* builtIns: {
 1721   1721   
        "AWS::Region": "aws-global",
 1722   1722   
        "AWS::S3::UseArnRegion": true
 1723   1723   
    } */
 1724   1724   
    /* clientParams: {} */
 1725         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1725  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1726   1726   
    let conf = {
 1727   1727   
        #[allow(unused_mut)]
 1728   1728   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1729   1729   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 1730   1730   
        let builder = builder.use_arn_region(true);
 1731   1731   
        builder.build()
 1732   1732   
    };
 1733   1733   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1734   1734   
    let _result = dbg!(
 1735   1735   
        client
 1736   1736   
            .get_object()
 1737   1737   
            .set_bucket(::std::option::Option::Some(
 1738   1738   
                "arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-01234567890123456/accesspoint/reports".to_owned()
 1739   1739   
            ))
 1740   1740   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1741   1741   
            .send()
 1742   1742   
            .await
 1743   1743   
    );
 1744   1744   
    let req = rcvr.expect_request();
 1745   1745   
    let uri = req.uri().to_string();
 1746   1746   
    assert!(
 1747   1747   
        uri.starts_with("https://reports-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com"),
 1748   1748   
        "expected URI to start with `https://reports-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com` but it was `{}`",
 1749   1749   
        uri
 1750   1750   
    );
 1751   1751   
}
 1752   1752   
 1753   1753   
#[::tokio::test]
 1754   1754   
async fn operation_input_test_get_object_53() {
 1755   1755   
    /* documentation: cross partition MRAP ARN is an error */
 1756   1756   
    /* builtIns: {
 1757   1757   
        "AWS::Region": "us-west-1"
 1758   1758   
    } */
 1759   1759   
    /* clientParams: {} */
 1760         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1760  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1761   1761   
    let conf = {
 1762   1762   
        #[allow(unused_mut)]
 1763   1763   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1764   1764   
        let builder = builder.region(::aws_types::region::Region::new("us-west-1"));
 1765   1765   
        builder.build()
 1766   1766   
    };
 1767   1767   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1768   1768   
    let _result = dbg!(
 1769   1769   
        client
 1770   1770   
            .get_object()
 1771   1771   
            .set_bucket(::std::option::Option::Some(
 1772   1772   
                "arn:aws-cn:s3::123456789012:accesspoint:mfzwi23gnjvgw.mrap".to_owned()
 1773   1773   
            ))
 1774   1774   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1775   1775   
            .send()
 1776   1776   
            .await
 1777   1777   
    );
 1778   1778   
    rcvr.expect_no_request();
 1779   1779   
    let error = _result.expect_err(
 1780   1780   
        "expected error: Client was configured for partition `aws` but bucket referred to partition `aws-cn` [cross partition MRAP ARN is an error]",
 1781   1781   
    );
 1782   1782   
    assert!(
 1783   1783   
        format!("{:?}", error).contains("Client was configured for partition `aws` but bucket referred to partition `aws-cn`"),
 1784   1784   
        "expected error to contain `Client was configured for partition `aws` but bucket referred to partition `aws-cn`` but it was {:?}",
 1785   1785   
        error
 1786   1786   
    );
 1787   1787   
}
 1788   1788   
 1789   1789   
#[::tokio::test]
 1790   1790   
async fn operation_input_test_get_object_54() {
 1791   1791   
    /* documentation: Endpoint override, accesspoint with HTTP, port */
 1792   1792   
    /* builtIns: {
 1793   1793   
        "AWS::Region": "us-west-2",
 1794   1794   
        "SDK::Endpoint": "http://beta.example.com:1234"
 1795   1795   
    } */
 1796   1796   
    /* clientParams: {} */
 1797         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1797  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1798   1798   
    let conf = {
 1799   1799   
        #[allow(unused_mut)]
 1800   1800   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1801   1801   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 1802   1802   
        let builder = builder.endpoint_url("http://beta.example.com:1234");
 1803   1803   
        builder.build()
 1804   1804   
    };
 1805   1805   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1806   1806   
    let _result = dbg!(
 1807   1807   
        client
 1808   1808   
            .get_object()
 1809   1809   
            .set_bucket(::std::option::Option::Some(
 1810   1810   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
 1811   1811   
            ))
 1812   1812   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1813   1813   
            .send()
 1814   1814   
            .await
 1815   1815   
    );
 1816   1816   
    let req = rcvr.expect_request();
 1817   1817   
    let uri = req.uri().to_string();
 1818   1818   
    assert!(
 1819   1819   
        uri.starts_with("http://myendpoint-123456789012.beta.example.com:1234"),
 1820   1820   
        "expected URI to start with `http://myendpoint-123456789012.beta.example.com:1234` but it was `{}`",
 1821   1821   
        uri
 1822   1822   
    );
 1823   1823   
}
 1824   1824   
 1825   1825   
#[::tokio::test]
 1826   1826   
async fn operation_input_test_get_object_55() {
 1827   1827   
    /* documentation: vanilla virtual addressing@us-west-2 */
 1828   1828   
    /* builtIns: {
 1829   1829   
        "AWS::Region": "us-west-2"
 1830   1830   
    } */
 1831   1831   
    /* clientParams: {} */
 1832         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1832  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1833   1833   
    let conf = {
 1834   1834   
        #[allow(unused_mut)]
 1835   1835   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1836   1836   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 1837   1837   
        builder.build()
 1838   1838   
    };
 1839   1839   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1840   1840   
    let _result = dbg!(
 1841   1841   
        client
 1842   1842   
            .get_object()
 1843   1843   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1844   1844   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1845   1845   
            .send()
 1846   1846   
            .await
 1847   1847   
    );
 1848   1848   
    let req = rcvr.expect_request();
 1849   1849   
    let uri = req.uri().to_string();
 1850   1850   
    assert!(
 1851   1851   
        uri.starts_with("https://bucket-name.s3.us-west-2.amazonaws.com"),
 1852   1852   
        "expected URI to start with `https://bucket-name.s3.us-west-2.amazonaws.com` but it was `{}`",
 1853   1853   
        uri
 1854   1854   
    );
 1855   1855   
}
 1856   1856   
 1857   1857   
#[::tokio::test]
 1858   1858   
async fn operation_input_test_get_object_56() {
 1859   1859   
    /* documentation: virtual addressing + dualstack@us-west-2 */
 1860   1860   
    /* builtIns: {
 1861   1861   
        "AWS::Region": "us-west-2",
 1862   1862   
        "AWS::UseDualStack": true
 1863   1863   
    } */
 1864   1864   
    /* clientParams: {} */
 1865         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1865  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1866   1866   
    let conf = {
 1867   1867   
        #[allow(unused_mut)]
 1868   1868   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1869   1869   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 1870   1870   
        let builder = builder.use_dual_stack(true);
 1871   1871   
        builder.build()
 1872   1872   
    };
 1873   1873   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1874   1874   
    let _result = dbg!(
 1875   1875   
        client
 1876   1876   
            .get_object()
 1877   1877   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1878   1878   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1879   1879   
            .send()
 1880   1880   
            .await
 1881   1881   
    );
 1882   1882   
    let req = rcvr.expect_request();
 1883   1883   
    let uri = req.uri().to_string();
 1884   1884   
    assert!(
 1885   1885   
        uri.starts_with("https://bucket-name.s3.dualstack.us-west-2.amazonaws.com"),
 1886   1886   
        "expected URI to start with `https://bucket-name.s3.dualstack.us-west-2.amazonaws.com` but it was `{}`",
 1887   1887   
        uri
 1888   1888   
    );
 1889   1889   
}
 1890   1890   
 1891   1891   
#[::tokio::test]
 1892   1892   
async fn operation_input_test_get_object_57() {
 1893   1893   
    /* documentation: accelerate + dualstack@us-west-2 */
 1894   1894   
    /* builtIns: {
 1895   1895   
        "AWS::Region": "us-west-2",
 1896   1896   
        "AWS::UseDualStack": true,
 1897   1897   
        "AWS::S3::Accelerate": true
 1898   1898   
    } */
 1899   1899   
    /* clientParams: {} */
 1900         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1900  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1901   1901   
    let conf = {
 1902   1902   
        #[allow(unused_mut)]
 1903   1903   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1904   1904   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 1905   1905   
        let builder = builder.use_dual_stack(true);
 1906   1906   
        let builder = builder.accelerate(true);
 1907   1907   
        builder.build()
 1908   1908   
    };
 1909   1909   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1910   1910   
    let _result = dbg!(
 1911   1911   
        client
 1912   1912   
            .get_object()
 1913   1913   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1914   1914   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1915   1915   
            .send()
 1916   1916   
            .await
 1917   1917   
    );
 1918   1918   
    let req = rcvr.expect_request();
 1919   1919   
    let uri = req.uri().to_string();
 1920   1920   
    assert!(
 1921   1921   
        uri.starts_with("https://bucket-name.s3-accelerate.dualstack.amazonaws.com"),
 1922   1922   
        "expected URI to start with `https://bucket-name.s3-accelerate.dualstack.amazonaws.com` but it was `{}`",
 1923   1923   
        uri
 1924   1924   
    );
 1925   1925   
}
 1926   1926   
 1927   1927   
#[::tokio::test]
 1928   1928   
async fn operation_input_test_get_object_58() {
 1929   1929   
    /* documentation: accelerate (dualstack=false)@us-west-2 */
 1930   1930   
    /* builtIns: {
 1931   1931   
        "AWS::Region": "us-west-2",
 1932   1932   
        "AWS::S3::Accelerate": true
 1933   1933   
    } */
 1934   1934   
    /* clientParams: {} */
 1935         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1935  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1936   1936   
    let conf = {
 1937   1937   
        #[allow(unused_mut)]
 1938   1938   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1939   1939   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 1940   1940   
        let builder = builder.accelerate(true);
 1941   1941   
        builder.build()
 1942   1942   
    };
 1943   1943   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1944   1944   
    let _result = dbg!(
 1945   1945   
        client
 1946   1946   
            .get_object()
 1947   1947   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1948   1948   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1949   1949   
            .send()
 1950   1950   
            .await
 1951   1951   
    );
 1952   1952   
    let req = rcvr.expect_request();
 1953   1953   
    let uri = req.uri().to_string();
 1954   1954   
    assert!(
 1955   1955   
        uri.starts_with("https://bucket-name.s3-accelerate.amazonaws.com"),
 1956   1956   
        "expected URI to start with `https://bucket-name.s3-accelerate.amazonaws.com` but it was `{}`",
 1957   1957   
        uri
 1958   1958   
    );
 1959   1959   
}
 1960   1960   
 1961   1961   
#[::tokio::test]
 1962   1962   
async fn operation_input_test_get_object_59() {
 1963   1963   
    /* documentation: virtual addressing + fips@us-west-2 */
 1964   1964   
    /* builtIns: {
 1965   1965   
        "AWS::Region": "us-west-2",
 1966   1966   
        "AWS::UseFIPS": true
 1967   1967   
    } */
 1968   1968   
    /* clientParams: {} */
 1969         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        1969  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 1970   1970   
    let conf = {
 1971   1971   
        #[allow(unused_mut)]
 1972   1972   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 1973   1973   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 1974   1974   
        let builder = builder.use_fips(true);
 1975   1975   
        builder.build()
 1976   1976   
    };
 1977   1977   
    let client = aws_sdk_s3::Client::from_conf(conf);
 1978   1978   
    let _result = dbg!(
 1979   1979   
        client
 1980   1980   
            .get_object()
 1981   1981   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 1982   1982   
            .set_key(::std::option::Option::Some("key".to_owned()))
 1983   1983   
            .send()
 1984   1984   
            .await
 1985   1985   
    );
 1986   1986   
    let req = rcvr.expect_request();
 1987   1987   
    let uri = req.uri().to_string();
 1988   1988   
    assert!(
 1989   1989   
        uri.starts_with("https://bucket-name.s3-fips.us-west-2.amazonaws.com"),
 1990   1990   
        "expected URI to start with `https://bucket-name.s3-fips.us-west-2.amazonaws.com` but it was `{}`",
 1991   1991   
        uri
 1992   1992   
    );
 1993   1993   
}
 1994   1994   
 1995   1995   
#[::tokio::test]
 1996   1996   
async fn operation_input_test_get_object_60() {
 1997   1997   
    /* documentation: virtual addressing + dualstack + fips@us-west-2 */
 1998   1998   
    /* builtIns: {
 1999   1999   
        "AWS::Region": "us-west-2",
 2000   2000   
        "AWS::UseFIPS": true,
 2001   2001   
        "AWS::UseDualStack": true
 2002   2002   
    } */
 2003   2003   
    /* clientParams: {} */
 2004         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2004  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2005   2005   
    let conf = {
 2006   2006   
        #[allow(unused_mut)]
 2007   2007   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2008   2008   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 2009   2009   
        let builder = builder.use_fips(true);
 2010   2010   
        let builder = builder.use_dual_stack(true);
 2011   2011   
        builder.build()
 2012   2012   
    };
 2013   2013   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2014   2014   
    let _result = dbg!(
 2015   2015   
        client
 2016   2016   
            .get_object()
 2017   2017   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2018   2018   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2019   2019   
            .send()
 2020   2020   
            .await
 2021   2021   
    );
 2022   2022   
    let req = rcvr.expect_request();
 2023   2023   
    let uri = req.uri().to_string();
 2024   2024   
    assert!(
 2025   2025   
        uri.starts_with("https://bucket-name.s3-fips.dualstack.us-west-2.amazonaws.com"),
 2026   2026   
        "expected URI to start with `https://bucket-name.s3-fips.dualstack.us-west-2.amazonaws.com` but it was `{}`",
 2027   2027   
        uri
 2028   2028   
    );
 2029   2029   
}
 2030   2030   
 2031   2031   
#[::tokio::test]
 2032   2032   
async fn operation_input_test_get_object_61() {
 2033   2033   
    /* documentation: accelerate + fips = error@us-west-2 */
 2034   2034   
    /* builtIns: {
 2035   2035   
        "AWS::Region": "us-west-2",
 2036   2036   
        "AWS::UseFIPS": true,
 2037   2037   
        "AWS::S3::Accelerate": true
 2038   2038   
    } */
 2039   2039   
    /* clientParams: {} */
 2040         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2040  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2041   2041   
    let conf = {
 2042   2042   
        #[allow(unused_mut)]
 2043   2043   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2044   2044   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 2045   2045   
        let builder = builder.use_fips(true);
 2046   2046   
        let builder = builder.accelerate(true);
 2047   2047   
        builder.build()
 2048   2048   
    };
 2049   2049   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2050   2050   
    let _result = dbg!(
 2051   2051   
        client
 2052   2052   
            .get_object()
 2053   2053   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2054   2054   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2055   2055   
            .send()
 2056   2056   
            .await
 2057   2057   
    );
 2058   2058   
    rcvr.expect_no_request();
 2059   2059   
    let error = _result.expect_err("expected error: Accelerate cannot be used with FIPS [accelerate + fips = error@us-west-2]");
 2060   2060   
    assert!(
 2061   2061   
        format!("{:?}", error).contains("Accelerate cannot be used with FIPS"),
 2062   2062   
        "expected error to contain `Accelerate cannot be used with FIPS` but it was {:?}",
 2063   2063   
        error
 2064   2064   
    );
 2065   2065   
}
 2066   2066   
 2067   2067   
#[::tokio::test]
 2068   2068   
async fn operation_input_test_get_object_62() {
 2069   2069   
    /* documentation: vanilla virtual addressing@cn-north-1 */
 2070   2070   
    /* builtIns: {
 2071   2071   
        "AWS::Region": "cn-north-1"
 2072   2072   
    } */
 2073   2073   
    /* clientParams: {} */
 2074         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2074  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2075   2075   
    let conf = {
 2076   2076   
        #[allow(unused_mut)]
 2077   2077   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2078   2078   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 2079   2079   
        builder.build()
 2080   2080   
    };
 2081   2081   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2082   2082   
    let _result = dbg!(
 2083   2083   
        client
 2084   2084   
            .get_object()
 2085   2085   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2086   2086   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2087   2087   
            .send()
 2088   2088   
            .await
 2089   2089   
    );
 2090   2090   
    let req = rcvr.expect_request();
 2091   2091   
    let uri = req.uri().to_string();
 2092   2092   
    assert!(
 2093   2093   
        uri.starts_with("https://bucket-name.s3.cn-north-1.amazonaws.com.cn"),
 2094   2094   
        "expected URI to start with `https://bucket-name.s3.cn-north-1.amazonaws.com.cn` but it was `{}`",
 2095   2095   
        uri
 2096   2096   
    );
 2097   2097   
}
 2098   2098   
 2099   2099   
#[::tokio::test]
 2100   2100   
async fn operation_input_test_get_object_63() {
 2101   2101   
    /* documentation: virtual addressing + dualstack@cn-north-1 */
 2102   2102   
    /* builtIns: {
 2103   2103   
        "AWS::Region": "cn-north-1",
 2104   2104   
        "AWS::UseDualStack": true
 2105   2105   
    } */
 2106   2106   
    /* clientParams: {} */
 2107         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2107  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2108   2108   
    let conf = {
 2109   2109   
        #[allow(unused_mut)]
 2110   2110   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2111   2111   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 2112   2112   
        let builder = builder.use_dual_stack(true);
 2113   2113   
        builder.build()
 2114   2114   
    };
 2115   2115   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2116   2116   
    let _result = dbg!(
 2117   2117   
        client
 2118   2118   
            .get_object()
 2119   2119   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2120   2120   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2121   2121   
            .send()
 2122   2122   
            .await
 2123   2123   
    );
 2124   2124   
    let req = rcvr.expect_request();
 2125   2125   
    let uri = req.uri().to_string();
 2126   2126   
    assert!(
 2127   2127   
        uri.starts_with("https://bucket-name.s3.dualstack.cn-north-1.amazonaws.com.cn"),
 2128   2128   
        "expected URI to start with `https://bucket-name.s3.dualstack.cn-north-1.amazonaws.com.cn` but it was `{}`",
 2129   2129   
        uri
 2130   2130   
    );
 2131   2131   
}
 2132   2132   
 2133   2133   
#[::tokio::test]
 2134   2134   
async fn operation_input_test_get_object_64() {
 2135   2135   
    /* documentation: vanilla virtual addressing@af-south-1 */
 2136   2136   
    /* builtIns: {
 2137   2137   
        "AWS::Region": "af-south-1"
 2138   2138   
    } */
 2139   2139   
    /* clientParams: {} */
 2140         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2140  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2141   2141   
    let conf = {
 2142   2142   
        #[allow(unused_mut)]
 2143   2143   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2144   2144   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2145   2145   
        builder.build()
 2146   2146   
    };
 2147   2147   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2148   2148   
    let _result = dbg!(
 2149   2149   
        client
 2150   2150   
            .get_object()
 2151   2151   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2152   2152   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2153   2153   
            .send()
 2154   2154   
            .await
 2155   2155   
    );
 2156   2156   
    let req = rcvr.expect_request();
 2157   2157   
    let uri = req.uri().to_string();
 2158   2158   
    assert!(
 2159   2159   
        uri.starts_with("https://bucket-name.s3.af-south-1.amazonaws.com"),
 2160   2160   
        "expected URI to start with `https://bucket-name.s3.af-south-1.amazonaws.com` but it was `{}`",
 2161   2161   
        uri
 2162   2162   
    );
 2163   2163   
}
 2164   2164   
 2165   2165   
#[::tokio::test]
 2166   2166   
async fn operation_input_test_get_object_65() {
 2167   2167   
    /* documentation: virtual addressing + dualstack@af-south-1 */
 2168   2168   
    /* builtIns: {
 2169   2169   
        "AWS::Region": "af-south-1",
 2170   2170   
        "AWS::UseDualStack": true
 2171   2171   
    } */
 2172   2172   
    /* clientParams: {} */
 2173         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2173  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2174   2174   
    let conf = {
 2175   2175   
        #[allow(unused_mut)]
 2176   2176   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2177   2177   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2178   2178   
        let builder = builder.use_dual_stack(true);
 2179   2179   
        builder.build()
 2180   2180   
    };
 2181   2181   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2182   2182   
    let _result = dbg!(
 2183   2183   
        client
 2184   2184   
            .get_object()
 2185   2185   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2186   2186   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2187   2187   
            .send()
 2188   2188   
            .await
 2189   2189   
    );
 2190   2190   
    let req = rcvr.expect_request();
 2191   2191   
    let uri = req.uri().to_string();
 2192   2192   
    assert!(
 2193   2193   
        uri.starts_with("https://bucket-name.s3.dualstack.af-south-1.amazonaws.com"),
 2194   2194   
        "expected URI to start with `https://bucket-name.s3.dualstack.af-south-1.amazonaws.com` but it was `{}`",
 2195   2195   
        uri
 2196   2196   
    );
 2197   2197   
}
 2198   2198   
 2199   2199   
#[::tokio::test]
 2200   2200   
async fn operation_input_test_get_object_66() {
 2201   2201   
    /* documentation: accelerate + dualstack@af-south-1 */
 2202   2202   
    /* builtIns: {
 2203   2203   
        "AWS::Region": "af-south-1",
 2204   2204   
        "AWS::UseDualStack": true,
 2205   2205   
        "AWS::S3::Accelerate": true
 2206   2206   
    } */
 2207   2207   
    /* clientParams: {} */
 2208         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2208  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2209   2209   
    let conf = {
 2210   2210   
        #[allow(unused_mut)]
 2211   2211   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2212   2212   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2213   2213   
        let builder = builder.use_dual_stack(true);
 2214   2214   
        let builder = builder.accelerate(true);
 2215   2215   
        builder.build()
 2216   2216   
    };
 2217   2217   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2218   2218   
    let _result = dbg!(
 2219   2219   
        client
 2220   2220   
            .get_object()
 2221   2221   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2222   2222   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2223   2223   
            .send()
 2224   2224   
            .await
 2225   2225   
    );
 2226   2226   
    let req = rcvr.expect_request();
 2227   2227   
    let uri = req.uri().to_string();
 2228   2228   
    assert!(
 2229   2229   
        uri.starts_with("https://bucket-name.s3-accelerate.dualstack.amazonaws.com"),
 2230   2230   
        "expected URI to start with `https://bucket-name.s3-accelerate.dualstack.amazonaws.com` but it was `{}`",
 2231   2231   
        uri
 2232   2232   
    );
 2233   2233   
}
 2234   2234   
 2235   2235   
#[::tokio::test]
 2236   2236   
async fn operation_input_test_get_object_67() {
 2237   2237   
    /* documentation: accelerate (dualstack=false)@af-south-1 */
 2238   2238   
    /* builtIns: {
 2239   2239   
        "AWS::Region": "af-south-1",
 2240   2240   
        "AWS::S3::Accelerate": true
 2241   2241   
    } */
 2242   2242   
    /* clientParams: {} */
 2243         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2243  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2244   2244   
    let conf = {
 2245   2245   
        #[allow(unused_mut)]
 2246   2246   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2247   2247   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2248   2248   
        let builder = builder.accelerate(true);
 2249   2249   
        builder.build()
 2250   2250   
    };
 2251   2251   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2252   2252   
    let _result = dbg!(
 2253   2253   
        client
 2254   2254   
            .get_object()
 2255   2255   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2256   2256   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2257   2257   
            .send()
 2258   2258   
            .await
 2259   2259   
    );
 2260   2260   
    let req = rcvr.expect_request();
 2261   2261   
    let uri = req.uri().to_string();
 2262   2262   
    assert!(
 2263   2263   
        uri.starts_with("https://bucket-name.s3-accelerate.amazonaws.com"),
 2264   2264   
        "expected URI to start with `https://bucket-name.s3-accelerate.amazonaws.com` but it was `{}`",
 2265   2265   
        uri
 2266   2266   
    );
 2267   2267   
}
 2268   2268   
 2269   2269   
#[::tokio::test]
 2270   2270   
async fn operation_input_test_get_object_68() {
 2271   2271   
    /* documentation: virtual addressing + fips@af-south-1 */
 2272   2272   
    /* builtIns: {
 2273   2273   
        "AWS::Region": "af-south-1",
 2274   2274   
        "AWS::UseFIPS": true
 2275   2275   
    } */
 2276   2276   
    /* clientParams: {} */
 2277         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2277  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2278   2278   
    let conf = {
 2279   2279   
        #[allow(unused_mut)]
 2280   2280   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2281   2281   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2282   2282   
        let builder = builder.use_fips(true);
 2283   2283   
        builder.build()
 2284   2284   
    };
 2285   2285   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2286   2286   
    let _result = dbg!(
 2287   2287   
        client
 2288   2288   
            .get_object()
 2289   2289   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2290   2290   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2291   2291   
            .send()
 2292   2292   
            .await
 2293   2293   
    );
 2294   2294   
    let req = rcvr.expect_request();
 2295   2295   
    let uri = req.uri().to_string();
 2296   2296   
    assert!(
 2297   2297   
        uri.starts_with("https://bucket-name.s3-fips.af-south-1.amazonaws.com"),
 2298   2298   
        "expected URI to start with `https://bucket-name.s3-fips.af-south-1.amazonaws.com` but it was `{}`",
 2299   2299   
        uri
 2300   2300   
    );
 2301   2301   
}
 2302   2302   
 2303   2303   
#[::tokio::test]
 2304   2304   
async fn operation_input_test_get_object_69() {
 2305   2305   
    /* documentation: virtual addressing + dualstack + fips@af-south-1 */
 2306   2306   
    /* builtIns: {
 2307   2307   
        "AWS::Region": "af-south-1",
 2308   2308   
        "AWS::UseFIPS": true,
 2309   2309   
        "AWS::UseDualStack": true
 2310   2310   
    } */
 2311   2311   
    /* clientParams: {} */
 2312         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2312  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2313   2313   
    let conf = {
 2314   2314   
        #[allow(unused_mut)]
 2315   2315   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2316   2316   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2317   2317   
        let builder = builder.use_fips(true);
 2318   2318   
        let builder = builder.use_dual_stack(true);
 2319   2319   
        builder.build()
 2320   2320   
    };
 2321   2321   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2322   2322   
    let _result = dbg!(
 2323   2323   
        client
 2324   2324   
            .get_object()
 2325   2325   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2326   2326   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2327   2327   
            .send()
 2328   2328   
            .await
 2329   2329   
    );
 2330   2330   
    let req = rcvr.expect_request();
 2331   2331   
    let uri = req.uri().to_string();
 2332   2332   
    assert!(
 2333   2333   
        uri.starts_with("https://bucket-name.s3-fips.dualstack.af-south-1.amazonaws.com"),
 2334   2334   
        "expected URI to start with `https://bucket-name.s3-fips.dualstack.af-south-1.amazonaws.com` but it was `{}`",
 2335   2335   
        uri
 2336   2336   
    );
 2337   2337   
}
 2338   2338   
 2339   2339   
#[::tokio::test]
 2340   2340   
async fn operation_input_test_get_object_70() {
 2341   2341   
    /* documentation: accelerate + fips = error@af-south-1 */
 2342   2342   
    /* builtIns: {
 2343   2343   
        "AWS::Region": "af-south-1",
 2344   2344   
        "AWS::UseFIPS": true,
 2345   2345   
        "AWS::S3::Accelerate": true
 2346   2346   
    } */
 2347   2347   
    /* clientParams: {} */
 2348         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2348  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2349   2349   
    let conf = {
 2350   2350   
        #[allow(unused_mut)]
 2351   2351   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2352   2352   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2353   2353   
        let builder = builder.use_fips(true);
 2354   2354   
        let builder = builder.accelerate(true);
 2355   2355   
        builder.build()
 2356   2356   
    };
 2357   2357   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2358   2358   
    let _result = dbg!(
 2359   2359   
        client
 2360   2360   
            .get_object()
 2361   2361   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2362   2362   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2363   2363   
            .send()
 2364   2364   
            .await
 2365   2365   
    );
 2366   2366   
    rcvr.expect_no_request();
 2367   2367   
    let error = _result.expect_err("expected error: Accelerate cannot be used with FIPS [accelerate + fips = error@af-south-1]");
 2368   2368   
    assert!(
 2369   2369   
        format!("{:?}", error).contains("Accelerate cannot be used with FIPS"),
 2370   2370   
        "expected error to contain `Accelerate cannot be used with FIPS` but it was {:?}",
 2371   2371   
        error
 2372   2372   
    );
 2373   2373   
}
 2374   2374   
 2375   2375   
#[::tokio::test]
 2376   2376   
async fn operation_input_test_get_object_71() {
 2377   2377   
    /* documentation: vanilla path style@us-west-2 */
 2378   2378   
    /* builtIns: {
 2379   2379   
        "AWS::Region": "us-west-2",
 2380   2380   
        "AWS::S3::ForcePathStyle": true
 2381   2381   
    } */
 2382   2382   
    /* clientParams: {} */
 2383         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2383  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2384   2384   
    let conf = {
 2385   2385   
        #[allow(unused_mut)]
 2386   2386   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2387   2387   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 2388   2388   
        let builder = builder.force_path_style(true);
 2389   2389   
        builder.build()
 2390   2390   
    };
 2391   2391   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2392   2392   
    let _result = dbg!(
 2393   2393   
        client
 2394   2394   
            .get_object()
 2395   2395   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2396   2396   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2397   2397   
            .send()
 2398   2398   
            .await
 2399   2399   
    );
 2400   2400   
    let req = rcvr.expect_request();
 2401   2401   
    let uri = req.uri().to_string();
 2402   2402   
    assert!(
 2403   2403   
        uri.starts_with("https://s3.us-west-2.amazonaws.com/bucket-name"),
 2404   2404   
        "expected URI to start with `https://s3.us-west-2.amazonaws.com/bucket-name` but it was `{}`",
 2405   2405   
        uri
 2406   2406   
    );
 2407   2407   
}
 2408   2408   
 2409   2409   
#[::tokio::test]
 2410   2410   
async fn operation_input_test_get_object_72() {
 2411   2411   
    /* documentation: fips@us-gov-west-2, bucket is not S3-dns-compatible (subdomains) */
 2412   2412   
    /* builtIns: {
 2413   2413   
        "AWS::Region": "us-gov-west-1",
 2414   2414   
        "AWS::UseFIPS": true,
 2415   2415   
        "AWS::S3::ForcePathStyle": true
 2416   2416   
    } */
 2417   2417   
    /* clientParams: {} */
 2418         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2418  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2419   2419   
    let conf = {
 2420   2420   
        #[allow(unused_mut)]
 2421   2421   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2422   2422   
        let builder = builder.region(::aws_types::region::Region::new("us-gov-west-1"));
 2423   2423   
        let builder = builder.use_fips(true);
 2424   2424   
        let builder = builder.force_path_style(true);
 2425   2425   
        builder.build()
 2426   2426   
    };
 2427   2427   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2428   2428   
    let _result = dbg!(
 2429   2429   
        client
 2430   2430   
            .get_object()
 2431   2431   
            .set_bucket(::std::option::Option::Some("bucket.with.dots".to_owned()))
 2432   2432   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2433   2433   
            .send()
 2434   2434   
            .await
 2435   2435   
    );
 2436   2436   
    let req = rcvr.expect_request();
 2437   2437   
    let uri = req.uri().to_string();
 2438   2438   
    assert!(
 2439   2439   
        uri.starts_with("https://s3-fips.us-gov-west-1.amazonaws.com/bucket.with.dots"),
 2440   2440   
        "expected URI to start with `https://s3-fips.us-gov-west-1.amazonaws.com/bucket.with.dots` but it was `{}`",
 2441   2441   
        uri
 2442   2442   
    );
 2443   2443   
}
 2444   2444   
 2445   2445   
#[::tokio::test]
 2446   2446   
async fn operation_input_test_get_object_73() {
 2447   2447   
    /* documentation: path style + accelerate = error@us-west-2 */
 2448   2448   
    /* builtIns: {
 2449   2449   
        "AWS::Region": "us-west-2",
 2450   2450   
        "AWS::S3::ForcePathStyle": true,
 2451   2451   
        "AWS::S3::Accelerate": true
 2452   2452   
    } */
 2453   2453   
    /* clientParams: {} */
 2454         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2454  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2455   2455   
    let conf = {
 2456   2456   
        #[allow(unused_mut)]
 2457   2457   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2458   2458   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 2459   2459   
        let builder = builder.force_path_style(true);
 2460   2460   
        let builder = builder.accelerate(true);
 2461   2461   
        builder.build()
 2462   2462   
    };
 2463   2463   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2464   2464   
    let _result = dbg!(
 2465   2465   
        client
 2466   2466   
            .get_object()
 2467   2467   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2468   2468   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2469   2469   
            .send()
 2470   2470   
            .await
 2471   2471   
    );
 2472   2472   
    rcvr.expect_no_request();
 2473   2473   
    let error =
 2474   2474   
        _result.expect_err("expected error: Path-style addressing cannot be used with S3 Accelerate [path style + accelerate = error@us-west-2]");
 2475   2475   
    assert!(
 2476   2476   
        format!("{:?}", error).contains("Path-style addressing cannot be used with S3 Accelerate"),
 2477   2477   
        "expected error to contain `Path-style addressing cannot be used with S3 Accelerate` but it was {:?}",
 2478   2478   
        error
 2479   2479   
    );
 2480   2480   
}
 2481   2481   
 2482   2482   
#[::tokio::test]
 2483   2483   
async fn operation_input_test_get_object_74() {
 2484   2484   
    /* documentation: path style + dualstack@us-west-2 */
 2485   2485   
    /* builtIns: {
 2486   2486   
        "AWS::Region": "us-west-2",
 2487   2487   
        "AWS::UseDualStack": true,
 2488   2488   
        "AWS::S3::ForcePathStyle": true
 2489   2489   
    } */
 2490   2490   
    /* clientParams: {} */
 2491         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2491  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2492   2492   
    let conf = {
 2493   2493   
        #[allow(unused_mut)]
 2494   2494   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2495   2495   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 2496   2496   
        let builder = builder.use_dual_stack(true);
 2497   2497   
        let builder = builder.force_path_style(true);
 2498   2498   
        builder.build()
 2499   2499   
    };
 2500   2500   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2501   2501   
    let _result = dbg!(
 2502   2502   
        client
 2503   2503   
            .get_object()
 2504   2504   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2505   2505   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2506   2506   
            .send()
 2507   2507   
            .await
 2508   2508   
    );
 2509   2509   
    let req = rcvr.expect_request();
 2510   2510   
    let uri = req.uri().to_string();
 2511   2511   
    assert!(
 2512   2512   
        uri.starts_with("https://s3.dualstack.us-west-2.amazonaws.com/bucket-name"),
 2513   2513   
        "expected URI to start with `https://s3.dualstack.us-west-2.amazonaws.com/bucket-name` but it was `{}`",
 2514   2514   
        uri
 2515   2515   
    );
 2516   2516   
}
 2517   2517   
 2518   2518   
#[::tokio::test]
 2519   2519   
async fn operation_input_test_get_object_75() {
 2520   2520   
    /* documentation: path style + arn is error@us-west-2 */
 2521   2521   
    /* builtIns: {
 2522   2522   
        "AWS::Region": "us-west-2",
 2523   2523   
        "AWS::S3::ForcePathStyle": true
 2524   2524   
    } */
 2525   2525   
    /* clientParams: {} */
 2526         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2526  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2527   2527   
    let conf = {
 2528   2528   
        #[allow(unused_mut)]
 2529   2529   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2530   2530   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 2531   2531   
        let builder = builder.force_path_style(true);
 2532   2532   
        builder.build()
 2533   2533   
    };
 2534   2534   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2535   2535   
    let _result = dbg!(
 2536   2536   
        client
 2537   2537   
            .get_object()
 2538   2538   
            .set_bucket(::std::option::Option::Some(
 2539   2539   
                "arn:PARTITION:s3-outposts:REGION:123456789012:outpost:op-01234567890123456:bucket:mybucket".to_owned()
 2540   2540   
            ))
 2541   2541   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2542   2542   
            .send()
 2543   2543   
            .await
 2544   2544   
    );
 2545   2545   
    rcvr.expect_no_request();
 2546   2546   
    let error = _result.expect_err("expected error: Path-style addressing cannot be used with ARN buckets [path style + arn is error@us-west-2]");
 2547   2547   
    assert!(
 2548   2548   
        format!("{:?}", error).contains("Path-style addressing cannot be used with ARN buckets"),
 2549   2549   
        "expected error to contain `Path-style addressing cannot be used with ARN buckets` but it was {:?}",
 2550   2550   
        error
 2551   2551   
    );
 2552   2552   
}
 2553   2553   
 2554   2554   
#[::tokio::test]
 2555   2555   
async fn operation_input_test_get_object_76() {
 2556   2556   
    /* documentation: path style + invalid DNS name@us-west-2 */
 2557   2557   
    /* builtIns: {
 2558   2558   
        "AWS::Region": "us-west-2",
 2559   2559   
        "AWS::S3::ForcePathStyle": true
 2560   2560   
    } */
 2561   2561   
    /* clientParams: {} */
 2562         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2562  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2563   2563   
    let conf = {
 2564   2564   
        #[allow(unused_mut)]
 2565   2565   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2566   2566   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 2567   2567   
        let builder = builder.force_path_style(true);
 2568   2568   
        builder.build()
 2569   2569   
    };
 2570   2570   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2571   2571   
    let _result = dbg!(
 2572   2572   
        client
 2573   2573   
            .get_object()
 2574   2574   
            .set_bucket(::std::option::Option::Some("99a_b".to_owned()))
 2575   2575   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2576   2576   
            .send()
 2577   2577   
            .await
 2578   2578   
    );
 2579   2579   
    let req = rcvr.expect_request();
 2580   2580   
    let uri = req.uri().to_string();
 2581   2581   
    assert!(
 2582   2582   
        uri.starts_with("https://s3.us-west-2.amazonaws.com/99a_b"),
 2583   2583   
        "expected URI to start with `https://s3.us-west-2.amazonaws.com/99a_b` but it was `{}`",
 2584   2584   
        uri
 2585   2585   
    );
 2586   2586   
}
 2587   2587   
 2588   2588   
#[::tokio::test]
 2589   2589   
async fn operation_input_test_get_object_77() {
 2590   2590   
    /* documentation: no path style + invalid DNS name@us-west-2 */
 2591   2591   
    /* builtIns: {
 2592   2592   
        "AWS::Region": "us-west-2"
 2593   2593   
    } */
 2594   2594   
    /* clientParams: {} */
 2595         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2595  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2596   2596   
    let conf = {
 2597   2597   
        #[allow(unused_mut)]
 2598   2598   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2599   2599   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 2600   2600   
        builder.build()
 2601   2601   
    };
 2602   2602   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2603   2603   
    let _result = dbg!(
 2604   2604   
        client
 2605   2605   
            .get_object()
 2606   2606   
            .set_bucket(::std::option::Option::Some("99a_b".to_owned()))
 2607   2607   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2608   2608   
            .send()
 2609   2609   
            .await
 2610   2610   
    );
 2611   2611   
    let req = rcvr.expect_request();
 2612   2612   
    let uri = req.uri().to_string();
 2613   2613   
    assert!(
 2614   2614   
        uri.starts_with("https://s3.us-west-2.amazonaws.com/99a_b"),
 2615   2615   
        "expected URI to start with `https://s3.us-west-2.amazonaws.com/99a_b` but it was `{}`",
 2616   2616   
        uri
 2617   2617   
    );
 2618   2618   
}
 2619   2619   
 2620   2620   
#[::tokio::test]
 2621   2621   
async fn operation_input_test_get_object_78() {
 2622   2622   
    /* documentation: vanilla path style@cn-north-1 */
 2623   2623   
    /* builtIns: {
 2624   2624   
        "AWS::Region": "cn-north-1",
 2625   2625   
        "AWS::S3::ForcePathStyle": true
 2626   2626   
    } */
 2627   2627   
    /* clientParams: {} */
 2628         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2628  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2629   2629   
    let conf = {
 2630   2630   
        #[allow(unused_mut)]
 2631   2631   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2632   2632   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 2633   2633   
        let builder = builder.force_path_style(true);
 2634   2634   
        builder.build()
 2635   2635   
    };
 2636   2636   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2637   2637   
    let _result = dbg!(
 2638   2638   
        client
 2639   2639   
            .get_object()
 2640   2640   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2641   2641   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2642   2642   
            .send()
 2643   2643   
            .await
 2644   2644   
    );
 2645   2645   
    let req = rcvr.expect_request();
 2646   2646   
    let uri = req.uri().to_string();
 2647   2647   
    assert!(
 2648   2648   
        uri.starts_with("https://s3.cn-north-1.amazonaws.com.cn/bucket-name"),
 2649   2649   
        "expected URI to start with `https://s3.cn-north-1.amazonaws.com.cn/bucket-name` but it was `{}`",
 2650   2650   
        uri
 2651   2651   
    );
 2652   2652   
}
 2653   2653   
 2654   2654   
#[::tokio::test]
 2655   2655   
async fn operation_input_test_get_object_79() {
 2656   2656   
    /* documentation: path style + fips@cn-north-1 */
 2657   2657   
    /* builtIns: {
 2658   2658   
        "AWS::Region": "cn-north-1",
 2659   2659   
        "AWS::UseFIPS": true,
 2660   2660   
        "AWS::S3::ForcePathStyle": true
 2661   2661   
    } */
 2662   2662   
    /* clientParams: {} */
 2663         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2663  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2664   2664   
    let conf = {
 2665   2665   
        #[allow(unused_mut)]
 2666   2666   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2667   2667   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 2668   2668   
        let builder = builder.use_fips(true);
 2669   2669   
        let builder = builder.force_path_style(true);
 2670   2670   
        builder.build()
 2671   2671   
    };
 2672   2672   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2673   2673   
    let _result = dbg!(
 2674   2674   
        client
 2675   2675   
            .get_object()
 2676   2676   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2677   2677   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2678   2678   
            .send()
 2679   2679   
            .await
 2680   2680   
    );
 2681   2681   
    rcvr.expect_no_request();
 2682   2682   
    let error = _result.expect_err("expected error: Partition does not support FIPS [path style + fips@cn-north-1]");
 2683   2683   
    assert!(
 2684   2684   
        format!("{:?}", error).contains("Partition does not support FIPS"),
 2685   2685   
        "expected error to contain `Partition does not support FIPS` but it was {:?}",
 2686   2686   
        error
 2687   2687   
    );
 2688   2688   
}
 2689   2689   
 2690   2690   
#[::tokio::test]
 2691   2691   
async fn operation_input_test_get_object_80() {
 2692   2692   
    /* documentation: path style + accelerate = error@cn-north-1 */
 2693   2693   
    /* builtIns: {
 2694   2694   
        "AWS::Region": "cn-north-1",
 2695   2695   
        "AWS::S3::ForcePathStyle": true,
 2696   2696   
        "AWS::S3::Accelerate": true
 2697   2697   
    } */
 2698   2698   
    /* clientParams: {} */
 2699         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2699  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2700   2700   
    let conf = {
 2701   2701   
        #[allow(unused_mut)]
 2702   2702   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2703   2703   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 2704   2704   
        let builder = builder.force_path_style(true);
 2705   2705   
        let builder = builder.accelerate(true);
 2706   2706   
        builder.build()
 2707   2707   
    };
 2708   2708   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2709   2709   
    let _result = dbg!(
 2710   2710   
        client
 2711   2711   
            .get_object()
 2712   2712   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2713   2713   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2714   2714   
            .send()
 2715   2715   
            .await
 2716   2716   
    );
 2717   2717   
    rcvr.expect_no_request();
 2718   2718   
    let error =
 2719   2719   
        _result.expect_err("expected error: Path-style addressing cannot be used with S3 Accelerate [path style + accelerate = error@cn-north-1]");
 2720   2720   
    assert!(
 2721   2721   
        format!("{:?}", error).contains("Path-style addressing cannot be used with S3 Accelerate"),
 2722   2722   
        "expected error to contain `Path-style addressing cannot be used with S3 Accelerate` but it was {:?}",
 2723   2723   
        error
 2724   2724   
    );
 2725   2725   
}
 2726   2726   
 2727   2727   
#[::tokio::test]
 2728   2728   
async fn operation_input_test_get_object_81() {
 2729   2729   
    /* documentation: path style + dualstack@cn-north-1 */
 2730   2730   
    /* builtIns: {
 2731   2731   
        "AWS::Region": "cn-north-1",
 2732   2732   
        "AWS::UseDualStack": true,
 2733   2733   
        "AWS::S3::ForcePathStyle": true
 2734   2734   
    } */
 2735   2735   
    /* clientParams: {} */
 2736         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2736  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2737   2737   
    let conf = {
 2738   2738   
        #[allow(unused_mut)]
 2739   2739   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2740   2740   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 2741   2741   
        let builder = builder.use_dual_stack(true);
 2742   2742   
        let builder = builder.force_path_style(true);
 2743   2743   
        builder.build()
 2744   2744   
    };
 2745   2745   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2746   2746   
    let _result = dbg!(
 2747   2747   
        client
 2748   2748   
            .get_object()
 2749   2749   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2750   2750   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2751   2751   
            .send()
 2752   2752   
            .await
 2753   2753   
    );
 2754   2754   
    let req = rcvr.expect_request();
 2755   2755   
    let uri = req.uri().to_string();
 2756   2756   
    assert!(
 2757   2757   
        uri.starts_with("https://s3.dualstack.cn-north-1.amazonaws.com.cn/bucket-name"),
 2758   2758   
        "expected URI to start with `https://s3.dualstack.cn-north-1.amazonaws.com.cn/bucket-name` but it was `{}`",
 2759   2759   
        uri
 2760   2760   
    );
 2761   2761   
}
 2762   2762   
 2763   2763   
#[::tokio::test]
 2764   2764   
async fn operation_input_test_get_object_82() {
 2765   2765   
    /* documentation: path style + arn is error@cn-north-1 */
 2766   2766   
    /* builtIns: {
 2767   2767   
        "AWS::Region": "cn-north-1",
 2768   2768   
        "AWS::S3::ForcePathStyle": true
 2769   2769   
    } */
 2770   2770   
    /* clientParams: {} */
 2771         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2771  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2772   2772   
    let conf = {
 2773   2773   
        #[allow(unused_mut)]
 2774   2774   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2775   2775   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 2776   2776   
        let builder = builder.force_path_style(true);
 2777   2777   
        builder.build()
 2778   2778   
    };
 2779   2779   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2780   2780   
    let _result = dbg!(
 2781   2781   
        client
 2782   2782   
            .get_object()
 2783   2783   
            .set_bucket(::std::option::Option::Some(
 2784   2784   
                "arn:PARTITION:s3-outposts:REGION:123456789012:outpost:op-01234567890123456:bucket:mybucket".to_owned()
 2785   2785   
            ))
 2786   2786   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2787   2787   
            .send()
 2788   2788   
            .await
 2789   2789   
    );
 2790   2790   
    rcvr.expect_no_request();
 2791   2791   
    let error = _result.expect_err("expected error: Path-style addressing cannot be used with ARN buckets [path style + arn is error@cn-north-1]");
 2792   2792   
    assert!(
 2793   2793   
        format!("{:?}", error).contains("Path-style addressing cannot be used with ARN buckets"),
 2794   2794   
        "expected error to contain `Path-style addressing cannot be used with ARN buckets` but it was {:?}",
 2795   2795   
        error
 2796   2796   
    );
 2797   2797   
}
 2798   2798   
 2799   2799   
#[::tokio::test]
 2800   2800   
async fn operation_input_test_get_object_83() {
 2801   2801   
    /* documentation: path style + invalid DNS name@cn-north-1 */
 2802   2802   
    /* builtIns: {
 2803   2803   
        "AWS::Region": "cn-north-1",
 2804   2804   
        "AWS::S3::ForcePathStyle": true
 2805   2805   
    } */
 2806   2806   
    /* clientParams: {} */
 2807         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2807  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2808   2808   
    let conf = {
 2809   2809   
        #[allow(unused_mut)]
 2810   2810   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2811   2811   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 2812   2812   
        let builder = builder.force_path_style(true);
 2813   2813   
        builder.build()
 2814   2814   
    };
 2815   2815   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2816   2816   
    let _result = dbg!(
 2817   2817   
        client
 2818   2818   
            .get_object()
 2819   2819   
            .set_bucket(::std::option::Option::Some("99a_b".to_owned()))
 2820   2820   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2821   2821   
            .send()
 2822   2822   
            .await
 2823   2823   
    );
 2824   2824   
    let req = rcvr.expect_request();
 2825   2825   
    let uri = req.uri().to_string();
 2826   2826   
    assert!(
 2827   2827   
        uri.starts_with("https://s3.cn-north-1.amazonaws.com.cn/99a_b"),
 2828   2828   
        "expected URI to start with `https://s3.cn-north-1.amazonaws.com.cn/99a_b` but it was `{}`",
 2829   2829   
        uri
 2830   2830   
    );
 2831   2831   
}
 2832   2832   
 2833   2833   
#[::tokio::test]
 2834   2834   
async fn operation_input_test_get_object_84() {
 2835   2835   
    /* documentation: no path style + invalid DNS name@cn-north-1 */
 2836   2836   
    /* builtIns: {
 2837   2837   
        "AWS::Region": "cn-north-1"
 2838   2838   
    } */
 2839   2839   
    /* clientParams: {} */
 2840         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2840  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2841   2841   
    let conf = {
 2842   2842   
        #[allow(unused_mut)]
 2843   2843   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2844   2844   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 2845   2845   
        builder.build()
 2846   2846   
    };
 2847   2847   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2848   2848   
    let _result = dbg!(
 2849   2849   
        client
 2850   2850   
            .get_object()
 2851   2851   
            .set_bucket(::std::option::Option::Some("99a_b".to_owned()))
 2852   2852   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2853   2853   
            .send()
 2854   2854   
            .await
 2855   2855   
    );
 2856   2856   
    let req = rcvr.expect_request();
 2857   2857   
    let uri = req.uri().to_string();
 2858   2858   
    assert!(
 2859   2859   
        uri.starts_with("https://s3.cn-north-1.amazonaws.com.cn/99a_b"),
 2860   2860   
        "expected URI to start with `https://s3.cn-north-1.amazonaws.com.cn/99a_b` but it was `{}`",
 2861   2861   
        uri
 2862   2862   
    );
 2863   2863   
}
 2864   2864   
 2865   2865   
#[::tokio::test]
 2866   2866   
async fn operation_input_test_get_object_85() {
 2867   2867   
    /* documentation: vanilla path style@af-south-1 */
 2868   2868   
    /* builtIns: {
 2869   2869   
        "AWS::Region": "af-south-1",
 2870   2870   
        "AWS::S3::ForcePathStyle": true
 2871   2871   
    } */
 2872   2872   
    /* clientParams: {} */
 2873         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2873  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2874   2874   
    let conf = {
 2875   2875   
        #[allow(unused_mut)]
 2876   2876   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2877   2877   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2878   2878   
        let builder = builder.force_path_style(true);
 2879   2879   
        builder.build()
 2880   2880   
    };
 2881   2881   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2882   2882   
    let _result = dbg!(
 2883   2883   
        client
 2884   2884   
            .get_object()
 2885   2885   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2886   2886   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2887   2887   
            .send()
 2888   2888   
            .await
 2889   2889   
    );
 2890   2890   
    let req = rcvr.expect_request();
 2891   2891   
    let uri = req.uri().to_string();
 2892   2892   
    assert!(
 2893   2893   
        uri.starts_with("https://s3.af-south-1.amazonaws.com/bucket-name"),
 2894   2894   
        "expected URI to start with `https://s3.af-south-1.amazonaws.com/bucket-name` but it was `{}`",
 2895   2895   
        uri
 2896   2896   
    );
 2897   2897   
}
 2898   2898   
 2899   2899   
#[::tokio::test]
 2900   2900   
async fn operation_input_test_get_object_86() {
 2901   2901   
    /* documentation: path style + fips@af-south-1 */
 2902   2902   
    /* builtIns: {
 2903   2903   
        "AWS::Region": "af-south-1",
 2904   2904   
        "AWS::UseFIPS": true,
 2905   2905   
        "AWS::S3::ForcePathStyle": true
 2906   2906   
    } */
 2907   2907   
    /* clientParams: {} */
 2908         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2908  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2909   2909   
    let conf = {
 2910   2910   
        #[allow(unused_mut)]
 2911   2911   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2912   2912   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2913   2913   
        let builder = builder.use_fips(true);
 2914   2914   
        let builder = builder.force_path_style(true);
 2915   2915   
        builder.build()
 2916   2916   
    };
 2917   2917   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2918   2918   
    let _result = dbg!(
 2919   2919   
        client
 2920   2920   
            .get_object()
 2921   2921   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2922   2922   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2923   2923   
            .send()
 2924   2924   
            .await
 2925   2925   
    );
 2926   2926   
    let req = rcvr.expect_request();
 2927   2927   
    let uri = req.uri().to_string();
 2928   2928   
    assert!(
 2929   2929   
        uri.starts_with("https://s3-fips.af-south-1.amazonaws.com/bucket-name"),
 2930   2930   
        "expected URI to start with `https://s3-fips.af-south-1.amazonaws.com/bucket-name` but it was `{}`",
 2931   2931   
        uri
 2932   2932   
    );
 2933   2933   
}
 2934   2934   
 2935   2935   
#[::tokio::test]
 2936   2936   
async fn operation_input_test_get_object_87() {
 2937   2937   
    /* documentation: path style + accelerate = error@af-south-1 */
 2938   2938   
    /* builtIns: {
 2939   2939   
        "AWS::Region": "af-south-1",
 2940   2940   
        "AWS::S3::ForcePathStyle": true,
 2941   2941   
        "AWS::S3::Accelerate": true
 2942   2942   
    } */
 2943   2943   
    /* clientParams: {} */
 2944         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2944  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2945   2945   
    let conf = {
 2946   2946   
        #[allow(unused_mut)]
 2947   2947   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2948   2948   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2949   2949   
        let builder = builder.force_path_style(true);
 2950   2950   
        let builder = builder.accelerate(true);
 2951   2951   
        builder.build()
 2952   2952   
    };
 2953   2953   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2954   2954   
    let _result = dbg!(
 2955   2955   
        client
 2956   2956   
            .get_object()
 2957   2957   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2958   2958   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2959   2959   
            .send()
 2960   2960   
            .await
 2961   2961   
    );
 2962   2962   
    rcvr.expect_no_request();
 2963   2963   
    let error =
 2964   2964   
        _result.expect_err("expected error: Path-style addressing cannot be used with S3 Accelerate [path style + accelerate = error@af-south-1]");
 2965   2965   
    assert!(
 2966   2966   
        format!("{:?}", error).contains("Path-style addressing cannot be used with S3 Accelerate"),
 2967   2967   
        "expected error to contain `Path-style addressing cannot be used with S3 Accelerate` but it was {:?}",
 2968   2968   
        error
 2969   2969   
    );
 2970   2970   
}
 2971   2971   
 2972   2972   
#[::tokio::test]
 2973   2973   
async fn operation_input_test_get_object_88() {
 2974   2974   
    /* documentation: path style + dualstack@af-south-1 */
 2975   2975   
    /* builtIns: {
 2976   2976   
        "AWS::Region": "af-south-1",
 2977   2977   
        "AWS::UseDualStack": true,
 2978   2978   
        "AWS::S3::ForcePathStyle": true
 2979   2979   
    } */
 2980   2980   
    /* clientParams: {} */
 2981         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        2981  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 2982   2982   
    let conf = {
 2983   2983   
        #[allow(unused_mut)]
 2984   2984   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 2985   2985   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 2986   2986   
        let builder = builder.use_dual_stack(true);
 2987   2987   
        let builder = builder.force_path_style(true);
 2988   2988   
        builder.build()
 2989   2989   
    };
 2990   2990   
    let client = aws_sdk_s3::Client::from_conf(conf);
 2991   2991   
    let _result = dbg!(
 2992   2992   
        client
 2993   2993   
            .get_object()
 2994   2994   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 2995   2995   
            .set_key(::std::option::Option::Some("key".to_owned()))
 2996   2996   
            .send()
 2997   2997   
            .await
 2998   2998   
    );
 2999   2999   
    let req = rcvr.expect_request();
 3000   3000   
    let uri = req.uri().to_string();
 3001   3001   
    assert!(
 3002   3002   
        uri.starts_with("https://s3.dualstack.af-south-1.amazonaws.com/bucket-name"),
 3003   3003   
        "expected URI to start with `https://s3.dualstack.af-south-1.amazonaws.com/bucket-name` but it was `{}`",
 3004   3004   
        uri
 3005   3005   
    );
 3006   3006   
}
 3007   3007   
 3008   3008   
#[::tokio::test]
 3009   3009   
async fn operation_input_test_get_object_89() {
 3010   3010   
    /* documentation: path style + arn is error@af-south-1 */
 3011   3011   
    /* builtIns: {
 3012   3012   
        "AWS::Region": "af-south-1",
 3013   3013   
        "AWS::S3::ForcePathStyle": true
 3014   3014   
    } */
 3015   3015   
    /* clientParams: {} */
 3016         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3016  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3017   3017   
    let conf = {
 3018   3018   
        #[allow(unused_mut)]
 3019   3019   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3020   3020   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3021   3021   
        let builder = builder.force_path_style(true);
 3022   3022   
        builder.build()
 3023   3023   
    };
 3024   3024   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3025   3025   
    let _result = dbg!(
 3026   3026   
        client
 3027   3027   
            .get_object()
 3028   3028   
            .set_bucket(::std::option::Option::Some(
 3029   3029   
                "arn:PARTITION:s3-outposts:REGION:123456789012:outpost:op-01234567890123456:bucket:mybucket".to_owned()
 3030   3030   
            ))
 3031   3031   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3032   3032   
            .send()
 3033   3033   
            .await
 3034   3034   
    );
 3035   3035   
    rcvr.expect_no_request();
 3036   3036   
    let error = _result.expect_err("expected error: Path-style addressing cannot be used with ARN buckets [path style + arn is error@af-south-1]");
 3037   3037   
    assert!(
 3038   3038   
        format!("{:?}", error).contains("Path-style addressing cannot be used with ARN buckets"),
 3039   3039   
        "expected error to contain `Path-style addressing cannot be used with ARN buckets` but it was {:?}",
 3040   3040   
        error
 3041   3041   
    );
 3042   3042   
}
 3043   3043   
 3044   3044   
#[::tokio::test]
 3045   3045   
async fn operation_input_test_get_object_90() {
 3046   3046   
    /* documentation: path style + invalid DNS name@af-south-1 */
 3047   3047   
    /* builtIns: {
 3048   3048   
        "AWS::Region": "af-south-1",
 3049   3049   
        "AWS::S3::ForcePathStyle": true
 3050   3050   
    } */
 3051   3051   
    /* clientParams: {} */
 3052         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3052  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3053   3053   
    let conf = {
 3054   3054   
        #[allow(unused_mut)]
 3055   3055   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3056   3056   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3057   3057   
        let builder = builder.force_path_style(true);
 3058   3058   
        builder.build()
 3059   3059   
    };
 3060   3060   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3061   3061   
    let _result = dbg!(
 3062   3062   
        client
 3063   3063   
            .get_object()
 3064   3064   
            .set_bucket(::std::option::Option::Some("99a_b".to_owned()))
 3065   3065   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3066   3066   
            .send()
 3067   3067   
            .await
 3068   3068   
    );
 3069   3069   
    let req = rcvr.expect_request();
 3070   3070   
    let uri = req.uri().to_string();
 3071   3071   
    assert!(
 3072   3072   
        uri.starts_with("https://s3.af-south-1.amazonaws.com/99a_b"),
 3073   3073   
        "expected URI to start with `https://s3.af-south-1.amazonaws.com/99a_b` but it was `{}`",
 3074   3074   
        uri
 3075   3075   
    );
 3076   3076   
}
 3077   3077   
 3078   3078   
#[::tokio::test]
 3079   3079   
async fn operation_input_test_get_object_91() {
 3080   3080   
    /* documentation: no path style + invalid DNS name@af-south-1 */
 3081   3081   
    /* builtIns: {
 3082   3082   
        "AWS::Region": "af-south-1"
 3083   3083   
    } */
 3084   3084   
    /* clientParams: {} */
 3085         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3085  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3086   3086   
    let conf = {
 3087   3087   
        #[allow(unused_mut)]
 3088   3088   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3089   3089   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3090   3090   
        builder.build()
 3091   3091   
    };
 3092   3092   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3093   3093   
    let _result = dbg!(
 3094   3094   
        client
 3095   3095   
            .get_object()
 3096   3096   
            .set_bucket(::std::option::Option::Some("99a_b".to_owned()))
 3097   3097   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3098   3098   
            .send()
 3099   3099   
            .await
 3100   3100   
    );
 3101   3101   
    let req = rcvr.expect_request();
 3102   3102   
    let uri = req.uri().to_string();
 3103   3103   
    assert!(
 3104   3104   
        uri.starts_with("https://s3.af-south-1.amazonaws.com/99a_b"),
 3105   3105   
        "expected URI to start with `https://s3.af-south-1.amazonaws.com/99a_b` but it was `{}`",
 3106   3106   
        uri
 3107   3107   
    );
 3108   3108   
}
 3109   3109   
 3110   3110   
#[::tokio::test]
 3111   3111   
async fn operation_input_test_get_object_92() {
 3112   3112   
    /* documentation: virtual addressing + private link@us-west-2 */
 3113   3113   
    /* builtIns: {
 3114   3114   
        "AWS::Region": "us-west-2",
 3115   3115   
        "SDK::Endpoint": "http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
 3116   3116   
    } */
 3117   3117   
    /* clientParams: {} */
 3118         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3118  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3119   3119   
    let conf = {
 3120   3120   
        #[allow(unused_mut)]
 3121   3121   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3122   3122   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3123   3123   
        let builder = builder.endpoint_url("http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3124   3124   
        builder.build()
 3125   3125   
    };
 3126   3126   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3127   3127   
    let _result = dbg!(
 3128   3128   
        client
 3129   3129   
            .get_object()
 3130   3130   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3131   3131   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3132   3132   
            .send()
 3133   3133   
            .await
 3134   3134   
    );
 3135   3135   
    let req = rcvr.expect_request();
 3136   3136   
    let uri = req.uri().to_string();
 3137   3137   
    assert!(
 3138   3138   
        uri.starts_with("http://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"),
 3139   3139   
        "expected URI to start with `http://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com` but it was `{}`",
 3140   3140   
        uri
 3141   3141   
    );
 3142   3142   
}
 3143   3143   
 3144   3144   
#[::tokio::test]
 3145   3145   
async fn operation_input_test_get_object_93() {
 3146   3146   
    /* documentation: path style + private link@us-west-2 */
 3147   3147   
    /* builtIns: {
 3148   3148   
        "AWS::Region": "us-west-2",
 3149   3149   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
 3150   3150   
        "AWS::S3::ForcePathStyle": true
 3151   3151   
    } */
 3152   3152   
    /* clientParams: {} */
 3153         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3153  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3154   3154   
    let conf = {
 3155   3155   
        #[allow(unused_mut)]
 3156   3156   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3157   3157   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3158   3158   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3159   3159   
        let builder = builder.force_path_style(true);
 3160   3160   
        builder.build()
 3161   3161   
    };
 3162   3162   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3163   3163   
    let _result = dbg!(
 3164   3164   
        client
 3165   3165   
            .get_object()
 3166   3166   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3167   3167   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3168   3168   
            .send()
 3169   3169   
            .await
 3170   3170   
    );
 3171   3171   
    let req = rcvr.expect_request();
 3172   3172   
    let uri = req.uri().to_string();
 3173   3173   
    assert!(
 3174   3174   
        uri.starts_with("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name"),
 3175   3175   
        "expected URI to start with `https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name` but it was `{}`",
 3176   3176   
        uri
 3177   3177   
    );
 3178   3178   
}
 3179   3179   
 3180   3180   
#[::tokio::test]
 3181   3181   
async fn operation_input_test_get_object_94() {
 3182   3182   
    /* documentation: SDK::Host + FIPS@us-west-2 */
 3183   3183   
    /* builtIns: {
 3184   3184   
        "AWS::Region": "us-west-2",
 3185   3185   
        "AWS::UseFIPS": true,
 3186   3186   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
 3187   3187   
    } */
 3188   3188   
    /* clientParams: {} */
 3189         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3189  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3190   3190   
    let conf = {
 3191   3191   
        #[allow(unused_mut)]
 3192   3192   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3193   3193   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3194   3194   
        let builder = builder.use_fips(true);
 3195   3195   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3196   3196   
        builder.build()
 3197   3197   
    };
 3198   3198   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3199   3199   
    let _result = dbg!(
 3200   3200   
        client
 3201   3201   
            .get_object()
 3202   3202   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3203   3203   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3204   3204   
            .send()
 3205   3205   
            .await
 3206   3206   
    );
 3207   3207   
    rcvr.expect_no_request();
 3208   3208   
    let error = _result.expect_err("expected error: A custom endpoint cannot be combined with FIPS [SDK::Host + FIPS@us-west-2]");
 3209   3209   
    assert!(
 3210   3210   
        format!("{:?}", error).contains("A custom endpoint cannot be combined with FIPS"),
 3211   3211   
        "expected error to contain `A custom endpoint cannot be combined with FIPS` but it was {:?}",
 3212   3212   
        error
 3213   3213   
    );
 3214   3214   
}
 3215   3215   
 3216   3216   
#[::tokio::test]
 3217   3217   
async fn operation_input_test_get_object_95() {
 3218   3218   
    /* documentation: SDK::Host + DualStack@us-west-2 */
 3219   3219   
    /* builtIns: {
 3220   3220   
        "AWS::Region": "us-west-2",
 3221   3221   
        "AWS::UseDualStack": true,
 3222   3222   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
 3223   3223   
    } */
 3224   3224   
    /* clientParams: {} */
 3225         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3225  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3226   3226   
    let conf = {
 3227   3227   
        #[allow(unused_mut)]
 3228   3228   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3229   3229   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3230   3230   
        let builder = builder.use_dual_stack(true);
 3231   3231   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3232   3232   
        builder.build()
 3233   3233   
    };
 3234   3234   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3235   3235   
    let _result = dbg!(
 3236   3236   
        client
 3237   3237   
            .get_object()
 3238   3238   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3239   3239   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3240   3240   
            .send()
 3241   3241   
            .await
 3242   3242   
    );
 3243   3243   
    rcvr.expect_no_request();
 3244   3244   
    let error = _result.expect_err("expected error: Cannot set dual-stack in combination with a custom endpoint. [SDK::Host + DualStack@us-west-2]");
 3245   3245   
    assert!(
 3246   3246   
        format!("{:?}", error).contains("Cannot set dual-stack in combination with a custom endpoint."),
 3247   3247   
        "expected error to contain `Cannot set dual-stack in combination with a custom endpoint.` but it was {:?}",
 3248   3248   
        error
 3249   3249   
    );
 3250   3250   
}
 3251   3251   
 3252   3252   
#[::tokio::test]
 3253   3253   
async fn operation_input_test_get_object_96() {
 3254   3254   
    /* documentation: SDK::HOST + accelerate@us-west-2 */
 3255   3255   
    /* builtIns: {
 3256   3256   
        "AWS::Region": "us-west-2",
 3257   3257   
        "SDK::Endpoint": "http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
 3258   3258   
        "AWS::S3::Accelerate": true
 3259   3259   
    } */
 3260   3260   
    /* clientParams: {} */
 3261         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3261  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3262   3262   
    let conf = {
 3263   3263   
        #[allow(unused_mut)]
 3264   3264   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3265   3265   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3266   3266   
        let builder = builder.endpoint_url("http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3267   3267   
        let builder = builder.accelerate(true);
 3268   3268   
        builder.build()
 3269   3269   
    };
 3270   3270   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3271   3271   
    let _result = dbg!(
 3272   3272   
        client
 3273   3273   
            .get_object()
 3274   3274   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3275   3275   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3276   3276   
            .send()
 3277   3277   
            .await
 3278   3278   
    );
 3279   3279   
    rcvr.expect_no_request();
 3280   3280   
    let error = _result.expect_err("expected error: A custom endpoint cannot be combined with S3 Accelerate [SDK::HOST + accelerate@us-west-2]");
 3281   3281   
    assert!(
 3282   3282   
        format!("{:?}", error).contains("A custom endpoint cannot be combined with S3 Accelerate"),
 3283   3283   
        "expected error to contain `A custom endpoint cannot be combined with S3 Accelerate` but it was {:?}",
 3284   3284   
        error
 3285   3285   
    );
 3286   3286   
}
 3287   3287   
 3288   3288   
#[::tokio::test]
 3289   3289   
async fn operation_input_test_get_object_97() {
 3290   3290   
    /* documentation: SDK::Host + access point ARN@us-west-2 */
 3291   3291   
    /* builtIns: {
 3292   3292   
        "AWS::Region": "us-west-2",
 3293   3293   
        "SDK::Endpoint": "https://beta.example.com"
 3294   3294   
    } */
 3295   3295   
    /* clientParams: {} */
 3296         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3296  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3297   3297   
    let conf = {
 3298   3298   
        #[allow(unused_mut)]
 3299   3299   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3300   3300   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3301   3301   
        let builder = builder.endpoint_url("https://beta.example.com");
 3302   3302   
        builder.build()
 3303   3303   
    };
 3304   3304   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3305   3305   
    let _result = dbg!(
 3306   3306   
        client
 3307   3307   
            .get_object()
 3308   3308   
            .set_bucket(::std::option::Option::Some(
 3309   3309   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
 3310   3310   
            ))
 3311   3311   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3312   3312   
            .send()
 3313   3313   
            .await
 3314   3314   
    );
 3315   3315   
    let req = rcvr.expect_request();
 3316   3316   
    let uri = req.uri().to_string();
 3317   3317   
    assert!(
 3318   3318   
        uri.starts_with("https://myendpoint-123456789012.beta.example.com"),
 3319   3319   
        "expected URI to start with `https://myendpoint-123456789012.beta.example.com` but it was `{}`",
 3320   3320   
        uri
 3321   3321   
    );
 3322   3322   
}
 3323   3323   
 3324   3324   
#[::tokio::test]
 3325   3325   
async fn operation_input_test_get_object_98() {
 3326   3326   
    /* documentation: virtual addressing + private link@cn-north-1 */
 3327   3327   
    /* builtIns: {
 3328   3328   
        "AWS::Region": "cn-north-1",
 3329   3329   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
 3330   3330   
    } */
 3331   3331   
    /* clientParams: {} */
 3332         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3332  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3333   3333   
    let conf = {
 3334   3334   
        #[allow(unused_mut)]
 3335   3335   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3336   3336   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 3337   3337   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3338   3338   
        builder.build()
 3339   3339   
    };
 3340   3340   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3341   3341   
    let _result = dbg!(
 3342   3342   
        client
 3343   3343   
            .get_object()
 3344   3344   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3345   3345   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3346   3346   
            .send()
 3347   3347   
            .await
 3348   3348   
    );
 3349   3349   
    let req = rcvr.expect_request();
 3350   3350   
    let uri = req.uri().to_string();
 3351   3351   
    assert!(
 3352   3352   
        uri.starts_with("https://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"),
 3353   3353   
        "expected URI to start with `https://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com` but it was `{}`",
 3354   3354   
        uri
 3355   3355   
    );
 3356   3356   
}
 3357   3357   
 3358   3358   
#[::tokio::test]
 3359   3359   
async fn operation_input_test_get_object_99() {
 3360   3360   
    /* documentation: path style + private link@cn-north-1 */
 3361   3361   
    /* builtIns: {
 3362   3362   
        "AWS::Region": "cn-north-1",
 3363   3363   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
 3364   3364   
        "AWS::S3::ForcePathStyle": true
 3365   3365   
    } */
 3366   3366   
    /* clientParams: {} */
 3367         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3367  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3368   3368   
    let conf = {
 3369   3369   
        #[allow(unused_mut)]
 3370   3370   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3371   3371   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 3372   3372   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3373   3373   
        let builder = builder.force_path_style(true);
 3374   3374   
        builder.build()
 3375   3375   
    };
 3376   3376   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3377   3377   
    let _result = dbg!(
 3378   3378   
        client
 3379   3379   
            .get_object()
 3380   3380   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3381   3381   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3382   3382   
            .send()
 3383   3383   
            .await
 3384   3384   
    );
 3385   3385   
    let req = rcvr.expect_request();
 3386   3386   
    let uri = req.uri().to_string();
 3387   3387   
    assert!(
 3388   3388   
        uri.starts_with("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name"),
 3389   3389   
        "expected URI to start with `https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name` but it was `{}`",
 3390   3390   
        uri
 3391   3391   
    );
 3392   3392   
}
 3393   3393   
 3394   3394   
#[::tokio::test]
 3395   3395   
async fn operation_input_test_get_object_100() {
 3396   3396   
    /* documentation: SDK::Host + DualStack@cn-north-1 */
 3397   3397   
    /* builtIns: {
 3398   3398   
        "AWS::Region": "cn-north-1",
 3399   3399   
        "AWS::UseDualStack": true,
 3400   3400   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
 3401   3401   
    } */
 3402   3402   
    /* clientParams: {} */
 3403         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3403  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3404   3404   
    let conf = {
 3405   3405   
        #[allow(unused_mut)]
 3406   3406   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3407   3407   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 3408   3408   
        let builder = builder.use_dual_stack(true);
 3409   3409   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3410   3410   
        builder.build()
 3411   3411   
    };
 3412   3412   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3413   3413   
    let _result = dbg!(
 3414   3414   
        client
 3415   3415   
            .get_object()
 3416   3416   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3417   3417   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3418   3418   
            .send()
 3419   3419   
            .await
 3420   3420   
    );
 3421   3421   
    rcvr.expect_no_request();
 3422   3422   
    let error = _result.expect_err("expected error: Cannot set dual-stack in combination with a custom endpoint. [SDK::Host + DualStack@cn-north-1]");
 3423   3423   
    assert!(
 3424   3424   
        format!("{:?}", error).contains("Cannot set dual-stack in combination with a custom endpoint."),
 3425   3425   
        "expected error to contain `Cannot set dual-stack in combination with a custom endpoint.` but it was {:?}",
 3426   3426   
        error
 3427   3427   
    );
 3428   3428   
}
 3429   3429   
 3430   3430   
#[::tokio::test]
 3431   3431   
async fn operation_input_test_get_object_101() {
 3432   3432   
    /* documentation: SDK::Host + access point ARN@cn-north-1 */
 3433   3433   
    /* builtIns: {
 3434   3434   
        "AWS::Region": "cn-north-1",
 3435   3435   
        "SDK::Endpoint": "https://beta.example.com"
 3436   3436   
    } */
 3437   3437   
    /* clientParams: {} */
 3438         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3438  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3439   3439   
    let conf = {
 3440   3440   
        #[allow(unused_mut)]
 3441   3441   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3442   3442   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 3443   3443   
        let builder = builder.endpoint_url("https://beta.example.com");
 3444   3444   
        builder.build()
 3445   3445   
    };
 3446   3446   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3447   3447   
    let _result = dbg!(
 3448   3448   
        client
 3449   3449   
            .get_object()
 3450   3450   
            .set_bucket(::std::option::Option::Some(
 3451   3451   
                "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint".to_owned()
 3452   3452   
            ))
 3453   3453   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3454   3454   
            .send()
 3455   3455   
            .await
 3456   3456   
    );
 3457   3457   
    let req = rcvr.expect_request();
 3458   3458   
    let uri = req.uri().to_string();
 3459   3459   
    assert!(
 3460   3460   
        uri.starts_with("https://myendpoint-123456789012.beta.example.com"),
 3461   3461   
        "expected URI to start with `https://myendpoint-123456789012.beta.example.com` but it was `{}`",
 3462   3462   
        uri
 3463   3463   
    );
 3464   3464   
}
 3465   3465   
 3466   3466   
#[::tokio::test]
 3467   3467   
async fn operation_input_test_get_object_102() {
 3468   3468   
    /* documentation: virtual addressing + private link@af-south-1 */
 3469   3469   
    /* builtIns: {
 3470   3470   
        "AWS::Region": "af-south-1",
 3471   3471   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
 3472   3472   
    } */
 3473   3473   
    /* clientParams: {} */
 3474         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3474  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3475   3475   
    let conf = {
 3476   3476   
        #[allow(unused_mut)]
 3477   3477   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3478   3478   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3479   3479   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3480   3480   
        builder.build()
 3481   3481   
    };
 3482   3482   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3483   3483   
    let _result = dbg!(
 3484   3484   
        client
 3485   3485   
            .get_object()
 3486   3486   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3487   3487   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3488   3488   
            .send()
 3489   3489   
            .await
 3490   3490   
    );
 3491   3491   
    let req = rcvr.expect_request();
 3492   3492   
    let uri = req.uri().to_string();
 3493   3493   
    assert!(
 3494   3494   
        uri.starts_with("https://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"),
 3495   3495   
        "expected URI to start with `https://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com` but it was `{}`",
 3496   3496   
        uri
 3497   3497   
    );
 3498   3498   
}
 3499   3499   
 3500   3500   
#[::tokio::test]
 3501   3501   
async fn operation_input_test_get_object_103() {
 3502   3502   
    /* documentation: path style + private link@af-south-1 */
 3503   3503   
    /* builtIns: {
 3504   3504   
        "AWS::Region": "af-south-1",
 3505   3505   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
 3506   3506   
        "AWS::S3::ForcePathStyle": true
 3507   3507   
    } */
 3508   3508   
    /* clientParams: {} */
 3509         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3509  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3510   3510   
    let conf = {
 3511   3511   
        #[allow(unused_mut)]
 3512   3512   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3513   3513   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3514   3514   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3515   3515   
        let builder = builder.force_path_style(true);
 3516   3516   
        builder.build()
 3517   3517   
    };
 3518   3518   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3519   3519   
    let _result = dbg!(
 3520   3520   
        client
 3521   3521   
            .get_object()
 3522   3522   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3523   3523   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3524   3524   
            .send()
 3525   3525   
            .await
 3526   3526   
    );
 3527   3527   
    let req = rcvr.expect_request();
 3528   3528   
    let uri = req.uri().to_string();
 3529   3529   
    assert!(
 3530   3530   
        uri.starts_with("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name"),
 3531   3531   
        "expected URI to start with `https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name` but it was `{}`",
 3532   3532   
        uri
 3533   3533   
    );
 3534   3534   
}
 3535   3535   
 3536   3536   
#[::tokio::test]
 3537   3537   
async fn operation_input_test_get_object_104() {
 3538   3538   
    /* documentation: SDK::Host + FIPS@af-south-1 */
 3539   3539   
    /* builtIns: {
 3540   3540   
        "AWS::Region": "af-south-1",
 3541   3541   
        "AWS::UseFIPS": true,
 3542   3542   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
 3543   3543   
    } */
 3544   3544   
    /* clientParams: {} */
 3545         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3545  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3546   3546   
    let conf = {
 3547   3547   
        #[allow(unused_mut)]
 3548   3548   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3549   3549   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3550   3550   
        let builder = builder.use_fips(true);
 3551   3551   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3552   3552   
        builder.build()
 3553   3553   
    };
 3554   3554   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3555   3555   
    let _result = dbg!(
 3556   3556   
        client
 3557   3557   
            .get_object()
 3558   3558   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3559   3559   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3560   3560   
            .send()
 3561   3561   
            .await
 3562   3562   
    );
 3563   3563   
    rcvr.expect_no_request();
 3564   3564   
    let error = _result.expect_err("expected error: A custom endpoint cannot be combined with FIPS [SDK::Host + FIPS@af-south-1]");
 3565   3565   
    assert!(
 3566   3566   
        format!("{:?}", error).contains("A custom endpoint cannot be combined with FIPS"),
 3567   3567   
        "expected error to contain `A custom endpoint cannot be combined with FIPS` but it was {:?}",
 3568   3568   
        error
 3569   3569   
    );
 3570   3570   
}
 3571   3571   
 3572   3572   
#[::tokio::test]
 3573   3573   
async fn operation_input_test_get_object_105() {
 3574   3574   
    /* documentation: SDK::Host + DualStack@af-south-1 */
 3575   3575   
    /* builtIns: {
 3576   3576   
        "AWS::Region": "af-south-1",
 3577   3577   
        "AWS::UseDualStack": true,
 3578   3578   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"
 3579   3579   
    } */
 3580   3580   
    /* clientParams: {} */
 3581         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3581  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3582   3582   
    let conf = {
 3583   3583   
        #[allow(unused_mut)]
 3584   3584   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3585   3585   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3586   3586   
        let builder = builder.use_dual_stack(true);
 3587   3587   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3588   3588   
        builder.build()
 3589   3589   
    };
 3590   3590   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3591   3591   
    let _result = dbg!(
 3592   3592   
        client
 3593   3593   
            .get_object()
 3594   3594   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3595   3595   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3596   3596   
            .send()
 3597   3597   
            .await
 3598   3598   
    );
 3599   3599   
    rcvr.expect_no_request();
 3600   3600   
    let error = _result.expect_err("expected error: Cannot set dual-stack in combination with a custom endpoint. [SDK::Host + DualStack@af-south-1]");
 3601   3601   
    assert!(
 3602   3602   
        format!("{:?}", error).contains("Cannot set dual-stack in combination with a custom endpoint."),
 3603   3603   
        "expected error to contain `Cannot set dual-stack in combination with a custom endpoint.` but it was {:?}",
 3604   3604   
        error
 3605   3605   
    );
 3606   3606   
}
 3607   3607   
 3608   3608   
#[::tokio::test]
 3609   3609   
async fn operation_input_test_get_object_106() {
 3610   3610   
    /* documentation: SDK::HOST + accelerate@af-south-1 */
 3611   3611   
    /* builtIns: {
 3612   3612   
        "AWS::Region": "af-south-1",
 3613   3613   
        "SDK::Endpoint": "https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com",
 3614   3614   
        "AWS::S3::Accelerate": true
 3615   3615   
    } */
 3616   3616   
    /* clientParams: {} */
 3617         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3617  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3618   3618   
    let conf = {
 3619   3619   
        #[allow(unused_mut)]
 3620   3620   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3621   3621   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3622   3622   
        let builder = builder.endpoint_url("https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com");
 3623   3623   
        let builder = builder.accelerate(true);
 3624   3624   
        builder.build()
 3625   3625   
    };
 3626   3626   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3627   3627   
    let _result = dbg!(
 3628   3628   
        client
 3629   3629   
            .get_object()
 3630   3630   
            .set_bucket(::std::option::Option::Some("bucket-name".to_owned()))
 3631   3631   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3632   3632   
            .send()
 3633   3633   
            .await
 3634   3634   
    );
 3635   3635   
    rcvr.expect_no_request();
 3636   3636   
    let error = _result.expect_err("expected error: A custom endpoint cannot be combined with S3 Accelerate [SDK::HOST + accelerate@af-south-1]");
 3637   3637   
    assert!(
 3638   3638   
        format!("{:?}", error).contains("A custom endpoint cannot be combined with S3 Accelerate"),
 3639   3639   
        "expected error to contain `A custom endpoint cannot be combined with S3 Accelerate` but it was {:?}",
 3640   3640   
        error
 3641   3641   
    );
 3642   3642   
}
 3643   3643   
 3644   3644   
#[::tokio::test]
 3645   3645   
async fn operation_input_test_get_object_107() {
 3646   3646   
    /* documentation: SDK::Host + access point ARN@af-south-1 */
 3647   3647   
    /* builtIns: {
 3648   3648   
        "AWS::Region": "af-south-1",
 3649   3649   
        "SDK::Endpoint": "https://beta.example.com"
 3650   3650   
    } */
 3651   3651   
    /* clientParams: {} */
 3652         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3652  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3653   3653   
    let conf = {
 3654   3654   
        #[allow(unused_mut)]
 3655   3655   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3656   3656   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3657   3657   
        let builder = builder.endpoint_url("https://beta.example.com");
 3658   3658   
        builder.build()
 3659   3659   
    };
 3660   3660   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3661   3661   
    let _result = dbg!(
 3662   3662   
        client
 3663   3663   
            .get_object()
 3664   3664   
            .set_bucket(::std::option::Option::Some(
 3665   3665   
                "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint".to_owned()
 3666   3666   
            ))
 3667   3667   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3668   3668   
            .send()
 3669   3669   
            .await
 3670   3670   
    );
 3671   3671   
    let req = rcvr.expect_request();
 3672   3672   
    let uri = req.uri().to_string();
 3673   3673   
    assert!(
 3674   3674   
        uri.starts_with("https://myendpoint-123456789012.beta.example.com"),
 3675   3675   
        "expected URI to start with `https://myendpoint-123456789012.beta.example.com` but it was `{}`",
 3676   3676   
        uri
 3677   3677   
    );
 3678   3678   
}
 3679   3679   
 3680   3680   
#[::tokio::test]
 3681   3681   
async fn operation_input_test_get_object_108() {
 3682   3682   
    /* documentation: vanilla access point arn@us-west-2 */
 3683   3683   
    /* builtIns: {
 3684   3684   
        "AWS::Region": "us-west-2"
 3685   3685   
    } */
 3686   3686   
    /* clientParams: {} */
 3687         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3687  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3688   3688   
    let conf = {
 3689   3689   
        #[allow(unused_mut)]
 3690   3690   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3691   3691   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3692   3692   
        builder.build()
 3693   3693   
    };
 3694   3694   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3695   3695   
    let _result = dbg!(
 3696   3696   
        client
 3697   3697   
            .get_object()
 3698   3698   
            .set_bucket(::std::option::Option::Some(
 3699   3699   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
 3700   3700   
            ))
 3701   3701   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3702   3702   
            .send()
 3703   3703   
            .await
 3704   3704   
    );
 3705   3705   
    let req = rcvr.expect_request();
 3706   3706   
    let uri = req.uri().to_string();
 3707   3707   
    assert!(
 3708   3708   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com"),
 3709   3709   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com` but it was `{}`",
 3710   3710   
        uri
 3711   3711   
    );
 3712   3712   
}
 3713   3713   
 3714   3714   
#[::tokio::test]
 3715   3715   
async fn operation_input_test_get_object_109() {
 3716   3716   
    /* documentation: access point arn + FIPS@us-west-2 */
 3717   3717   
    /* builtIns: {
 3718   3718   
        "AWS::Region": "us-west-2",
 3719   3719   
        "AWS::UseFIPS": true
 3720   3720   
    } */
 3721   3721   
    /* clientParams: {} */
 3722         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3722  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3723   3723   
    let conf = {
 3724   3724   
        #[allow(unused_mut)]
 3725   3725   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3726   3726   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3727   3727   
        let builder = builder.use_fips(true);
 3728   3728   
        builder.build()
 3729   3729   
    };
 3730   3730   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3731   3731   
    let _result = dbg!(
 3732   3732   
        client
 3733   3733   
            .get_object()
 3734   3734   
            .set_bucket(::std::option::Option::Some(
 3735   3735   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
 3736   3736   
            ))
 3737   3737   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3738   3738   
            .send()
 3739   3739   
            .await
 3740   3740   
    );
 3741   3741   
    let req = rcvr.expect_request();
 3742   3742   
    let uri = req.uri().to_string();
 3743   3743   
    assert!(
 3744   3744   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint-fips.us-west-2.amazonaws.com"),
 3745   3745   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint-fips.us-west-2.amazonaws.com` but it was `{}`",
 3746   3746   
        uri
 3747   3747   
    );
 3748   3748   
}
 3749   3749   
 3750   3750   
#[::tokio::test]
 3751   3751   
async fn operation_input_test_get_object_110() {
 3752   3752   
    /* documentation: access point arn + accelerate = error@us-west-2 */
 3753   3753   
    /* builtIns: {
 3754   3754   
        "AWS::Region": "us-west-2",
 3755   3755   
        "AWS::S3::Accelerate": true
 3756   3756   
    } */
 3757   3757   
    /* clientParams: {} */
 3758         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3758  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3759   3759   
    let conf = {
 3760   3760   
        #[allow(unused_mut)]
 3761   3761   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3762   3762   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3763   3763   
        let builder = builder.accelerate(true);
 3764   3764   
        builder.build()
 3765   3765   
    };
 3766   3766   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3767   3767   
    let _result = dbg!(
 3768   3768   
        client
 3769   3769   
            .get_object()
 3770   3770   
            .set_bucket(::std::option::Option::Some(
 3771   3771   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
 3772   3772   
            ))
 3773   3773   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3774   3774   
            .send()
 3775   3775   
            .await
 3776   3776   
    );
 3777   3777   
    rcvr.expect_no_request();
 3778   3778   
    let error = _result.expect_err("expected error: Access Points do not support S3 Accelerate [access point arn + accelerate = error@us-west-2]");
 3779   3779   
    assert!(
 3780   3780   
        format!("{:?}", error).contains("Access Points do not support S3 Accelerate"),
 3781   3781   
        "expected error to contain `Access Points do not support S3 Accelerate` but it was {:?}",
 3782   3782   
        error
 3783   3783   
    );
 3784   3784   
}
 3785   3785   
 3786   3786   
#[::tokio::test]
 3787   3787   
async fn operation_input_test_get_object_111() {
 3788   3788   
    /* documentation: access point arn + FIPS + DualStack@us-west-2 */
 3789   3789   
    /* builtIns: {
 3790   3790   
        "AWS::Region": "us-west-2",
 3791   3791   
        "AWS::UseFIPS": true,
 3792   3792   
        "AWS::UseDualStack": true
 3793   3793   
    } */
 3794   3794   
    /* clientParams: {} */
 3795         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3795  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3796   3796   
    let conf = {
 3797   3797   
        #[allow(unused_mut)]
 3798   3798   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3799   3799   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 3800   3800   
        let builder = builder.use_fips(true);
 3801   3801   
        let builder = builder.use_dual_stack(true);
 3802   3802   
        builder.build()
 3803   3803   
    };
 3804   3804   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3805   3805   
    let _result = dbg!(
 3806   3806   
        client
 3807   3807   
            .get_object()
 3808   3808   
            .set_bucket(::std::option::Option::Some(
 3809   3809   
                "arn:aws:s3:us-west-2:123456789012:accesspoint:myendpoint".to_owned()
 3810   3810   
            ))
 3811   3811   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3812   3812   
            .send()
 3813   3813   
            .await
 3814   3814   
    );
 3815   3815   
    let req = rcvr.expect_request();
 3816   3816   
    let uri = req.uri().to_string();
 3817   3817   
    assert!(
 3818   3818   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.us-west-2.amazonaws.com"),
 3819   3819   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.us-west-2.amazonaws.com` but it was `{}`",
 3820   3820   
        uri
 3821   3821   
    );
 3822   3822   
}
 3823   3823   
 3824   3824   
#[::tokio::test]
 3825   3825   
async fn operation_input_test_get_object_112() {
 3826   3826   
    /* documentation: vanilla access point arn@cn-north-1 */
 3827   3827   
    /* builtIns: {
 3828   3828   
        "AWS::Region": "cn-north-1"
 3829   3829   
    } */
 3830   3830   
    /* clientParams: {} */
 3831         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3831  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3832   3832   
    let conf = {
 3833   3833   
        #[allow(unused_mut)]
 3834   3834   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3835   3835   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 3836   3836   
        builder.build()
 3837   3837   
    };
 3838   3838   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3839   3839   
    let _result = dbg!(
 3840   3840   
        client
 3841   3841   
            .get_object()
 3842   3842   
            .set_bucket(::std::option::Option::Some(
 3843   3843   
                "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint".to_owned()
 3844   3844   
            ))
 3845   3845   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3846   3846   
            .send()
 3847   3847   
            .await
 3848   3848   
    );
 3849   3849   
    let req = rcvr.expect_request();
 3850   3850   
    let uri = req.uri().to_string();
 3851   3851   
    assert!(
 3852   3852   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint.cn-north-1.amazonaws.com.cn"),
 3853   3853   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint.cn-north-1.amazonaws.com.cn` but it was `{}`",
 3854   3854   
        uri
 3855   3855   
    );
 3856   3856   
}
 3857   3857   
 3858   3858   
#[::tokio::test]
 3859   3859   
async fn operation_input_test_get_object_113() {
 3860   3860   
    /* documentation: access point arn + accelerate = error@cn-north-1 */
 3861   3861   
    /* builtIns: {
 3862   3862   
        "AWS::Region": "cn-north-1",
 3863   3863   
        "AWS::S3::Accelerate": true
 3864   3864   
    } */
 3865   3865   
    /* clientParams: {} */
 3866         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3866  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3867   3867   
    let conf = {
 3868   3868   
        #[allow(unused_mut)]
 3869   3869   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3870   3870   
        let builder = builder.region(::aws_types::region::Region::new("cn-north-1"));
 3871   3871   
        let builder = builder.accelerate(true);
 3872   3872   
        builder.build()
 3873   3873   
    };
 3874   3874   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3875   3875   
    let _result = dbg!(
 3876   3876   
        client
 3877   3877   
            .get_object()
 3878   3878   
            .set_bucket(::std::option::Option::Some(
 3879   3879   
                "arn:aws-cn:s3:cn-north-1:123456789012:accesspoint:myendpoint".to_owned()
 3880   3880   
            ))
 3881   3881   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3882   3882   
            .send()
 3883   3883   
            .await
 3884   3884   
    );
 3885   3885   
    rcvr.expect_no_request();
 3886   3886   
    let error = _result.expect_err("expected error: Access Points do not support S3 Accelerate [access point arn + accelerate = error@cn-north-1]");
 3887   3887   
    assert!(
 3888   3888   
        format!("{:?}", error).contains("Access Points do not support S3 Accelerate"),
 3889   3889   
        "expected error to contain `Access Points do not support S3 Accelerate` but it was {:?}",
 3890   3890   
        error
 3891   3891   
    );
 3892   3892   
}
 3893   3893   
 3894   3894   
#[::tokio::test]
 3895   3895   
async fn operation_input_test_get_object_114() {
 3896   3896   
    /* documentation: vanilla access point arn@af-south-1 */
 3897   3897   
    /* builtIns: {
 3898   3898   
        "AWS::Region": "af-south-1"
 3899   3899   
    } */
 3900   3900   
    /* clientParams: {} */
 3901         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3901  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3902   3902   
    let conf = {
 3903   3903   
        #[allow(unused_mut)]
 3904   3904   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3905   3905   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3906   3906   
        builder.build()
 3907   3907   
    };
 3908   3908   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3909   3909   
    let _result = dbg!(
 3910   3910   
        client
 3911   3911   
            .get_object()
 3912   3912   
            .set_bucket(::std::option::Option::Some(
 3913   3913   
                "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint".to_owned()
 3914   3914   
            ))
 3915   3915   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3916   3916   
            .send()
 3917   3917   
            .await
 3918   3918   
    );
 3919   3919   
    let req = rcvr.expect_request();
 3920   3920   
    let uri = req.uri().to_string();
 3921   3921   
    assert!(
 3922   3922   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint.af-south-1.amazonaws.com"),
 3923   3923   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint.af-south-1.amazonaws.com` but it was `{}`",
 3924   3924   
        uri
 3925   3925   
    );
 3926   3926   
}
 3927   3927   
 3928   3928   
#[::tokio::test]
 3929   3929   
async fn operation_input_test_get_object_115() {
 3930   3930   
    /* documentation: access point arn + FIPS@af-south-1 */
 3931   3931   
    /* builtIns: {
 3932   3932   
        "AWS::Region": "af-south-1",
 3933   3933   
        "AWS::UseFIPS": true
 3934   3934   
    } */
 3935   3935   
    /* clientParams: {} */
 3936         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3936  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3937   3937   
    let conf = {
 3938   3938   
        #[allow(unused_mut)]
 3939   3939   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3940   3940   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3941   3941   
        let builder = builder.use_fips(true);
 3942   3942   
        builder.build()
 3943   3943   
    };
 3944   3944   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3945   3945   
    let _result = dbg!(
 3946   3946   
        client
 3947   3947   
            .get_object()
 3948   3948   
            .set_bucket(::std::option::Option::Some(
 3949   3949   
                "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint".to_owned()
 3950   3950   
            ))
 3951   3951   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3952   3952   
            .send()
 3953   3953   
            .await
 3954   3954   
    );
 3955   3955   
    let req = rcvr.expect_request();
 3956   3956   
    let uri = req.uri().to_string();
 3957   3957   
    assert!(
 3958   3958   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint-fips.af-south-1.amazonaws.com"),
 3959   3959   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint-fips.af-south-1.amazonaws.com` but it was `{}`",
 3960   3960   
        uri
 3961   3961   
    );
 3962   3962   
}
 3963   3963   
 3964   3964   
#[::tokio::test]
 3965   3965   
async fn operation_input_test_get_object_116() {
 3966   3966   
    /* documentation: access point arn + accelerate = error@af-south-1 */
 3967   3967   
    /* builtIns: {
 3968   3968   
        "AWS::Region": "af-south-1",
 3969   3969   
        "AWS::S3::Accelerate": true
 3970   3970   
    } */
 3971   3971   
    /* clientParams: {} */
 3972         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        3972  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 3973   3973   
    let conf = {
 3974   3974   
        #[allow(unused_mut)]
 3975   3975   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 3976   3976   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 3977   3977   
        let builder = builder.accelerate(true);
 3978   3978   
        builder.build()
 3979   3979   
    };
 3980   3980   
    let client = aws_sdk_s3::Client::from_conf(conf);
 3981   3981   
    let _result = dbg!(
 3982   3982   
        client
 3983   3983   
            .get_object()
 3984   3984   
            .set_bucket(::std::option::Option::Some(
 3985   3985   
                "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint".to_owned()
 3986   3986   
            ))
 3987   3987   
            .set_key(::std::option::Option::Some("key".to_owned()))
 3988   3988   
            .send()
 3989   3989   
            .await
 3990   3990   
    );
 3991   3991   
    rcvr.expect_no_request();
 3992   3992   
    let error = _result.expect_err("expected error: Access Points do not support S3 Accelerate [access point arn + accelerate = error@af-south-1]");
 3993   3993   
    assert!(
 3994   3994   
        format!("{:?}", error).contains("Access Points do not support S3 Accelerate"),
 3995   3995   
        "expected error to contain `Access Points do not support S3 Accelerate` but it was {:?}",
 3996   3996   
        error
 3997   3997   
    );
 3998   3998   
}
 3999   3999   
 4000   4000   
#[::tokio::test]
 4001   4001   
async fn operation_input_test_get_object_117() {
 4002   4002   
    /* documentation: access point arn + FIPS + DualStack@af-south-1 */
 4003   4003   
    /* builtIns: {
 4004   4004   
        "AWS::Region": "af-south-1",
 4005   4005   
        "AWS::UseFIPS": true,
 4006   4006   
        "AWS::UseDualStack": true
 4007   4007   
    } */
 4008   4008   
    /* clientParams: {} */
 4009         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4009  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4010   4010   
    let conf = {
 4011   4011   
        #[allow(unused_mut)]
 4012   4012   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4013   4013   
        let builder = builder.region(::aws_types::region::Region::new("af-south-1"));
 4014   4014   
        let builder = builder.use_fips(true);
 4015   4015   
        let builder = builder.use_dual_stack(true);
 4016   4016   
        builder.build()
 4017   4017   
    };
 4018   4018   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4019   4019   
    let _result = dbg!(
 4020   4020   
        client
 4021   4021   
            .get_object()
 4022   4022   
            .set_bucket(::std::option::Option::Some(
 4023   4023   
                "arn:aws:s3:af-south-1:123456789012:accesspoint:myendpoint".to_owned()
 4024   4024   
            ))
 4025   4025   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4026   4026   
            .send()
 4027   4027   
            .await
 4028   4028   
    );
 4029   4029   
    let req = rcvr.expect_request();
 4030   4030   
    let uri = req.uri().to_string();
 4031   4031   
    assert!(
 4032   4032   
        uri.starts_with("https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.af-south-1.amazonaws.com"),
 4033   4033   
        "expected URI to start with `https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.af-south-1.amazonaws.com` but it was `{}`",
 4034   4034   
        uri
 4035   4035   
    );
 4036   4036   
}
 4037   4037   
 4038   4038   
#[::tokio::test]
 4039   4039   
async fn operation_input_test_get_object_118() {
 4040   4040   
    /* documentation: S3 outposts vanilla test */
 4041   4041   
    /* builtIns: {
 4042   4042   
        "AWS::Region": "us-west-2"
 4043   4043   
    } */
 4044   4044   
    /* clientParams: {} */
 4045         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4045  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4046   4046   
    let conf = {
 4047   4047   
        #[allow(unused_mut)]
 4048   4048   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4049   4049   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4050   4050   
        builder.build()
 4051   4051   
    };
 4052   4052   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4053   4053   
    let _result = dbg!(
 4054   4054   
        client
 4055   4055   
            .get_object()
 4056   4056   
            .set_bucket(::std::option::Option::Some(
 4057   4057   
                "arn:aws:s3-outposts:us-west-2:123456789012:outpost/op-01234567890123456/accesspoint/reports".to_owned()
 4058   4058   
            ))
 4059   4059   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4060   4060   
            .send()
 4061   4061   
            .await
 4062   4062   
    );
 4063   4063   
    let req = rcvr.expect_request();
 4064   4064   
    let uri = req.uri().to_string();
 4065   4065   
    assert!(
 4066   4066   
        uri.starts_with("https://reports-123456789012.op-01234567890123456.s3-outposts.us-west-2.amazonaws.com"),
 4067   4067   
        "expected URI to start with `https://reports-123456789012.op-01234567890123456.s3-outposts.us-west-2.amazonaws.com` but it was `{}`",
 4068   4068   
        uri
 4069   4069   
    );
 4070   4070   
}
 4071   4071   
 4072   4072   
#[::tokio::test]
 4073   4073   
async fn operation_input_test_get_object_119() {
 4074   4074   
    /* documentation: S3 outposts custom endpoint */
 4075   4075   
    /* builtIns: {
 4076   4076   
        "AWS::Region": "us-west-2",
 4077   4077   
        "SDK::Endpoint": "https://example.amazonaws.com"
 4078   4078   
    } */
 4079   4079   
    /* clientParams: {} */
 4080         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4080  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4081   4081   
    let conf = {
 4082   4082   
        #[allow(unused_mut)]
 4083   4083   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4084   4084   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4085   4085   
        let builder = builder.endpoint_url("https://example.amazonaws.com");
 4086   4086   
        builder.build()
 4087   4087   
    };
 4088   4088   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4089   4089   
    let _result = dbg!(
 4090   4090   
        client
 4091   4091   
            .get_object()
 4092   4092   
            .set_bucket(::std::option::Option::Some(
 4093   4093   
                "arn:aws:s3-outposts:us-west-2:123456789012:outpost/op-01234567890123456/accesspoint/reports".to_owned()
 4094   4094   
            ))
 4095   4095   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4096   4096   
            .send()
 4097   4097   
            .await
 4098   4098   
    );
 4099   4099   
    let req = rcvr.expect_request();
 4100   4100   
    let uri = req.uri().to_string();
 4101   4101   
    assert!(
 4102   4102   
        uri.starts_with("https://reports-123456789012.op-01234567890123456.example.amazonaws.com"),
 4103   4103   
        "expected URI to start with `https://reports-123456789012.op-01234567890123456.example.amazonaws.com` but it was `{}`",
 4104   4104   
        uri
 4105   4105   
    );
 4106   4106   
}
 4107   4107   
 4108   4108   
#[::tokio::test]
 4109   4109   
async fn operation_input_test_get_object_120() {
 4110   4110   
    /* documentation: outposts arn with region mismatch and UseArnRegion=false */
 4111   4111   
    /* builtIns: {
 4112   4112   
        "AWS::Region": "us-west-2",
 4113   4113   
        "AWS::S3::UseArnRegion": false
 4114   4114   
    } */
 4115   4115   
    /* clientParams: {} */
 4116         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4116  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4117   4117   
    let conf = {
 4118   4118   
        #[allow(unused_mut)]
 4119   4119   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4120   4120   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4121   4121   
        let builder = builder.use_arn_region(false);
 4122   4122   
        builder.build()
 4123   4123   
    };
 4124   4124   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4125   4125   
    let _result = dbg!(
 4126   4126   
        client
 4127   4127   
            .get_object()
 4128   4128   
            .set_bucket(::std::option::Option::Some(
 4129   4129   
                "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint".to_owned()
 4130   4130   
            ))
 4131   4131   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4132   4132   
            .send()
 4133   4133   
            .await
 4134   4134   
    );
 4135   4135   
    rcvr.expect_no_request();
 4136   4136   
    let error = _result.expect_err("expected error: Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false` [outposts arn with region mismatch and UseArnRegion=false]");
 4137   4137   
    assert!(
 4138   4138   
                                            format!("{:?}", error).contains("Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"),
 4139   4139   
                                            "expected error to contain `Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`` but it was {:?}", error
 4140   4140   
                                        );
 4141   4141   
}
 4142   4142   
 4143   4143   
#[::tokio::test]
 4144   4144   
async fn operation_input_test_get_object_121() {
 4145   4145   
    /* documentation: outposts arn with region mismatch, custom region and UseArnRegion=false */
 4146   4146   
    /* builtIns: {
 4147   4147   
        "AWS::Region": "us-west-2",
 4148   4148   
        "SDK::Endpoint": "https://example.com",
 4149   4149   
        "AWS::S3::UseArnRegion": false
 4150   4150   
    } */
 4151   4151   
    /* clientParams: {} */
 4152         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4152  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4153   4153   
    let conf = {
 4154   4154   
        #[allow(unused_mut)]
 4155   4155   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4156   4156   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4157   4157   
        let builder = builder.endpoint_url("https://example.com");
 4158   4158   
        let builder = builder.use_arn_region(false);
 4159   4159   
        builder.build()
 4160   4160   
    };
 4161   4161   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4162   4162   
    let _result = dbg!(
 4163   4163   
        client
 4164   4164   
            .get_object()
 4165   4165   
            .set_bucket(::std::option::Option::Some(
 4166   4166   
                "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint".to_owned()
 4167   4167   
            ))
 4168   4168   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4169   4169   
            .send()
 4170   4170   
            .await
 4171   4171   
    );
 4172   4172   
    rcvr.expect_no_request();
 4173   4173   
    let error = _result.expect_err("expected error: Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false` [outposts arn with region mismatch, custom region and UseArnRegion=false]");
 4174   4174   
    assert!(
 4175   4175   
                                            format!("{:?}", error).contains("Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"),
 4176   4176   
                                            "expected error to contain `Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`` but it was {:?}", error
 4177   4177   
                                        );
 4178   4178   
}
 4179   4179   
 4180   4180   
#[::tokio::test]
 4181   4181   
async fn operation_input_test_get_object_122() {
 4182   4182   
    /* documentation: outposts arn with region mismatch and UseArnRegion=true */
 4183   4183   
    /* builtIns: {
 4184   4184   
        "AWS::Region": "us-west-2",
 4185   4185   
        "AWS::S3::UseArnRegion": true
 4186   4186   
    } */
 4187   4187   
    /* clientParams: {} */
 4188         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4188  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4189   4189   
    let conf = {
 4190   4190   
        #[allow(unused_mut)]
 4191   4191   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4192   4192   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4193   4193   
        let builder = builder.use_arn_region(true);
 4194   4194   
        builder.build()
 4195   4195   
    };
 4196   4196   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4197   4197   
    let _result = dbg!(
 4198   4198   
        client
 4199   4199   
            .get_object()
 4200   4200   
            .set_bucket(::std::option::Option::Some(
 4201   4201   
                "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint".to_owned()
 4202   4202   
            ))
 4203   4203   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4204   4204   
            .send()
 4205   4205   
            .await
 4206   4206   
    );
 4207   4207   
    let req = rcvr.expect_request();
 4208   4208   
    let uri = req.uri().to_string();
 4209   4209   
    assert!(
 4210   4210   
        uri.starts_with("https://myaccesspoint-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com"),
 4211   4211   
        "expected URI to start with `https://myaccesspoint-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com` but it was `{}`",
 4212   4212   
        uri
 4213   4213   
    );
 4214   4214   
}
 4215   4215   
 4216   4216   
#[::tokio::test]
 4217   4217   
async fn operation_input_test_get_object_123() {
 4218   4218   
    /* documentation: outposts arn with region mismatch and UseArnRegion unset */
 4219   4219   
    /* builtIns: {
 4220   4220   
        "AWS::Region": "us-west-2"
 4221   4221   
    } */
 4222   4222   
    /* clientParams: {} */
 4223         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4223  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4224   4224   
    let conf = {
 4225   4225   
        #[allow(unused_mut)]
 4226   4226   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4227   4227   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4228   4228   
        builder.build()
 4229   4229   
    };
 4230   4230   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4231   4231   
    let _result = dbg!(
 4232   4232   
        client
 4233   4233   
            .get_object()
 4234   4234   
            .set_bucket(::std::option::Option::Some(
 4235   4235   
                "arn:aws:s3-outposts:us-east-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint".to_owned()
 4236   4236   
            ))
 4237   4237   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4238   4238   
            .send()
 4239   4239   
            .await
 4240   4240   
    );
 4241   4241   
    let req = rcvr.expect_request();
 4242   4242   
    let uri = req.uri().to_string();
 4243   4243   
    assert!(
 4244   4244   
        uri.starts_with("https://myaccesspoint-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com"),
 4245   4245   
        "expected URI to start with `https://myaccesspoint-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com` but it was `{}`",
 4246   4246   
        uri
 4247   4247   
    );
 4248   4248   
}
 4249   4249   
 4250   4250   
#[::tokio::test]
 4251   4251   
async fn operation_input_test_get_object_124() {
 4252   4252   
    /* documentation: outposts arn with partition mismatch and UseArnRegion=true */
 4253   4253   
    /* builtIns: {
 4254   4254   
        "AWS::Region": "us-west-2",
 4255   4255   
        "AWS::S3::UseArnRegion": true
 4256   4256   
    } */
 4257   4257   
    /* clientParams: {} */
 4258         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4258  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4259   4259   
    let conf = {
 4260   4260   
        #[allow(unused_mut)]
 4261   4261   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4262   4262   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4263   4263   
        let builder = builder.use_arn_region(true);
 4264   4264   
        builder.build()
 4265   4265   
    };
 4266   4266   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4267   4267   
    let _result = dbg!(
 4268   4268   
        client
 4269   4269   
            .get_object()
 4270   4270   
            .set_bucket(::std::option::Option::Some(
 4271   4271   
                "arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint".to_owned()
 4272   4272   
            ))
 4273   4273   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4274   4274   
            .send()
 4275   4275   
            .await
 4276   4276   
    );
 4277   4277   
    rcvr.expect_no_request();
 4278   4278   
    let error = _result.expect_err("expected error: Client was configured for partition `aws` but ARN (`arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint`) has `aws-cn` [outposts arn with partition mismatch and UseArnRegion=true]");
 4279   4279   
    assert!(
 4280   4280   
                                            format!("{:?}", error).contains("Client was configured for partition `aws` but ARN (`arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint`) has `aws-cn`"),
 4281   4281   
                                            "expected error to contain `Client was configured for partition `aws` but ARN (`arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint`) has `aws-cn`` but it was {:?}", error
 4282   4282   
                                        );
 4283   4283   
}
 4284   4284   
 4285   4285   
#[::tokio::test]
 4286   4286   
async fn operation_input_test_get_object_125() {
 4287   4287   
    /* documentation: object lambda @us-east-1 */
 4288   4288   
    /* builtIns: {
 4289   4289   
        "AWS::Region": "us-east-1",
 4290   4290   
        "AWS::S3::UseArnRegion": false
 4291   4291   
    } */
 4292   4292   
    /* clientParams: {} */
 4293         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4293  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4294   4294   
    let conf = {
 4295   4295   
        #[allow(unused_mut)]
 4296   4296   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4297   4297   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 4298   4298   
        let builder = builder.use_arn_region(false);
 4299   4299   
        builder.build()
 4300   4300   
    };
 4301   4301   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4302   4302   
    let _result = dbg!(
 4303   4303   
        client
 4304   4304   
            .get_object()
 4305   4305   
            .set_bucket(::std::option::Option::Some(
 4306   4306   
                "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner".to_owned()
 4307   4307   
            ))
 4308   4308   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4309   4309   
            .send()
 4310   4310   
            .await
 4311   4311   
    );
 4312   4312   
    let req = rcvr.expect_request();
 4313   4313   
    let uri = req.uri().to_string();
 4314   4314   
    assert!(
 4315   4315   
        uri.starts_with("https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com"),
 4316   4316   
        "expected URI to start with `https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com` but it was `{}`",
 4317   4317   
        uri
 4318   4318   
    );
 4319   4319   
}
 4320   4320   
 4321   4321   
#[::tokio::test]
 4322   4322   
async fn operation_input_test_get_object_126() {
 4323   4323   
    /* documentation: object lambda @us-west-2 */
 4324   4324   
    /* builtIns: {
 4325   4325   
        "AWS::Region": "us-west-2",
 4326   4326   
        "AWS::S3::UseArnRegion": false
 4327   4327   
    } */
 4328   4328   
    /* clientParams: {} */
 4329         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4329  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4330   4330   
    let conf = {
 4331   4331   
        #[allow(unused_mut)]
 4332   4332   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4333   4333   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4334   4334   
        let builder = builder.use_arn_region(false);
 4335   4335   
        builder.build()
 4336   4336   
    };
 4337   4337   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4338   4338   
    let _result = dbg!(
 4339   4339   
        client
 4340   4340   
            .get_object()
 4341   4341   
            .set_bucket(::std::option::Option::Some(
 4342   4342   
                "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner".to_owned()
 4343   4343   
            ))
 4344   4344   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4345   4345   
            .send()
 4346   4346   
            .await
 4347   4347   
    );
 4348   4348   
    let req = rcvr.expect_request();
 4349   4349   
    let uri = req.uri().to_string();
 4350   4350   
    assert!(
 4351   4351   
        uri.starts_with("https://mybanner-123456789012.s3-object-lambda.us-west-2.amazonaws.com"),
 4352   4352   
        "expected URI to start with `https://mybanner-123456789012.s3-object-lambda.us-west-2.amazonaws.com` but it was `{}`",
 4353   4353   
        uri
 4354   4354   
    );
 4355   4355   
}
 4356   4356   
 4357   4357   
#[::tokio::test]
 4358   4358   
async fn operation_input_test_get_object_127() {
 4359   4359   
    /* documentation: object lambda, colon resource deliminator @us-west-2 */
 4360   4360   
    /* builtIns: {
 4361   4361   
        "AWS::Region": "us-west-2",
 4362   4362   
        "AWS::S3::UseArnRegion": false
 4363   4363   
    } */
 4364   4364   
    /* clientParams: {} */
 4365         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4365  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4366   4366   
    let conf = {
 4367   4367   
        #[allow(unused_mut)]
 4368   4368   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4369   4369   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4370   4370   
        let builder = builder.use_arn_region(false);
 4371   4371   
        builder.build()
 4372   4372   
    };
 4373   4373   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4374   4374   
    let _result = dbg!(
 4375   4375   
        client
 4376   4376   
            .get_object()
 4377   4377   
            .set_bucket(::std::option::Option::Some(
 4378   4378   
                "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint:mybanner".to_owned()
 4379   4379   
            ))
 4380   4380   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4381   4381   
            .send()
 4382   4382   
            .await
 4383   4383   
    );
 4384   4384   
    let req = rcvr.expect_request();
 4385   4385   
    let uri = req.uri().to_string();
 4386   4386   
    assert!(
 4387   4387   
        uri.starts_with("https://mybanner-123456789012.s3-object-lambda.us-west-2.amazonaws.com"),
 4388   4388   
        "expected URI to start with `https://mybanner-123456789012.s3-object-lambda.us-west-2.amazonaws.com` but it was `{}`",
 4389   4389   
        uri
 4390   4390   
    );
 4391   4391   
}
 4392   4392   
 4393   4393   
#[::tokio::test]
 4394   4394   
async fn operation_input_test_get_object_128() {
 4395   4395   
    /* documentation: object lambda @us-east-1, client region us-west-2, useArnRegion=true */
 4396   4396   
    /* builtIns: {
 4397   4397   
        "AWS::Region": "us-west-2",
 4398   4398   
        "AWS::S3::UseArnRegion": true
 4399   4399   
    } */
 4400   4400   
    /* clientParams: {} */
 4401         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4401  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4402   4402   
    let conf = {
 4403   4403   
        #[allow(unused_mut)]
 4404   4404   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4405   4405   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4406   4406   
        let builder = builder.use_arn_region(true);
 4407   4407   
        builder.build()
 4408   4408   
    };
 4409   4409   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4410   4410   
    let _result = dbg!(
 4411   4411   
        client
 4412   4412   
            .get_object()
 4413   4413   
            .set_bucket(::std::option::Option::Some(
 4414   4414   
                "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner".to_owned()
 4415   4415   
            ))
 4416   4416   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4417   4417   
            .send()
 4418   4418   
            .await
 4419   4419   
    );
 4420   4420   
    let req = rcvr.expect_request();
 4421   4421   
    let uri = req.uri().to_string();
 4422   4422   
    assert!(
 4423   4423   
        uri.starts_with("https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com"),
 4424   4424   
        "expected URI to start with `https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com` but it was `{}`",
 4425   4425   
        uri
 4426   4426   
    );
 4427   4427   
}
 4428   4428   
 4429   4429   
#[::tokio::test]
 4430   4430   
async fn operation_input_test_get_object_129() {
 4431   4431   
    /* documentation: object lambda @us-east-1, client region s3-external-1, useArnRegion=true */
 4432   4432   
    /* builtIns: {
 4433   4433   
        "AWS::Region": "s3-external-1",
 4434   4434   
        "AWS::S3::UseArnRegion": true
 4435   4435   
    } */
 4436   4436   
    /* clientParams: {} */
 4437         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4437  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4438   4438   
    let conf = {
 4439   4439   
        #[allow(unused_mut)]
 4440   4440   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4441   4441   
        let builder = builder.region(::aws_types::region::Region::new("s3-external-1"));
 4442   4442   
        let builder = builder.use_arn_region(true);
 4443   4443   
        builder.build()
 4444   4444   
    };
 4445   4445   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4446   4446   
    let _result = dbg!(
 4447   4447   
        client
 4448   4448   
            .get_object()
 4449   4449   
            .set_bucket(::std::option::Option::Some(
 4450   4450   
                "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner".to_owned()
 4451   4451   
            ))
 4452   4452   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4453   4453   
            .send()
 4454   4454   
            .await
 4455   4455   
    );
 4456   4456   
    let req = rcvr.expect_request();
 4457   4457   
    let uri = req.uri().to_string();
 4458   4458   
    assert!(
 4459   4459   
        uri.starts_with("https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com"),
 4460   4460   
        "expected URI to start with `https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com` but it was `{}`",
 4461   4461   
        uri
 4462   4462   
    );
 4463   4463   
}
 4464   4464   
 4465   4465   
#[::tokio::test]
 4466   4466   
async fn operation_input_test_get_object_130() {
 4467   4467   
    /* documentation: object lambda @us-east-1, client region s3-external-1, useArnRegion=false */
 4468   4468   
    /* builtIns: {
 4469   4469   
        "AWS::Region": "s3-external-1",
 4470   4470   
        "AWS::S3::UseArnRegion": false
 4471   4471   
    } */
 4472   4472   
    /* clientParams: {} */
 4473         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4473  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4474   4474   
    let conf = {
 4475   4475   
        #[allow(unused_mut)]
 4476   4476   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4477   4477   
        let builder = builder.region(::aws_types::region::Region::new("s3-external-1"));
 4478   4478   
        let builder = builder.use_arn_region(false);
 4479   4479   
        builder.build()
 4480   4480   
    };
 4481   4481   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4482   4482   
    let _result = dbg!(
 4483   4483   
        client
 4484   4484   
            .get_object()
 4485   4485   
            .set_bucket(::std::option::Option::Some(
 4486   4486   
                "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner".to_owned()
 4487   4487   
            ))
 4488   4488   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4489   4489   
            .send()
 4490   4490   
            .await
 4491   4491   
    );
 4492   4492   
    rcvr.expect_no_request();
 4493   4493   
    let error = _result.expect_err("expected error: Invalid configuration: region from ARN `us-east-1` does not match client region `s3-external-1` and UseArnRegion is `false` [object lambda @us-east-1, client region s3-external-1, useArnRegion=false]");
 4494   4494   
    assert!(
 4495   4495   
                                            format!("{:?}", error).contains("Invalid configuration: region from ARN `us-east-1` does not match client region `s3-external-1` and UseArnRegion is `false`"),
 4496   4496   
                                            "expected error to contain `Invalid configuration: region from ARN `us-east-1` does not match client region `s3-external-1` and UseArnRegion is `false`` but it was {:?}", error
 4497   4497   
                                        );
 4498   4498   
}
 4499   4499   
 4500   4500   
#[::tokio::test]
 4501   4501   
async fn operation_input_test_get_object_131() {
 4502   4502   
    /* documentation: object lambda @us-east-1, client region aws-global, useArnRegion=true */
 4503   4503   
    /* builtIns: {
 4504   4504   
        "AWS::Region": "aws-global",
 4505   4505   
        "AWS::S3::UseArnRegion": true
 4506   4506   
    } */
 4507   4507   
    /* clientParams: {} */
 4508         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4508  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4509   4509   
    let conf = {
 4510   4510   
        #[allow(unused_mut)]
 4511   4511   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4512   4512   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 4513   4513   
        let builder = builder.use_arn_region(true);
 4514   4514   
        builder.build()
 4515   4515   
    };
 4516   4516   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4517   4517   
    let _result = dbg!(
 4518   4518   
        client
 4519   4519   
            .get_object()
 4520   4520   
            .set_bucket(::std::option::Option::Some(
 4521   4521   
                "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner".to_owned()
 4522   4522   
            ))
 4523   4523   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4524   4524   
            .send()
 4525   4525   
            .await
 4526   4526   
    );
 4527   4527   
    let req = rcvr.expect_request();
 4528   4528   
    let uri = req.uri().to_string();
 4529   4529   
    assert!(
 4530   4530   
        uri.starts_with("https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com"),
 4531   4531   
        "expected URI to start with `https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com` but it was `{}`",
 4532   4532   
        uri
 4533   4533   
    );
 4534   4534   
}
 4535   4535   
 4536   4536   
#[::tokio::test]
 4537   4537   
async fn operation_input_test_get_object_132() {
 4538   4538   
    /* documentation: object lambda @us-east-1, client region aws-global, useArnRegion=false */
 4539   4539   
    /* builtIns: {
 4540   4540   
        "AWS::Region": "aws-global",
 4541   4541   
        "AWS::S3::UseArnRegion": false
 4542   4542   
    } */
 4543   4543   
    /* clientParams: {} */
 4544         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4544  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4545   4545   
    let conf = {
 4546   4546   
        #[allow(unused_mut)]
 4547   4547   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4548   4548   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 4549   4549   
        let builder = builder.use_arn_region(false);
 4550   4550   
        builder.build()
 4551   4551   
    };
 4552   4552   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4553   4553   
    let _result = dbg!(
 4554   4554   
        client
 4555   4555   
            .get_object()
 4556   4556   
            .set_bucket(::std::option::Option::Some(
 4557   4557   
                "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner".to_owned()
 4558   4558   
            ))
 4559   4559   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4560   4560   
            .send()
 4561   4561   
            .await
 4562   4562   
    );
 4563   4563   
    rcvr.expect_no_request();
 4564   4564   
    let error = _result.expect_err("expected error: Invalid configuration: region from ARN `us-east-1` does not match client region `aws-global` and UseArnRegion is `false` [object lambda @us-east-1, client region aws-global, useArnRegion=false]");
 4565   4565   
    assert!(
 4566   4566   
                                            format!("{:?}", error).contains("Invalid configuration: region from ARN `us-east-1` does not match client region `aws-global` and UseArnRegion is `false`"),
 4567   4567   
                                            "expected error to contain `Invalid configuration: region from ARN `us-east-1` does not match client region `aws-global` and UseArnRegion is `false`` but it was {:?}", error
 4568   4568   
                                        );
 4569   4569   
}
 4570   4570   
 4571   4571   
#[::tokio::test]
 4572   4572   
async fn operation_input_test_get_object_133() {
 4573   4573   
    /* documentation: object lambda @cn-north-1, client region us-west-2 (cross partition), useArnRegion=true */
 4574   4574   
    /* builtIns: {
 4575   4575   
        "AWS::Region": "aws-global",
 4576   4576   
        "AWS::S3::UseArnRegion": true
 4577   4577   
    } */
 4578   4578   
    /* clientParams: {} */
 4579         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4579  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4580   4580   
    let conf = {
 4581   4581   
        #[allow(unused_mut)]
 4582   4582   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4583   4583   
        let builder = builder.region(::aws_types::region::Region::new("aws-global"));
 4584   4584   
        let builder = builder.use_arn_region(true);
 4585   4585   
        builder.build()
 4586   4586   
    };
 4587   4587   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4588   4588   
    let _result = dbg!(
 4589   4589   
        client
 4590   4590   
            .get_object()
 4591   4591   
            .set_bucket(::std::option::Option::Some(
 4592   4592   
                "arn:aws-cn:s3-object-lambda:cn-north-1:123456789012:accesspoint/mybanner".to_owned()
 4593   4593   
            ))
 4594   4594   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4595   4595   
            .send()
 4596   4596   
            .await
 4597   4597   
    );
 4598   4598   
    rcvr.expect_no_request();
 4599   4599   
    let error = _result.expect_err("expected error: Client was configured for partition `aws` but ARN (`arn:aws-cn:s3-object-lambda:cn-north-1:123456789012:accesspoint/mybanner`) has `aws-cn` [object lambda @cn-north-1, client region us-west-2 (cross partition), useArnRegion=true]");
 4600   4600   
    assert!(
 4601   4601   
                                            format!("{:?}", error).contains("Client was configured for partition `aws` but ARN (`arn:aws-cn:s3-object-lambda:cn-north-1:123456789012:accesspoint/mybanner`) has `aws-cn`"),
 4602   4602   
                                            "expected error to contain `Client was configured for partition `aws` but ARN (`arn:aws-cn:s3-object-lambda:cn-north-1:123456789012:accesspoint/mybanner`) has `aws-cn`` but it was {:?}", error
 4603   4603   
                                        );
 4604   4604   
}
 4605   4605   
 4606   4606   
#[::tokio::test]
 4607   4607   
async fn operation_input_test_get_object_134() {
 4608   4608   
    /* documentation: object lambda with dualstack */
 4609   4609   
    /* builtIns: {
 4610   4610   
        "AWS::Region": "us-west-2",
 4611   4611   
        "AWS::UseDualStack": true,
 4612   4612   
        "AWS::S3::UseArnRegion": false
 4613   4613   
    } */
 4614   4614   
    /* clientParams: {} */
 4615         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4615  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4616   4616   
    let conf = {
 4617   4617   
        #[allow(unused_mut)]
 4618   4618   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4619   4619   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4620   4620   
        let builder = builder.use_dual_stack(true);
 4621   4621   
        let builder = builder.use_arn_region(false);
 4622   4622   
        builder.build()
 4623   4623   
    };
 4624   4624   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4625   4625   
    let _result = dbg!(
 4626   4626   
        client
 4627   4627   
            .get_object()
 4628   4628   
            .set_bucket(::std::option::Option::Some(
 4629   4629   
                "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner".to_owned()
 4630   4630   
            ))
 4631   4631   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4632   4632   
            .send()
 4633   4633   
            .await
 4634   4634   
    );
 4635   4635   
    rcvr.expect_no_request();
 4636   4636   
    let error = _result.expect_err("expected error: S3 Object Lambda does not support Dual-stack [object lambda with dualstack]");
 4637   4637   
    assert!(
 4638   4638   
        format!("{:?}", error).contains("S3 Object Lambda does not support Dual-stack"),
 4639   4639   
        "expected error to contain `S3 Object Lambda does not support Dual-stack` but it was {:?}",
 4640   4640   
        error
 4641   4641   
    );
 4642   4642   
}
 4643   4643   
 4644   4644   
#[::tokio::test]
 4645   4645   
async fn operation_input_test_get_object_135() {
 4646   4646   
    /* documentation: object lambda with accelerate */
 4647   4647   
    /* builtIns: {
 4648   4648   
        "AWS::Region": "us-west-2",
 4649   4649   
        "AWS::S3::Accelerate": true,
 4650   4650   
        "AWS::S3::UseArnRegion": false
 4651   4651   
    } */
 4652   4652   
    /* clientParams: {} */
 4653         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4653  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4654   4654   
    let conf = {
 4655   4655   
        #[allow(unused_mut)]
 4656   4656   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4657   4657   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4658   4658   
        let builder = builder.accelerate(true);
 4659   4659   
        let builder = builder.use_arn_region(false);
 4660   4660   
        builder.build()
 4661   4661   
    };
 4662   4662   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4663   4663   
    let _result = dbg!(
 4664   4664   
        client
 4665   4665   
            .get_object()
 4666   4666   
            .set_bucket(::std::option::Option::Some(
 4667   4667   
                "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner".to_owned()
 4668   4668   
            ))
 4669   4669   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4670   4670   
            .send()
 4671   4671   
            .await
 4672   4672   
    );
 4673   4673   
    rcvr.expect_no_request();
 4674   4674   
    let error = _result.expect_err("expected error: S3 Object Lambda does not support S3 Accelerate [object lambda with accelerate]");
 4675   4675   
    assert!(
 4676   4676   
        format!("{:?}", error).contains("S3 Object Lambda does not support S3 Accelerate"),
 4677   4677   
        "expected error to contain `S3 Object Lambda does not support S3 Accelerate` but it was {:?}",
 4678   4678   
        error
 4679   4679   
    );
 4680   4680   
}
 4681   4681   
 4682   4682   
#[::tokio::test]
 4683   4683   
async fn operation_input_test_get_object_136() {
 4684   4684   
    /* documentation: object lambda with invalid arn - bad service and someresource */
 4685   4685   
    /* builtIns: {
 4686   4686   
        "AWS::Region": "us-west-2",
 4687   4687   
        "AWS::S3::UseArnRegion": false
 4688   4688   
    } */
 4689   4689   
    /* clientParams: {} */
 4690         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4690  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4691   4691   
    let conf = {
 4692   4692   
        #[allow(unused_mut)]
 4693   4693   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4694   4694   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4695   4695   
        let builder = builder.use_arn_region(false);
 4696   4696   
        builder.build()
 4697   4697   
    };
 4698   4698   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4699   4699   
    let _result = dbg!(
 4700   4700   
        client
 4701   4701   
            .get_object()
 4702   4702   
            .set_bucket(::std::option::Option::Some("arn:aws:sqs:us-west-2:123456789012:someresource".to_owned()))
 4703   4703   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4704   4704   
            .send()
 4705   4705   
            .await
 4706   4706   
    );
 4707   4707   
    rcvr.expect_no_request();
 4708   4708   
    let error = _result.expect_err("expected error: Invalid ARN: Unrecognized format: arn:aws:sqs:us-west-2:123456789012:someresource (type: someresource) [object lambda with invalid arn - bad service and someresource]");
 4709   4709   
    assert!(
 4710   4710   
                                            format!("{:?}", error).contains("Invalid ARN: Unrecognized format: arn:aws:sqs:us-west-2:123456789012:someresource (type: someresource)"),
 4711   4711   
                                            "expected error to contain `Invalid ARN: Unrecognized format: arn:aws:sqs:us-west-2:123456789012:someresource (type: someresource)` but it was {:?}", error
 4712   4712   
                                        );
 4713   4713   
}
 4714   4714   
 4715   4715   
#[::tokio::test]
 4716   4716   
async fn operation_input_test_get_object_137() {
 4717   4717   
    /* documentation: object lambda with invalid arn - account id contains invalid characters */
 4718   4718   
    /* builtIns: {
 4719   4719   
        "AWS::Region": "us-west-2",
 4720   4720   
        "AWS::S3::UseArnRegion": true
 4721   4721   
    } */
 4722   4722   
    /* clientParams: {} */
 4723         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4723  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4724   4724   
    let conf = {
 4725   4725   
        #[allow(unused_mut)]
 4726   4726   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4727   4727   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4728   4728   
        let builder = builder.use_arn_region(true);
 4729   4729   
        builder.build()
 4730   4730   
    };
 4731   4731   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4732   4732   
    let _result = dbg!(
 4733   4733   
        client
 4734   4734   
            .get_object()
 4735   4735   
            .set_bucket(::std::option::Option::Some(
 4736   4736   
                "arn:aws:s3-object-lambda:us-west-2:123.45678.9012:accesspoint:mybucket".to_owned()
 4737   4737   
            ))
 4738   4738   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4739   4739   
            .send()
 4740   4740   
            .await
 4741   4741   
    );
 4742   4742   
    rcvr.expect_no_request();
 4743   4743   
    let error = _result.expect_err("expected error: Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123.45678.9012` [object lambda with invalid arn - account id contains invalid characters]");
 4744   4744   
    assert!(
 4745   4745   
        format!("{:?}", error).contains("Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123.45678.9012`"),
 4746   4746   
        "expected error to contain `Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123.45678.9012`` but it was {:?}",
 4747   4747   
        error
 4748   4748   
    );
 4749   4749   
}
 4750   4750   
 4751   4751   
#[::tokio::test]
 4752   4752   
async fn operation_input_test_get_object_138() {
 4753   4753   
    /* documentation: object lambda with custom endpoint */
 4754   4754   
    /* builtIns: {
 4755   4755   
        "AWS::Region": "us-west-2",
 4756   4756   
        "SDK::Endpoint": "https://my-endpoint.com",
 4757   4757   
        "AWS::S3::UseArnRegion": false
 4758   4758   
    } */
 4759   4759   
    /* clientParams: {} */
 4760         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4760  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4761   4761   
    let conf = {
 4762   4762   
        #[allow(unused_mut)]
 4763   4763   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4764   4764   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4765   4765   
        let builder = builder.endpoint_url("https://my-endpoint.com");
 4766   4766   
        let builder = builder.use_arn_region(false);
 4767   4767   
        builder.build()
 4768   4768   
    };
 4769   4769   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4770   4770   
    let _result = dbg!(
 4771   4771   
        client
 4772   4772   
            .get_object()
 4773   4773   
            .set_bucket(::std::option::Option::Some(
 4774   4774   
                "arn:aws:s3-object-lambda:us-west-2:123456789012:accesspoint/mybanner".to_owned()
 4775   4775   
            ))
 4776   4776   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4777   4777   
            .send()
 4778   4778   
            .await
 4779   4779   
    );
 4780   4780   
    let req = rcvr.expect_request();
 4781   4781   
    let uri = req.uri().to_string();
 4782   4782   
    assert!(
 4783   4783   
        uri.starts_with("https://mybanner-123456789012.my-endpoint.com"),
 4784   4784   
        "expected URI to start with `https://mybanner-123456789012.my-endpoint.com` but it was `{}`",
 4785   4785   
        uri
 4786   4786   
    );
 4787   4787   
}
 4788   4788   
 4789   4789   
#[::tokio::test]
 4790   4790   
async fn operation_input_test_get_object_139() {
 4791   4791   
    /* documentation: object lambda arn with region mismatch and UseArnRegion=false */
 4792   4792   
    /* builtIns: {
 4793   4793   
        "AWS::Region": "us-west-2",
 4794   4794   
        "AWS::S3::UseArnRegion": false
 4795   4795   
    } */
 4796   4796   
    /* clientParams: {} */
 4797         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4797  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4798   4798   
    let conf = {
 4799   4799   
        #[allow(unused_mut)]
 4800   4800   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4801   4801   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4802   4802   
        let builder = builder.use_arn_region(false);
 4803   4803   
        builder.build()
 4804   4804   
    };
 4805   4805   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4806   4806   
    let _result = dbg!(
 4807   4807   
        client
 4808   4808   
            .get_object()
 4809   4809   
            .set_bucket(::std::option::Option::Some(
 4810   4810   
                "arn:aws:s3-object-lambda:us-east-1:123456789012:accesspoint/mybanner".to_owned()
 4811   4811   
            ))
 4812   4812   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4813   4813   
            .send()
 4814   4814   
            .await
 4815   4815   
    );
 4816   4816   
    rcvr.expect_no_request();
 4817   4817   
    let error = _result.expect_err("expected error: Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false` [object lambda arn with region mismatch and UseArnRegion=false]");
 4818   4818   
    assert!(
 4819   4819   
                                            format!("{:?}", error).contains("Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"),
 4820   4820   
                                            "expected error to contain `Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`` but it was {:?}", error
 4821   4821   
                                        );
 4822   4822   
}
 4823   4823   
 4824   4824   
#[::tokio::test]
 4825   4825   
async fn operation_input_test_get_object_140() {
 4826   4826   
    /* documentation: Data Plane with short zone name */
 4827   4827   
    /* builtIns: {
 4828   4828   
        "AWS::Region": "us-east-1"
 4829   4829   
    } */
 4830   4830   
    /* clientParams: {} */
 4831         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4831  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4832   4832   
    let conf = {
 4833   4833   
        #[allow(unused_mut)]
 4834   4834   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4835   4835   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 4836   4836   
        builder.build()
 4837   4837   
    };
 4838   4838   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4839   4839   
    let _result = dbg!(
 4840   4840   
        client
 4841   4841   
            .get_object()
 4842   4842   
            .set_bucket(::std::option::Option::Some("mybucket--abcd-ab1--x-s3".to_owned()))
 4843   4843   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4844   4844   
            .send()
 4845   4845   
            .await
 4846   4846   
    );
 4847   4847   
    let req = rcvr.expect_request();
 4848   4848   
    let uri = req.uri().to_string();
 4849   4849   
    assert!(
 4850   4850   
        uri.starts_with("https://mybucket--abcd-ab1--x-s3.s3express-abcd-ab1.us-east-1.amazonaws.com"),
 4851   4851   
        "expected URI to start with `https://mybucket--abcd-ab1--x-s3.s3express-abcd-ab1.us-east-1.amazonaws.com` but it was `{}`",
 4852   4852   
        uri
 4853   4853   
    );
 4854   4854   
}
 4855   4855   
 4856   4856   
#[::tokio::test]
 4857   4857   
async fn operation_input_test_get_object_141() {
 4858   4858   
    /* documentation: Data Plane with short zone names (13 chars) */
 4859   4859   
    /* builtIns: {
 4860   4860   
        "AWS::Region": "us-west-2"
 4861   4861   
    } */
 4862   4862   
    /* clientParams: {} */
 4863         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4863  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4864   4864   
    let conf = {
 4865   4865   
        #[allow(unused_mut)]
 4866   4866   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4867   4867   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4868   4868   
        builder.build()
 4869   4869   
    };
 4870   4870   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4871   4871   
    let _result = dbg!(
 4872   4872   
        client
 4873   4873   
            .get_object()
 4874   4874   
            .set_bucket(::std::option::Option::Some("mybucket--test-zone-ab1--x-s3".to_owned()))
 4875   4875   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4876   4876   
            .send()
 4877   4877   
            .await
 4878   4878   
    );
 4879   4879   
    let req = rcvr.expect_request();
 4880   4880   
    let uri = req.uri().to_string();
 4881   4881   
    assert!(
 4882   4882   
        uri.starts_with("https://mybucket--test-zone-ab1--x-s3.s3express-test-zone-ab1.us-west-2.amazonaws.com"),
 4883   4883   
        "expected URI to start with `https://mybucket--test-zone-ab1--x-s3.s3express-test-zone-ab1.us-west-2.amazonaws.com` but it was `{}`",
 4884   4884   
        uri
 4885   4885   
    );
 4886   4886   
}
 4887   4887   
 4888   4888   
#[::tokio::test]
 4889   4889   
async fn operation_input_test_get_object_142() {
 4890   4890   
    /* documentation: Data Plane with medium zone names (14 chars) */
 4891   4891   
    /* builtIns: {
 4892   4892   
        "AWS::Region": "us-west-2"
 4893   4893   
    } */
 4894   4894   
    /* clientParams: {} */
 4895         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4895  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4896   4896   
    let conf = {
 4897   4897   
        #[allow(unused_mut)]
 4898   4898   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4899   4899   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4900   4900   
        builder.build()
 4901   4901   
    };
 4902   4902   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4903   4903   
    let _result = dbg!(
 4904   4904   
        client
 4905   4905   
            .get_object()
 4906   4906   
            .set_bucket(::std::option::Option::Some("mybucket--test1-zone-ab1--x-s3".to_owned()))
 4907   4907   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4908   4908   
            .send()
 4909   4909   
            .await
 4910   4910   
    );
 4911   4911   
    let req = rcvr.expect_request();
 4912   4912   
    let uri = req.uri().to_string();
 4913   4913   
    assert!(
 4914   4914   
        uri.starts_with("https://mybucket--test1-zone-ab1--x-s3.s3express-test1-zone-ab1.us-west-2.amazonaws.com"),
 4915   4915   
        "expected URI to start with `https://mybucket--test1-zone-ab1--x-s3.s3express-test1-zone-ab1.us-west-2.amazonaws.com` but it was `{}`",
 4916   4916   
        uri
 4917   4917   
    );
 4918   4918   
}
 4919   4919   
 4920   4920   
#[::tokio::test]
 4921   4921   
async fn operation_input_test_get_object_143() {
 4922   4922   
    /* documentation: Data Plane with long zone names (20 chars) */
 4923   4923   
    /* builtIns: {
 4924   4924   
        "AWS::Region": "us-west-2"
 4925   4925   
    } */
 4926   4926   
    /* clientParams: {} */
 4927         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4927  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4928   4928   
    let conf = {
 4929   4929   
        #[allow(unused_mut)]
 4930   4930   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4931   4931   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4932   4932   
        builder.build()
 4933   4933   
    };
 4934   4934   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4935   4935   
    let _result = dbg!(
 4936   4936   
        client
 4937   4937   
            .get_object()
 4938   4938   
            .set_bucket(::std::option::Option::Some("mybucket--test1-long1-zone-ab1--x-s3".to_owned()))
 4939   4939   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4940   4940   
            .send()
 4941   4941   
            .await
 4942   4942   
    );
 4943   4943   
    let req = rcvr.expect_request();
 4944   4944   
    let uri = req.uri().to_string();
 4945   4945   
    assert!(uri.starts_with("https://mybucket--test1-long1-zone-ab1--x-s3.s3express-test1-long1-zone-ab1.us-west-2.amazonaws.com"), "expected URI to start with `https://mybucket--test1-long1-zone-ab1--x-s3.s3express-test1-long1-zone-ab1.us-west-2.amazonaws.com` but it was `{}`", uri);
 4946   4946   
}
 4947   4947   
 4948   4948   
#[::tokio::test]
 4949   4949   
async fn operation_input_test_get_object_144() {
 4950   4950   
    /* documentation: Data Plane with short zone fips */
 4951   4951   
    /* builtIns: {
 4952   4952   
        "AWS::Region": "us-east-1",
 4953   4953   
        "AWS::UseFIPS": true
 4954   4954   
    } */
 4955   4955   
    /* clientParams: {} */
 4956         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4956  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4957   4957   
    let conf = {
 4958   4958   
        #[allow(unused_mut)]
 4959   4959   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4960   4960   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 4961   4961   
        let builder = builder.use_fips(true);
 4962   4962   
        builder.build()
 4963   4963   
    };
 4964   4964   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4965   4965   
    let _result = dbg!(
 4966   4966   
        client
 4967   4967   
            .get_object()
 4968   4968   
            .set_bucket(::std::option::Option::Some("mybucket--test-ab1--x-s3".to_owned()))
 4969   4969   
            .set_key(::std::option::Option::Some("key".to_owned()))
 4970   4970   
            .send()
 4971   4971   
            .await
 4972   4972   
    );
 4973   4973   
    let req = rcvr.expect_request();
 4974   4974   
    let uri = req.uri().to_string();
 4975   4975   
    assert!(
 4976   4976   
        uri.starts_with("https://mybucket--test-ab1--x-s3.s3express-fips-test-ab1.us-east-1.amazonaws.com"),
 4977   4977   
        "expected URI to start with `https://mybucket--test-ab1--x-s3.s3express-fips-test-ab1.us-east-1.amazonaws.com` but it was `{}`",
 4978   4978   
        uri
 4979   4979   
    );
 4980   4980   
}
 4981   4981   
 4982   4982   
#[::tokio::test]
 4983   4983   
async fn operation_input_test_get_object_145() {
 4984   4984   
    /* documentation: Data Plane with short zone (13 chars) fips */
 4985   4985   
    /* builtIns: {
 4986   4986   
        "AWS::Region": "us-west-2",
 4987   4987   
        "AWS::UseFIPS": true
 4988   4988   
    } */
 4989   4989   
    /* clientParams: {} */
 4990         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        4990  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 4991   4991   
    let conf = {
 4992   4992   
        #[allow(unused_mut)]
 4993   4993   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 4994   4994   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 4995   4995   
        let builder = builder.use_fips(true);
 4996   4996   
        builder.build()
 4997   4997   
    };
 4998   4998   
    let client = aws_sdk_s3::Client::from_conf(conf);
 4999   4999   
    let _result = dbg!(
 5000   5000   
        client
 5001   5001   
            .get_object()
 5002   5002   
            .set_bucket(::std::option::Option::Some("mybucket--test-zone-ab1--x-s3".to_owned()))
 5003   5003   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5004   5004   
            .send()
 5005   5005   
            .await
 5006   5006   
    );
 5007   5007   
    let req = rcvr.expect_request();
 5008   5008   
    let uri = req.uri().to_string();
 5009   5009   
    assert!(
 5010   5010   
        uri.starts_with("https://mybucket--test-zone-ab1--x-s3.s3express-fips-test-zone-ab1.us-west-2.amazonaws.com"),
 5011   5011   
        "expected URI to start with `https://mybucket--test-zone-ab1--x-s3.s3express-fips-test-zone-ab1.us-west-2.amazonaws.com` but it was `{}`",
 5012   5012   
        uri
 5013   5013   
    );
 5014   5014   
}
 5015   5015   
 5016   5016   
#[::tokio::test]
 5017   5017   
async fn operation_input_test_get_object_146() {
 5018   5018   
    /* documentation: Data Plane with medium zone (14 chars) fips */
 5019   5019   
    /* builtIns: {
 5020   5020   
        "AWS::Region": "us-west-2",
 5021   5021   
        "AWS::UseFIPS": true
 5022   5022   
    } */
 5023   5023   
    /* clientParams: {} */
 5024         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5024  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5025   5025   
    let conf = {
 5026   5026   
        #[allow(unused_mut)]
 5027   5027   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5028   5028   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 5029   5029   
        let builder = builder.use_fips(true);
 5030   5030   
        builder.build()
 5031   5031   
    };
 5032   5032   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5033   5033   
    let _result = dbg!(
 5034   5034   
        client
 5035   5035   
            .get_object()
 5036   5036   
            .set_bucket(::std::option::Option::Some("mybucket--test1-zone-ab1--x-s3".to_owned()))
 5037   5037   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5038   5038   
            .send()
 5039   5039   
            .await
 5040   5040   
    );
 5041   5041   
    let req = rcvr.expect_request();
 5042   5042   
    let uri = req.uri().to_string();
 5043   5043   
    assert!(
 5044   5044   
        uri.starts_with("https://mybucket--test1-zone-ab1--x-s3.s3express-fips-test1-zone-ab1.us-west-2.amazonaws.com"),
 5045   5045   
        "expected URI to start with `https://mybucket--test1-zone-ab1--x-s3.s3express-fips-test1-zone-ab1.us-west-2.amazonaws.com` but it was `{}`",
 5046   5046   
        uri
 5047   5047   
    );
 5048   5048   
}
 5049   5049   
 5050   5050   
#[::tokio::test]
 5051   5051   
async fn operation_input_test_get_object_147() {
 5052   5052   
    /* documentation: Data Plane with long zone (20 chars) fips */
 5053   5053   
    /* builtIns: {
 5054   5054   
        "AWS::Region": "us-west-2",
 5055   5055   
        "AWS::UseFIPS": true
 5056   5056   
    } */
 5057   5057   
    /* clientParams: {} */
 5058         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5058  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5059   5059   
    let conf = {
 5060   5060   
        #[allow(unused_mut)]
 5061   5061   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5062   5062   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 5063   5063   
        let builder = builder.use_fips(true);
 5064   5064   
        builder.build()
 5065   5065   
    };
 5066   5066   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5067   5067   
    let _result = dbg!(
 5068   5068   
        client
 5069   5069   
            .get_object()
 5070   5070   
            .set_bucket(::std::option::Option::Some("mybucket--test1-long1-zone-ab1--x-s3".to_owned()))
 5071   5071   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5072   5072   
            .send()
 5073   5073   
            .await
 5074   5074   
    );
 5075   5075   
    let req = rcvr.expect_request();
 5076   5076   
    let uri = req.uri().to_string();
 5077   5077   
    assert!(uri.starts_with("https://mybucket--test1-long1-zone-ab1--x-s3.s3express-fips-test1-long1-zone-ab1.us-west-2.amazonaws.com"), "expected URI to start with `https://mybucket--test1-long1-zone-ab1--x-s3.s3express-fips-test1-long1-zone-ab1.us-west-2.amazonaws.com` but it was `{}`", uri);
 5078   5078   
}
 5079   5079   
 5080   5080   
#[::tokio::test]
 5081   5081   
async fn operation_input_test_get_object_148() {
 5082   5082   
    /* documentation: Data Plane with long AZ */
 5083   5083   
    /* builtIns: {
 5084   5084   
        "AWS::Region": "us-west-2"
 5085   5085   
    } */
 5086   5086   
    /* clientParams: {} */
 5087         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5087  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5088   5088   
    let conf = {
 5089   5089   
        #[allow(unused_mut)]
 5090   5090   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5091   5091   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 5092   5092   
        builder.build()
 5093   5093   
    };
 5094   5094   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5095   5095   
    let _result = dbg!(
 5096   5096   
        client
 5097   5097   
            .get_object()
 5098   5098   
            .set_bucket(::std::option::Option::Some("mybucket--test1-az1--x-s3".to_owned()))
 5099   5099   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5100   5100   
            .send()
 5101   5101   
            .await
 5102   5102   
    );
 5103   5103   
    let req = rcvr.expect_request();
 5104   5104   
    let uri = req.uri().to_string();
 5105   5105   
    assert!(
 5106   5106   
        uri.starts_with("https://mybucket--test1-az1--x-s3.s3express-test1-az1.us-west-2.amazonaws.com"),
 5107   5107   
        "expected URI to start with `https://mybucket--test1-az1--x-s3.s3express-test1-az1.us-west-2.amazonaws.com` but it was `{}`",
 5108   5108   
        uri
 5109   5109   
    );
 5110   5110   
}
 5111   5111   
 5112   5112   
#[::tokio::test]
 5113   5113   
async fn operation_input_test_get_object_149() {
 5114   5114   
    /* documentation: Data Plane with long AZ fips */
 5115   5115   
    /* builtIns: {
 5116   5116   
        "AWS::Region": "us-west-2",
 5117   5117   
        "AWS::UseFIPS": true
 5118   5118   
    } */
 5119   5119   
    /* clientParams: {} */
 5120         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5120  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5121   5121   
    let conf = {
 5122   5122   
        #[allow(unused_mut)]
 5123   5123   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5124   5124   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 5125   5125   
        let builder = builder.use_fips(true);
 5126   5126   
        builder.build()
 5127   5127   
    };
 5128   5128   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5129   5129   
    let _result = dbg!(
 5130   5130   
        client
 5131   5131   
            .get_object()
 5132   5132   
            .set_bucket(::std::option::Option::Some("mybucket--test1-az1--x-s3".to_owned()))
 5133   5133   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5134   5134   
            .send()
 5135   5135   
            .await
 5136   5136   
    );
 5137   5137   
    let req = rcvr.expect_request();
 5138   5138   
    let uri = req.uri().to_string();
 5139   5139   
    assert!(
 5140   5140   
        uri.starts_with("https://mybucket--test1-az1--x-s3.s3express-fips-test1-az1.us-west-2.amazonaws.com"),
 5141   5141   
        "expected URI to start with `https://mybucket--test1-az1--x-s3.s3express-fips-test1-az1.us-west-2.amazonaws.com` but it was `{}`",
 5142   5142   
        uri
 5143   5143   
    );
 5144   5144   
}
 5145   5145   
 5146   5146   
#[::tokio::test]
 5147   5147   
async fn operation_input_test_create_bucket_150() {
 5148   5148   
    /* documentation: Control plane with short AZ bucket */
 5149   5149   
    /* builtIns: {
 5150   5150   
        "AWS::Region": "us-east-1"
 5151   5151   
    } */
 5152   5152   
    /* clientParams: {} */
 5153         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5153  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5154   5154   
    let conf = {
 5155   5155   
        #[allow(unused_mut)]
 5156   5156   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5157   5157   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 5158   5158   
        builder.build()
 5159   5159   
    };
 5160   5160   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5161   5161   
    let _result = dbg!(
 5162   5162   
        client
 5163   5163   
            .create_bucket()
 5164   5164   
            .set_bucket(::std::option::Option::Some("mybucket--test-ab1--x-s3".to_owned()))
 5165   5165   
            .send()
 5166   5166   
            .await
 5167   5167   
    );
 5168   5168   
    let req = rcvr.expect_request();
 5169   5169   
    let uri = req.uri().to_string();
 5170   5170   
    assert!(
 5171   5171   
        uri.starts_with("https://s3express-control.us-east-1.amazonaws.com/mybucket--test-ab1--x-s3"),
 5172   5172   
        "expected URI to start with `https://s3express-control.us-east-1.amazonaws.com/mybucket--test-ab1--x-s3` but it was `{}`",
 5173   5173   
        uri
 5174   5174   
    );
 5175   5175   
}
 5176   5176   
 5177   5177   
#[::tokio::test]
 5178   5178   
async fn operation_input_test_create_bucket_151() {
 5179   5179   
    /* documentation: Control plane with short AZ bucket and fips */
 5180   5180   
    /* builtIns: {
 5181   5181   
        "AWS::Region": "us-east-1",
 5182   5182   
        "AWS::UseFIPS": true
 5183   5183   
    } */
 5184   5184   
    /* clientParams: {} */
 5185         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5185  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5186   5186   
    let conf = {
 5187   5187   
        #[allow(unused_mut)]
 5188   5188   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5189   5189   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 5190   5190   
        let builder = builder.use_fips(true);
 5191   5191   
        builder.build()
 5192   5192   
    };
 5193   5193   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5194   5194   
    let _result = dbg!(
 5195   5195   
        client
 5196   5196   
            .create_bucket()
 5197   5197   
            .set_bucket(::std::option::Option::Some("mybucket--test-ab1--x-s3".to_owned()))
 5198   5198   
            .send()
 5199   5199   
            .await
 5200   5200   
    );
 5201   5201   
    let req = rcvr.expect_request();
 5202   5202   
    let uri = req.uri().to_string();
 5203   5203   
    assert!(
 5204   5204   
        uri.starts_with("https://s3express-control-fips.us-east-1.amazonaws.com/mybucket--test-ab1--x-s3"),
 5205   5205   
        "expected URI to start with `https://s3express-control-fips.us-east-1.amazonaws.com/mybucket--test-ab1--x-s3` but it was `{}`",
 5206   5206   
        uri
 5207   5207   
    );
 5208   5208   
}
 5209   5209   
 5210   5210   
#[::tokio::test]
 5211   5211   
async fn operation_input_test_list_directory_buckets_152() {
 5212   5212   
    /* documentation: Control plane without bucket */
 5213   5213   
    /* builtIns: {
 5214   5214   
        "AWS::Region": "us-east-1"
 5215   5215   
    } */
 5216   5216   
    /* clientParams: {} */
 5217         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5217  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5218   5218   
    let conf = {
 5219   5219   
        #[allow(unused_mut)]
 5220   5220   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5221   5221   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 5222   5222   
        builder.build()
 5223   5223   
    };
 5224   5224   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5225   5225   
    let _result = dbg!(client.list_directory_buckets().send().await);
 5226   5226   
    let req = rcvr.expect_request();
 5227   5227   
    let uri = req.uri().to_string();
 5228   5228   
    assert!(
 5229   5229   
        uri.starts_with("https://s3express-control.us-east-1.amazonaws.com"),
 5230   5230   
        "expected URI to start with `https://s3express-control.us-east-1.amazonaws.com` but it was `{}`",
 5231   5231   
        uri
 5232   5232   
    );
 5233   5233   
}
 5234   5234   
 5235   5235   
#[::tokio::test]
 5236   5236   
async fn operation_input_test_list_directory_buckets_153() {
 5237   5237   
    /* documentation: Control plane without bucket and fips */
 5238   5238   
    /* builtIns: {
 5239   5239   
        "AWS::Region": "us-east-1",
 5240   5240   
        "AWS::UseFIPS": true
 5241   5241   
    } */
 5242   5242   
    /* clientParams: {} */
 5243         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5243  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5244   5244   
    let conf = {
 5245   5245   
        #[allow(unused_mut)]
 5246   5246   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5247   5247   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 5248   5248   
        let builder = builder.use_fips(true);
 5249   5249   
        builder.build()
 5250   5250   
    };
 5251   5251   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5252   5252   
    let _result = dbg!(client.list_directory_buckets().send().await);
 5253   5253   
    let req = rcvr.expect_request();
 5254   5254   
    let uri = req.uri().to_string();
 5255   5255   
    assert!(
 5256   5256   
        uri.starts_with("https://s3express-control-fips.us-east-1.amazonaws.com"),
 5257   5257   
        "expected URI to start with `https://s3express-control-fips.us-east-1.amazonaws.com` but it was `{}`",
 5258   5258   
        uri
 5259   5259   
    );
 5260   5260   
}
 5261   5261   
 5262   5262   
#[::tokio::test]
 5263   5263   
async fn operation_input_test_get_object_154() {
 5264   5264   
    /* documentation: Data plane host override non virtual session auth */
 5265   5265   
    /* builtIns: {
 5266   5266   
        "AWS::Region": "us-west-2",
 5267   5267   
        "SDK::Endpoint": "https://10.0.0.1"
 5268   5268   
    } */
 5269   5269   
    /* clientParams: {} */
 5270         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5270  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5271   5271   
    let conf = {
 5272   5272   
        #[allow(unused_mut)]
 5273   5273   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5274   5274   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 5275   5275   
        let builder = builder.endpoint_url("https://10.0.0.1");
 5276   5276   
        builder.build()
 5277   5277   
    };
 5278   5278   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5279   5279   
    let _result = dbg!(
 5280   5280   
        client
 5281   5281   
            .get_object()
 5282   5282   
            .set_bucket(::std::option::Option::Some("mybucket--usw2-az1--x-s3".to_owned()))
 5283   5283   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5284   5284   
            .send()
 5285   5285   
            .await
 5286   5286   
    );
 5287   5287   
    let req = rcvr.expect_request();
 5288   5288   
    let uri = req.uri().to_string();
 5289   5289   
    assert!(
 5290   5290   
        uri.starts_with("https://10.0.0.1/mybucket--usw2-az1--x-s3"),
 5291   5291   
        "expected URI to start with `https://10.0.0.1/mybucket--usw2-az1--x-s3` but it was `{}`",
 5292   5292   
        uri
 5293   5293   
    );
 5294   5294   
}
 5295   5295   
 5296   5296   
#[::tokio::test]
 5297   5297   
async fn operation_input_test_get_object_155() {
 5298   5298   
    /* documentation: Data plane host override */
 5299   5299   
    /* builtIns: {
 5300   5300   
        "AWS::Region": "us-west-2",
 5301   5301   
        "SDK::Endpoint": "https://custom.com"
 5302   5302   
    } */
 5303   5303   
    /* clientParams: {} */
 5304         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5304  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5305   5305   
    let conf = {
 5306   5306   
        #[allow(unused_mut)]
 5307   5307   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5308   5308   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 5309   5309   
        let builder = builder.endpoint_url("https://custom.com");
 5310   5310   
        builder.build()
 5311   5311   
    };
 5312   5312   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5313   5313   
    let _result = dbg!(
 5314   5314   
        client
 5315   5315   
            .get_object()
 5316   5316   
            .set_bucket(::std::option::Option::Some("mybucket--usw2-az1--x-s3".to_owned()))
 5317   5317   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5318   5318   
            .send()
 5319   5319   
            .await
 5320   5320   
    );
 5321   5321   
    let req = rcvr.expect_request();
 5322   5322   
    let uri = req.uri().to_string();
 5323   5323   
    assert!(
 5324   5324   
        uri.starts_with("https://mybucket--usw2-az1--x-s3.custom.com"),
 5325   5325   
        "expected URI to start with `https://mybucket--usw2-az1--x-s3.custom.com` but it was `{}`",
 5326   5326   
        uri
 5327   5327   
    );
 5328   5328   
}
 5329   5329   
 5330   5330   
#[::tokio::test]
 5331   5331   
async fn operation_input_test_get_object_156() {
 5332   5332   
    /* documentation: bad format error */
 5333   5333   
    /* builtIns: {
 5334   5334   
        "AWS::Region": "us-east-1"
 5335   5335   
    } */
 5336   5336   
    /* clientParams: {} */
 5337         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5337  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5338   5338   
    let conf = {
 5339   5339   
        #[allow(unused_mut)]
 5340   5340   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5341   5341   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 5342   5342   
        builder.build()
 5343   5343   
    };
 5344   5344   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5345   5345   
    let _result = dbg!(
 5346   5346   
        client
 5347   5347   
            .get_object()
 5348   5348   
            .set_bucket(::std::option::Option::Some("mybucket--usaz1--x-s3".to_owned()))
 5349   5349   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5350   5350   
            .send()
 5351   5351   
            .await
 5352   5352   
    );
 5353   5353   
    rcvr.expect_no_request();
 5354   5354   
    let error = _result.expect_err("expected error: Unrecognized S3Express bucket name format. [bad format error]");
 5355   5355   
    assert!(
 5356   5356   
        format!("{:?}", error).contains("Unrecognized S3Express bucket name format."),
 5357   5357   
        "expected error to contain `Unrecognized S3Express bucket name format.` but it was {:?}",
 5358   5358   
        error
 5359   5359   
    );
 5360   5360   
}
 5361   5361   
 5362   5362   
#[::tokio::test]
 5363   5363   
async fn operation_input_test_get_object_157() {
 5364   5364   
    /* documentation: bad format error no session auth */
 5365   5365   
    /* builtIns: {
 5366   5366   
        "AWS::Region": "us-east-1"
 5367   5367   
    } */
 5368   5368   
    /* clientParams: {} */
 5369         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5369  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5370   5370   
    let conf = {
 5371   5371   
        #[allow(unused_mut)]
 5372   5372   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5373   5373   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 5374   5374   
        builder.build()
 5375   5375   
    };
 5376   5376   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5377   5377   
    let _result = dbg!(
 5378   5378   
        client
 5379   5379   
            .get_object()
 5380   5380   
            .set_bucket(::std::option::Option::Some("mybucket--usaz1--x-s3".to_owned()))
 5381   5381   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5382   5382   
            .send()
 5383   5383   
            .await
 5384   5384   
    );
 5385   5385   
    rcvr.expect_no_request();
 5386   5386   
    let error = _result.expect_err("expected error: Unrecognized S3Express bucket name format. [bad format error no session auth]");
 5387   5387   
    assert!(
 5388   5388   
        format!("{:?}", error).contains("Unrecognized S3Express bucket name format."),
 5389   5389   
        "expected error to contain `Unrecognized S3Express bucket name format.` but it was {:?}",
 5390   5390   
        error
 5391   5391   
    );
 5392   5392   
}
 5393   5393   
 5394   5394   
#[::tokio::test]
 5395   5395   
async fn operation_input_test_get_object_158() {
 5396   5396   
    /* documentation: dual-stack error */
 5397   5397   
    /* builtIns: {
 5398   5398   
        "AWS::Region": "us-east-1",
 5399   5399   
        "AWS::UseDualStack": true
 5400   5400   
    } */
 5401   5401   
    /* clientParams: {} */
 5402         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5402  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5403   5403   
    let conf = {
 5404   5404   
        #[allow(unused_mut)]
 5405   5405   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5406   5406   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 5407   5407   
        let builder = builder.use_dual_stack(true);
 5408   5408   
        builder.build()
 5409   5409   
    };
 5410   5410   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5411   5411   
    let _result = dbg!(
 5412   5412   
        client
 5413   5413   
            .get_object()
 5414   5414   
            .set_bucket(::std::option::Option::Some("mybucket--test-ab1--x-s3".to_owned()))
 5415   5415   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5416   5416   
            .send()
 5417   5417   
            .await
 5418   5418   
    );
 5419   5419   
    rcvr.expect_no_request();
 5420   5420   
    let error = _result.expect_err("expected error: S3Express does not support Dual-stack. [dual-stack error]");
 5421   5421   
    assert!(
 5422   5422   
        format!("{:?}", error).contains("S3Express does not support Dual-stack."),
 5423   5423   
        "expected error to contain `S3Express does not support Dual-stack.` but it was {:?}",
 5424   5424   
        error
 5425   5425   
    );
 5426   5426   
}
 5427   5427   
 5428   5428   
#[::tokio::test]
 5429   5429   
async fn operation_input_test_get_object_159() {
 5430   5430   
    /* documentation: accelerate error */
 5431   5431   
    /* builtIns: {
 5432   5432   
        "AWS::Region": "us-east-1",
 5433   5433   
        "AWS::S3::Accelerate": true
 5434   5434   
    } */
 5435   5435   
    /* clientParams: {} */
 5436         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5436  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5437   5437   
    let conf = {
 5438   5438   
        #[allow(unused_mut)]
 5439   5439   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5440   5440   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 5441   5441   
        let builder = builder.accelerate(true);
 5442   5442   
        builder.build()
 5443   5443   
    };
 5444   5444   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5445   5445   
    let _result = dbg!(
 5446   5446   
        client
 5447   5447   
            .get_object()
 5448   5448   
            .set_bucket(::std::option::Option::Some("mybucket--test-ab1--x-s3".to_owned()))
 5449   5449   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5450   5450   
            .send()
 5451   5451   
            .await
 5452   5452   
    );
 5453   5453   
    rcvr.expect_no_request();
 5454   5454   
    let error = _result.expect_err("expected error: S3Express does not support S3 Accelerate. [accelerate error]");
 5455   5455   
    assert!(
 5456   5456   
        format!("{:?}", error).contains("S3Express does not support S3 Accelerate."),
 5457   5457   
        "expected error to contain `S3Express does not support S3 Accelerate.` but it was {:?}",
 5458   5458   
        error
 5459   5459   
    );
 5460   5460   
}
 5461   5461   
 5462   5462   
#[::tokio::test]
 5463   5463   
async fn operation_input_test_get_object_160() {
 5464   5464   
    /* documentation: Data plane bucket format error */
 5465   5465   
    /* builtIns: {
 5466   5466   
        "AWS::Region": "us-east-1"
 5467   5467   
    } */
 5468   5468   
    /* clientParams: {} */
 5469         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5469  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5470   5470   
    let conf = {
 5471   5471   
        #[allow(unused_mut)]
 5472   5472   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5473   5473   
        let builder = builder.region(::aws_types::region::Region::new("us-east-1"));
 5474   5474   
        builder.build()
 5475   5475   
    };
 5476   5476   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5477   5477   
    let _result = dbg!(
 5478   5478   
        client
 5479   5479   
            .get_object()
 5480   5480   
            .set_bucket(::std::option::Option::Some("my.bucket--test-ab1--x-s3".to_owned()))
 5481   5481   
            .set_key(::std::option::Option::Some("key".to_owned()))
 5482   5482   
            .send()
 5483   5483   
            .await
 5484   5484   
    );
 5485   5485   
    rcvr.expect_no_request();
 5486   5486   
    let error = _result.expect_err("expected error: S3Express bucket name is not a valid virtual hostable name. [Data plane bucket format error]");
 5487   5487   
    assert!(
 5488   5488   
        format!("{:?}", error).contains("S3Express bucket name is not a valid virtual hostable name."),
 5489   5489   
        "expected error to contain `S3Express bucket name is not a valid virtual hostable name.` but it was {:?}",
 5490   5490   
        error
 5491   5491   
    );
 5492   5492   
}
 5493   5493   
 5494   5494   
#[::tokio::test]
 5495   5495   
async fn operation_input_test_get_object_161() {
 5496   5496   
    /* documentation: host override data plane bucket error session auth */
 5497   5497   
    /* builtIns: {
 5498   5498   
        "AWS::Region": "us-west-2",
 5499   5499   
        "SDK::Endpoint": "https://custom.com"
 5500   5500   
    } */
 5501   5501   
    /* clientParams: {} */
 5502         -
    let (http_client, rcvr) = ::aws_smithy_runtime::client::http::test_util::capture_request(None);
        5502  +
    let (http_client, rcvr) = ::aws_smithy_http_client::test_util::capture_request(None);
 5503   5503   
    let conf = {
 5504   5504   
        #[allow(unused_mut)]
 5505   5505   
        let mut builder = aws_sdk_s3::Config::builder().with_test_defaults().http_client(http_client);
 5506   5506   
        let builder = builder.region(::aws_types::region::Region::new("us-west-2"));
 5507   5507   
        let builder = builder.endpoint_url("https://custom.com");
 5508   5508   
        builder.build()
 5509   5509   
    };
 5510   5510   
    let client = aws_sdk_s3::Client::from_conf(conf);
 5511   5511   
    let _result = dbg!(
 5512   5512   
        client

tmp-codegen-diff/aws-sdk/sdk/s3/tests/endpoints.rs

@@ -1,1 +42,42 @@
    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   
#![cfg(feature = "test-util")]
    7      7   
    8      8   
use aws_credential_types::provider::SharedCredentialsProvider;
    9      9   
use aws_sdk_s3::config::Builder;
   10     10   
use aws_sdk_s3::config::{Credentials, Region};
   11     11   
use aws_sdk_s3::{Client, Config};
   12         -
use aws_smithy_runtime::client::http::test_util::{capture_request, CaptureRequestReceiver};
          12  +
use aws_smithy_http_client::test_util::{capture_request, CaptureRequestReceiver};
   13     13   
   14     14   
fn test_client(update_builder: fn(Builder) -> Builder) -> (CaptureRequestReceiver, Client) {
   15     15   
    let (http_client, captured_request) = capture_request(None);
   16     16   
    let config = Config::builder()
   17     17   
        .credentials_provider(SharedCredentialsProvider::new(Credentials::for_tests()))
   18     18   
        .region(Region::new("us-west-4"))
   19     19   
        .http_client(http_client)
   20     20   
        .behavior_version(aws_sdk_s3::config::BehaviorVersion::latest())
   21     21   
        .with_test_defaults();
   22     22   
    let client = Client::from_conf(update_builder(config).build());

tmp-codegen-diff/aws-sdk/sdk/s3/tests/expires_interceptor.rs

@@ -1,1 +50,50 @@
    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   
#![cfg(feature = "test-util")]
    7      7   
use aws_sdk_s3::{config::Region, Client, Config};
    8         -
use aws_smithy_runtime::client::http::test_util::{ReplayEvent, StaticReplayClient};
           8  +
use aws_smithy_http_client::test_util::{ReplayEvent, StaticReplayClient};
    9      9   
use aws_smithy_types::body::SdkBody;
   10     10   
use aws_smithy_types::date_time::{DateTime, Format};
   11     11   
   12     12   
fn make_client(expires_val: &str) -> Client {
   13     13   
    let http_client = StaticReplayClient::new(vec![ReplayEvent::new(
   14         -
        http::Request::builder()
   15         -
            .uri(http::Uri::from_static(
          14  +
        http_1x::Request::builder()
          15  +
            .uri(http_1x::Uri::from_static(
   16     16   
                "https://some-test-bucket.s3.us-east-1.amazonaws.com/test.txt?attributes",
   17     17   
            ))
   18     18   
            .body(SdkBody::empty())
   19     19   
            .unwrap(),
   20         -
        http::Response::builder()
          20  +
        http_1x::Response::builder()
   21     21   
            .header("Expires", expires_val)
   22     22   
            .status(200)
   23     23   
            .body(SdkBody::empty())
   24     24   
            .unwrap(),
   25     25   
    )]);
   26     26   
   27     27   
    let config = Config::builder()
   28     28   
        .region(Region::new("us-east-1"))
   29     29   
        .http_client(http_client)
   30     30   
        .with_test_defaults()

tmp-codegen-diff/aws-sdk/sdk/s3/tests/express.rs

@@ -1,1 +52,50 @@
    6      6   
use std::time::{Duration, SystemTime};
    7      7   
    8      8   
use aws_config::timeout::TimeoutConfig;
    9      9   
use aws_config::Region;
   10     10   
use aws_sdk_s3::config::endpoint::{EndpointFuture, Params, ResolveEndpoint};
   11     11   
use aws_sdk_s3::config::{Builder, Credentials};
   12     12   
use aws_sdk_s3::presigning::PresigningConfig;
   13     13   
use aws_sdk_s3::primitives::SdkBody;
   14     14   
use aws_sdk_s3::types::ChecksumAlgorithm;
   15     15   
use aws_sdk_s3::{Client, Config};
   16         -
use aws_smithy_runtime::client::http::test_util::dvr::ReplayingClient;
   17         -
use aws_smithy_runtime::client::http::test_util::{
   18         -
    capture_request, ReplayEvent, StaticReplayClient,
   19         -
};
          16  +
use aws_smithy_http_client::test_util::dvr::ReplayingClient;
          17  +
use aws_smithy_http_client::test_util::{capture_request, ReplayEvent, StaticReplayClient};
   20     18   
use aws_smithy_runtime::test_util::capture_test_logs::capture_test_logs;
   21     19   
use aws_smithy_types::endpoint::Endpoint;
   22         -
use http::Uri;
          20  +
use http_1x::Uri;
   23     21   
   24     22   
async fn test_client<F>(update_builder: F) -> Client
   25     23   
where
   26     24   
    F: Fn(Builder) -> Builder,
   27     25   
{
   28     26   
    let sdk_config = aws_config::from_env().region("us-west-2").load().await;
   29     27   
    let config = Config::from(&sdk_config).to_builder().with_test_defaults();
   30     28   
    aws_sdk_s3::Client::from_conf(update_builder(config).build())
   31     29   
}
   32     30   
@@ -79,77 +148,146 @@
   99     97   
        .send()
  100     98   
        .await;
  101     99   
    dbg!(result).expect("success");
  102    100   
  103    101   
    http_client
  104    102   
        .validate_body_and_headers(Some(&["x-amz-s3session-token"]), "application/xml")
  105    103   
        .await
  106    104   
        .unwrap();
  107    105   
}
  108    106   
  109         -
fn create_session_request() -> http::Request<SdkBody> {
  110         -
    http::Request::builder()
         107  +
fn create_session_request() -> http_1x::Request<SdkBody> {
         108  +
    http_1x::Request::builder()
  111    109   
        .uri("https://s3express-test-bucket--usw2-az1--x-s3.s3express-usw2-az1.us-west-2.amazonaws.com/?session")
  112    110   
        .method("GET")
  113    111   
        .body(SdkBody::empty())
  114    112   
        .unwrap()
  115    113   
}
  116    114   
  117         -
fn create_session_response() -> http::Response<SdkBody> {
  118         -
    http::Response::builder()
         115  +
fn create_session_response() -> http_1x::Response<SdkBody> {
         116  +
    http_1x::Response::builder()
  119    117   
        .status(200)
  120    118   
        .body(SdkBody::from(
  121    119   
            r#"<?xml version="1.0" encoding="UTF-8"?>
  122    120   
            <CreateSessionResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  123    121   
                <Credentials>
  124    122   
                    <SessionToken>TESTSESSIONTOKEN</SessionToken>
  125    123   
                    <SecretAccessKey>TESTSECRETKEY</SecretAccessKey>
  126    124   
                    <AccessKeyId>ASIARTESTID</AccessKeyId>
  127    125   
                    <Expiration>2024-01-29T18:53:01Z</Expiration>
  128    126   
                </Credentials>
@@ -162,160 +233,231 @@
  182    180   
        ][..],
  183    181   
        &query_params
  184    182   
    );
  185    183   
    // Presigned request has no headers by default
  186    184   
    assert_eq!(presigned.headers().count(), 0);
  187    185   
}
  188    186   
  189    187   
fn operation_request_with_checksum(
  190    188   
    query: &str,
  191    189   
    kv: Option<(&str, &str)>,
  192         -
) -> http::Request<SdkBody> {
  193         -
    let mut b = http::Request::builder()
         190  +
) -> http_1x::Request<SdkBody> {
         191  +
    let mut b = http_1x::Request::builder()
  194    192   
        .uri(&format!("https://s3express-test-bucket--usw2-az1--x-s3.s3express-usw2-az1.us-west-2.amazonaws.com/{query}"))
  195    193   
        .method("GET");
  196    194   
    if let Some((key, value)) = kv {
  197    195   
        b = b.header(key, value);
  198    196   
    }
  199    197   
    b.body(SdkBody::empty()).unwrap()
  200    198   
}
  201    199   
  202         -
fn response_ok() -> http::Response<SdkBody> {
  203         -
    http::Response::builder()
         200  +
fn response_ok() -> http_1x::Response<SdkBody> {
         201  +
    http_1x::Response::builder()
  204    202   
        .status(200)
  205    203   
        .body(SdkBody::empty())
  206    204   
        .unwrap()
  207    205   
}
  208    206   
  209    207   
#[tokio::test]
  210    208   
async fn user_specified_checksum_should_be_respected() {
  211    209   
    async fn runner(checksum: ChecksumAlgorithm, value: &str) {
  212    210   
        let http_client = StaticReplayClient::new(vec![
  213    211   
            ReplayEvent::new(create_session_request(), create_session_response()),

tmp-codegen-diff/aws-sdk/sdk/s3/tests/hyper-10.rs

@@ -1,1 +28,31 @@
    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_experimental::hyper_1_0::CryptoMode;
           6  +
use aws_smithy_http_client::tls;
    7      7   
use aws_smithy_runtime_api::client::behavior_version::BehaviorVersion;
    8      8   
    9      9   
#[tokio::test]
   10     10   
#[ignore]
   11     11   
async fn hyper_10_end_to_end() {
   12         -
    let http_client = aws_smithy_experimental::hyper_1_0::HyperClientBuilder::default()
   13         -
        .crypto_mode(CryptoMode::Ring)
          12  +
    let http_client = aws_smithy_http_client::Builder::new()
          13  +
        .tls_provider(tls::Provider::Rustls(
          14  +
            tls::rustls_provider::CryptoMode::Ring,
          15  +
        ))
   14     16   
        .build_https();
          17  +
   15     18   
    let conf = aws_config::defaults(BehaviorVersion::latest())
   16     19   
        .http_client(http_client)
   17     20   
        .load()
   18     21   
        .await;
   19     22   
    let client = aws_sdk_s3::Client::new(&conf);
   20     23   
    let buckets = client
   21     24   
        .list_buckets()
   22     25   
        .send()
   23     26   
        .await
   24     27   
        .expect("failed to list buckets");

tmp-codegen-diff/aws-sdk/sdk/s3/tests/identity-cache.rs

@@ -1,1 +76,84 @@
    5      5   
    6      6   
use std::sync::atomic::{AtomicI32, Ordering};
    7      7   
use std::sync::Arc;
    8      8   
    9      9   
use aws_config::{BehaviorVersion, Region};
   10     10   
use aws_credential_types::{
   11     11   
    provider::{future::ProvideCredentials as ProvideCredentialsFuture, ProvideCredentials},
   12     12   
    Credentials,
   13     13   
};
   14     14   
use aws_sdk_s3::Client;
   15         -
use aws_smithy_runtime::client::http::test_util::infallible_client_fn;
          15  +
use aws_smithy_http_client::test_util::infallible_client_fn;
   16     16   
   17     17   
// NOTE: These tests are _not_ S3 specific and would apply to any AWS SDK but due to the need to consume `aws-config`
   18     18   
// (which depends on relocated runtime crates) we can't make this an `awsSdkIntegrationTest(..)`.
   19     19   
   20     20   
#[tokio::test]
   21     21   
async fn test_identity_cache_reused_by_default() {
   22         -
    let http_client =
   23         -
        infallible_client_fn(|_req| http::Response::builder().status(200).body("OK!").unwrap());
          22  +
    let http_client = infallible_client_fn(|_req| {
          23  +
        http_1x::Response::builder()
          24  +
            .status(200)
          25  +
            .body("OK!")
          26  +
            .unwrap()
          27  +
    });
   24     28   
   25     29   
    let provider = TestCredProvider::new();
   26     30   
    let config = aws_config::defaults(BehaviorVersion::latest())
   27     31   
        .http_client(http_client)
   28     32   
        .credentials_provider(provider.clone())
   29     33   
        .region(Region::new("us-west-2"))
   30     34   
        .load()
   31     35   
        .await;
   32     36   
   33     37   
    let c1 = Client::new(&config);
   34     38   
    let _ = c1.list_buckets().send().await;
   35     39   
    assert_eq!(1, provider.invoke_count.load(Ordering::SeqCst));
   36     40   
   37     41   
    let c2 = Client::new(&config);
   38     42   
    let _ = c2.list_buckets().send().await;
   39     43   
    assert_eq!(1, provider.invoke_count.load(Ordering::SeqCst));
   40     44   
}
   41     45   
   42     46   
#[allow(deprecated)] // intentionally testing an old behavior version
   43     47   
#[tokio::test]
   44     48   
async fn test_identity_cache_ga_behavior_version() {
   45         -
    let http_client =
   46         -
        infallible_client_fn(|_req| http::Response::builder().status(200).body("OK!").unwrap());
          49  +
    let http_client = infallible_client_fn(|_req| {
          50  +
        http_1x::Response::builder()
          51  +
            .status(200)
          52  +
            .body("OK!")
          53  +
            .unwrap()
          54  +
    });
   47     55   
   48     56   
    let provider = TestCredProvider::new();
   49     57   
   50     58   
    // no cache is defined in this behavior version by default so each client should get their own
   51     59   
    let config = aws_config::defaults(BehaviorVersion::v2023_11_09())
   52     60   
        .http_client(http_client)
   53     61   
        .credentials_provider(provider.clone())
   54     62   
        .region(Region::new("us-west-2"))
   55     63   
        .load()
   56     64   
        .await;

tmp-codegen-diff/aws-sdk/sdk/s3/tests/ignore-invalid-xml-body-root.rs

@@ -1,1 +58,58 @@
    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   
#![cfg(feature = "test-util")]
    7      7   
    8      8   
use aws_credential_types::provider::SharedCredentialsProvider;
    9      9   
use aws_sdk_s3::Config;
   10     10   
use aws_sdk_s3::{config::Credentials, config::Region, types::ObjectAttributes, Client};
   11         -
use aws_smithy_runtime::client::http::test_util::{ReplayEvent, StaticReplayClient};
          11  +
use aws_smithy_http_client::test_util::{ReplayEvent, StaticReplayClient};
   12     12   
use aws_smithy_types::body::SdkBody;
   13     13   
   14     14   
const RESPONSE_BODY_XML: &[u8] = b"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<GetObjectAttributesResponse xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"><Checksum><ChecksumSHA1>e1AsOh9IyGCa4hLN+2Od7jlnP14=</ChecksumSHA1></Checksum></GetObjectAttributesResponse>";
   15     15   
   16     16   
#[tokio::test]
   17     17   
async fn ignore_invalid_xml_body_root() {
   18     18   
    let http_client = StaticReplayClient::new(vec![
   19         -
        ReplayEvent::new(http::Request::builder()
          19  +
        ReplayEvent::new(http_1x::Request::builder()
   20     20   
             .header("x-amz-object-attributes", "Checksum")
   21     21   
             .header("x-amz-user-agent", "aws-sdk-rust/0.123.test api/test-service/0.123 os/windows/XPSP3 lang/rust/1.50.0")
   22     22   
             .header("x-amz-date", "20090213T233130Z")
   23     23   
             .header("authorization", "AWS4-HMAC-SHA256 Credential=ANOTREAL/20210618/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-object-attributes;x-amz-security-token;x-amz-user-agent, Signature=0e6ec749db5a0af07890a83f553319eda95be0e498d058c64880471a474c5378")
   24     24   
             .header("x-amz-content-sha256", "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855")
   25         -
             .uri(http::Uri::from_static("https://some-test-bucket.s3.us-east-1.amazonaws.com/test.txt?attributes"))
          25  +
             .uri(http_1x::Uri::from_static("https://some-test-bucket.s3.us-east-1.amazonaws.com/test.txt?attributes"))
   26     26   
             .body(SdkBody::empty())
   27     27   
             .unwrap(),
   28         -
         http::Response::builder()
          28  +
         http_1x::Response::builder()
   29     29   
             .header(
   30     30   
                 "x-amz-id-2",
   31     31   
                 "rbipIUyF3YKPIcqpz6hrP9x9mzYMSqkHzDEp6TEN/STcKvylDIE/LLN6x9t6EKJRrgctNsdNHWk=",
   32     32   
             )
   33     33   
             .header("x-amz-request-id", "K8036R3D4NZNMMVC")
   34     34   
             .header("date", "Tue, 23 Aug 2022 18:17:23 GMT")
   35     35   
             .header("last-modified", "Tue, 21 Jun 2022 16:30:01 GMT")
   36     36   
             .header("server", "AmazonS3")
   37     37   
             .header("content-length", "224")
   38     38   
             .status(200)

tmp-codegen-diff/aws-sdk/sdk/s3/tests/interceptors.rs

@@ -1,1 +45,45 @@
    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_s3::config::interceptors::BeforeTransmitInterceptorContextMut;
    7      7   
use aws_sdk_s3::config::{Credentials, Region};
    8      8   
use aws_sdk_s3::Client;
    9         -
use aws_smithy_runtime::client::http::test_util::capture_request;
           9  +
use aws_smithy_http_client::test_util::capture_request;
   10     10   
use aws_smithy_runtime_api::box_error::BoxError;
   11     11   
use aws_smithy_runtime_api::client::interceptors::Intercept;
   12     12   
use aws_smithy_runtime_api::client::runtime_components::RuntimeComponents;
   13     13   
use aws_smithy_types::config_bag::{ConfigBag, Layer, Storable, StoreReplace};
   14         -
use http::header::USER_AGENT;
   15         -
use http::HeaderValue;
          14  +
use http_1x::header::USER_AGENT;
          15  +
use http_1x::HeaderValue;
   16     16   
   17     17   
#[tokio::test]
   18     18   
async fn interceptor_priority() {
   19     19   
    #[derive(Debug, Eq, PartialEq)]
   20     20   
    struct TestValue(&'static str);
   21     21   
    impl Storable for TestValue {
   22     22   
        type Storer = StoreReplace<Self>;
   23     23   
    }
   24     24   
   25     25   
    #[derive(Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/tests/naughty-string-metadata.rs

@@ -1,1 +42,42 @@
    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   
#![cfg(feature = "test-util")]
    7      7   
    8      8   
use aws_credential_types::provider::SharedCredentialsProvider;
    9      9   
use aws_sdk_s3::Config;
   10     10   
use aws_sdk_s3::{config::Credentials, config::Region, primitives::ByteStream, Client};
   11         -
use aws_smithy_runtime::client::http::test_util::capture_request;
   12         -
use http::HeaderValue;
          11  +
use aws_smithy_http_client::test_util::capture_request;
          12  +
use http_1x::HeaderValue;
   13     13   
   14     14   
const NAUGHTY_STRINGS: &str = include_str!("blns/blns.txt");
   15     15   
   16     16   
// // A useful way to find leaks in the signing system that requires an actual S3 bucket to test with
   17     17   
// // If you want to use this, update the credentials to be your credentials and change the bucket name
   18     18   
// // to your bucket
   19     19   
// // NOTE: this won't actually succeed, you'll get a 400 back from S3 because the headers are too long.
   20     20   
// #[tokio::test]
   21     21   
// async fn test_metadata_field_against_naughty_strings_list() -> Result<(), aws_sdk_s3::Error> {
   22     22   
//     // re-add `aws-config = { path = "../../build/aws-sdk/aws-config" }` to this project's Cargo.toml

tmp-codegen-diff/aws-sdk/sdk/s3/tests/no_auth.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_s3::{Client, Config};
    7         -
use aws_smithy_runtime::client::http::test_util::dvr::ReplayingClient;
           7  +
use aws_smithy_http_client::test_util::dvr::ReplayingClient;
    8      8   
use aws_smithy_runtime::test_util::capture_test_logs::capture_test_logs;
    9      9   
   10     10   
#[tokio::test]
   11     11   
async fn list_objects() {
   12     12   
    let _logs = capture_test_logs();
   13     13   
   14     14   
    let http_client = ReplayingClient::from_file("tests/data/no_auth/list-objects.json").unwrap();
   15     15   
    let config = aws_config::from_env()
   16     16   
        .http_client(http_client.clone())
   17     17   
        .no_credentials()

tmp-codegen-diff/aws-sdk/sdk/s3/tests/normalize-uri-path.rs

@@ -1,1 +40,40 @@
    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_credential_types::provider::SharedCredentialsProvider;
    7      7   
use aws_sdk_s3::primitives::ByteStream;
    8      8   
use aws_sdk_s3::Config;
    9      9   
use aws_sdk_s3::{config::Credentials, config::Region, Client};
   10         -
use aws_smithy_runtime::client::http::test_util::capture_request;
          10  +
use aws_smithy_http_client::test_util::capture_request;
   11     11   
   12     12   
#[tokio::test]
   13     13   
async fn test_operation_should_not_normalize_uri_path() {
   14     14   
    let (http_client, rx) = capture_request(None);
   15     15   
    let config = Config::builder()
   16     16   
        .credentials_provider(SharedCredentialsProvider::new(
   17     17   
            Credentials::for_tests_with_session_token(),
   18     18   
        ))
   19     19   
        .region(Region::new("us-east-1"))
   20     20   
        .http_client(http_client.clone())

tmp-codegen-diff/aws-sdk/sdk/s3/tests/presigning.rs

@@ -1,1 +42,42 @@
    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_s3 as s3;
    7      7   
use std::collections::HashMap;
    8      8   
    9      9   
use futures_util::future::FutureExt;
   10     10   
use futures_util::Future;
   11         -
use http::header::{CONTENT_LENGTH, CONTENT_TYPE};
   12         -
use http::Uri;
          11  +
use http_1x::header::{CONTENT_LENGTH, CONTENT_TYPE};
          12  +
use http_1x::Uri;
   13     13   
use s3::config::{Credentials, Region};
   14     14   
use s3::operation::get_object::builders::GetObjectFluentBuilder;
   15     15   
use s3::operation::head_object::builders::HeadObjectFluentBuilder;
   16     16   
use s3::operation::put_object::builders::PutObjectFluentBuilder;
   17     17   
use s3::operation::upload_part::builders::UploadPartFluentBuilder;
   18     18   
use s3::presigning::{PresignedRequest, PresigningConfig};
   19     19   
use std::pin::Pin;
   20     20   
use std::time::{Duration, SystemTime};
   21     21   
   22     22   
trait TestOperation {

tmp-codegen-diff/aws-sdk/sdk/s3/tests/query-strings-are-correctly-encoded.rs

@@ -1,1 +42,42 @@
    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   
#![cfg(feature = "test-util")]
    7      7   
    8      8   
use aws_credential_types::provider::SharedCredentialsProvider;
    9      9   
use aws_sdk_s3::config::{Credentials, Region};
   10     10   
use aws_sdk_s3::operation::list_objects_v2::ListObjectsV2Error;
   11     11   
use aws_sdk_s3::{Client, Config};
   12         -
use aws_smithy_runtime::client::http::test_util::capture_request;
          12  +
use aws_smithy_http_client::test_util::capture_request;
   13     13   
   14     14   
#[tokio::test]
   15     15   
async fn test_s3_signer_query_string_with_all_valid_chars() {
   16     16   
    let (http_client, rcvr) = capture_request(None);
   17     17   
    let config = Config::builder()
   18     18   
        .credentials_provider(SharedCredentialsProvider::new(
   19     19   
            Credentials::for_tests_with_session_token(),
   20     20   
        ))
   21     21   
        .region(Region::new("us-east-1"))
   22     22   
        .http_client(http_client.clone())

tmp-codegen-diff/aws-sdk/sdk/s3/tests/reconnects.rs

@@ -1,1 +40,39 @@
    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_s3::config::retry::{ReconnectMode, RetryConfig};
    7      7   
use aws_sdk_s3::config::{Credentials, Region, SharedAsyncSleep};
    8      8   
use aws_smithy_async::rt::sleep::TokioSleep;
    9         -
use aws_smithy_runtime::client::http::test_util::wire::{ReplayedEvent, WireMockServer};
   10         -
use aws_smithy_runtime::{ev, match_events};
           9  +
use aws_smithy_http_client::test_util::wire::{ev, match_events, ReplayedEvent, WireMockServer};
   11     10   
   12     11   
#[tokio::test]
   13     12   
async fn test_disable_reconnect_on_503() {
   14     13   
    let mock = WireMockServer::start(vec![
   15     14   
        ReplayedEvent::status(503),
   16     15   
        ReplayedEvent::status(503),
   17     16   
        ReplayedEvent::with_body("here-is-your-object"),
   18     17   
    ])
   19     18   
    .await;
   20     19   

tmp-codegen-diff/aws-sdk/sdk/s3/tests/recursion-detection.rs

@@ -1,1 +31,31 @@
    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_config::SdkConfig;
    7      7   
use aws_credential_types::provider::SharedCredentialsProvider;
    8      8   
use aws_sdk_s3::config::{Credentials, Region};
    9      9   
use aws_sdk_s3::Client;
   10         -
use aws_smithy_runtime::client::http::test_util::capture_request;
          10  +
use aws_smithy_http_client::test_util::capture_request;
   11     11   
   12     12   
#[tokio::test]
   13     13   
async fn recursion_detection_applied() {
   14     14   
    std::env::set_var("AWS_LAMBDA_FUNCTION_NAME", "some-function");
   15     15   
    std::env::set_var("_X_AMZN_TRACE_ID", "traceid");
   16     16   
    let (http_client, captured_request) = capture_request(None);
   17     17   
    let sdk_config = SdkConfig::builder()
   18     18   
        .credentials_provider(SharedCredentialsProvider::new(Credentials::for_tests()))
   19     19   
        .region(Region::new("us-east-1"))
   20     20   
        .http_client(http_client.clone())