AWS SDK

AWS SDK

rev. d06a46cae0f385cdae37a9f8264db3469a090ab5 (ignoring whitespace)

Files changed:

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

@@ -171,171 +246,247 @@
  191    191   
                _input: &crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingInput,
  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::cancel_reserved_instances_listing::CancelReservedInstancesListingInput,
  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_cancel_reserved_instances_listing_input::ser_cancel_reserved_instances_listing_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 CancelReservedInstancesListingEndpointParamsInterceptor;
  223    224   
  224    225   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CancelReservedInstancesListingEndpointParamsInterceptor {
  225    226   
    fn name(&self) -> &'static str {
  226    227   
        "CancelReservedInstancesListingEndpointParamsInterceptor"

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

@@ -165,165 +240,241 @@
  185    185   
                _input: &crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsInput,
  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::cancel_spot_fleet_requests::CancelSpotFleetRequestsInput,
  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_cancel_spot_fleet_requests_input::ser_cancel_spot_fleet_requests_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 CancelSpotFleetRequestsEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CancelSpotFleetRequestsEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "CancelSpotFleetRequestsEndpointParamsInterceptor"

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

@@ -165,165 +240,241 @@
  185    185   
                _input: &crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsInput,
  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::cancel_spot_instance_requests::CancelSpotInstanceRequestsInput,
  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_cancel_spot_instance_requests_input::ser_cancel_spot_instance_requests_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 CancelSpotInstanceRequestsEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CancelSpotInstanceRequestsEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "CancelSpotInstanceRequestsEndpointParamsInterceptor"

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

@@ -165,165 +240,241 @@
  185    185   
                _input: &crate::operation::confirm_product_instance::ConfirmProductInstanceInput,
  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::confirm_product_instance::ConfirmProductInstanceInput,
  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_confirm_product_instance_input::ser_confirm_product_instance_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 ConfirmProductInstanceEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ConfirmProductInstanceEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "ConfirmProductInstanceEndpointParamsInterceptor"

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

@@ -162,162 +237,238 @@
  182    182   
                _input: &crate::operation::copy_fpga_image::CopyFpgaImageInput,
  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::copy_fpga_image::CopyFpgaImageInput,
  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_copy_fpga_image_input::ser_copy_fpga_image_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 CopyFpgaImageEndpointParamsInterceptor;
  214    215   
  215    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CopyFpgaImageEndpointParamsInterceptor {
  216    217   
    fn name(&self) -> &'static str {
  217    218   
        "CopyFpgaImageEndpointParamsInterceptor"

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

@@ -167,167 +240,241 @@
  187    187   
                _input: &crate::operation::copy_image::CopyImageInput,
  188    188   
                output: &mut ::std::string::String,
  189    189   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  190    190   
                use ::std::fmt::Write as _;
  191    191   
                ::std::write!(output, "/").expect("formatting should succeed");
  192    192   
                ::std::result::Result::Ok(())
  193    193   
            }
  194    194   
            #[allow(clippy::unnecessary_wraps)]
  195    195   
            fn update_http_builder(
  196    196   
                input: &crate::operation::copy_image::CopyImageInput,
  197         -
                builder: ::http::request::Builder,
  198         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         197  +
                builder: ::http_1x::request::Builder,
         198  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  199    199   
                let mut uri = ::std::string::String::new();
  200    200   
                uri_base(input, &mut uri)?;
  201    201   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  202    202   
            }
  203         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  204         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
         203  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         204  +
            builder =
         205  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  205    206   
            builder
  206    207   
        };
  207    208   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_copy_image_input::ser_copy_image_input_input_input(&input)?);
  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 CopyImageEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CopyImageEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "CopyImageEndpointParamsInterceptor"

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

@@ -162,162 +237,238 @@
  182    182   
                _input: &crate::operation::copy_snapshot::CopySnapshotInput,
  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::copy_snapshot::CopySnapshotInput,
  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(crate::protocol_serde::shape_copy_snapshot_input::ser_copy_snapshot_input_input_input(
  203    204   
            &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 CopySnapshotEndpointParamsInterceptor;
  214    215   
  215    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CopySnapshotEndpointParamsInterceptor {
  216    217   
    fn name(&self) -> &'static str {
  217    218   
        "CopySnapshotEndpointParamsInterceptor"

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

@@ -165,165 +240,241 @@
  185    185   
                _input: &crate::operation::create_capacity_reservation::CreateCapacityReservationInput,
  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::create_capacity_reservation::CreateCapacityReservationInput,
  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_create_capacity_reservation_input::ser_create_capacity_reservation_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 CreateCapacityReservationEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateCapacityReservationEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "CreateCapacityReservationEndpointParamsInterceptor"

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

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

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

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

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

@@ -172,172 +247,248 @@
  192    192   
                _input: &crate::operation::create_carrier_gateway::CreateCarrierGatewayInput,
  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::create_carrier_gateway::CreateCarrierGatewayInput,
  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_create_carrier_gateway_input::ser_create_carrier_gateway_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 CreateCarrierGatewayEndpointParamsInterceptor;
  224    225   
  225    226   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateCarrierGatewayEndpointParamsInterceptor {
  226    227   
    fn name(&self) -> &'static str {
  227    228   
        "CreateCarrierGatewayEndpointParamsInterceptor"

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

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

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

@@ -172,172 +247,248 @@
  192    192   
                _input: &crate::operation::create_client_vpn_route::CreateClientVpnRouteInput,
  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::create_client_vpn_route::CreateClientVpnRouteInput,
  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_create_client_vpn_route_input::ser_create_client_vpn_route_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 CreateClientVpnRouteEndpointParamsInterceptor;
  224    225   
  225    226   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateClientVpnRouteEndpointParamsInterceptor {
  226    227   
    fn name(&self) -> &'static str {
  227    228   
        "CreateClientVpnRouteEndpointParamsInterceptor"

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

@@ -162,162 +237,238 @@
  182    182   
                _input: &crate::operation::create_coip_cidr::CreateCoipCidrInput,
  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_coip_cidr::CreateCoipCidrInput,
  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_create_coip_cidr_input::ser_create_coip_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 CreateCoipCidrEndpointParamsInterceptor;
  214    215   
  215    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateCoipCidrEndpointParamsInterceptor {
  216    217   
    fn name(&self) -> &'static str {
  217    218   
        "CreateCoipCidrEndpointParamsInterceptor"

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

@@ -162,162 +237,238 @@
  182    182   
                _input: &crate::operation::create_coip_pool::CreateCoipPoolInput,
  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_coip_pool::CreateCoipPoolInput,
  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_create_coip_pool_input::ser_create_coip_pool_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 CreateCoipPoolEndpointParamsInterceptor;
  214    215   
  215    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateCoipPoolEndpointParamsInterceptor {
  216    217   
    fn name(&self) -> &'static str {
  217    218   
        "CreateCoipPoolEndpointParamsInterceptor"

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

@@ -165,165 +240,241 @@
  185    185   
                _input: &crate::operation::create_customer_gateway::CreateCustomerGatewayInput,
  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::create_customer_gateway::CreateCustomerGatewayInput,
  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_create_customer_gateway_input::ser_create_customer_gateway_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 CreateCustomerGatewayEndpointParamsInterceptor;
  217    218   
  218    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateCustomerGatewayEndpointParamsInterceptor {
  219    220   
    fn name(&self) -> &'static str {
  220    221   
        "CreateCustomerGatewayEndpointParamsInterceptor"