AWS SDK

AWS SDK

rev. ee474c7509d7728618c23068f3741e8e5b339ef9

Files changed:

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/create_grant.rs

@@ -162,162 +240,240 @@
  182    182   
                _input: &crate::operation::create_grant::CreateGrantInput,
  183    183   
                output: &mut ::std::string::String,
  184    184   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  185    185   
                use ::std::fmt::Write as _;
  186    186   
                ::std::write!(output, "/").expect("formatting should succeed");
  187    187   
                ::std::result::Result::Ok(())
  188    188   
            }
  189    189   
            #[allow(clippy::unnecessary_wraps)]
  190    190   
            fn update_http_builder(
  191    191   
                input: &crate::operation::create_grant::CreateGrantInput,
  192         -
                builder: ::http::request::Builder,
  193         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         192  +
                builder: ::http_1x::request::Builder,
         193  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  194    194   
                let mut uri = ::std::string::String::new();
  195    195   
                uri_base(input, &mut uri)?;
  196    196   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  197    197   
            }
  198         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  199         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         198  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         199  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  200    200   
            builder = _header_serialization_settings.set_default_header(
  201    201   
                builder,
  202         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         202  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  203    203   
                "TrentService.CreateGrant",
  204    204   
            );
  205    205   
            builder
  206    206   
        };
  207    207   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_create_grant::ser_create_grant_input(&input)?);
  208    208   
        if let Some(content_length) = body.content_length() {
  209    209   
            let content_length = content_length.to_string();
  210         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         210  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  211    211   
        }
  212    212   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  213    213   
    }
  214    214   
}
  215    215   
#[derive(Debug)]
  216    216   
struct CreateGrantEndpointParamsInterceptor;
  217    217   
  218    218   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateGrantEndpointParamsInterceptor {
  219    219   
    fn name(&self) -> &'static str {
  220    220   
        "CreateGrantEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/create_key.rs

@@ -160,160 +238,238 @@
  180    180   
                _input: &crate::operation::create_key::CreateKeyInput,
  181    181   
                output: &mut ::std::string::String,
  182    182   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  183    183   
                use ::std::fmt::Write as _;
  184    184   
                ::std::write!(output, "/").expect("formatting should succeed");
  185    185   
                ::std::result::Result::Ok(())
  186    186   
            }
  187    187   
            #[allow(clippy::unnecessary_wraps)]
  188    188   
            fn update_http_builder(
  189    189   
                input: &crate::operation::create_key::CreateKeyInput,
  190         -
                builder: ::http::request::Builder,
  191         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         190  +
                builder: ::http_1x::request::Builder,
         191  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  192    192   
                let mut uri = ::std::string::String::new();
  193    193   
                uri_base(input, &mut uri)?;
  194    194   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  195    195   
            }
  196         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  197         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         196  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         197  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  198    198   
            builder = _header_serialization_settings.set_default_header(
  199    199   
                builder,
  200         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         200  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  201    201   
                "TrentService.CreateKey",
  202    202   
            );
  203    203   
            builder
  204    204   
        };
  205    205   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_create_key::ser_create_key_input(&input)?);
  206    206   
        if let Some(content_length) = body.content_length() {
  207    207   
            let content_length = content_length.to_string();
  208         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         208  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  209    209   
        }
  210    210   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  211    211   
    }
  212    212   
}
  213    213   
#[derive(Debug)]
  214    214   
struct CreateKeyEndpointParamsInterceptor;
  215    215   
  216    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateKeyEndpointParamsInterceptor {
  217    217   
    fn name(&self) -> &'static str {
  218    218   
        "CreateKeyEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/decrypt.rs

@@ -157,157 +235,235 @@
  177    177   
                _input: &crate::operation::decrypt::DecryptInput,
  178    178   
                output: &mut ::std::string::String,
  179    179   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  180    180   
                use ::std::fmt::Write as _;
  181    181   
                ::std::write!(output, "/").expect("formatting should succeed");
  182    182   
                ::std::result::Result::Ok(())
  183    183   
            }
  184    184   
            #[allow(clippy::unnecessary_wraps)]
  185    185   
            fn update_http_builder(
  186    186   
                input: &crate::operation::decrypt::DecryptInput,
  187         -
                builder: ::http::request::Builder,
  188         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         187  +
                builder: ::http_1x::request::Builder,
         188  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  189    189   
                let mut uri = ::std::string::String::new();
  190    190   
                uri_base(input, &mut uri)?;
  191    191   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  192    192   
            }
  193         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  194         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         193  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         194  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  195    195   
            builder = _header_serialization_settings.set_default_header(
  196    196   
                builder,
  197         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         197  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  198    198   
                "TrentService.Decrypt",
  199    199   
            );
  200    200   
            builder
  201    201   
        };
  202    202   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_decrypt::ser_decrypt_input(&input)?);
  203    203   
        if let Some(content_length) = body.content_length() {
  204    204   
            let content_length = content_length.to_string();
  205         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         205  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  206    206   
        }
  207    207   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  208    208   
    }
  209    209   
}
  210    210   
