Client Test

Client Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/client/content_type_parameters.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 [`ContentTypeParameters`](crate::operation::content_type_parameters::builders::ContentTypeParametersFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder is configurable:
    6      8   
    ///   - [`value(i32)`](crate::operation::content_type_parameters::builders::ContentTypeParametersFluentBuilder::value) / [`set_value(Option<i32>)`](crate::operation::content_type_parameters::builders::ContentTypeParametersFluentBuilder::set_value):<br>required: **false**<br>(undocumented)<br>
    7      9   
    /// - On success, responds with [`ContentTypeParametersOutput`](crate::operation::content_type_parameters::ContentTypeParametersOutput)
    8     10   
    /// - On failure, responds with [`SdkError<ContentTypeParametersError>`](crate::operation::content_type_parameters::ContentTypeParametersError)
          11  +
    /* FluentClientGenerator.kt:234 */
    9     12   
    pub fn content_type_parameters(&self) -> crate::operation::content_type_parameters::builders::ContentTypeParametersFluentBuilder {
   10     13   
        crate::operation::content_type_parameters::builders::ContentTypeParametersFluentBuilder::new(self.handle.clone())
   11     14   
    }
          15  +
    /* FluentClientGenerator.kt:187 */
   12     16   
}

tmp-codegen-diff/codegen-client-test/json_rpc10/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/json_rpc10/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/json_rpc10/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/json_rpc10/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/json_rpc10/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/json_rpc10/rust-client-codegen/src/client/greeting_with_errors.rs

@@ -1,1 +13,17 @@
    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 is configurable:
    6      8   
    ///   - [`greeting(impl Into<String>)`](crate::operation::greeting_with_errors::builders::GreetingWithErrorsFluentBuilder::greeting) / [`set_greeting(Option<String>)`](crate::operation::greeting_with_errors::builders::GreetingWithErrorsFluentBuilder::set_greeting):<br>required: **false**<br>(undocumented)<br>
    7      9   
    /// - On success, responds with [`GreetingWithErrorsOutput`](crate::operation::greeting_with_errors::GreetingWithErrorsOutput) with field(s):
    8     10   
    ///   - [`greeting(Option<String>)`](crate::operation::greeting_with_errors::GreetingWithErrorsOutput::greeting): (undocumented)
    9     11   
    /// - On failure, responds with [`SdkError<GreetingWithErrorsError>`](crate::operation::greeting_with_errors::GreetingWithErrorsError)
          12  +
    /* FluentClientGenerator.kt:234 */
   10     13   
    pub fn greeting_with_errors(&self) -> crate::operation::greeting_with_errors::builders::GreetingWithErrorsFluentBuilder {
   11     14   
        crate::operation::greeting_with_errors::builders::GreetingWithErrorsFluentBuilder::new(self.handle.clone())
   12     15   
    }
          16  +
    /* FluentClientGenerator.kt:187 */
   13     17   
}

tmp-codegen-diff/codegen-client-test/json_rpc10/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/json_rpc10/rust-client-codegen/src/client/json_unions.rs

