Client Test

Client Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943

Files changed:

tmp-codegen-diff/codegen-client-test/Cargo.lock

@@ -464,464 +524,524 @@
  484    484   
 "thiserror",
  485    485   
 "tokio",
  486    486   
 "tower 0.4.13",
  487    487   
 "tower-http",
  488    488   
 "tracing",
  489    489   
 "uuid",
  490    490   
]
  491    491   
  492    492   
[[package]]
  493    493   
name = "aws-smithy-http-server-python"
  494         -
version = "0.65.0"
         494  +
version = "0.66.0"
  495    495   
dependencies = [
  496    496   
 "aws-smithy-http",
  497    497   
 "aws-smithy-http-server",
  498    498   
 "aws-smithy-json",
  499    499   
 "aws-smithy-types",
  500    500   
 "aws-smithy-xml",
  501    501   
 "bytes",
  502    502   
 "futures",
  503    503   
 "futures-util",
  504    504   
 "http 0.2.12",
@@ -1572,1572 +1631,1637 @@
 1592   1592   
version = "0.12.3"
 1593   1593   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1594   1594   
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
 1595   1595   
 1596   1596   
[[package]]
 1597   1597   
name = "hashbrown"
 1598   1598   
version = "0.15.3"
 1599   1599   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1600   1600   
checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3"
 1601   1601   
        1602  +
[[package]]
        1603  +
name = "heck"
        1604  +
version = "0.4.1"
        1605  +
source = "registry+https://github.com/rust-lang/crates.io-index"
        1606  +
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
        1607  +
 1602   1608   
[[package]]
 1603   1609   
name = "hermit-abi"
 1604   1610   
version = "0.1.19"
 1605   1611   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1606   1612   
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
 1607   1613   
dependencies = [
 1608   1614   
 "libc",
 1609   1615   
]
 1610   1616   
 1611   1617   
[[package]]
@@ -1927,1933 +1989,1995 @@
 1947   1953   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1948   1954   
checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e"
 1949   1955   
dependencies = [
 1950   1956   
 "equivalent",
 1951   1957   
 "hashbrown 0.15.3",
 1952   1958   
 "serde",
 1953   1959   
]
 1954   1960   
 1955   1961   
[[package]]
 1956   1962   
name = "indoc"
 1957         -
version = "1.0.9"
        1963  +
version = "2.0.6"
 1958   1964   
source = "registry+https://github.com/rust-lang/crates.io-index"
 1959         -
checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306"
        1965  +
checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
 1960   1966   
 1961   1967   
[[package]]
 1962   1968   
name = "inlineable"
 1963   1969   
version = "0.1.0"
 1964   1970   
dependencies = [
 1965   1971   
 "aws-smithy-cbor",
 1966   1972   
 "aws-smithy-compression",
 1967   1973   
 "aws-smithy-http",
 1968   1974   
 "aws-smithy-json",
 1969   1975   
 "aws-smithy-runtime",
@@ -2183,2189 +2245,2251 @@
 2203   2209   
]
 2204   2210   
 2205   2211   
[[package]]
 2206   2212   
name = "memchr"
 2207   2213   
version = "2.7.4"
 2208   2214   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2209   2215   
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
 2210   2216   
 2211   2217   
[[package]]
 2212   2218   
name = "memoffset"
 2213         -
version = "0.8.0"
        2219  +
version = "0.9.1"
 2214   2220   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2215         -
checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
        2221  +
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
 2216   2222   
dependencies = [
 2217   2223   
 "autocfg",
 2218   2224   
]
 2219   2225   
 2220   2226   
[[package]]
 2221   2227   
name = "mime"
 2222   2228   
version = "0.3.17"
 2223   2229   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2224   2230   
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
 2225   2231   
@@ -2529,2535 +2588,2600 @@
 2549   2555   
dependencies = [
 2550   2556   
 "cfg-if",
 2551   2557   
 "concurrent-queue",
 2552   2558   
 "hermit-abi 0.4.0",
 2553   2559   
 "pin-project-lite",
 2554   2560   
 "rustix 0.38.44",
 2555   2561   
 "tracing",
 2556   2562   
 "windows-sys 0.59.0",
 2557   2563   
]
 2558   2564   
        2565  +
[[package]]
        2566  +
name = "portable-atomic"
        2567  +
version = "1.11.0"
        2568  +
source = "registry+https://github.com/rust-lang/crates.io-index"
        2569  +
checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
        2570  +
 2559   2571   
[[package]]
 2560   2572   
name = "potential_utf"
 2561   2573   
version = "0.1.2"
 2562   2574   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2563   2575   
checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
 2564   2576   
dependencies = [
 2565   2577   
 "zerovec",
 2566   2578   
]
 2567   2579   
 2568   2580   
[[package]]
@@ -2628,2640 +2771,2786 @@
 2648   2660   
 "rand_chacha 0.3.1",
 2649   2661   
 "rand_xorshift",
 2650   2662   
 "regex-syntax 0.8.5",
 2651   2663   
 "rusty-fork",
 2652   2664   
 "tempfile",
 2653   2665   
 "unarray",
 2654   2666   
]
 2655   2667   
 2656   2668   