#[derive(Debug)]
  211    211   
struct DecryptEndpointParamsInterceptor;
  212    212   
  213    213   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DecryptEndpointParamsInterceptor {
  214    214   
    fn name(&self) -> &'static str {
  215    215   
        "DecryptEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/delete_alias.rs

@@ -162,162 +240,240 @@
  182    182   
                _input: &crate::operation::delete_alias::DeleteAliasInput,
  183    183   
                output: &mut ::std::string::String,
  184    184   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  185    185   
                use ::std::fmt::Write as _;
  186    186   
                ::std::write!(output, "/").expect("formatting should succeed");
  187    187   
                ::std::result::Result::Ok(())
  188    188   
            }
  189    189   
            #[allow(clippy::unnecessary_wraps)]
  190    190   
            fn update_http_builder(
  191    191   
                input: &crate::operation::delete_alias::DeleteAliasInput,
  192         -
                builder: ::http::request::Builder,
  193         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         192  +
                builder: ::http_1x::request::Builder,
         193  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  194    194   
                let mut uri = ::std::string::String::new();
  195    195   
                uri_base(input, &mut uri)?;
  196    196   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  197    197   
            }
  198         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  199         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         198  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         199  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  200    200   
            builder = _header_serialization_settings.set_default_header(
  201    201   
                builder,
  202         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         202  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  203    203   
                "TrentService.DeleteAlias",
  204    204   
            );
  205    205   
            builder
  206    206   
        };
  207    207   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_delete_alias::ser_delete_alias_input(&input)?);
  208    208   
        if let Some(content_length) = body.content_length() {
  209    209   
            let content_length = content_length.to_string();
  210         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         210  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  211    211   
        }
  212    212   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  213    213   
    }
  214    214   
}
  215    215   
#[derive(Debug)]
  216    216   
struct DeleteAliasEndpointParamsInterceptor;
  217    217   
  218    218   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DeleteAliasEndpointParamsInterceptor {
  219    219   
    fn name(&self) -> &'static str {
  220    220   
        "DeleteAliasEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/delete_custom_key_store.rs

@@ -165,165 +245,245 @@
  185    185   
                _input: &crate::operation::delete_custom_key_store::DeleteCustomKeyStoreInput,
  186    186   
                output: &mut ::std::string::String,
  187    187   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  188    188   
                use ::std::fmt::Write as _;
  189    189   
                ::std::write!(output, "/").expect("formatting should succeed");
  190    190   
                ::std::result::Result::Ok(())
  191    191   
            }
  192    192   
            #[allow(clippy::unnecessary_wraps)]
  193    193   
            fn update_http_builder(
  194    194   
                input: &crate::operation::delete_custom_key_store::DeleteCustomKeyStoreInput,
  195         -
                builder: ::http::request::Builder,
  196         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         195  +
                builder: ::http_1x::request::Builder,
         196  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  197    197   
                let mut uri = ::std::string::String::new();
  198    198   
                uri_base(input, &mut uri)?;
  199    199   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  200    200   
            }
  201         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  202         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         201  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         202  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  203    203   
            builder = _header_serialization_settings.set_default_header(
  204    204   
                builder,
  205         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         205  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  206    206   
                "TrentService.DeleteCustomKeyStore",
  207    207   
            );
  208    208   
            builder
  209    209   
        };
  210    210   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_delete_custom_key_store::ser_delete_custom_key_store_input(
  211    211   
            &input,
  212    212   
        )?);
  213    213   
        if let Some(content_length) = body.content_length() {
  214    214   
            let content_length = content_length.to_string();
  215         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         215  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  216    216   
        }
  217    217   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  218    218   
    }
  219    219   
}
  220    220   