@@ -1,1 +13,17 @@
    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 [`JsonUnions`](crate::operation::json_unions::builders::JsonUnionsFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder is configurable:
    6      8   
    ///   - [`contents(MyUnion)`](crate::operation::json_unions::builders::JsonUnionsFluentBuilder::contents) / [`set_contents(Option<MyUnion>)`](crate::operation::json_unions::builders::JsonUnionsFluentBuilder::set_contents):<br>required: **false**<br>A union with a representative set of types for members.<br>
    7      9   
    /// - On success, responds with [`JsonUnionsOutput`](crate::operation::json_unions::JsonUnionsOutput) with field(s):
    8     10   
    ///   - [`contents(Option<MyUnion>)`](crate::operation::json_unions::JsonUnionsOutput::contents): A union with a representative set of types for members.
    9     11   
    /// - On failure, responds with [`SdkError<JsonUnionsError>`](crate::operation::json_unions::JsonUnionsError)
          12  +
    /* FluentClientGenerator.kt:234 */
   10     13   
    pub fn json_unions(&self) -> crate::operation::json_unions::builders::JsonUnionsFluentBuilder {
   11     14   
        crate::operation::json_unions::builders::JsonUnionsFluentBuilder::new(self.handle.clone())
   12     15   
    }
          16  +
    /* FluentClientGenerator.kt:187 */
   13     17   
}

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/client/no_input_and_no_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 [`NoInputAndNoOutput`](crate::operation::no_input_and_no_output::builders::NoInputAndNoOutputFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::no_input_and_no_output::builders::NoInputAndNoOutputFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`NoInputAndNoOutputOutput`](crate::operation::no_input_and_no_output::NoInputAndNoOutputOutput)
    7      9   
    /// - On failure, responds with [`SdkError<NoInputAndNoOutputError>`](crate::operation::no_input_and_no_output::NoInputAndNoOutputError)
          10  +
    /* FluentClientGenerator.kt:234 */
    8     11   
    pub fn no_input_and_no_output(&self) -> crate::operation::no_input_and_no_output::builders::NoInputAndNoOutputFluentBuilder {
    9     12   
        crate::operation::no_input_and_no_output::builders::NoInputAndNoOutputFluentBuilder::new(self.handle.clone())
   10     13   
    }
          14  +
    /* FluentClientGenerator.kt:187 */
   11     15   
}

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/client/no_input_and_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 [`NoInputAndOutput`](crate::operation::no_input_and_output::builders::NoInputAndOutputFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::no_input_and_output::builders::NoInputAndOutputFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`NoInputAndOutputOutput`](crate::operation::no_input_and_output::NoInputAndOutputOutput)
    7      9   
    /// - On failure, responds with [`SdkError<NoInputAndOutputError>`](crate::operation::no_input_and_output::NoInputAndOutputError)
          10  +
    /* FluentClientGenerator.kt:234 */
    8     11   
    pub fn no_input_and_output(&self) -> crate::operation::no_input_and_output::builders::NoInputAndOutputFluentBuilder {
    9     12   
        crate::operation::no_input_and_output::builders::NoInputAndOutputFluentBuilder::new(self.handle.clone())
   10     13   
    }
          14  +
    /* FluentClientGenerator.kt:187 */
   11     15   
}

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/client/operation_with_defaults.rs

@@ -1,1 +43,47 @@
    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 [`OperationWithDefaults`](crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder is configurable:
    6      8   
    ///   - [`defaults(Defaults)`](crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder::defaults) / [`set_defaults(Option<Defaults>)`](crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder::set_defaults):<br>required: **false**<br>(undocumented)<br>
    7      9   
    ///   - [`client_optional_defaults(ClientOptionalDefaults)`](crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder::client_optional_defaults) / [`set_client_optional_defaults(Option<ClientOptionalDefaults>)`](crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder::set_client_optional_defaults):<br>required: **false**<br>(undocumented)<br>
    8     10   
    ///   - [`top_level_default(impl Into<String>)`](crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder::top_level_default) / [`set_top_level_default(Option<String>)`](crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder::set_top_level_default):<br>required: **false**<br>(undocumented)<br>
    9     11   
    ///   - [`other_top_level_default(i32)`](crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder::other_top_level_default) / [`set_other_top_level_default(Option<i32>)`](crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder::set_other_top_level_default):<br>required: **false**<br>(undocumented)<br>
   10     12   
    /// - On success, responds with [`OperationWithDefaultsOutput`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput) with field(s):
   11     13   
    ///   - [`default_string(String)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_string): (undocumented)
   12     14   
    ///   - [`default_boolean(bool)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_boolean): (undocumented)
   13     15   
    ///   - [`default_list(Vec::<String>)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_list): (undocumented)
   14     16   
    ///   - [`default_document_map(Document)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_document_map): (undocumented)
   15     17   
    ///   - [`default_document_string(Document)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_document_string): (undocumented)
   16     18   
    ///   - [`default_document_boolean(Document)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_document_boolean): (undocumented)
   17     19   
    ///   - [`default_document_list(Document)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_document_list): (undocumented)
   18     20   
    ///   - [`default_null_document(Option<Document>)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_null_document): (undocumented)
   19     21   
    ///   - [`default_timestamp(DateTime)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_timestamp): (undocumented)
   20     22   
    ///   - [`default_blob(Blob)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_blob): (undocumented)
   21     23   
    ///   - [`default_byte(i8)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_byte): (undocumented)
   22     24   
    ///   - [`default_short(i16)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_short): (undocumented)
   23     25   
    ///   - [`default_integer(i32)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_integer): (undocumented)
   24     26   
    ///   - [`default_long(i64)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_long): (undocumented)
   25     27   
    ///   - [`default_float(f32)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_float): (undocumented)
   26     28   
    ///   - [`default_double(f64)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_double): (undocumented)
   27     29   
    ///   - [`default_map(HashMap::<String, String>)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_map): (undocumented)
   28     30   
    ///   - [`default_enum(TestEnum)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_enum): (undocumented)
   29     31   
    ///   - [`default_int_enum(i32)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::default_int_enum): (undocumented)
   30     32   
    ///   - [`empty_string(String)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::empty_string): (undocumented)
   31     33   
    ///   - [`false_boolean(bool)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::false_boolean): (undocumented)
   32     34   
    ///   - [`empty_blob(Blob)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::empty_blob): (undocumented)
   33     35   
    ///   - [`zero_byte(i8)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::zero_byte): (undocumented)
   34     36   
    ///   - [`zero_short(i16)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::zero_short): (undocumented)
   35     37   
    ///   - [`zero_integer(i32)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::zero_integer): (undocumented)
   36     38   
    ///   - [`zero_long(i64)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::zero_long): (undocumented)
   37     39   
    ///   - [`zero_float(f32)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::zero_float): (undocumented)
   38     40   
    ///   - [`zero_double(f64)`](crate::operation::operation_with_defaults::OperationWithDefaultsOutput::zero_double): (undocumented)
   39     41   
    /// - On failure, responds with [`SdkError<OperationWithDefaultsError>`](crate::operation::operation_with_defaults::OperationWithDefaultsError)
          42  +
    /* FluentClientGenerator.kt:234 */
   40     43   
    pub fn operation_with_defaults(&self) -> crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder {
   41     44   
        crate::operation::operation_with_defaults::builders::OperationWithDefaultsFluentBuilder::new(self.handle.clone())
   42     45   
    }
          46  +
    /* FluentClientGenerator.kt:187 */
   43     47   
}

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/client/operation_with_nested_structure.rs

