AWS SDK

AWS SDK

rev. ee474c7509d7728618c23068f3741e8e5b339ef9 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_bucket_replication.rs

@@ -238,238 +315,315 @@
  258    258   
                _input: &crate::operation::put_bucket_replication::PutBucketReplicationInput,
  259    259   
                mut output: &mut ::std::string::String,
  260    260   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  261    261   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  262    262   
                query.push_v("replication");
  263    263   
                ::std::result::Result::Ok(())
  264    264   
            }
  265    265   
            #[allow(clippy::unnecessary_wraps)]
  266    266   
            fn update_http_builder(
  267    267   
                input: &crate::operation::put_bucket_replication::PutBucketReplicationInput,
  268         -
                builder: ::http::request::Builder,
  269         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         268  +
                builder: ::http_1x::request::Builder,
         269  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  270    270   
                let mut uri = ::std::string::String::new();
  271    271   
                uri_base(input, &mut uri)?;
  272    272   
                uri_query(input, &mut uri)?;
  273    273   
                let builder = crate::protocol_serde::shape_put_bucket_replication::ser_put_bucket_replication_headers(input, builder)?;
  274    274   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  275    275   
            }
  276         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  277         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         276  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         277  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  278    278   
            builder
  279    279   
        };
  280    280   
        let body = ::aws_smithy_types::body::SdkBody::from(
  281    281   
            crate::protocol_serde::shape_put_bucket_replication_input::ser_replication_configuration_http_payload(&input.replication_configuration)?,
  282    282   
        );
  283    283   
        if let Some(content_length) = body.content_length() {
  284    284   
            let content_length = content_length.to_string();
  285         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         285  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  286    286   
        }
  287    287   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  288    288   
    }
  289    289   
}
  290    290   
#[derive(Debug)]
  291    291   
struct PutBucketReplicationEndpointParamsInterceptor;
  292    292   
  293    293   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutBucketReplicationEndpointParamsInterceptor {
  294    294   
    fn name(&self) -> &'static str {
  295    295   
        "PutBucketReplicationEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_bucket_request_payment.rs

@@ -245,245 +324,324 @@
  265    265   
                _input: &crate::operation::put_bucket_request_payment::PutBucketRequestPaymentInput,
  266    266   
                mut output: &mut ::std::string::String,
  267    267   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  268    268   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  269    269   
                query.push_v("requestPayment");
  270    270   
                ::std::result::Result::Ok(())
  271    271   
            }
  272    272   
            #[allow(clippy::unnecessary_wraps)]
  273    273   
            fn update_http_builder(
  274    274   
                input: &crate::operation::put_bucket_request_payment::PutBucketRequestPaymentInput,
  275         -
                builder: ::http::request::Builder,
  276         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         275  +
                builder: ::http_1x::request::Builder,
         276  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  277    277   
                let mut uri = ::std::string::String::new();
  278    278   
                uri_base(input, &mut uri)?;
  279    279   
                uri_query(input, &mut uri)?;
  280    280   
                let builder = crate::protocol_serde::shape_put_bucket_request_payment::ser_put_bucket_request_payment_headers(input, builder)?;
  281    281   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  282    282   
            }
  283         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  284         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         283  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         284  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  285    285   
            builder
  286    286   
        };
  287    287   
        let body = ::aws_smithy_types::body::SdkBody::from(
  288    288   
            crate::protocol_serde::shape_put_bucket_request_payment_input::ser_request_payment_configuration_http_payload(
  289    289   
                &input.request_payment_configuration,
  290    290   
            )?,
  291    291   
        );
  292    292   
        if let Some(content_length) = body.content_length() {
  293    293   
            let content_length = content_length.to_string();
  294         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         294  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  295    295   
        }
  296    296   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  297    297   
    }
  298    298   
}
  299    299   
#[derive(Debug)]
  300    300   