#[derive(Debug)]
  221    221   
struct DeleteCustomKeyStoreEndpointParamsInterceptor;
  222    222   
  223    223   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DeleteCustomKeyStoreEndpointParamsInterceptor {
  224    224   
    fn name(&self) -> &'static str {
  225    225   
        "DeleteCustomKeyStoreEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/delete_imported_key_material.rs

@@ -165,165 +245,245 @@
  185    185   
                _input: &crate::operation::delete_imported_key_material::DeleteImportedKeyMaterialInput,
  186    186   
                output: &mut ::std::string::String,
  187    187   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  188    188   
                use ::std::fmt::Write as _;
  189    189   
                ::std::write!(output, "/").expect("formatting should succeed");
  190    190   
                ::std::result::Result::Ok(())
  191    191   
            }
  192    192   
            #[allow(clippy::unnecessary_wraps)]
  193    193   
            fn update_http_builder(
  194    194   
                input: &crate::operation::delete_imported_key_material::DeleteImportedKeyMaterialInput,
  195         -
                builder: ::http::request::Builder,
  196         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         195  +
                builder: ::http_1x::request::Builder,
         196  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  197    197   
                let mut uri = ::std::string::String::new();
  198    198   
                uri_base(input, &mut uri)?;
  199    199   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  200    200   
            }
  201         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  202         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         201  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         202  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  203    203   
            builder = _header_serialization_settings.set_default_header(
  204    204   
                builder,
  205         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         205  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  206    206   
                "TrentService.DeleteImportedKeyMaterial",
  207    207   
            );
  208    208   
            builder
  209    209   
        };
  210    210   
        let body = ::aws_smithy_types::body::SdkBody::from(
  211    211   
            crate::protocol_serde::shape_delete_imported_key_material::ser_delete_imported_key_material_input(&input)?,
  212    212   
        );
  213    213   
        if let Some(content_length) = body.content_length() {
  214    214   
            let content_length = content_length.to_string();
  215         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         215  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  216    216   
        }
  217    217   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  218    218   
    }
  219    219   
}
  220    220   
#[derive(Debug)]
  221    221   
struct DeleteImportedKeyMaterialEndpointParamsInterceptor;
  222    222   
  223    223   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DeleteImportedKeyMaterialEndpointParamsInterceptor {
  224    224   
    fn name(&self) -> &'static str {
  225    225   
        "DeleteImportedKeyMaterialEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/derive_shared_secret.rs

@@ -163,163 +242,242 @@
  183    183   
                _input: &crate::operation::derive_shared_secret::DeriveSharedSecretInput,
  184    184   
                output: &mut ::std::string::String,
  185    185   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  186    186   
                use ::std::fmt::Write as _;
  187    187   
                ::std::write!(output, "/").expect("formatting should succeed");
  188    188   
                ::std::result::Result::Ok(())
  189    189   
            }
  190    190   
            #[allow(clippy::unnecessary_wraps)]
  191    191   
            fn update_http_builder(
  192    192   
                input: &crate::operation::derive_shared_secret::DeriveSharedSecretInput,
  193         -
                builder: ::http::request::Builder,
  194         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         193  +
                builder: ::http_1x::request::Builder,
         194  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  195    195   
                let mut uri = ::std::string::String::new();
  196    196   
                uri_base(input, &mut uri)?;
  197    197   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  198    198   
            }
  199         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  200         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         199  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         200  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  201    201   
            builder = _header_serialization_settings.set_default_header(
  202    202   
                builder,
  203         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         203  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  204    204   
                "TrentService.DeriveSharedSecret",
  205    205   
            );
  206    206   
            builder
  207    207   
        };
  208    208   
        let body =
  209    209   
            ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_derive_shared_secret::ser_derive_shared_secret_input(&input)?);
  210    210   
        if let Some(content_length) = body.content_length() {
  211    211   
            let content_length = content_length.to_string();
  212         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         212  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  213    213   
        }
  214    214   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  215    215   
    }
  216    216   
}
  217    217   
#[derive(Debug)]
  218    218   
