AWS SDK

AWS SDK

rev. 03e6e47f15dfd569240d570d98975ebba692c405 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/modify_vpc_peering_connection_options.rs

@@ -175,175 +252,253 @@
  195    195   
                _input: &crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsInput,
  196    196   
                output: &mut ::std::string::String,
  197    197   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  198    198   
                use ::std::fmt::Write as _;
  199    199   
                ::std::write!(output, "/").expect("formatting should succeed");
  200    200   
                ::std::result::Result::Ok(())
  201    201   
            }
  202    202   
            #[allow(clippy::unnecessary_wraps)]
  203    203   
            fn update_http_builder(
  204    204   
                input: &crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsInput,
  205         -
                builder: ::http::request::Builder,
  206         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         205  +
                builder: ::http_1x::request::Builder,
         206  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  207    207   
                let mut uri = ::std::string::String::new();
  208    208   
                uri_base(input, &mut uri)?;
  209    209   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  210    210   
            }
  211         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  212         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
         211  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         212  +
            builder =
         213  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  213    214   
            builder
  214    215   
        };
  215    216   
        let body = ::aws_smithy_types::body::SdkBody::from(
  216    217   
            crate::protocol_serde::shape_modify_vpc_peering_connection_options_input::ser_modify_vpc_peering_connection_options_input_input_input(
  217    218   
                &input,
  218    219   
            )?,
  219    220   
        );
  220    221   
        if let Some(content_length) = body.content_length() {
  221    222   
            let content_length = content_length.to_string();
  222         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         223  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  223    224   
        }
  224    225   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  225    226   
    }
  226    227   
}
  227    228   
#[derive(Debug)]
  228    229   
struct ModifyVpcPeeringConnectionOptionsEndpointParamsInterceptor;
  229    230   
  230    231   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ModifyVpcPeeringConnectionOptionsEndpointParamsInterceptor {
  231    232   
    fn name(&self) -> &'static str {
  232    233   
        "ModifyVpcPeeringConnectionOptionsEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/modify_vpc_tenancy.rs

@@ -162,162 +237,238 @@
  182    182   
                _input: &crate::operation::modify_vpc_tenancy::ModifyVpcTenancyInput,
  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::modify_vpc_tenancy::ModifyVpcTenancyInput,
  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-www-form-urlencoded");
         198  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         199  +
            builder =
         200  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  200    201   
            builder
  201    202   
        };
  202    203   
        let body = ::aws_smithy_types::body::SdkBody::from(
  203    204   
            crate::protocol_serde::shape_modify_vpc_tenancy_input::ser_modify_vpc_tenancy_input_input_input(&input)?,
  204    205   
        );
  205    206   
        if let Some(content_length) = body.content_length() {
  206    207   
            let content_length = content_length.to_string();
  207         -
            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);
  208    209   
        }
  209    210   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  210    211   
    }
  211    212   
}
  212    213   
#[derive(Debug)]
  213    214   
struct ModifyVpcTenancyEndpointParamsInterceptor;
  214    215   
  215    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ModifyVpcTenancyEndpointParamsInterceptor {
  216    217   
    fn name(&self) -> &'static str {
  217    218   
        "ModifyVpcTenancyEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/modify_vpn_connection.rs

@@ -166,166 +241,242 @@
  186    186   
                _input: &crate::operation::modify_vpn_connection::ModifyVpnConnectionInput,
  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::modify_vpn_connection::ModifyVpnConnectionInput,
  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-www-form-urlencoded");
         202  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         203  +
            builder =
         204  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  204    205   
            builder
  205    206   
        };
  206    207   
        let body = ::aws_smithy_types::body::SdkBody::from(
  207    208   
            crate::protocol_serde::shape_modify_vpn_connection_input::ser_modify_vpn_connection_input_input_input(&input)?,
  208    209   
        );
  209    210   
        if let Some(content_length) = body.content_length() {
  210    211   
            let content_length = content_length.to_string();
  211         -
            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);
  212    213   
        }
  213    214   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  214    215   
    }
  215    216   
}
  216    217   
#[derive(Debug)]
  217    218   
struct ModifyVpnConnectionEndpointParamsInterceptor;
  218    219   
  219    220   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ModifyVpnConnectionEndpointParamsInterceptor {
  220    221   
    fn name(&self) -> &'static str {
  221    222   
        "ModifyVpnConnectionEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/modify_vpn_connection_options.rs

@@ -166,166 +241,242 @@
  186    186   
                _input: &crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsInput,
  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::modify_vpn_connection_options::ModifyVpnConnectionOptionsInput,
  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-www-form-urlencoded");
         202  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         203  +
            builder =
         204  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  204    205   
            builder
  205    206   
        };
  206    207   
        let body = ::aws_smithy_types::body::SdkBody::from(
  207    208   
            crate::protocol_serde::shape_modify_vpn_connection_options_input::ser_modify_vpn_connection_options_input_input_input(&input)?,
  208    209   
        );
  209    210   
        if let Some(content_length) = body.content_length() {
  210    211   
            let content_length = content_length.to_string();
  211         -
            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);
  212    213   
        }
  213    214   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  214    215   
    }
  215    216   
}
  216    217   