struct PutBucketRequestPaymentEndpointParamsInterceptor;
  301    301   
  302    302   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutBucketRequestPaymentEndpointParamsInterceptor {
  303    303   
    fn name(&self) -> &'static str {
  304    304   
        "PutBucketRequestPaymentEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_bucket_tagging.rs

@@ -239,239 +316,316 @@
  259    259   
                _input: &crate::operation::put_bucket_tagging::PutBucketTaggingInput,
  260    260   
                mut output: &mut ::std::string::String,
  261    261   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  262    262   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  263    263   
                query.push_v("tagging");
  264    264   
                ::std::result::Result::Ok(())
  265    265   
            }
  266    266   
            #[allow(clippy::unnecessary_wraps)]
  267    267   
            fn update_http_builder(
  268    268   
                input: &crate::operation::put_bucket_tagging::PutBucketTaggingInput,
  269         -
                builder: ::http::request::Builder,
  270         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         269  +
                builder: ::http_1x::request::Builder,
         270  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  271    271   
                let mut uri = ::std::string::String::new();
  272    272   
                uri_base(input, &mut uri)?;
  273    273   
                uri_query(input, &mut uri)?;
  274    274   
                let builder = crate::protocol_serde::shape_put_bucket_tagging::ser_put_bucket_tagging_headers(input, builder)?;
  275    275   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  276    276   
            }
  277         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  278         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         277  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         278  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  279    279   
            builder
  280    280   
        };
  281    281   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_put_bucket_tagging_input::ser_tagging_http_payload(
  282    282   
            &input.tagging,
  283    283   
        )?);
  284    284   
        if let Some(content_length) = body.content_length() {
  285    285   
            let content_length = content_length.to_string();
  286         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         286  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  287    287   
        }
  288    288   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  289    289   
    }
  290    290   
}
  291    291   
#[derive(Debug)]
  292    292   
struct PutBucketTaggingEndpointParamsInterceptor;
  293    293   
  294    294   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutBucketTaggingEndpointParamsInterceptor {
  295    295   
    fn name(&self) -> &'static str {
  296    296   
        "PutBucketTaggingEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_bucket_versioning.rs

@@ -235,235 +312,312 @@
  255    255   
                _input: &crate::operation::put_bucket_versioning::PutBucketVersioningInput,
  256    256   
                mut output: &mut ::std::string::String,
  257    257   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  258    258   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  259    259   
                query.push_v("versioning");
  260    260   
                ::std::result::Result::Ok(())
  261    261   
            }
  262    262   
            #[allow(clippy::unnecessary_wraps)]
  263    263   
            fn update_http_builder(
  264    264   
                input: &crate::operation::put_bucket_versioning::PutBucketVersioningInput,
  265         -
                builder: ::http::request::Builder,
  266         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         265  +
                builder: ::http_1x::request::Builder,
         266  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  267    267   
                let mut uri = ::std::string::String::new();
  268    268   
                uri_base(input, &mut uri)?;
  269    269   
                uri_query(input, &mut uri)?;
  270    270   
                let builder = crate::protocol_serde::shape_put_bucket_versioning::ser_put_bucket_versioning_headers(input, builder)?;
  271    271   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  272    272   
            }
  273         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  274         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         273  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         274  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  275    275   
            builder
  276    276   
        };
  277    277   
        let body = ::aws_smithy_types::body::SdkBody::from(
  278    278   
            crate::protocol_serde::shape_put_bucket_versioning_input::ser_versioning_configuration_http_payload(&input.versioning_configuration)?,
  279    279   
        );
  280    280   
        if let Some(content_length) = body.content_length() {
  281    281   
            let content_length = content_length.to_string();
  282         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         282  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  283    283   
        }
  284    284   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  285    285   
    }
  286    286   
}
  287    287   
#[derive(Debug)]
  288    288   
struct PutBucketVersioningEndpointParamsInterceptor;
  289    289   
  290    290   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutBucketVersioningEndpointParamsInterceptor {
  291    291   
    fn name(&self) -> &'static str {
  292    292   
        "PutBucketVersioningEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_bucket_website.rs

@@ -239,239 +316,316 @@
  259    259   
                _input: &crate::operation::put_bucket_website::PutBucketWebsiteInput,
  260    260   
                mut output: &mut ::std::string::String,
  261    261   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  262    262   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  263    263   
                query.push_v("website");
  264    264   
                ::std::result::Result::Ok(())
  265    265   
            }
  266    266   
            #[allow(clippy::unnecessary_wraps)]
  267    267   
            fn update_http_builder(
  268    268   
                input: &crate::operation::put_bucket_website::PutBucketWebsiteInput,
  269         -
                builder: ::http::request::Builder,
  270         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         269  +
                builder: ::http_1x::request::Builder,
         270  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  271    271   
                let mut uri = ::std::string::String::new();
  272    272   
                uri_base(input, &mut uri)?;
  273    273   
                uri_query(input, &mut uri)?;
  274    274   
                let builder = crate::protocol_serde::shape_put_bucket_website::ser_put_bucket_website_headers(input, builder)?;
  275    275   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  276    276   
            }
  277         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  278         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         277  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         278  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  279    279   
            builder
  280    280   
        };
  281    281   
        let body = ::aws_smithy_types::body::SdkBody::from(
  282    282   
            crate::protocol_serde::shape_put_bucket_website_input::ser_website_configuration_http_payload(&input.website_configuration)?,
  283    283   
        );
  284    284   
        if let Some(content_length) = body.content_length() {
  285    285   
            let content_length = content_length.to_string();
  286         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         286  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  287    287   
        }
  288    288   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  289    289   
    }
  290    290   
}
  291    291   