struct DeriveSharedSecretEndpointParamsInterceptor;
  219    219   
  220    220   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DeriveSharedSecretEndpointParamsInterceptor {
  221    221   
    fn name(&self) -> &'static str {
  222    222   
        "DeriveSharedSecretEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/describe_custom_key_stores.rs

@@ -166,166 +246,246 @@
  186    186   
                _input: &crate::operation::describe_custom_key_stores::DescribeCustomKeyStoresInput,
  187    187   
                output: &mut ::std::string::String,
  188    188   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  189    189   
                use ::std::fmt::Write as _;
  190    190   
                ::std::write!(output, "/").expect("formatting should succeed");
  191    191   
                ::std::result::Result::Ok(())
  192    192   
            }
  193    193   
            #[allow(clippy::unnecessary_wraps)]
  194    194   
            fn update_http_builder(
  195    195   
                input: &crate::operation::describe_custom_key_stores::DescribeCustomKeyStoresInput,
  196         -
                builder: ::http::request::Builder,
  197         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         196  +
                builder: ::http_1x::request::Builder,
         197  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  198    198   
                let mut uri = ::std::string::String::new();
  199    199   
                uri_base(input, &mut uri)?;
  200    200   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  201    201   
            }
  202         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  203         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         202  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         203  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  204    204   
            builder = _header_serialization_settings.set_default_header(
  205    205   
                builder,
  206         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         206  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  207    207   
                "TrentService.DescribeCustomKeyStores",
  208    208   
            );
  209    209   
            builder
  210    210   
        };
  211    211   
        let body = ::aws_smithy_types::body::SdkBody::from(
  212    212   
            crate::protocol_serde::shape_describe_custom_key_stores::ser_describe_custom_key_stores_input(&input)?,
  213    213   
        );
  214    214   
        if let Some(content_length) = body.content_length() {
  215    215   
            let content_length = content_length.to_string();
  216         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         216  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  217    217   
        }
  218    218   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  219    219   
    }
  220    220   
}
  221    221   
#[derive(Debug)]
  222    222   
struct DescribeCustomKeyStoresEndpointParamsInterceptor;
  223    223   
  224    224   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeCustomKeyStoresEndpointParamsInterceptor {
  225    225   
    fn name(&self) -> &'static str {
  226    226   
        "DescribeCustomKeyStoresEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/describe_key.rs

@@ -162,162 +240,240 @@
  182    182   
                _input: &crate::operation::describe_key::DescribeKeyInput,
  183    183   
                output: &mut ::std::string::String,
  184    184   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  185    185   
                use ::std::fmt::Write as _;
  186    186   
                ::std::write!(output, "/").expect("formatting should succeed");
  187    187   
                ::std::result::Result::Ok(())
  188    188   
            }
  189    189   
            #[allow(clippy::unnecessary_wraps)]
  190    190   
            fn update_http_builder(
  191    191   
                input: &crate::operation::describe_key::DescribeKeyInput,
  192         -
                builder: ::http::request::Builder,
  193         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         192  +
                builder: ::http_1x::request::Builder,
         193  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  194    194   
                let mut uri = ::std::string::String::new();
  195    195   
                uri_base(input, &mut uri)?;
  196    196   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  197    197   
            }
  198         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  199         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         198  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         199  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  200    200   
            builder = _header_serialization_settings.set_default_header(
  201    201   
                builder,
  202         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         202  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  203    203   
                "TrentService.DescribeKey",
  204    204   
            );
  205    205   
            builder
  206    206   
        };
  207    207   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_describe_key::ser_describe_key_input(&input)?);
  208    208   
        if let Some(content_length) = body.content_length() {
  209    209   
            let content_length = content_length.to_string();
  210         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         210  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  211    211   
        }
  212    212   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  213    213   
    }
  214    214   
}
  215    215   
#[derive(Debug)]
  216    216   