#[derive(Debug)]
  217    218   
struct ModifyVpnConnectionOptionsEndpointParamsInterceptor;
  218    219   
  219    220   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ModifyVpnConnectionOptionsEndpointParamsInterceptor {
  220    221   
    fn name(&self) -> &'static str {
  221    222   
        "ModifyVpnConnectionOptionsEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/modify_vpn_tunnel_certificate.rs

@@ -166,166 +241,242 @@
  186    186   
                _input: &crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateInput,
  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::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateInput,
  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-www-form-urlencoded");
         202  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         203  +
            builder =
         204  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  204    205   
            builder
  205    206   
        };
  206    207   
        let body = ::aws_smithy_types::body::SdkBody::from(
  207    208   
            crate::protocol_serde::shape_modify_vpn_tunnel_certificate_input::ser_modify_vpn_tunnel_certificate_input_input_input(&input)?,
  208    209   
        );
  209    210   
        if let Some(content_length) = body.content_length() {
  210    211   
            let content_length = content_length.to_string();
  211         -
            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);
  212    213   
        }
  213    214   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  214    215   
    }
  215    216   
}
  216    217   
#[derive(Debug)]
  217    218   
struct ModifyVpnTunnelCertificateEndpointParamsInterceptor;
  218    219   
  219    220   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ModifyVpnTunnelCertificateEndpointParamsInterceptor {
  220    221   
    fn name(&self) -> &'static str {
  221    222   
        "ModifyVpnTunnelCertificateEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/modify_vpn_tunnel_options.rs

@@ -166,166 +241,242 @@
  186    186   
                _input: &crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsInput,
  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::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsInput,
  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-www-form-urlencoded");
         202  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         203  +
            builder =
         204  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  204    205   
            builder
  205    206   
        };
  206    207   
        let body = ::aws_smithy_types::body::SdkBody::from(
  207    208   
            crate::protocol_serde::shape_modify_vpn_tunnel_options_input::ser_modify_vpn_tunnel_options_input_input_input(&input)?,
  208    209   
        );
  209    210   
        if let Some(content_length) = body.content_length() {
  210    211   
            let content_length = content_length.to_string();
  211         -
            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);
  212    213   
        }
  213    214   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  214    215   
    }
  215    216   
}
  216    217   
#[derive(Debug)]
  217    218   
struct ModifyVpnTunnelOptionsEndpointParamsInterceptor;
  218    219   
  219    220   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ModifyVpnTunnelOptionsEndpointParamsInterceptor {
  220    221   
    fn name(&self) -> &'static str {
  221    222   
        "ModifyVpnTunnelOptionsEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/monitor_instances.rs

@@ -162,162 +237,238 @@
  182    182   
                _input: &crate::operation::monitor_instances::MonitorInstancesInput,
  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::monitor_instances::MonitorInstancesInput,
  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-www-form-urlencoded");
         198  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         199  +
            builder =
         200  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  200    201   
            builder
  201    202   
        };
  202    203   
        let body = ::aws_smithy_types::body::SdkBody::from(
  203    204   
            crate::protocol_serde::shape_monitor_instances_input::ser_monitor_instances_input_input_input(&input)?,
  204    205   
        );
  205    206   
        if let Some(content_length) = body.content_length() {
  206    207   
            let content_length = content_length.to_string();
  207         -
            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);
  208    209   
        }
  209    210   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  210    211   
    }
  211    212   
}
  212    213   
#[derive(Debug)]
  213    214   
struct MonitorInstancesEndpointParamsInterceptor;
  214    215   
  215    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for MonitorInstancesEndpointParamsInterceptor {
  216    217   
    fn name(&self) -> &'static str {
  217    218   
        "MonitorInstancesEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/move_address_to_vpc.rs

@@ -162,162 +237,238 @@
  182    182   
                _input: &crate::operation::move_address_to_vpc::MoveAddressToVpcInput,
  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::move_address_to_vpc::MoveAddressToVpcInput,
  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-www-form-urlencoded");
         198  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         199  +
            builder =
         200  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  200    201   
            builder
  201    202   
        };
  202    203   
        let body = ::aws_smithy_types::body::SdkBody::from(
  203    204   
            crate::protocol_serde::shape_move_address_to_vpc_input::ser_move_address_to_vpc_input_input_input(&input)?,
  204    205   
        );
  205    206   
        if let Some(content_length) = body.content_length() {
  206    207   
            let content_length = content_length.to_string();
  207         -
            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);
  208    209   
        }
  209    210   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  210    211   
    }
  211    212   
}
  212    213   