#[derive(Debug)]
  292    292   
struct PutBucketWebsiteEndpointParamsInterceptor;
  293    293   
  294    294   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutBucketWebsiteEndpointParamsInterceptor {
  295    295   
    fn name(&self) -> &'static str {
  296    296   
        "PutBucketWebsiteEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_object.rs

@@ -249,249 +324,324 @@
  269    269   
                _input: &crate::operation::put_object::PutObjectInput,
  270    270   
                mut output: &mut ::std::string::String,
  271    271   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  272    272   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  273    273   
                query.push_kv("x-id", "PutObject");
  274    274   
                ::std::result::Result::Ok(())
  275    275   
            }
  276    276   
            #[allow(clippy::unnecessary_wraps)]
  277    277   
            fn update_http_builder(
  278    278   
                input: &crate::operation::put_object::PutObjectInput,
  279         -
                builder: ::http::request::Builder,
  280         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         279  +
                builder: ::http_1x::request::Builder,
         280  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  281    281   
                let mut uri = ::std::string::String::new();
  282    282   
                uri_base(input, &mut uri)?;
  283    283   
                uri_query(input, &mut uri)?;
  284    284   
                let builder = crate::protocol_serde::shape_put_object::ser_put_object_headers(input, builder)?;
  285    285   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  286    286   
            }
  287         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  288         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/octet-stream");
         287  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         288  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/octet-stream");
  289    289   
            builder
  290    290   
        };
  291    291   
        let body = crate::protocol_serde::shape_put_object_input::ser_body_http_payload(input.body)?.into_inner();
  292    292   
        if let Some(content_length) = body.content_length() {
  293    293   
            let content_length = content_length.to_string();
  294         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         294  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  295    295   
        }
  296    296   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  297    297   
    }
  298    298   
}
  299    299   
#[derive(Debug)]
  300    300   
struct PutObjectEndpointParamsInterceptor;
  301    301   
  302    302   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutObjectEndpointParamsInterceptor {
  303    303   
    fn name(&self) -> &'static str {
  304    304   
        "PutObjectEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_object_acl.rs

@@ -255,255 +332,332 @@
  275    275   
                if let ::std::option::Option::Some(inner_2) = &_input.version_id {
  276    276   
                    {
  277    277   
                        query.push_kv("versionId", &::aws_smithy_http::query::fmt_string(inner_2));
  278    278   
                    }
  279    279   
                }
  280    280   
                ::std::result::Result::Ok(())
  281    281   
            }
  282    282   
            #[allow(clippy::unnecessary_wraps)]
  283    283   
            fn update_http_builder(
  284    284   
                input: &crate::operation::put_object_acl::PutObjectAclInput,
  285         -
                builder: ::http::request::Builder,
  286         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         285  +
                builder: ::http_1x::request::Builder,
         286  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  287    287   
                let mut uri = ::std::string::String::new();
  288    288   
                uri_base(input, &mut uri)?;
  289    289   
                uri_query(input, &mut uri)?;
  290    290   
                let builder = crate::protocol_serde::shape_put_object_acl::ser_put_object_acl_headers(input, builder)?;
  291    291   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  292    292   
            }
  293         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  294         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         293  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         294  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  295    295   
            builder
  296    296   
        };
  297    297   
        let body = ::aws_smithy_types::body::SdkBody::from(
  298    298   
            crate::protocol_serde::shape_put_object_acl_input::ser_access_control_policy_http_payload(&input.access_control_policy)?,
  299    299   
        );
  300    300   
        if let Some(content_length) = body.content_length() {
  301    301   
            let content_length = content_length.to_string();
  302         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         302  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  303    303   
        }
  304    304   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  305    305   
    }
  306    306   
}
  307    307   