struct DescribeKeyEndpointParamsInterceptor;
  217    217   
  218    218   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeKeyEndpointParamsInterceptor {
  219    219   
    fn name(&self) -> &'static str {
  220    220   
        "DescribeKeyEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/disable_key.rs

@@ -160,160 +238,238 @@
  180    180   
                _input: &crate::operation::disable_key::DisableKeyInput,
  181    181   
                output: &mut ::std::string::String,
  182    182   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  183    183   
                use ::std::fmt::Write as _;
  184    184   
                ::std::write!(output, "/").expect("formatting should succeed");
  185    185   
                ::std::result::Result::Ok(())
  186    186   
            }
  187    187   
            #[allow(clippy::unnecessary_wraps)]
  188    188   
            fn update_http_builder(
  189    189   
                input: &crate::operation::disable_key::DisableKeyInput,
  190         -
                builder: ::http::request::Builder,
  191         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         190  +
                builder: ::http_1x::request::Builder,
         191  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  192    192   
                let mut uri = ::std::string::String::new();
  193    193   
                uri_base(input, &mut uri)?;
  194    194   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  195    195   
            }
  196         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  197         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         196  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         197  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  198    198   
            builder = _header_serialization_settings.set_default_header(
  199    199   
                builder,
  200         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         200  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  201    201   
                "TrentService.DisableKey",
  202    202   
            );
  203    203   
            builder
  204    204   
        };
  205    205   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_disable_key::ser_disable_key_input(&input)?);
  206    206   
        if let Some(content_length) = body.content_length() {
  207    207   
            let content_length = content_length.to_string();
  208         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         208  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  209    209   
        }
  210    210   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  211    211   
    }
  212    212   
}
  213    213   
#[derive(Debug)]
  214    214   
struct DisableKeyEndpointParamsInterceptor;
  215    215   
  216    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DisableKeyEndpointParamsInterceptor {
  217    217   
    fn name(&self) -> &'static str {
  218    218   
        "DisableKeyEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/disable_key_rotation.rs

@@ -162,162 +241,241 @@
  182    182   
                _input: &crate::operation::disable_key_rotation::DisableKeyRotationInput,
  183    183   
                output: &mut ::std::string::String,
  184    184   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  185    185   
                use ::std::fmt::Write as _;
  186    186   
                ::std::write!(output, "/").expect("formatting should succeed");
  187    187   
                ::std::result::Result::Ok(())
  188    188   
            }
  189    189   
            #[allow(clippy::unnecessary_wraps)]
  190    190   
            fn update_http_builder(
  191    191   
                input: &crate::operation::disable_key_rotation::DisableKeyRotationInput,
  192         -
                builder: ::http::request::Builder,
  193         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         192  +
                builder: ::http_1x::request::Builder,
         193  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  194    194   
                let mut uri = ::std::string::String::new();
  195    195   
                uri_base(input, &mut uri)?;
  196    196   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  197    197   
            }
  198         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  199         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         198  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         199  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  200    200   
            builder = _header_serialization_settings.set_default_header(
  201    201   
                builder,
  202         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         202  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  203    203   
                "TrentService.DisableKeyRotation",
  204    204   
            );
  205    205   
            builder
  206    206   
        };
  207    207   
        let body =
  208    208   
            ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_disable_key_rotation::ser_disable_key_rotation_input(&input)?);
  209    209   
        if let Some(content_length) = body.content_length() {
  210    210   
            let content_length = content_length.to_string();
  211         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         211  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  212    212   
        }
  213    213   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  214    214   
    }
  215    215   
}
  216    216   
#[derive(Debug)]
  217    217   
struct DisableKeyRotationEndpointParamsInterceptor;
  218    218   
  219    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DisableKeyRotationEndpointParamsInterceptor {
  220    220   
    fn name(&self) -> &'static str {
  221    221   
        "DisableKeyRotationEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/disconnect_custom_key_store.rs

@@ -165,165 +245,245 @@
  185    185   
                _input: &crate::operation::disconnect_custom_key_store::DisconnectCustomKeyStoreInput,
  186    186   
                output: &mut ::std::string::String,
  187    187   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  188    188   
                use ::std::fmt::Write as _;
  189    189   
                ::std::write!(output, "/").expect("formatting should succeed");
  190    190   
                ::std::result::Result::Ok(())
  191    191   
            }
  192    192   
            #[allow(clippy::unnecessary_wraps)]
  193    193   
            fn update_http_builder(
  194    194   
                input: &crate::operation::disconnect_custom_key_store::DisconnectCustomKeyStoreInput,
  195         -
                builder: ::http::request::Builder,
  196         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         195  +
                builder: ::http_1x::request::Builder,
         196  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  197    197   
                let mut uri = ::std::string::String::new();
  198    198   
                uri_base(input, &mut uri)?;
  199    199   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  200    200   
            }
  201         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  202         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         201  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         202  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  203    203   
            builder = _header_serialization_settings.set_default_header(
  204    204   
                builder,
  205         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         205  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  206    206   
                "TrentService.DisconnectCustomKeyStore",
  207    207   
            );
  208    208   
            builder
  209    209   
        };
  210    210   
        let body = ::aws_smithy_types::body::SdkBody::from(
  211    211   
            crate::protocol_serde::shape_disconnect_custom_key_store::ser_disconnect_custom_key_store_input(&input)?,
  212    212   
        );
  213    213   
        if let Some(content_length) = body.content_length() {
  214    214   
            let content_length = content_length.to_string();
  215         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         215  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  216    216   
        }
  217    217   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  218    218   
    }
  219    219   
}
  220    220   