[[package]]
 2657   2669   
name = "pyo3"
 2658         -
version = "0.18.3"
        2670  +
version = "0.20.3"
 2659   2671   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2660         -
checksum = "e3b1ac5b3731ba34fdaa9785f8d74d17448cd18f30cf19e0c7e7b1fdb5272109"
        2672  +
checksum = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
 2661   2673   
dependencies = [
 2662   2674   
 "cfg-if",
 2663   2675   
 "indoc",
 2664   2676   
 "libc",
 2665   2677   
 "memoffset",
 2666   2678   
 "parking_lot",
        2679  +
 "portable-atomic",
 2667   2680   
 "pyo3-build-config",
 2668   2681   
 "pyo3-ffi",
 2669   2682   
 "pyo3-macros",
 2670   2683   
 "unindent",
 2671   2684   
]
 2672   2685   
 2673   2686   
[[package]]
 2674   2687   
name = "pyo3-asyncio"
 2675         -
version = "0.18.0"
        2688  +
version = "0.20.0"
 2676   2689   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2677         -
checksum = "d3564762e37035cfc486228e10b0528460fa026d681b5763873c693aa0d5c260"
        2690  +
checksum = "6ea6b68e93db3622f3bb3bf363246cf948ed5375afe7abff98ccbdd50b184995"
 2678   2691   
dependencies = [
 2679   2692   
 "async-channel 1.9.0",
 2680   2693   
 "clap 3.2.25",
 2681   2694   
 "futures",
 2682   2695   
 "inventory",
 2683   2696   
 "once_cell",
 2684   2697   
 "pin-project-lite",
 2685   2698   
 "pyo3",
 2686   2699   
 "pyo3-asyncio-macros",
 2687   2700   
 "tokio",
 2688   2701   
]
 2689   2702   
 2690   2703   
[[package]]
 2691   2704   
name = "pyo3-asyncio-macros"
 2692         -
version = "0.18.0"
        2705  +
version = "0.20.0"
 2693   2706   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2694         -
checksum = "be72d4cd43a27530306bd0d20d3932182fbdd072c6b98d3638bc37efb9d559dd"
        2707  +
checksum = "56c467178e1da6252c95c29ecf898b133f742e9181dca5def15dc24e19d45a39"
 2695   2708   
dependencies = [
 2696   2709   
 "proc-macro2",
 2697   2710   
 "quote",
 2698   2711   
 "syn 1.0.109",
 2699   2712   
]
 2700   2713   
 2701   2714   
[[package]]
 2702   2715   
name = "pyo3-build-config"
 2703         -
version = "0.18.3"
        2716  +
version = "0.20.3"
 2704   2717   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2705         -
checksum = "9cb946f5ac61bb61a5014924910d936ebd2b23b705f7a4a3c40b05c720b079a3"
        2718  +
checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
 2706   2719   
dependencies = [
 2707   2720   
 "once_cell",
 2708   2721   
 "target-lexicon",
 2709   2722   
]
 2710   2723   
 2711   2724   