@@ -1,1 +17,21 @@
    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 [`OperationWithNestedStructure`](crate::operation::operation_with_nested_structure::builders::OperationWithNestedStructureFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder is configurable:
    6      8   
    ///   - [`top_level(TopLevel)`](crate::operation::operation_with_nested_structure::builders::OperationWithNestedStructureFluentBuilder::top_level) / [`set_top_level(Option<TopLevel>)`](crate::operation::operation_with_nested_structure::builders::OperationWithNestedStructureFluentBuilder::set_top_level):<br>required: **true**<br>(undocumented)<br>
    7      9   
    /// - On success, responds with [`OperationWithNestedStructureOutput`](crate::operation::operation_with_nested_structure::OperationWithNestedStructureOutput) with field(s):
    8     10   
    ///   - [`dialog(Dialog)`](crate::operation::operation_with_nested_structure::OperationWithNestedStructureOutput::dialog): (undocumented)
    9     11   
    ///   - [`dialog_list(Vec::<Dialog>)`](crate::operation::operation_with_nested_structure::OperationWithNestedStructureOutput::dialog_list): (undocumented)
   10     12   
    ///   - [`dialog_map(HashMap::<String, Dialog>)`](crate::operation::operation_with_nested_structure::OperationWithNestedStructureOutput::dialog_map): (undocumented)
   11     13   
    /// - On failure, responds with [`SdkError<OperationWithNestedStructureError>`](crate::operation::operation_with_nested_structure::OperationWithNestedStructureError)
          14  +
    /* FluentClientGenerator.kt:234 */
   12     15   
    pub fn operation_with_nested_structure(
   13     16   
        &self,
   14     17   
    ) -> crate::operation::operation_with_nested_structure::builders::OperationWithNestedStructureFluentBuilder {
   15     18   
        crate::operation::operation_with_nested_structure::builders::OperationWithNestedStructureFluentBuilder::new(self.handle.clone())
   16     19   
    }
          20  +
    /* FluentClientGenerator.kt:187 */
   17     21   
}

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/client/operation_with_required_members.rs