#[derive(Debug)]
  213    214   
struct MoveAddressToVpcEndpointParamsInterceptor;
  214    215   
  215    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for MoveAddressToVpcEndpointParamsInterceptor {
  216    217   
    fn name(&self) -> &'static str {
  217    218   
        "MoveAddressToVpcEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/move_byoip_cidr_to_ipam.rs

@@ -165,165 +240,241 @@
  185    185   
                _input: &crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamInput,
  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::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamInput,
  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-www-form-urlencoded");
         201  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         202  +
            builder =
         203  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  203    204   
            builder
  204    205   
        };
  205    206   
        let body = ::aws_smithy_types::body::SdkBody::from(
  206    207   
            crate::protocol_serde::shape_move_byoip_cidr_to_ipam_input::ser_move_byoip_cidr_to_ipam_input_input_input(&input)?,
  207    208   
        );
  208    209   
        if let Some(content_length) = body.content_length() {
  209    210   
            let content_length = content_length.to_string();
  210         -
            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);
  211    212   
        }
  212    213   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  213    214   
    }
  214    215   
}
  215    216   
#[derive(Debug)]
  216    217   
struct MoveByoipCidrToIpamEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for MoveByoipCidrToIpamEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "MoveByoipCidrToIpamEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/move_capacity_reservation_instances.rs

@@ -181,181 +258,259 @@
  201    201   
                _input: &crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesInput,
  202    202   
                output: &mut ::std::string::String,
  203    203   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  204    204   
                use ::std::fmt::Write as _;
  205    205   
                ::std::write!(output, "/").expect("formatting should succeed");
  206    206   
                ::std::result::Result::Ok(())
  207    207   
            }
  208    208   
            #[allow(clippy::unnecessary_wraps)]
  209    209   
            fn update_http_builder(
  210    210   
                input: &crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesInput,
  211         -
                builder: ::http::request::Builder,
  212         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         211  +
                builder: ::http_1x::request::Builder,
         212  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  213    213   
                let mut uri = ::std::string::String::new();
  214    214   
                uri_base(input, &mut uri)?;
  215    215   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  216    216   
            }
  217         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  218         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
         217  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         218  +
            builder =
         219  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  219    220   
            builder
  220    221   
        };
  221    222   
        let body = ::aws_smithy_types::body::SdkBody::from(
  222    223   
            crate::protocol_serde::shape_move_capacity_reservation_instances_input::ser_move_capacity_reservation_instances_input_input_input(
  223    224   
                &input,
  224    225   
            )?,
  225    226   
        );
  226    227   
        if let Some(content_length) = body.content_length() {
  227    228   
            let content_length = content_length.to_string();
  228         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         229  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  229    230   
        }
  230    231   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  231    232   
    }
  232    233   
}
  233    234   
#[derive(Debug)]
  234    235   
struct MoveCapacityReservationInstancesEndpointParamsInterceptor;
  235    236   
  236    237   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for MoveCapacityReservationInstancesEndpointParamsInterceptor {
  237    238   
    fn name(&self) -> &'static str {
  238    239   
        "MoveCapacityReservationInstancesEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/provision_byoip_cidr.rs

@@ -162,162 +237,238 @@
  182    182   
                _input: &crate::operation::provision_byoip_cidr::ProvisionByoipCidrInput,
  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::provision_byoip_cidr::ProvisionByoipCidrInput,
  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-www-form-urlencoded");
         198  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         199  +
            builder =
         200  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  200    201   
            builder
  201    202   
        };
  202    203   
        let body = ::aws_smithy_types::body::SdkBody::from(
  203    204   
            crate::protocol_serde::shape_provision_byoip_cidr_input::ser_provision_byoip_cidr_input_input_input(&input)?,
  204    205   
        );
  205    206   
        if let Some(content_length) = body.content_length() {
  206    207   
            let content_length = content_length.to_string();
  207         -
            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);
  208    209   
        }
  209    210   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  210    211   
    }
  211    212   
}
  212    213   
#[derive(Debug)]
  213    214   