[[package]]
 2712   2725   
name = "pyo3-ffi"
 2713         -
version = "0.18.3"
        2726  +
version = "0.20.3"
 2714   2727   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2715         -
checksum = "fd4d7c5337821916ea2a1d21d1092e8443cf34879e53a0ac653fbb98f44ff65c"
        2728  +
checksum = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
 2716   2729   
dependencies = [
 2717   2730   
 "libc",
 2718   2731   
 "pyo3-build-config",
 2719   2732   
]
 2720   2733   
 2721   2734   
[[package]]
 2722   2735   
name = "pyo3-macros"
 2723         -
version = "0.18.3"
        2736  +
version = "0.20.3"
 2724   2737   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2725         -
checksum = "a9d39c55dab3fc5a4b25bbd1ac10a2da452c4aca13bb450f22818a002e29648d"
        2738  +
checksum = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
 2726   2739   
dependencies = [
 2727   2740   
 "proc-macro2",
 2728   2741   
 "pyo3-macros-backend",
 2729   2742   
 "quote",
 2730         -
 "syn 1.0.109",
        2743  +
 "syn 2.0.101",
 2731   2744   
]
 2732   2745   
 2733   2746   
[[package]]
 2734   2747   
name = "pyo3-macros-backend"
 2735         -
version = "0.18.3"
        2748  +
version = "0.20.3"
 2736   2749   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2737         -
checksum = "97daff08a4c48320587b5224cc98d609e3c27b6d437315bd40b605c98eeb5918"
        2750  +
checksum = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
 2738   2751   
dependencies = [
        2752  +
 "heck",
 2739   2753   
 "proc-macro2",
        2754  +
 "pyo3-build-config",
 2740   2755   
 "quote",
 2741         -
 "syn 1.0.109",
        2756  +
 "syn 2.0.101",
 2742   2757   
]
 2743   2758   
 2744   2759   
[[package]]
 2745   2760   
name = "query_map"
 2746   2761   
version = "0.7.0"
 2747   2762   
source = "registry+https://github.com/rust-lang/crates.io-index"
 2748   2763   
checksum = "5eab6b8b1074ef3359a863758dae650c7c0c6027927a085b7af911c8e0bf3a15"
 2749   2764   
dependencies = [
 2750   2765   
 "form_urlencoded",
 2751   2766   
 "serde",
@@ -3907,3922 +3969,3984 @@
 3927   3942   
checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
 3928   3943   
 3929   3944   
[[package]]
 3930   3945   
name = "unicode-ident"
 3931   3946   
version = "1.0.18"
 3932   3947   
source = "registry+https://github.com/rust-lang/crates.io-index"
 3933   3948   
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
 3934   3949   
 3935   3950   
[[package]]
 3936   3951   
name = "unindent"
 3937         -
version = "0.1.11"
        3952  +
version = "0.2.4"
 3938   3953   
source = "registry+https://github.com/rust-lang/crates.io-index"
 3939         -
checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c"
        3954  +
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
 3940   3955   
 3941   3956   
[[package]]
 3942   3957   
name = "untrusted"
 3943   3958   
version = "0.7.1"
 3944   3959   
source = "registry+https://github.com/rust-lang/crates.io-index"
 3945   3960   
checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
 3946   3961   
 3947   3962   
[[package]]
 3948   3963   
name = "untrusted"
 3949   3964   
version = "0.9.0"

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client.rs

@@ -1,1 +31,32 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:105 */
    2      3   
#[derive(Debug)]
    3      4   
pub(crate) struct Handle {
    4      5   
    pub(crate) conf: crate::Config,
    5      6   
    #[allow(dead_code)] // unused when a service does not provide any operations
    6      7   
    pub(crate) runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
    7      8   
}
    8      9   
    9     10   
///
   10     11   
/// An ergonomic client for Sample Query Protocol Service.
   11     12   
///
@@ -77,78 +198,232 @@
   97     98   
    fn validate_config(handle: &Handle) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
   98     99   
        let mut cfg = ::aws_smithy_types::config_bag::ConfigBag::base();
   99    100   
        handle
  100    101   
            .runtime_plugins
  101    102   
            .apply_client_configuration(&mut cfg)?
  102    103   
            .validate_base_client_config(&cfg)?;
  103    104   
        Ok(())
  104    105   
    }
  105    106   
}
  106    107   
  107         -