#[derive(Debug)]
  308    308   
struct PutObjectAclEndpointParamsInterceptor;
  309    309   
  310    310   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutObjectAclEndpointParamsInterceptor {
  311    311   
    fn name(&self) -> &'static str {
  312    312   
        "PutObjectAclEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_object_legal_hold.rs

@@ -251,251 +328,328 @@
  271    271   
                if let ::std::option::Option::Some(inner_2) = &_input.version_id {
  272    272   
                    {
  273    273   
                        query.push_kv("versionId", &::aws_smithy_http::query::fmt_string(inner_2));
  274    274   
                    }
  275    275   
                }
  276    276   
                ::std::result::Result::Ok(())
  277    277   
            }
  278    278   
            #[allow(clippy::unnecessary_wraps)]
  279    279   
            fn update_http_builder(
  280    280   
                input: &crate::operation::put_object_legal_hold::PutObjectLegalHoldInput,
  281         -
                builder: ::http::request::Builder,
  282         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         281  +
                builder: ::http_1x::request::Builder,
         282  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  283    283   
                let mut uri = ::std::string::String::new();
  284    284   
                uri_base(input, &mut uri)?;
  285    285   
                uri_query(input, &mut uri)?;
  286    286   
                let builder = crate::protocol_serde::shape_put_object_legal_hold::ser_put_object_legal_hold_headers(input, builder)?;
  287    287   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  288    288   
            }
  289         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  290         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         289  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         290  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  291    291   
            builder
  292    292   
        };
  293    293   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_put_object_legal_hold_input::ser_legal_hold_http_payload(
  294    294   
            &input.legal_hold,
  295    295   
        )?);
  296    296   
        if let Some(content_length) = body.content_length() {
  297    297   
            let content_length = content_length.to_string();
  298         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         298  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  299    299   
        }
  300    300   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  301    301   
    }
  302    302   
}
  303    303   
#[derive(Debug)]
  304    304   
struct PutObjectLegalHoldEndpointParamsInterceptor;
  305    305   
  306    306   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutObjectLegalHoldEndpointParamsInterceptor {
  307    307   
    fn name(&self) -> &'static str {
  308    308   
        "PutObjectLegalHoldEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_object_lock_configuration.rs

@@ -245,245 +324,324 @@
  265    265   
                _input: &crate::operation::put_object_lock_configuration::PutObjectLockConfigurationInput,
  266    266   
                mut output: &mut ::std::string::String,
  267    267   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  268    268   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  269    269   
                query.push_v("object-lock");
  270    270   
                ::std::result::Result::Ok(())
  271    271   
            }
  272    272   
            #[allow(clippy::unnecessary_wraps)]
  273    273   
            fn update_http_builder(
  274    274   
                input: &crate::operation::put_object_lock_configuration::PutObjectLockConfigurationInput,
  275         -
                builder: ::http::request::Builder,
  276         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         275  +
                builder: ::http_1x::request::Builder,
         276  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  277    277   
                let mut uri = ::std::string::String::new();
  278    278   
                uri_base(input, &mut uri)?;
  279    279   
                uri_query(input, &mut uri)?;
  280    280   
                let builder = crate::protocol_serde::shape_put_object_lock_configuration::ser_put_object_lock_configuration_headers(input, builder)?;
  281    281   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  282    282   
            }
  283         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  284         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         283  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         284  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  285    285   
            builder
  286    286   
        };
  287    287   
        let body = ::aws_smithy_types::body::SdkBody::from(
  288    288   
            crate::protocol_serde::shape_put_object_lock_configuration_input::ser_object_lock_configuration_http_payload(
  289    289   
                &input.object_lock_configuration,
  290    290   
            )?,
  291    291   
        );
  292    292   
        if let Some(content_length) = body.content_length() {
  293    293   
            let content_length = content_length.to_string();
  294         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         294  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  295    295   
        }
  296    296   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  297    297   
    }
  298    298   
}
  299    299   
#[derive(Debug)]
  300    300   
