AWS SDK

AWS SDK

rev. d06a46cae0f385cdae37a9f8264db3469a090ab5 (ignoring whitespace)

Files changed:

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

@@ -174,174 +247,248 @@
  194    194   
                _input: &crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsInput,
  195    195   
                output: &mut ::std::string::String,
  196    196   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  197    197   
                use ::std::fmt::Write as _;
  198    198   
                ::std::write!(output, "/").expect("formatting should succeed");
  199    199   
                ::std::result::Result::Ok(())
  200    200   
            }
  201    201   
            #[allow(clippy::unnecessary_wraps)]
  202    202   
            fn update_http_builder(
  203    203   
                input: &crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsInput,
  204         -
                builder: ::http::request::Builder,
  205         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         204  +
                builder: ::http_1x::request::Builder,
         205  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  206    206   
                let mut uri = ::std::string::String::new();
  207    207   
                uri_base(input, &mut uri)?;
  208    208   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  209    209   
            }
  210         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  211         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
         210  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         211  +
            builder =
         212  +
                _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-www-form-urlencoded");
  212    213   
            builder
  213    214   
        };
  214    215   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_describe_vpc_endpoint_connection_notifications_input::ser_describe_vpc_endpoint_connection_notifications_input_input_input(&input)?);
  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 DescribeVpcEndpointConnectionNotificationsEndpointParamsInterceptor;
  224    225   
  225    226   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeVpcEndpointConnectionNotificationsEndpointParamsInterceptor {
  226    227   
    fn name(&self) -> &'static str {
  227    228   
        "DescribeVpcEndpointConnectionNotificationsEndpointParamsInterceptor"

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

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

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

@@ -175,175 +248,249 @@
  195    195   
                _input: &crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsInput,
  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::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsInput,
  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(crate::protocol_serde::shape_describe_vpc_endpoint_service_configurations_input::ser_describe_vpc_endpoint_service_configurations_input_input_input(&input)?);
  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 DescribeVpcEndpointServiceConfigurationsEndpointParamsInterceptor;
  225    226   
  226    227   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeVpcEndpointServiceConfigurationsEndpointParamsInterceptor {
  227    228   
    fn name(&self) -> &'static str {
  228    229   
        "DescribeVpcEndpointServiceConfigurationsEndpointParamsInterceptor"

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

@@ -175,175 +248,249 @@
  195    195   
                _input: &crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsInput,
  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::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsInput,
  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(crate::protocol_serde::shape_describe_vpc_endpoint_service_permissions_input::ser_describe_vpc_endpoint_service_permissions_input_input_input(&input)?);
  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 DescribeVpcEndpointServicePermissionsEndpointParamsInterceptor;
  225    226   
  226    227   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeVpcEndpointServicePermissionsEndpointParamsInterceptor {
  227    228   
    fn name(&self) -> &'static str {
  228    229   
        "DescribeVpcEndpointServicePermissionsEndpointParamsInterceptor"

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

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

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

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

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

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

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

@@ -162,162 +237,238 @@
  182    182   
                _input: &crate::operation::describe_vpcs::DescribeVpcsInput,
  183    183   
                output: &mut ::std::string::String,
  184    184   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  185    185   
                use ::std::fmt::Write as _;
  186    186   
                ::std::write!(output, "/").expect("formatting should succeed");
  187    187   
                ::std::result::Result::Ok(())
  188    188   
            }
  189    189   
            #[allow(clippy::unnecessary_wraps)]
  190    190   
            fn update_http_builder(
  191    191   
                input: &crate::operation::describe_vpcs::DescribeVpcsInput,
  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_describe_vpcs_input::ser_describe_vpcs_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 DescribeVpcsEndpointParamsInterceptor;
  214    215   
  215    216   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeVpcsEndpointParamsInterceptor {
  216    217   
    fn name(&self) -> &'static str {
  217    218   
        "DescribeVpcsEndpointParamsInterceptor"

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

@@ -166,166 +241,242 @@
  186    186   
                _input: &crate::operation::describe_vpn_connections::DescribeVpnConnectionsInput,
  187    187   
                output: &mut ::std::string::String,
  188    188   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  189    189   
                use ::std::fmt::Write as _;
  190    190   
                ::std::write!(output, "/").expect("formatting should succeed");
  191    191   
                ::std::result::Result::Ok(())
  192    192   
            }
  193    193   
            #[allow(clippy::unnecessary_wraps)]
  194    194   
            fn update_http_builder(
  195    195   
                input: &crate::operation::describe_vpn_connections::DescribeVpnConnectionsInput,
  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_describe_vpn_connections_input::ser_describe_vpn_connections_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 DescribeVpnConnectionsEndpointParamsInterceptor;
  218    219   
  219    220   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeVpnConnectionsEndpointParamsInterceptor {
  220    221   
    fn name(&self) -> &'static str {
  221    222   
        "DescribeVpnConnectionsEndpointParamsInterceptor"

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

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

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

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

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

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

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

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

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

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

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

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

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

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