/// Operation customization and supporting types.
         108  +
/// /* ClientRustModule.kt:161 */Operation customization and supporting types.
  108    109   
///
  109         -
/// The underlying HTTP requests made during an operation can be customized
         110  +
/// /* ClientRustModule.kt:170 */The underlying HTTP requests made during an operation can be customized
  110    111   
/// by calling the `customize()` method on the builder returned from a client
  111    112   
/// operation call. For example, this can be used to add an additional HTTP header:
  112    113   
///
  113    114   
/// ```ignore
  114    115   
/// # async fn wrapper() -> ::std::result::Result<(), aws_query::Error> {
  115    116   
/// # let client: aws_query::Client = unimplemented!();
  116    117   
/// use ::http::header::{HeaderName, HeaderValue};
  117    118   
///
  118    119   
/// let result = client.datetime_offsets()
  119    120   
///     .customize()
  120    121   
///     .mutate_request(|req| {
  121    122   
///         // Add `x-example-header` with value
  122    123   
///         req.headers_mut()
  123    124   
///             .insert(
  124    125   
///                 HeaderName::from_static("x-example-header"),
  125    126   
///                 HeaderValue::from_static("1"),
  126    127   
///             );
  127    128   
///     })
  128    129   
///     .send()
  129    130   
///     .await;
  130    131   
/// # }
  131    132   
/// ```
  132    133   
pub mod customize;
  133    134   
         135  +
/* RustModule.kt:172 */
  134    136   
mod datetime_offsets;
  135    137   
         138  +
/* RustModule.kt:172 */
  136    139   
mod empty_input_and_empty_output;
  137    140   
         141  +
/* RustModule.kt:172 */
  138    142   
mod endpoint_operation;
  139    143   
         144  +
/* RustModule.kt:172 */
  140    145   
mod endpoint_with_host_label_operation;
  141    146   
         147  +
/* RustModule.kt:172 */
  142    148   
mod flattened_xml_map;
  143    149   
         150  +
/* RustModule.kt:172 */
  144    151   
mod flattened_xml_map_with_xml_name;
  145    152   
         153  +
/* RustModule.kt:172 */
  146    154   
mod flattened_xml_map_with_xml_namespace;
  147    155   
         156  +
/* RustModule.kt:172 */
  148    157   
mod fractional_seconds;
  149    158   
         159  +
/* RustModule.kt:172 */
  150    160   
mod greeting_with_errors;
  151    161   
         162  +
/* RustModule.kt:172 */
  152    163   
mod host_with_path_operation;
  153    164   
         165  +
/* RustModule.kt:172 */
  154    166   
mod ignores_wrapping_xml_name;
  155    167   
         168  +
/* RustModule.kt:172 */
  156    169   
mod nested_structures;
  157    170   
         171  +
/* RustModule.kt:172 */
  158    172   
mod no_input_and_no_output;
  159    173   
         174  +
/* RustModule.kt:172 */
  160    175   
mod no_input_and_output;
  161    176   
         177  +
/* RustModule.kt:172 */
  162    178   
mod put_with_content_encoding;
  163    179   
         180  +
/* RustModule.kt:172 */
  164    181   
mod query_idempotency_token_auto_fill;
  165    182   
         183  +
/* RustModule.kt:172 */
  166    184   
mod query_lists;
  167    185   
         186  +
/* RustModule.kt:172 */
  168    187   
mod query_maps;
  169    188   
         189  +
/* RustModule.kt:172 */
  170    190   
mod query_timestamps;
  171    191   
         192  +
/* RustModule.kt:172 */
  172    193   
mod recursive_xml_shapes;
  173    194   
         195  +
/* RustModule.kt:172 */
  174    196   
mod simple_input_params;
  175    197   
         198  +