struct ProvisionByoipCidrEndpointParamsInterceptor;
  214    215   
  215    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ProvisionByoipCidrEndpointParamsInterceptor {
  216    217   
    fn name(&self) -> &'static str {
  217    218   
        "ProvisionByoipCidrEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/provision_ipam_byoasn.rs

@@ -165,165 +240,241 @@
  185    185   
                _input: &crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnInput,
  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::provision_ipam_byoasn::ProvisionIpamByoasnInput,
  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-www-form-urlencoded");
         201  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         202  +
            builder =
         203  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  203    204   
            builder
  204    205   
        };
  205    206   
        let body = ::aws_smithy_types::body::SdkBody::from(
  206    207   
            crate::protocol_serde::shape_provision_ipam_byoasn_input::ser_provision_ipam_byoasn_input_input_input(&input)?,
  207    208   
        );
  208    209   
        if let Some(content_length) = body.content_length() {
  209    210   
            let content_length = content_length.to_string();
  210         -
            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);
  211    212   
        }
  212    213   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  213    214   
    }
  214    215   
}
  215    216   
#[derive(Debug)]
  216    217   
struct ProvisionIpamByoasnEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ProvisionIpamByoasnEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "ProvisionIpamByoasnEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/provision_ipam_pool_cidr.rs

@@ -172,172 +247,248 @@
  192    192   
                _input: &crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrInput,
  193    193   
                output: &mut ::std::string::String,
  194    194   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  195    195   
                use ::std::fmt::Write as _;
  196    196   
                ::std::write!(output, "/").expect("formatting should succeed");
  197    197   
                ::std::result::Result::Ok(())
  198    198   
            }
  199    199   
            #[allow(clippy::unnecessary_wraps)]
  200    200   
            fn update_http_builder(
  201    201   
                input: &crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrInput,
  202         -
                builder: ::http::request::Builder,
  203         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         202  +
                builder: ::http_1x::request::Builder,
         203  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  204    204   
                let mut uri = ::std::string::String::new();
  205    205   
                uri_base(input, &mut uri)?;
  206    206   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  207    207   
            }
  208         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  209         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
         208  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         209  +
            builder =
         210  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  210    211   
            builder
  211    212   
        };
  212    213   
        let body = ::aws_smithy_types::body::SdkBody::from(
  213    214   
            crate::protocol_serde::shape_provision_ipam_pool_cidr_input::ser_provision_ipam_pool_cidr_input_input_input(&input)?,
  214    215   
        );
  215    216   
        if let Some(content_length) = body.content_length() {
  216    217   
            let content_length = content_length.to_string();
  217         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         218  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  218    219   
        }
  219    220   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  220    221   
    }
  221    222   
}
  222    223   
#[derive(Debug)]
  223    224   
struct ProvisionIpamPoolCidrEndpointParamsInterceptor;
  224    225   
  225    226   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ProvisionIpamPoolCidrEndpointParamsInterceptor {
  226    227   
    fn name(&self) -> &'static str {
  227    228   
        "ProvisionIpamPoolCidrEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/provision_public_ipv4_pool_cidr.rs

@@ -165,165 +240,241 @@
  185    185   
                _input: &crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrInput,
  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::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrInput,
  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-www-form-urlencoded");
         201  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         202  +
            builder =
         203  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  203    204   
            builder
  204    205   
        };
  205    206   
        let body = ::aws_smithy_types::body::SdkBody::from(
  206    207   
            crate::protocol_serde::shape_provision_public_ipv4_pool_cidr_input::ser_provision_public_ipv4_pool_cidr_input_input_input(&input)?,
  207    208   
        );
  208    209   
        if let Some(content_length) = body.content_length() {
  209    210   
            let content_length = content_length.to_string();
  210         -
            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);
  211    212   
        }
  212    213   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  213    214   
    }
  214    215   
}
  215    216   
#[derive(Debug)]
  216    217   
struct ProvisionPublicIpv4PoolCidrEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ProvisionPublicIpv4PoolCidrEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "ProvisionPublicIpv4PoolCidrEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/purchase_capacity_block.rs

@@ -165,165 +240,241 @@
  185    185   
                _input: &crate::operation::purchase_capacity_block::PurchaseCapacityBlockInput,
  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::purchase_capacity_block::PurchaseCapacityBlockInput,
  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-www-form-urlencoded");
         201  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         202  +
            builder =
         203  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  203    204   
            builder
  204    205   
        };
  205    206   
        let body = ::aws_smithy_types::body::SdkBody::from(
  206    207   
            crate::protocol_serde::shape_purchase_capacity_block_input::ser_purchase_capacity_block_input_input_input(&input)?,
  207    208   
        );
  208    209   
        if let Some(content_length) = body.content_length() {
  209    210   
            let content_length = content_length.to_string();
  210         -
            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);
  211    212   
        }
  212    213   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  213    214   
    }
  214    215   
}
  215    216   
#[derive(Debug)]
  216    217   
struct PurchaseCapacityBlockEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PurchaseCapacityBlockEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "PurchaseCapacityBlockEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/purchase_capacity_block_extension.rs

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