struct PutObjectLockConfigurationEndpointParamsInterceptor;
  301    301   
  302    302   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutObjectLockConfigurationEndpointParamsInterceptor {
  303    303   
    fn name(&self) -> &'static str {
  304    304   
        "PutObjectLockConfigurationEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_object_retention.rs

@@ -251,251 +328,328 @@
  271    271   
                if let ::std::option::Option::Some(inner_2) = &_input.version_id {
  272    272   
                    {
  273    273   
                        query.push_kv("versionId", &::aws_smithy_http::query::fmt_string(inner_2));
  274    274   
                    }
  275    275   
                }
  276    276   
                ::std::result::Result::Ok(())
  277    277   
            }
  278    278   
            #[allow(clippy::unnecessary_wraps)]
  279    279   
            fn update_http_builder(
  280    280   
                input: &crate::operation::put_object_retention::PutObjectRetentionInput,
  281         -
                builder: ::http::request::Builder,
  282         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         281  +
                builder: ::http_1x::request::Builder,
         282  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  283    283   
                let mut uri = ::std::string::String::new();
  284    284   
                uri_base(input, &mut uri)?;
  285    285   
                uri_query(input, &mut uri)?;
  286    286   
                let builder = crate::protocol_serde::shape_put_object_retention::ser_put_object_retention_headers(input, builder)?;
  287    287   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  288    288   
            }
  289         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  290         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         289  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         290  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  291    291   
            builder
  292    292   
        };
  293    293   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_put_object_retention_input::ser_retention_http_payload(
  294    294   
            &input.retention,
  295    295   
        )?);
  296    296   
        if let Some(content_length) = body.content_length() {
  297    297   
            let content_length = content_length.to_string();
  298         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         298  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  299    299   
        }
  300    300   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  301    301   
    }
  302    302   
}
  303    303   
#[derive(Debug)]
  304    304   
struct PutObjectRetentionEndpointParamsInterceptor;
  305    305   
  306    306   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutObjectRetentionEndpointParamsInterceptor {
  307    307   
    fn name(&self) -> &'static str {
  308    308   
        "PutObjectRetentionEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_object_tagging.rs

@@ -255,255 +332,332 @@
  275    275   
                if let ::std::option::Option::Some(inner_2) = &_input.version_id {
  276    276   
                    {
  277    277   
                        query.push_kv("versionId", &::aws_smithy_http::query::fmt_string(inner_2));
  278    278   
                    }
  279    279   
                }
  280    280   
                ::std::result::Result::Ok(())
  281    281   
            }
  282    282   
            #[allow(clippy::unnecessary_wraps)]
  283    283   
            fn update_http_builder(
  284    284   
                input: &crate::operation::put_object_tagging::PutObjectTaggingInput,
  285         -
                builder: ::http::request::Builder,
  286         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         285  +
                builder: ::http_1x::request::Builder,
         286  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  287    287   
                let mut uri = ::std::string::String::new();
  288    288   
                uri_base(input, &mut uri)?;
  289    289   
                uri_query(input, &mut uri)?;
  290    290   
                let builder = crate::protocol_serde::shape_put_object_tagging::ser_put_object_tagging_headers(input, builder)?;
  291    291   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  292    292   
            }
  293         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  294         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         293  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         294  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  295    295   
            builder
  296    296   
        };
  297    297   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_put_object_tagging_input::ser_tagging_http_payload(
  298    298   
            &input.tagging,
  299    299   
        )?);
  300    300   
        if let Some(content_length) = body.content_length() {
  301    301   
            let content_length = content_length.to_string();
  302         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         302  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  303    303   
        }
  304    304   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  305    305   
    }
  306    306   
}
  307    307   
#[derive(Debug)]
  308    308   