/* RustModule.kt:172 */
  176    199   
mod simple_scalar_xml_properties;
  177    200   
         201  +
/* RustModule.kt:172 */
  178    202   
mod xml_blobs;
  179    203   
         204  +
/* RustModule.kt:172 */
  180    205   
mod xml_empty_blobs;
  181    206   
         207  +
/* RustModule.kt:172 */
  182    208   
mod xml_empty_lists;
  183    209   
         210  +
/* RustModule.kt:172 */
  184    211   
mod xml_empty_maps;
  185    212   
         213  +
/* RustModule.kt:172 */
  186    214   
mod xml_enums;
  187    215   
         216  +
/* RustModule.kt:172 */
  188    217   
mod xml_int_enums;
  189    218   
         219  +
/* RustModule.kt:172 */
  190    220   
mod xml_lists;
  191    221   
         222  +
/* RustModule.kt:172 */
  192    223   
mod xml_maps;
  193    224   
         225  +
/* RustModule.kt:172 */
  194    226   
mod xml_maps_xml_name;
  195    227   
         228  +
/* RustModule.kt:172 */
  196    229   
mod xml_namespaces;
  197    230   
         231  +
/* RustModule.kt:172 */
  198    232   
mod xml_timestamps;

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/customize.rs

@@ -1,1 +32,33 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
           3  +
/* CustomizableOperationGenerator.kt:72 */
    3      4   
/// `CustomizableOperation` allows for configuring a single operation invocation before it is sent.
    4      5   
pub struct CustomizableOperation<T, E, B> {
    5      6   
    customizable_send: B,
    6      7   
    config_override: ::std::option::Option<crate::config::Builder>,
    7      8   
    interceptors: Vec<::aws_smithy_runtime_api::client::interceptors::SharedInterceptor>,
    8      9   
    runtime_plugins: Vec<::aws_smithy_runtime_api::client::runtime_plugin::SharedRuntimePlugin>,
    9     10   
    _output: ::std::marker::PhantomData<T>,
   10     11   
    _error: ::std::marker::PhantomData<E>,
   11     12   
}
   12     13   

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/customize/internal.rs

@@ -1,1 +12,13 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* CustomizableOperationGenerator.kt:204 */
    2      3   
pub type BoxFuture<T> = ::std::pin::Pin<::std::boxed::Box<dyn ::std::future::Future<Output = T> + ::std::marker::Send>>;
    3      4   
    4      5   
pub type SendResult<T, E> =
    5      6   
    ::std::result::Result<T, ::aws_smithy_runtime_api::client::result::SdkError<E, ::aws_smithy_runtime_api::client::orchestrator::HttpResponse>>;
    6      7   
    7      8   
pub trait CustomizableSend<T, E>: ::std::marker::Send + ::std::marker::Sync {
    8      9   
    // Takes an owned `self` as the implementation will internally call methods that take `self`.
    9     10   
    // If it took `&self`, that would make this trait object safe, but some implementing types do not
   10     11   
    // derive `Clone`, unable to yield `self` from `&self`.
   11     12   
    fn send(self, config_override: crate::config::Builder) -> BoxFuture<SendResult<T, E>>;

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/datetime_offsets.rs

@@ -1,1 +12,16 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`DatetimeOffsets`](crate::operation::datetime_offsets::builders::DatetimeOffsetsFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::datetime_offsets::builders::DatetimeOffsetsFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`DatetimeOffsetsOutput`](crate::operation::datetime_offsets::DatetimeOffsetsOutput) with field(s):
    7      9   
    ///   - [`datetime(Option<DateTime>)`](crate::operation::datetime_offsets::DatetimeOffsetsOutput::datetime): (undocumented)
    8     10   
    /// - On failure, responds with [`SdkError<DatetimeOffsetsError>`](crate::operation::datetime_offsets::DatetimeOffsetsError)
          11  +
    /* FluentClientGenerator.kt:234 */
    9     12   
    pub fn datetime_offsets(&self) -> crate::operation::datetime_offsets::builders::DatetimeOffsetsFluentBuilder {
   10     13   
        crate::operation::datetime_offsets::builders::DatetimeOffsetsFluentBuilder::new(self.handle.clone())
   11     14   
    }
          15  +
    /* FluentClientGenerator.kt:187 */
   12     16   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/empty_input_and_empty_output.rs

