Client Test

Client Test

rev. a6a605b6340afa93bd608cee1f77bf7bbb80ccda

Files changed:

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_map_with_xml_namespace/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::xml_map_with_xml_namespace::builders::XmlMapWithXmlNamespaceInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::xml_map_with_xml_namespace::XmlMapWithXmlNamespaceOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::xml_map_with_xml_namespace::XmlMapWithXmlNamespaceError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_maps/builders.rs

@@ -34,34 +94,95 @@
   54     54   
    pub fn as_input(&self) -> &crate::operation::xml_maps::builders::XmlMapsInputBuilder {
   55     55   
        &self.inner
   56     56   
    }
   57     57   
    /// Sends the request and returns the response.
   58     58   
    ///
   59     59   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   60     60   
    /// can be matched against.
   61     61   
    ///
   62     62   
    /// By default, any retryable failures will be retried twice. Retry behavior
   63     63   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   64         -
    /// set when configuring the client.
          64  +
    /// set when configuring the client. Note: retries are enabled by default when using
          65  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   65     66   
    pub async fn send(
   66     67   
        self,
   67     68   
    ) -> ::std::result::Result<
   68     69   
        crate::operation::xml_maps::XmlMapsOutput,
   69     70   
        ::aws_smithy_runtime_api::client::result::SdkError<
   70     71   
            crate::operation::xml_maps::XmlMapsError,
   71     72   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   72     73   
        >,
   73     74   
    > {
   74     75   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_maps_xml_name/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::xml_maps_xml_name::builders::XmlMapsXmlNameInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::xml_maps_xml_name::XmlMapsXmlNameOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::xml_maps_xml_name::XmlMapsXmlNameError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_namespaces/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::xml_namespaces::builders::XmlNamespacesInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::xml_namespaces::XmlNamespacesOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::xml_namespaces::XmlNamespacesError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_timestamps/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::xml_timestamps::builders::XmlTimestampsInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::xml_timestamps::XmlTimestampsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::xml_timestamps::XmlTimestampsError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_unions/builders.rs

@@ -33,33 +93,94 @@
   53     53   
    pub fn as_input(&self) -> &crate::operation::xml_unions::builders::XmlUnionsInputBuilder {
   54     54   
        &self.inner
   55     55   
    }
   56     56   
    /// Sends the request and returns the response.
   57     57   
    ///
   58     58   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   59     59   
    /// can be matched against.
   60     60   
    ///
   61     61   
    /// By default, any retryable failures will be retried twice. Retry behavior
   62     62   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   63         -
    /// set when configuring the client.
          63  +
    /// set when configuring the client. Note: retries are enabled by default when using
          64  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   64     65   
    pub async fn send(
   65     66   
        self,
   66     67   
    ) -> ::std::result::Result<
   67     68   
        crate::operation::xml_unions::XmlUnionsOutput,
   68     69   
        ::aws_smithy_runtime_api::client::result::SdkError<
   69     70   
            crate::operation::xml_unions::XmlUnionsError,
   70     71   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   71     72   
        >,
   72     73   
    > {
   73     74   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/attribute_party/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::attribute_party::builders::AttributePartyInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::attribute_party::AttributePartyOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::attribute_party::AttributePartyError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/checksum_required/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::checksum_required::builders::ChecksumRequiredInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::checksum_required::ChecksumRequiredOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::checksum_required::ChecksumRequiredError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/create_foo/builders.rs

@@ -34,34 +94,95 @@
   54     54   
    pub fn as_input(&self) -> &crate::operation::create_foo::builders::CreateFooInputBuilder {
   55     55   
        &self.inner
   56     56   
    }
   57     57   
    /// Sends the request and returns the response.
   58     58   
    ///
   59     59   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   60     60   
    /// can be matched against.
   61     61   
    ///
   62     62   
    /// By default, any retryable failures will be retried twice. Retry behavior
   63     63   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   64         -
    /// set when configuring the client.
          64  +
    /// set when configuring the client. Note: retries are enabled by default when using
          65  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   65     66   
    pub async fn send(
   66     67   
        self,
   67     68   
    ) -> ::std::result::Result<
   68     69   
        crate::operation::create_foo::CreateFooOutput,
   69     70   
        ::aws_smithy_runtime_api::client::result::SdkError<
   70     71   
            crate::operation::create_foo::CreateFooError,
   71     72   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   72     73   
        >,
   73     74   
    > {
   74     75   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/enum_keys/builders.rs

@@ -33,33 +93,94 @@
   53     53   
    pub fn as_input(&self) -> &crate::operation::enum_keys::builders::EnumKeysInputBuilder {
   54     54   
        &self.inner
   55     55   
    }
   56     56   
    /// Sends the request and returns the response.
   57     57   
    ///
   58     58   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   59     59   
    /// can be matched against.
   60     60   
    ///
   61     61   
    /// By default, any retryable failures will be retried twice. Retry behavior
   62     62   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   63         -
    /// set when configuring the client.
          63  +
    /// set when configuring the client. Note: retries are enabled by default when using
          64  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   64     65   
    pub async fn send(
   65     66   
        self,
   66     67   
    ) -> ::std::result::Result<
   67     68   
        crate::operation::enum_keys::EnumKeysOutput,
   68     69   
        ::aws_smithy_runtime_api::client::result::SdkError<
   69     70   
            crate::operation::enum_keys::EnumKeysError,
   70     71   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   71     72   
        >,
   72     73   
    > {
   73     74   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/primitive_int_op_xml/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::primitive_int_op_xml::builders::PrimitiveIntOpXmlInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::primitive_int_op_xml::PrimitiveIntOpXmlOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::primitive_int_op_xml::PrimitiveIntOpXmlError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/required_member/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::required_member::builders::RequiredMemberInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::required_member::RequiredMemberOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::required_member::RequiredMemberError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/string_header/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::string_header::builders::StringHeaderInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::string_header::StringHeaderOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::string_header::StringHeaderError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/xml_maps_flattened_nested_xml_namespace/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::xml_maps_flattened_nested_xml_namespace::builders::XmlMapsFlattenedNestedXmlNamespaceInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::xml_maps_flattened_nested_xml_namespace::XmlMapsFlattenedNestedXmlNamespaceOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::xml_maps_flattened_nested_xml_namespace::XmlMapsFlattenedNestedXmlNamespaceError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_extras_unwrapped/rust-client-codegen/src/operation/greeting_with_unwrapped_errors/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::greeting_with_unwrapped_errors::builders::GreetingWithUnwrappedErrorsInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::greeting_with_unwrapped_errors::GreetingWithUnwrappedErrorsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::greeting_with_unwrapped_errors::GreetingWithUnwrappedErrorsError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/rest_xml_namespace/rust-client-codegen/src/operation/simple_scalar_properties/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::simple_scalar_properties::SimpleScalarPropertiesOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::simple_scalar_properties::SimpleScalarPropertiesError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self