struct PutObjectTaggingEndpointParamsInterceptor;
  309    309   
  310    310   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutObjectTaggingEndpointParamsInterceptor {
  311    311   
    fn name(&self) -> &'static str {
  312    312   
        "PutObjectTaggingEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_public_access_block.rs

@@ -238,238 +317,317 @@
  258    258   
                _input: &crate::operation::put_public_access_block::PutPublicAccessBlockInput,
  259    259   
                mut output: &mut ::std::string::String,
  260    260   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  261    261   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  262    262   
                query.push_v("publicAccessBlock");
  263    263   
                ::std::result::Result::Ok(())
  264    264   
            }
  265    265   
            #[allow(clippy::unnecessary_wraps)]
  266    266   
            fn update_http_builder(
  267    267   
                input: &crate::operation::put_public_access_block::PutPublicAccessBlockInput,
  268         -
                builder: ::http::request::Builder,
  269         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         268  +
                builder: ::http_1x::request::Builder,
         269  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  270    270   
                let mut uri = ::std::string::String::new();
  271    271   
                uri_base(input, &mut uri)?;
  272    272   
                uri_query(input, &mut uri)?;
  273    273   
                let builder = crate::protocol_serde::shape_put_public_access_block::ser_put_public_access_block_headers(input, builder)?;
  274    274   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  275    275   
            }
  276         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  277         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         276  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         277  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  278    278   
            builder
  279    279   
        };
  280    280   
        let body = ::aws_smithy_types::body::SdkBody::from(
  281    281   
            crate::protocol_serde::shape_put_public_access_block_input::ser_public_access_block_configuration_http_payload(
  282    282   
                &input.public_access_block_configuration,
  283    283   
            )?,
  284    284   
        );
  285    285   
        if let Some(content_length) = body.content_length() {
  286    286   
            let content_length = content_length.to_string();
  287         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         287  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  288    288   
        }
  289    289   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  290    290   
    }
  291    291   
}
  292    292   
#[derive(Debug)]
  293    293   
struct PutPublicAccessBlockEndpointParamsInterceptor;
  294    294   
  295    295   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutPublicAccessBlockEndpointParamsInterceptor {
  296    296   
    fn name(&self) -> &'static str {
  297    297   
        "PutPublicAccessBlockEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/rename_object.rs

@@ -198,198 +266,266 @@
  218    218   
                _input: &crate::operation::rename_object::RenameObjectInput,
  219    219   
                mut output: &mut ::std::string::String,
  220    220   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  221    221   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  222    222   
                query.push_v("renameObject");
  223    223   
                ::std::result::Result::Ok(())
  224    224   
            }
  225    225   
            #[allow(clippy::unnecessary_wraps)]
  226    226   
            fn update_http_builder(
  227    227   
                input: &crate::operation::rename_object::RenameObjectInput,
  228         -
                builder: ::http::request::Builder,
  229         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         228  +
                builder: ::http_1x::request::Builder,
         229  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  230    230   
                let mut uri = ::std::string::String::new();
  231    231   
                uri_base(input, &mut uri)?;
  232    232   
                uri_query(input, &mut uri)?;
  233    233   
                let builder = crate::protocol_serde::shape_rename_object::ser_rename_object_headers(input, builder)?;
  234    234   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  235    235   
            }
  236         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
         236  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  237    237   
            builder
  238    238   
        };
  239    239   
        let body = ::aws_smithy_types::body::SdkBody::from("");
  240    240   
  241    241   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  242    242   
    }
  243    243   
}
  244    244   
#[derive(Debug)]
  245    245   
struct RenameObjectEndpointParamsInterceptor;
  246    246   

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/restore_object.rs

@@ -254,254 +331,331 @@
  274    274   
                if let ::std::option::Option::Some(inner_2) = &_input.version_id {
  275    275   
                    {
  276    276   
                        query.push_kv("versionId", &::aws_smithy_http::query::fmt_string(inner_2));
  277    277   
                    }
  278    278   
                }
  279    279   
                ::std::result::Result::Ok(())
  280    280   
            }
  281    281   
            #[allow(clippy::unnecessary_wraps)]
  282    282   
            fn update_http_builder(
  283    283   
                input: &crate::operation::restore_object::RestoreObjectInput,
  284         -
                builder: ::http::request::Builder,
  285         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         284  +
                builder: ::http_1x::request::Builder,
         285  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  286    286   
                let mut uri = ::std::string::String::new();
  287    287   
                uri_base(input, &mut uri)?;
  288    288   
                uri_query(input, &mut uri)?;
  289    289   
                let builder = crate::protocol_serde::shape_restore_object::ser_restore_object_headers(input, builder)?;
  290    290   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  291    291   
            }
  292         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  293         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         292  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         293  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  294    294   
            builder
  295    295   
        };
  296    296   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_restore_object_input::ser_restore_request_http_payload(
  297    297   
            &input.restore_request,
  298    298   
        )?);
  299    299   
        if let Some(content_length) = body.content_length() {
  300    300   
            let content_length = content_length.to_string();
  301         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         301  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  302    302   
        }
  303    303   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  304    304   
    }
  305    305   
}
  306    306   
#[derive(Debug)]
  307    307   