@@ -1,1 +11,15 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`EmptyInputAndEmptyOutput`](crate::operation::empty_input_and_empty_output::builders::EmptyInputAndEmptyOutputFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::empty_input_and_empty_output::builders::EmptyInputAndEmptyOutputFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`EmptyInputAndEmptyOutputOutput`](crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputOutput)
    7      9   
    /// - On failure, responds with [`SdkError<EmptyInputAndEmptyOutputError>`](crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError)
          10  +
    /* FluentClientGenerator.kt:234 */
    8     11   
    pub fn empty_input_and_empty_output(&self) -> crate::operation::empty_input_and_empty_output::builders::EmptyInputAndEmptyOutputFluentBuilder {
    9     12   
        crate::operation::empty_input_and_empty_output::builders::EmptyInputAndEmptyOutputFluentBuilder::new(self.handle.clone())
   10     13   
    }
          14  +
    /* FluentClientGenerator.kt:187 */
   11     15   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/endpoint_operation.rs

@@ -1,1 +11,15 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`EndpointOperation`](crate::operation::endpoint_operation::builders::EndpointOperationFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::endpoint_operation::builders::EndpointOperationFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`EndpointOperationOutput`](crate::operation::endpoint_operation::EndpointOperationOutput)
    7      9   
    /// - On failure, responds with [`SdkError<EndpointOperationError>`](crate::operation::endpoint_operation::EndpointOperationError)
          10  +
    /* FluentClientGenerator.kt:234 */
    8     11   
    pub fn endpoint_operation(&self) -> crate::operation::endpoint_operation::builders::EndpointOperationFluentBuilder {
    9     12   
        crate::operation::endpoint_operation::builders::EndpointOperationFluentBuilder::new(self.handle.clone())
   10     13   
    }
          14  +
    /* FluentClientGenerator.kt:187 */
   11     15   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/endpoint_with_host_label_operation.rs

@@ -1,1 +14,18 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`EndpointWithHostLabelOperation`](crate::operation::endpoint_with_host_label_operation::builders::EndpointWithHostLabelOperationFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder is configurable:
    6      8   
    ///   - [`label(impl Into<String>)`](crate::operation::endpoint_with_host_label_operation::builders::EndpointWithHostLabelOperationFluentBuilder::label) / [`set_label(Option<String>)`](crate::operation::endpoint_with_host_label_operation::builders::EndpointWithHostLabelOperationFluentBuilder::set_label):<br>required: **true**<br>(undocumented)<br>
    7      9   
    /// - On success, responds with [`EndpointWithHostLabelOperationOutput`](crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationOutput)
    8     10   
    /// - On failure, responds with [`SdkError<EndpointWithHostLabelOperationError>`](crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError)
          11  +
    /* FluentClientGenerator.kt:234 */
    9     12   
    pub fn endpoint_with_host_label_operation(
   10     13   
        &self,
   11     14   
    ) -> crate::operation::endpoint_with_host_label_operation::builders::EndpointWithHostLabelOperationFluentBuilder {
   12     15   
        crate::operation::endpoint_with_host_label_operation::builders::EndpointWithHostLabelOperationFluentBuilder::new(self.handle.clone())
   13     16   
    }
          17  +
    /* FluentClientGenerator.kt:187 */
   14     18   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/flattened_xml_map.rs

@@ -1,1 +12,16 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`FlattenedXmlMap`](crate::operation::flattened_xml_map::builders::FlattenedXmlMapFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::flattened_xml_map::builders::FlattenedXmlMapFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`FlattenedXmlMapOutput`](crate::operation::flattened_xml_map::FlattenedXmlMapOutput) with field(s):
    7      9   
    ///   - [`my_map(Option<HashMap::<String, FooEnum>>)`](crate::operation::flattened_xml_map::FlattenedXmlMapOutput::my_map): (undocumented)
    8     10   
    /// - On failure, responds with [`SdkError<FlattenedXmlMapError>`](crate::operation::flattened_xml_map::FlattenedXmlMapError)
          11  +
    /* FluentClientGenerator.kt:234 */
    9     12   
    pub fn flattened_xml_map(&self) -> crate::operation::flattened_xml_map::builders::FlattenedXmlMapFluentBuilder {
   10     13   
        crate::operation::flattened_xml_map::builders::FlattenedXmlMapFluentBuilder::new(self.handle.clone())
   11     14   
    }
          15  +
    /* FluentClientGenerator.kt:187 */
   12     16   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/flattened_xml_map_with_xml_name.rs