#[derive(Debug)]
  221    221   
struct DisconnectCustomKeyStoreEndpointParamsInterceptor;
  222    222   
  223    223   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DisconnectCustomKeyStoreEndpointParamsInterceptor {
  224    224   
    fn name(&self) -> &'static str {
  225    225   
        "DisconnectCustomKeyStoreEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/enable_key.rs

@@ -160,160 +238,238 @@
  180    180   
                _input: &crate::operation::enable_key::EnableKeyInput,
  181    181   
                output: &mut ::std::string::String,
  182    182   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  183    183   
                use ::std::fmt::Write as _;
  184    184   
                ::std::write!(output, "/").expect("formatting should succeed");
  185    185   
                ::std::result::Result::Ok(())
  186    186   
            }
  187    187   
            #[allow(clippy::unnecessary_wraps)]
  188    188   
            fn update_http_builder(
  189    189   
                input: &crate::operation::enable_key::EnableKeyInput,
  190         -
                builder: ::http::request::Builder,
  191         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         190  +
                builder: ::http_1x::request::Builder,
         191  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  192    192   
                let mut uri = ::std::string::String::new();
  193    193   
                uri_base(input, &mut uri)?;
  194    194   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  195    195   
            }
  196         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  197         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         196  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         197  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  198    198   
            builder = _header_serialization_settings.set_default_header(
  199    199   
                builder,
  200         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         200  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  201    201   
                "TrentService.EnableKey",
  202    202   
            );
  203    203   
            builder
  204    204   
        };
  205    205   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_enable_key::ser_enable_key_input(&input)?);
  206    206   
        if let Some(content_length) = body.content_length() {
  207    207   
            let content_length = content_length.to_string();
  208         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         208  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  209    209   
        }
  210    210   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  211    211   
    }
  212    212   
}
  213    213   
#[derive(Debug)]
  214    214   
struct EnableKeyEndpointParamsInterceptor;
  215    215   
  216    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EnableKeyEndpointParamsInterceptor {
  217    217   
    fn name(&self) -> &'static str {
  218    218   
        "EnableKeyEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/enable_key_rotation.rs

@@ -162,162 +240,240 @@
  182    182   
                _input: &crate::operation::enable_key_rotation::EnableKeyRotationInput,
  183    183   
                output: &mut ::std::string::String,
  184    184   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  185    185   
                use ::std::fmt::Write as _;
  186    186   
                ::std::write!(output, "/").expect("formatting should succeed");
  187    187   
                ::std::result::Result::Ok(())
  188    188   
            }
  189    189   
            #[allow(clippy::unnecessary_wraps)]
  190    190   
            fn update_http_builder(
  191    191   
                input: &crate::operation::enable_key_rotation::EnableKeyRotationInput,
  192         -
                builder: ::http::request::Builder,
  193         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         192  +
                builder: ::http_1x::request::Builder,
         193  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  194    194   
                let mut uri = ::std::string::String::new();
  195    195   
                uri_base(input, &mut uri)?;
  196    196   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  197    197   
            }
  198         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  199         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         198  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         199  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  200    200   
            builder = _header_serialization_settings.set_default_header(
  201    201   
                builder,
  202         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         202  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  203    203   
                "TrentService.EnableKeyRotation",
  204    204   
            );
  205    205   
            builder
  206    206   
        };
  207    207   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_enable_key_rotation::ser_enable_key_rotation_input(&input)?);
  208    208   
        if let Some(content_length) = body.content_length() {
  209    209   
            let content_length = content_length.to_string();
  210         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         210  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  211    211   
        }
  212    212   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  213    213   
    }
  214    214   
}
  215    215   