struct RestoreObjectEndpointParamsInterceptor;
  308    308   
  309    309   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for RestoreObjectEndpointParamsInterceptor {
  310    310   
    fn name(&self) -> &'static str {
  311    311   
        "RestoreObjectEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/select_object_content.rs

@@ -192,192 +269,269 @@
  212    212   
                mut output: &mut ::std::string::String,
  213    213   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  214    214   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  215    215   
                query.push_v("select");
  216    216   
                query.push_kv("select-type", "2");
  217    217   
                ::std::result::Result::Ok(())
  218    218   
            }
  219    219   
            #[allow(clippy::unnecessary_wraps)]
  220    220   
            fn update_http_builder(
  221    221   
                input: &crate::operation::select_object_content::SelectObjectContentInput,
  222         -
                builder: ::http::request::Builder,
  223         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         222  +
                builder: ::http_1x::request::Builder,
         223  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  224    224   
                let mut uri = ::std::string::String::new();
  225    225   
                uri_base(input, &mut uri)?;
  226    226   
                uri_query(input, &mut uri)?;
  227    227   
                let builder = crate::protocol_serde::shape_select_object_content::ser_select_object_content_headers(input, builder)?;
  228    228   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  229    229   
            }
  230         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  231         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         230  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         231  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  232    232   
            builder
  233    233   
        };
  234    234   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_select_object_content::ser_select_object_content_op_input(
  235    235   
            &input,
  236    236   
        )?);
  237    237   
        if let Some(content_length) = body.content_length() {
  238    238   
            let content_length = content_length.to_string();
  239         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         239  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  240    240   
        }
  241    241   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  242    242   
    }
  243    243   
}
  244    244   
#[derive(Debug)]
  245    245   
struct SelectObjectContentEndpointParamsInterceptor;
  246    246   
  247    247   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for SelectObjectContentEndpointParamsInterceptor {
  248    248   
    fn name(&self) -> &'static str {
  249    249   
        "SelectObjectContentEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/update_bucket_metadata_inventory_table_configuration.rs

@@ -240,240 +319,319 @@
  260    260   
                _input: &crate::operation::update_bucket_metadata_inventory_table_configuration::UpdateBucketMetadataInventoryTableConfigurationInput,
  261    261   
                mut output: &mut ::std::string::String,
  262    262   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  263    263   
                let mut query = ::aws_smithy_http::query::Writer::new(output);
  264    264   
                query.push_v("metadataInventoryTable");
  265    265   
                ::std::result::Result::Ok(())
  266    266   
            }
  267    267   
            #[allow(clippy::unnecessary_wraps)]
  268    268   
            fn update_http_builder(
  269    269   
                input: &crate::operation::update_bucket_metadata_inventory_table_configuration::UpdateBucketMetadataInventoryTableConfigurationInput,
  270         -
                builder: ::http::request::Builder,
  271         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         270  +
                builder: ::http_1x::request::Builder,
         271  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  272    272   
                let mut uri = ::std::string::String::new();
  273    273   
                uri_base(input, &mut uri)?;
  274    274   
                uri_query(input, &mut uri)?;
  275    275   
                let builder = crate::protocol_serde::shape_update_bucket_metadata_inventory_table_configuration::ser_update_bucket_metadata_inventory_table_configuration_headers(input, builder)?;
  276    276   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  277    277   
            }
  278         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  279         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         278  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         279  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  280    280   
            builder
  281    281   
        };
  282    282   
        let body = ::aws_smithy_types::body::SdkBody::from(
  283    283   
            crate::protocol_serde::shape_update_bucket_metadata_inventory_table_configuration_input::ser_inventory_table_configuration_http_payload(
  284    284   
                &input.inventory_table_configuration,
  285    285   
            )?,
  286    286   
        );
  287    287   
        if let Some(content_length) = body.content_length() {
  288    288   
            let content_length = content_length.to_string();
  289         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         289  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  290    290   
        }
  291    291   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  292    292   
    }
  293    293   
}
  294    294   
#[derive(Debug)]
  295    295   
struct UpdateBucketMetadataInventoryTableConfigurationEndpointParamsInterceptor;
  296    296   
  297    297   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for UpdateBucketMetadataInventoryTableConfigurationEndpointParamsInterceptor {
  298    298   
    fn name(&self) -> &'static str {
  299    299   
        "UpdateBucketMetadataInventoryTableConfigurationEndpointParamsInterceptor"