@@ -1,1 +14,18 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`FlattenedXmlMapWithXmlName`](crate::operation::flattened_xml_map_with_xml_name::builders::FlattenedXmlMapWithXmlNameFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::flattened_xml_map_with_xml_name::builders::FlattenedXmlMapWithXmlNameFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`FlattenedXmlMapWithXmlNameOutput`](crate::operation::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameOutput) with field(s):
    7      9   
    ///   - [`my_map(Option<HashMap::<String, String>>)`](crate::operation::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameOutput::my_map): (undocumented)
    8     10   
    /// - On failure, responds with [`SdkError<FlattenedXmlMapWithXmlNameError>`](crate::operation::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameError)
          11  +
    /* FluentClientGenerator.kt:234 */
    9     12   
    pub fn flattened_xml_map_with_xml_name(
   10     13   
        &self,
   11     14   
    ) -> crate::operation::flattened_xml_map_with_xml_name::builders::FlattenedXmlMapWithXmlNameFluentBuilder {
   12     15   
        crate::operation::flattened_xml_map_with_xml_name::builders::FlattenedXmlMapWithXmlNameFluentBuilder::new(self.handle.clone())
   13     16   
    }
          17  +
    /* FluentClientGenerator.kt:187 */
   14     18   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/flattened_xml_map_with_xml_namespace.rs

@@ -1,1 +14,18 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`FlattenedXmlMapWithXmlNamespace`](crate::operation::flattened_xml_map_with_xml_namespace::builders::FlattenedXmlMapWithXmlNamespaceFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::flattened_xml_map_with_xml_namespace::builders::FlattenedXmlMapWithXmlNamespaceFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`FlattenedXmlMapWithXmlNamespaceOutput`](crate::operation::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceOutput) with field(s):
    7      9   
    ///   - [`my_map(Option<HashMap::<String, String>>)`](crate::operation::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceOutput::my_map): (undocumented)
    8     10   
    /// - On failure, responds with [`SdkError<FlattenedXmlMapWithXmlNamespaceError>`](crate::operation::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceError)
          11  +
    /* FluentClientGenerator.kt:234 */
    9     12   
    pub fn flattened_xml_map_with_xml_namespace(
   10     13   
        &self,
   11     14   
    ) -> crate::operation::flattened_xml_map_with_xml_namespace::builders::FlattenedXmlMapWithXmlNamespaceFluentBuilder {
   12     15   
        crate::operation::flattened_xml_map_with_xml_namespace::builders::FlattenedXmlMapWithXmlNamespaceFluentBuilder::new(self.handle.clone())
   13     16   
    }
          17  +
    /* FluentClientGenerator.kt:187 */
   14     18   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/fractional_seconds.rs

@@ -1,1 +12,16 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`FractionalSeconds`](crate::operation::fractional_seconds::builders::FractionalSecondsFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::fractional_seconds::builders::FractionalSecondsFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`FractionalSecondsOutput`](crate::operation::fractional_seconds::FractionalSecondsOutput) with field(s):
    7      9   
    ///   - [`datetime(Option<DateTime>)`](crate::operation::fractional_seconds::FractionalSecondsOutput::datetime): (undocumented)
    8     10   
    /// - On failure, responds with [`SdkError<FractionalSecondsError>`](crate::operation::fractional_seconds::FractionalSecondsError)
          11  +
    /* FluentClientGenerator.kt:234 */
    9     12   
    pub fn fractional_seconds(&self) -> crate::operation::fractional_seconds::builders::FractionalSecondsFluentBuilder {
   10     13   
        crate::operation::fractional_seconds::builders::FractionalSecondsFluentBuilder::new(self.handle.clone())
   11     14   
    }
          15  +
    /* FluentClientGenerator.kt:187 */
   12     16   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/greeting_with_errors.rs