#[derive(Debug)]
  216    216   
struct EnableKeyRotationEndpointParamsInterceptor;
  217    217   
  218    218   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EnableKeyRotationEndpointParamsInterceptor {
  219    219   
    fn name(&self) -> &'static str {
  220    220   
        "EnableKeyRotationEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/encrypt.rs

@@ -156,156 +234,234 @@
  176    176   
                _input: &crate::operation::encrypt::EncryptInput,
  177    177   
                output: &mut ::std::string::String,
  178    178   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  179    179   
                use ::std::fmt::Write as _;
  180    180   
                ::std::write!(output, "/").expect("formatting should succeed");
  181    181   
                ::std::result::Result::Ok(())
  182    182   
            }
  183    183   
            #[allow(clippy::unnecessary_wraps)]
  184    184   
            fn update_http_builder(
  185    185   
                input: &crate::operation::encrypt::EncryptInput,
  186         -
                builder: ::http::request::Builder,
  187         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         186  +
                builder: ::http_1x::request::Builder,
         187  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  188    188   
                let mut uri = ::std::string::String::new();
  189    189   
                uri_base(input, &mut uri)?;
  190    190   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  191    191   
            }
  192         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  193         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         192  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         193  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  194    194   
            builder = _header_serialization_settings.set_default_header(
  195    195   
                builder,
  196         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         196  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  197    197   
                "TrentService.Encrypt",
  198    198   
            );
  199    199   
            builder
  200    200   
        };
  201    201   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_encrypt::ser_encrypt_input(&input)?);
  202    202   
        if let Some(content_length) = body.content_length() {
  203    203   
            let content_length = content_length.to_string();
  204         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         204  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  205    205   
        }
  206    206   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  207    207   
    }
  208    208   
}
  209    209   
#[derive(Debug)]
  210    210   
struct EncryptEndpointParamsInterceptor;
  211    211   
  212    212   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EncryptEndpointParamsInterceptor {
  213    213   
    fn name(&self) -> &'static str {
  214    214   
        "EncryptEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/generate_data_key.rs

@@ -163,163 +241,241 @@
  183    183   
                _input: &crate::operation::generate_data_key::GenerateDataKeyInput,
  184    184   
                output: &mut ::std::string::String,
  185    185   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  186    186   
                use ::std::fmt::Write as _;
  187    187   
                ::std::write!(output, "/").expect("formatting should succeed");
  188    188   
                ::std::result::Result::Ok(())
  189    189   
            }
  190    190   
            #[allow(clippy::unnecessary_wraps)]
  191    191   
            fn update_http_builder(
  192    192   
                input: &crate::operation::generate_data_key::GenerateDataKeyInput,
  193         -
                builder: ::http::request::Builder,
  194         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         193  +
                builder: ::http_1x::request::Builder,
         194  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  195    195   
                let mut uri = ::std::string::String::new();
  196    196   
                uri_base(input, &mut uri)?;
  197    197   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  198    198   
            }
  199         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  200         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.1");
         199  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         200  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  201    201   
            builder = _header_serialization_settings.set_default_header(
  202    202   
                builder,
  203         -
                ::http::header::HeaderName::from_static("x-amz-target"),
         203  +
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  204    204   
                "TrentService.GenerateDataKey",
  205    205   
            );
  206    206   
            builder
  207    207   
        };
  208    208   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_generate_data_key::ser_generate_data_key_input(&input)?);
  209    209   
        if let Some(content_length) = body.content_length() {
  210    210   
            let content_length = content_length.to_string();
  211         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         211  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  212    212   
        }
  213    213   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  214    214   
    }
  215    215   
}
  216    216   
#[derive(Debug)]
  217    217   
struct GenerateDataKeyEndpointParamsInterceptor;
  218    218   
  219    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for GenerateDataKeyEndpointParamsInterceptor {
  220    220   
    fn name(&self) -> &'static str {
  221    221   
        "GenerateDataKeyEndpointParamsInterceptor"