@@ -1,1 +25,29 @@
    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 [`OperationWithRequiredMembers`](crate::operation::operation_with_required_members::builders::OperationWithRequiredMembersFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder takes no input, just [`send`](crate::operation::operation_with_required_members::builders::OperationWithRequiredMembersFluentBuilder::send) it.
    6      8   
    /// - On success, responds with [`OperationWithRequiredMembersOutput`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput) with field(s):
    7      9   
    ///   - [`required_string(String)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_string): (undocumented)
    8     10   
    ///   - [`required_boolean(bool)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_boolean): (undocumented)
    9     11   
    ///   - [`required_list(Vec::<String>)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_list): (undocumented)
   10     12   
    ///   - [`required_timestamp(DateTime)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_timestamp): (undocumented)
   11     13   
    ///   - [`required_blob(Blob)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_blob): (undocumented)
   12     14   
    ///   - [`required_byte(i8)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_byte): (undocumented)
   13     15   
    ///   - [`required_short(i16)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_short): (undocumented)
   14     16   
    ///   - [`required_integer(i32)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_integer): (undocumented)
   15     17   
    ///   - [`required_long(i64)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_long): (undocumented)
   16     18   
    ///   - [`required_float(f32)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_float): (undocumented)
   17     19   
    ///   - [`required_double(f64)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_double): (undocumented)
   18     20   
    ///   - [`required_map(HashMap::<String, String>)`](crate::operation::operation_with_required_members::OperationWithRequiredMembersOutput::required_map): (undocumented)
   19     21   
    /// - On failure, responds with [`SdkError<OperationWithRequiredMembersError>`](crate::operation::operation_with_required_members::OperationWithRequiredMembersError)
          22  +
    /* FluentClientGenerator.kt:234 */
   20     23   
    pub fn operation_with_required_members(
   21     24   
        &self,
   22     25   
    ) -> crate::operation::operation_with_required_members::builders::OperationWithRequiredMembersFluentBuilder {
   23     26   
        crate::operation::operation_with_required_members::builders::OperationWithRequiredMembersFluentBuilder::new(self.handle.clone())
   24     27   
    }
          28  +
    /* FluentClientGenerator.kt:187 */
   25     29   
}

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/client/put_with_content_encoding.rs

@@ -1,1 +13,17 @@
    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 [`PutWithContentEncoding`](crate::operation::put_with_content_encoding::builders::PutWithContentEncodingFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder is configurable:
    6      8   
    ///   - [`encoding(impl Into<String>)`](crate::operation::put_with_content_encoding::builders::PutWithContentEncodingFluentBuilder::encoding) / [`set_encoding(Option<String>)`](crate::operation::put_with_content_encoding::builders::PutWithContentEncodingFluentBuilder::set_encoding):<br>required: **false**<br>(undocumented)<br>
    7      9   
    ///   - [`data(impl Into<String>)`](crate::operation::put_with_content_encoding::builders::PutWithContentEncodingFluentBuilder::data) / [`set_data(Option<String>)`](crate::operation::put_with_content_encoding::builders::PutWithContentEncodingFluentBuilder::set_data):<br>required: **false**<br>(undocumented)<br>
    8     10   
    /// - On success, responds with [`PutWithContentEncodingOutput`](crate::operation::put_with_content_encoding::PutWithContentEncodingOutput)
    9     11   
    /// - On failure, responds with [`SdkError<PutWithContentEncodingError>`](crate::operation::put_with_content_encoding::PutWithContentEncodingError)
          12  +
    /* FluentClientGenerator.kt:234 */
   10     13   
    pub fn put_with_content_encoding(&self) -> crate::operation::put_with_content_encoding::builders::PutWithContentEncodingFluentBuilder {
   11     14   
        crate::operation::put_with_content_encoding::builders::PutWithContentEncodingFluentBuilder::new(self.handle.clone())
   12     15   
    }
          16  +
    /* FluentClientGenerator.kt:187 */
   13     17   
}

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/client/simple_scalar_properties.rs

@@ -1,1 +15,19 @@
    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 [`SimpleScalarProperties`](crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesFluentBuilder) operation.
    4      6   
    ///
    5      7   
    /// - The fluent builder is configurable:
    6      8   
    ///   - [`float_value(f32)`](crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesFluentBuilder::float_value) / [`set_float_value(Option<f32>)`](crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesFluentBuilder::set_float_value):<br>required: **false**<br>(undocumented)<br>
    7      9   
    ///   - [`double_value(f64)`](crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesFluentBuilder::double_value) / [`set_double_value(Option<f64>)`](crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesFluentBuilder::set_double_value):<br>required: **false**<br>(undocumented)<br>
    8     10   
    /// - On success, responds with [`SimpleScalarPropertiesOutput`](crate::operation::simple_scalar_properties::SimpleScalarPropertiesOutput) with field(s):
    9     11   
    ///   - [`float_value(Option<f32>)`](crate::operation::simple_scalar_properties::SimpleScalarPropertiesOutput::float_value): (undocumented)
   10     12   
    ///   - [`double_value(Option<f64>)`](crate::operation::simple_scalar_properties::SimpleScalarPropertiesOutput::double_value): (undocumented)
   11     13   
    /// - On failure, responds with [`SdkError<SimpleScalarPropertiesError>`](crate::operation::simple_scalar_properties::SimpleScalarPropertiesError)
          14  +
    /* FluentClientGenerator.kt:234 */
   12     15   
    pub fn simple_scalar_properties(&self) -> crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesFluentBuilder {
   13     16   
        crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesFluentBuilder::new(self.handle.clone())
   14     17   
    }
          18  +
    /* FluentClientGenerator.kt:187 */
   15     19   
}