@@ -1,1 +12,16 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`GreetingWithErrors`](crate::operation::greeting_with_errors::builders::GreetingWithErrorsFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::greeting_with_errors::builders::GreetingWithErrorsFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`GreetingWithErrorsOutput`](crate::operation::greeting_with_errors::GreetingWithErrorsOutput) with field(s):
    7      9   
    ///   - [`greeting(Option<String>)`](crate::operation::greeting_with_errors::GreetingWithErrorsOutput::greeting): (undocumented)
    8     10   
    /// - On failure, responds with [`SdkError<GreetingWithErrorsError>`](crate::operation::greeting_with_errors::GreetingWithErrorsError)
          11  +
    /* FluentClientGenerator.kt:234 */
    9     12   
    pub fn greeting_with_errors(&self) -> crate::operation::greeting_with_errors::builders::GreetingWithErrorsFluentBuilder {
   10     13   
        crate::operation::greeting_with_errors::builders::GreetingWithErrorsFluentBuilder::new(self.handle.clone())
   11     14   
    }
          15  +
    /* FluentClientGenerator.kt:187 */
   12     16   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/host_with_path_operation.rs

@@ -1,1 +11,15 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`HostWithPathOperation`](crate::operation::host_with_path_operation::builders::HostWithPathOperationFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::host_with_path_operation::builders::HostWithPathOperationFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`HostWithPathOperationOutput`](crate::operation::host_with_path_operation::HostWithPathOperationOutput)
    7      9   
    /// - On failure, responds with [`SdkError<HostWithPathOperationError>`](crate::operation::host_with_path_operation::HostWithPathOperationError)
          10  +
    /* FluentClientGenerator.kt:234 */
    8     11   
    pub fn host_with_path_operation(&self) -> crate::operation::host_with_path_operation::builders::HostWithPathOperationFluentBuilder {
    9     12   
        crate::operation::host_with_path_operation::builders::HostWithPathOperationFluentBuilder::new(self.handle.clone())
   10     13   
    }
          14  +
    /* FluentClientGenerator.kt:187 */
   11     15   
}

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/client/ignores_wrapping_xml_name.rs

@@ -1,1 +12,16 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* FluentClientGenerator.kt:187 */
    2      3   
impl super::Client {
           4  +
    /* FluentClientGenerator.kt:221 */
    3      5   
    /// Constructs a fluent builder for the [`IgnoresWrappingXmlName`](crate::operation::ignores_wrapping_xml_name::builders::IgnoresWrappingXmlNameFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::ignores_wrapping_xml_name::builders::IgnoresWrappingXmlNameFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`IgnoresWrappingXmlNameOutput`](crate::operation::ignores_wrapping_xml_name::IgnoresWrappingXmlNameOutput) with field(s):
    7      9   
    ///   - [`foo(Option<String>)`](crate::operation::ignores_wrapping_xml_name::IgnoresWrappingXmlNameOutput::foo): (undocumented)
    8     10   
    /// - On failure, responds with [`SdkError<IgnoresWrappingXmlNameError>`](crate::operation::ignores_wrapping_xml_name::IgnoresWrappingXmlNameError)
          11  +
    /* FluentClientGenerator.kt:234 */
    9     12   
    pub fn ignores_wrapping_xml_name(&self) -> crate::operation::ignores_wrapping_xml_name::builders::IgnoresWrappingXmlNameFluentBuilder {
   10     13   
        crate::operation::ignores_wrapping_xml_name::builders::IgnoresWrappingXmlNameFluentBuilder::new(self.handle.clone())
   11     14   
    }
          15  +
    /* FluentClientGenerator.kt:187 */
   12     16   
}