AWS SDK

AWS SDK

rev. d06a46cae0f385cdae37a9f8264db3469a090ab5 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_bucket_policy.rs

@@ -176,176 +250,250 @@
  196    196   
                        "bucket",
  197    197   
                        "cannot be empty or unset",
  198    198   
                    ));
  199    199   
                }
  200    200   
                ::std::write!(output, "/v20180820/bucket/{Bucket}/policy", Bucket = bucket).expect("formatting should succeed");
  201    201   
                ::std::result::Result::Ok(())
  202    202   
            }
  203    203   
            #[allow(clippy::unnecessary_wraps)]
  204    204   
            fn update_http_builder(
  205    205   
                input: &crate::operation::put_bucket_policy::PutBucketPolicyInput,
  206         -
                builder: ::http::request::Builder,
  207         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         206  +
                builder: ::http_1x::request::Builder,
         207  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  208    208   
                let mut uri = ::std::string::String::new();
  209    209   
                uri_base(input, &mut uri)?;
  210    210   
                let builder = crate::protocol_serde::shape_put_bucket_policy::ser_put_bucket_policy_headers(input, builder)?;
  211    211   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  212    212   
            }
  213         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  214         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         213  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         214  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  215    215   
            builder
  216    216   
        };
  217    217   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_put_bucket_policy::ser_put_bucket_policy_op_input(&input)?);
  218    218   
        if let Some(content_length) = body.content_length() {
  219    219   
            let content_length = content_length.to_string();
  220         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         220  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  221    221   
        }
  222    222   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  223    223   
    }
  224    224   
}
  225    225   
#[derive(Debug)]
  226    226   
struct PutBucketPolicyEndpointParamsInterceptor;
  227    227   
  228    228   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutBucketPolicyEndpointParamsInterceptor {
  229    229   
    fn name(&self) -> &'static str {
  230    230   
        "PutBucketPolicyEndpointParamsInterceptor"

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

@@ -176,176 +252,252 @@
  196    196   
                        "bucket",
  197    197   
                        "cannot be empty or unset",
  198    198   
                    ));
  199    199   
                }
  200    200   
                ::std::write!(output, "/v20180820/bucket/{Bucket}/replication", Bucket = bucket).expect("formatting should succeed");
  201    201   
                ::std::result::Result::Ok(())
  202    202   
            }
  203    203   
            #[allow(clippy::unnecessary_wraps)]
  204    204   
            fn update_http_builder(
  205    205   
                input: &crate::operation::put_bucket_replication::PutBucketReplicationInput,
  206         -
                builder: ::http::request::Builder,
  207         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         206  +
                builder: ::http_1x::request::Builder,
         207  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  208    208   
                let mut uri = ::std::string::String::new();
  209    209   
                uri_base(input, &mut uri)?;
  210    210   
                let builder = crate::protocol_serde::shape_put_bucket_replication::ser_put_bucket_replication_headers(input, builder)?;
  211    211   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  212    212   
            }
  213         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  214         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         213  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         214  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  215    215   
            builder
  216    216   
        };
  217    217   
        let body = ::aws_smithy_types::body::SdkBody::from(
  218    218   
            crate::protocol_serde::shape_put_bucket_replication_input::ser_replication_configuration_http_payload(&input.replication_configuration)?,
  219    219   
        );
  220    220   
        if let Some(content_length) = body.content_length() {
  221    221   
            let content_length = content_length.to_string();
  222         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         222  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  223    223   
        }
  224    224   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  225    225   
    }
  226    226   
}
  227    227   
#[derive(Debug)]
  228    228   
struct PutBucketReplicationEndpointParamsInterceptor;
  229    229   
  230    230   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutBucketReplicationEndpointParamsInterceptor {
  231    231   
    fn name(&self) -> &'static str {
  232    232   
        "PutBucketReplicationEndpointParamsInterceptor"

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

@@ -176,176 +252,252 @@
  196    196   
                        "bucket",
  197    197   
                        "cannot be empty or unset",
  198    198   
                    ));
  199    199   
                }
  200    200   
                ::std::write!(output, "/v20180820/bucket/{Bucket}/tagging", Bucket = bucket).expect("formatting should succeed");
  201    201   
                ::std::result::Result::Ok(())
  202    202   
            }
  203    203   
            #[allow(clippy::unnecessary_wraps)]
  204    204   
            fn update_http_builder(
  205    205   
                input: &crate::operation::put_bucket_tagging::PutBucketTaggingInput,
  206         -
                builder: ::http::request::Builder,
  207         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         206  +
                builder: ::http_1x::request::Builder,
         207  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  208    208   
                let mut uri = ::std::string::String::new();
  209    209   
                uri_base(input, &mut uri)?;
  210    210   
                let builder = crate::protocol_serde::shape_put_bucket_tagging::ser_put_bucket_tagging_headers(input, builder)?;
  211    211   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  212    212   
            }
  213         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  214         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         213  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         214  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  215    215   
            builder
  216    216   
        };
  217    217   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_put_bucket_tagging_input::ser_tagging_http_payload(
  218    218   
            &input.tagging,
  219    219   
        )?);
  220    220   
        if let Some(content_length) = body.content_length() {
  221    221   
            let content_length = content_length.to_string();
  222         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         222  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  223    223   
        }
  224    224   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  225    225   
    }
  226    226   
}
  227    227   
#[derive(Debug)]
  228    228   
struct PutBucketTaggingEndpointParamsInterceptor;
  229    229   
  230    230   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutBucketTaggingEndpointParamsInterceptor {
  231    231   
    fn name(&self) -> &'static str {
  232    232   
        "PutBucketTaggingEndpointParamsInterceptor"

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

@@ -176,176 +252,252 @@
  196    196   
                        "bucket",
  197    197   
                        "cannot be empty or unset",
  198    198   
                    ));
  199    199   
                }
  200    200   
                ::std::write!(output, "/v20180820/bucket/{Bucket}/versioning", Bucket = bucket).expect("formatting should succeed");
  201    201   
                ::std::result::Result::Ok(())
  202    202   
            }
  203    203   
            #[allow(clippy::unnecessary_wraps)]
  204    204   
            fn update_http_builder(
  205    205   
                input: &crate::operation::put_bucket_versioning::PutBucketVersioningInput,
  206         -
                builder: ::http::request::Builder,
  207         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         206  +
                builder: ::http_1x::request::Builder,
         207  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  208    208   
                let mut uri = ::std::string::String::new();
  209    209   
                uri_base(input, &mut uri)?;
  210    210   
                let builder = crate::protocol_serde::shape_put_bucket_versioning::ser_put_bucket_versioning_headers(input, builder)?;
  211    211   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  212    212   
            }
  213         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  214         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         213  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         214  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  215    215   
            builder
  216    216   
        };
  217    217   
        let body = ::aws_smithy_types::body::SdkBody::from(
  218    218   
            crate::protocol_serde::shape_put_bucket_versioning_input::ser_versioning_configuration_http_payload(&input.versioning_configuration)?,
  219    219   
        );
  220    220   
        if let Some(content_length) = body.content_length() {
  221    221   
            let content_length = content_length.to_string();
  222         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         222  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  223    223   
        }
  224    224   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  225    225   
    }
  226    226   
}
  227    227   
#[derive(Debug)]
  228    228   
struct PutBucketVersioningEndpointParamsInterceptor;
  229    229   
  230    230   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutBucketVersioningEndpointParamsInterceptor {
  231    231   
    fn name(&self) -> &'static str {
  232    232   
        "PutBucketVersioningEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_job_tagging.rs

@@ -176,176 +250,250 @@
  196    196   
                        "job_id",
  197    197   
                        "cannot be empty or unset",
  198    198   
                    ));
  199    199   
                }
  200    200   
                ::std::write!(output, "/v20180820/jobs/{JobId}/tagging", JobId = job_id).expect("formatting should succeed");
  201    201   
                ::std::result::Result::Ok(())
  202    202   
            }
  203    203   
            #[allow(clippy::unnecessary_wraps)]
  204    204   
            fn update_http_builder(
  205    205   
                input: &crate::operation::put_job_tagging::PutJobTaggingInput,
  206         -
                builder: ::http::request::Builder,
  207         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         206  +
                builder: ::http_1x::request::Builder,
         207  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  208    208   
                let mut uri = ::std::string::String::new();
  209    209   
                uri_base(input, &mut uri)?;
  210    210   
                let builder = crate::protocol_serde::shape_put_job_tagging::ser_put_job_tagging_headers(input, builder)?;
  211    211   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  212    212   
            }
  213         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  214         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         213  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         214  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  215    215   
            builder
  216    216   
        };
  217    217   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_put_job_tagging::ser_put_job_tagging_op_input(&input)?);
  218    218   
        if let Some(content_length) = body.content_length() {
  219    219   
            let content_length = content_length.to_string();
  220         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         220  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  221    221   
        }
  222    222   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  223    223   
    }
  224    224   
}
  225    225   
#[derive(Debug)]
  226    226   
struct PutJobTaggingEndpointParamsInterceptor;
  227    227   
  228    228   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutJobTaggingEndpointParamsInterceptor {
  229    229   
    fn name(&self) -> &'static str {
  230    230   
        "PutJobTaggingEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_multi_region_access_point_policy.rs

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

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

@@ -165,165 +243,243 @@
  185    185   
                _input: &crate::operation::put_public_access_block::PutPublicAccessBlockInput,
  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, "/v20180820/configuration/publicAccessBlock").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::put_public_access_block::PutPublicAccessBlockInput,
  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   
                let builder = crate::protocol_serde::shape_put_public_access_block::ser_put_public_access_block_headers(input, builder)?;
  200    200   
                ::std::result::Result::Ok(builder.method("PUT").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/xml");
         202  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         203  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  204    204   
            builder
  205    205   
        };
  206    206   
        let body = ::aws_smithy_types::body::SdkBody::from(
  207    207   
            crate::protocol_serde::shape_put_public_access_block_input::ser_public_access_block_configuration_http_payload(
  208    208   
                &input.public_access_block_configuration,
  209    209   
            )?,
  210    210   
        );
  211    211   
        if let Some(content_length) = body.content_length() {
  212    212   
            let content_length = content_length.to_string();
  213         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         213  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  214    214   
        }
  215    215   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  216    216   
    }
  217    217   
}
  218    218   
#[derive(Debug)]
  219    219   
struct PutPublicAccessBlockEndpointParamsInterceptor;
  220    220   
  221    221   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutPublicAccessBlockEndpointParamsInterceptor {
  222    222   
    fn name(&self) -> &'static str {
  223    223   
        "PutPublicAccessBlockEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_storage_lens_configuration.rs

@@ -182,182 +259,259 @@
  202    202   
                        "config_id",
  203    203   
                        "cannot be empty or unset",
  204    204   
                    ));
  205    205   
                }
  206    206   
                ::std::write!(output, "/v20180820/storagelens/{ConfigId}", ConfigId = config_id).expect("formatting should succeed");
  207    207   
                ::std::result::Result::Ok(())
  208    208   
            }
  209    209   
            #[allow(clippy::unnecessary_wraps)]
  210    210   
            fn update_http_builder(
  211    211   
                input: &crate::operation::put_storage_lens_configuration::PutStorageLensConfigurationInput,
  212         -
                builder: ::http::request::Builder,
  213         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         212  +
                builder: ::http_1x::request::Builder,
         213  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  214    214   
                let mut uri = ::std::string::String::new();
  215    215   
                uri_base(input, &mut uri)?;
  216    216   
                let builder =
  217    217   
                    crate::protocol_serde::shape_put_storage_lens_configuration::ser_put_storage_lens_configuration_headers(input, builder)?;
  218    218   
                ::std::result::Result::Ok(builder.method("PUT").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/xml");
         220  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         221  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  222    222   
            builder
  223    223   
        };
  224    224   
        let body = ::aws_smithy_types::body::SdkBody::from(
  225    225   
            crate::protocol_serde::shape_put_storage_lens_configuration::ser_put_storage_lens_configuration_op_input(&input)?,
  226    226   
        );
  227    227   
        if let Some(content_length) = body.content_length() {
  228    228   
            let content_length = content_length.to_string();
  229         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         229  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  230    230   
        }
  231    231   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  232    232   
    }
  233    233   
}
  234    234   
#[derive(Debug)]
  235    235   
struct PutStorageLensConfigurationEndpointParamsInterceptor;
  236    236   
  237    237   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutStorageLensConfigurationEndpointParamsInterceptor {
  238    238   
    fn name(&self) -> &'static str {
  239    239   
        "PutStorageLensConfigurationEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_storage_lens_configuration_tagging.rs

@@ -186,186 +265,265 @@
  206    206   
                        "config_id",
  207    207   
                        "cannot be empty or unset",
  208    208   
                    ));
  209    209   
                }
  210    210   
                ::std::write!(output, "/v20180820/storagelens/{ConfigId}/tagging", ConfigId = config_id).expect("formatting should succeed");
  211    211   
                ::std::result::Result::Ok(())
  212    212   
            }
  213    213   
            #[allow(clippy::unnecessary_wraps)]
  214    214   
            fn update_http_builder(
  215    215   
                input: &crate::operation::put_storage_lens_configuration_tagging::PutStorageLensConfigurationTaggingInput,
  216         -
                builder: ::http::request::Builder,
  217         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         216  +
                builder: ::http_1x::request::Builder,
         217  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  218    218   
                let mut uri = ::std::string::String::new();
  219    219   
                uri_base(input, &mut uri)?;
  220    220   
                let builder =
  221    221   
                    crate::protocol_serde::shape_put_storage_lens_configuration_tagging::ser_put_storage_lens_configuration_tagging_headers(
  222    222   
                        input, builder,
  223    223   
                    )?;
  224    224   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  225    225   
            }
  226         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  227         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         226  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         227  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  228    228   
            builder
  229    229   
        };
  230    230   
        let body = ::aws_smithy_types::body::SdkBody::from(
  231    231   
            crate::protocol_serde::shape_put_storage_lens_configuration_tagging::ser_put_storage_lens_configuration_tagging_op_input(&input)?,
  232    232   
        );
  233    233   
        if let Some(content_length) = body.content_length() {
  234    234   
            let content_length = content_length.to_string();
  235         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         235  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  236    236   
        }
  237    237   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  238    238   
    }
  239    239   
}
  240    240   
#[derive(Debug)]
  241    241   
struct PutStorageLensConfigurationTaggingEndpointParamsInterceptor;
  242    242   
  243    243   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for PutStorageLensConfigurationTaggingEndpointParamsInterceptor {
  244    244   
    fn name(&self) -> &'static str {
  245    245   
        "PutStorageLensConfigurationTaggingEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/submit_multi_region_access_point_routes.rs

@@ -186,186 +265,265 @@
  206    206   
                        "mrap",
  207    207   
                        "cannot be empty or unset",
  208    208   
                    ));
  209    209   
                }
  210    210   
                ::std::write!(output, "/v20180820/mrap/instances/{Mrap}/routes", Mrap = mrap).expect("formatting should succeed");
  211    211   
                ::std::result::Result::Ok(())
  212    212   
            }
  213    213   
            #[allow(clippy::unnecessary_wraps)]
  214    214   
            fn update_http_builder(
  215    215   
                input: &crate::operation::submit_multi_region_access_point_routes::SubmitMultiRegionAccessPointRoutesInput,
  216         -
                builder: ::http::request::Builder,
  217         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         216  +
                builder: ::http_1x::request::Builder,
         217  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  218    218   
                let mut uri = ::std::string::String::new();
  219    219   
                uri_base(input, &mut uri)?;
  220    220   
                let builder =
  221    221   
                    crate::protocol_serde::shape_submit_multi_region_access_point_routes::ser_submit_multi_region_access_point_routes_headers(
  222    222   
                        input, builder,
  223    223   
                    )?;
  224    224   
                ::std::result::Result::Ok(builder.method("PATCH").uri(uri))
  225    225   
            }
  226         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  227         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         226  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         227  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  228    228   
            builder
  229    229   
        };
  230    230   
        let body = ::aws_smithy_types::body::SdkBody::from(
  231    231   
            crate::protocol_serde::shape_submit_multi_region_access_point_routes::ser_submit_multi_region_access_point_routes_op_input(&input)?,
  232    232   
        );
  233    233   
        if let Some(content_length) = body.content_length() {
  234    234   
            let content_length = content_length.to_string();
  235         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         235  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  236    236   
        }
  237    237   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  238    238   
    }
  239    239   
}
  240    240   
#[derive(Debug)]
  241    241   
struct SubmitMultiRegionAccessPointRoutesEndpointParamsInterceptor;
  242    242   
  243    243   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for SubmitMultiRegionAccessPointRoutesEndpointParamsInterceptor {
  244    244   
    fn name(&self) -> &'static str {
  245    245   
        "SubmitMultiRegionAccessPointRoutesEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/tag_resource.rs

@@ -173,173 +247,247 @@
  193    193   
                        "resource_arn",
  194    194   
                        "cannot be empty or unset",
  195    195   
                    ));
  196    196   
                }
  197    197   
                ::std::write!(output, "/v20180820/tags/{ResourceArn}", ResourceArn = resource_arn).expect("formatting should succeed");
  198    198   
                ::std::result::Result::Ok(())
  199    199   
            }
  200    200   
            #[allow(clippy::unnecessary_wraps)]
  201    201   
            fn update_http_builder(
  202    202   
                input: &crate::operation::tag_resource::TagResourceInput,
  203         -
                builder: ::http::request::Builder,
  204         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         203  +
                builder: ::http_1x::request::Builder,
         204  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  205    205   
                let mut uri = ::std::string::String::new();
  206    206   
                uri_base(input, &mut uri)?;
  207    207   
                let builder = crate::protocol_serde::shape_tag_resource::ser_tag_resource_headers(input, builder)?;
  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/xml");
         210  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         211  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  212    212   
            builder
  213    213   
        };
  214    214   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_tag_resource::ser_tag_resource_op_input(&input)?);
  215    215   
        if let Some(content_length) = body.content_length() {
  216    216   
            let content_length = content_length.to_string();
  217         -
            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);
  218    218   
        }
  219    219   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  220    220   
    }
  221    221   
}
  222    222   
#[derive(Debug)]
  223    223   
struct TagResourceEndpointParamsInterceptor;
  224    224   
  225    225   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for TagResourceEndpointParamsInterceptor {
  226    226   
    fn name(&self) -> &'static str {
  227    227   
        "TagResourceEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/untag_resource.rs

@@ -190,190 +258,258 @@
  210    210   
                    .as_ref()
  211    211   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("tag_keys", "cannot be empty or unset"))?;
  212    212   
                for inner_3 in inner_2 {
  213    213   
                    query.push_kv("tagKeys", &::aws_smithy_http::query::fmt_string(inner_3));
  214    214   
                }
  215    215   
                ::std::result::Result::Ok(())
  216    216   
            }
  217    217   
            #[allow(clippy::unnecessary_wraps)]
  218    218   
            fn update_http_builder(
  219    219   
                input: &crate::operation::untag_resource::UntagResourceInput,
  220         -
                builder: ::http::request::Builder,
  221         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         220  +
                builder: ::http_1x::request::Builder,
         221  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  222    222   
                let mut uri = ::std::string::String::new();
  223    223   
                uri_base(input, &mut uri)?;
  224    224   
                uri_query(input, &mut uri)?;
  225    225   
                let builder = crate::protocol_serde::shape_untag_resource::ser_untag_resource_headers(input, builder)?;
  226    226   
                ::std::result::Result::Ok(builder.method("DELETE").uri(uri))
  227    227   
            }
  228         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
         228  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  229    229   
            builder
  230    230   
        };
  231    231   
        let body = ::aws_smithy_types::body::SdkBody::from("");
  232    232   
  233    233   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  234    234   
    }
  235    235   
}
  236    236   
#[derive(Debug)]
  237    237   
struct UntagResourceEndpointParamsInterceptor;
  238    238   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/update_access_grants_location.rs

@@ -187,187 +263,263 @@
  207    207   
                    output,
  208    208   
                    "/v20180820/accessgrantsinstance/location/{AccessGrantsLocationId}",
  209    209   
                    AccessGrantsLocationId = access_grants_location_id
  210    210   
                )
  211    211   
                .expect("formatting should succeed");
  212    212   
                ::std::result::Result::Ok(())
  213    213   
            }
  214    214   
            #[allow(clippy::unnecessary_wraps)]
  215    215   
            fn update_http_builder(
  216    216   
                input: &crate::operation::update_access_grants_location::UpdateAccessGrantsLocationInput,
  217         -
                builder: ::http::request::Builder,
  218         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         217  +
                builder: ::http_1x::request::Builder,
         218  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  219    219   
                let mut uri = ::std::string::String::new();
  220    220   
                uri_base(input, &mut uri)?;
  221    221   
                let builder = crate::protocol_serde::shape_update_access_grants_location::ser_update_access_grants_location_headers(input, builder)?;
  222    222   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  223    223   
            }
  224         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  225         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         224  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         225  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  226    226   
            builder
  227    227   
        };
  228    228   
        let body = ::aws_smithy_types::body::SdkBody::from(
  229    229   
            crate::protocol_serde::shape_update_access_grants_location::ser_update_access_grants_location_op_input(&input)?,
  230    230   
        );
  231    231   
        if let Some(content_length) = body.content_length() {
  232    232   
            let content_length = content_length.to_string();
  233         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         233  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  234    234   
        }
  235    235   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  236    236   
    }
  237    237   
}
  238    238   
#[derive(Debug)]
  239    239   
struct UpdateAccessGrantsLocationEndpointParamsInterceptor;
  240    240   
  241    241   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for UpdateAccessGrantsLocationEndpointParamsInterceptor {
  242    242   
    fn name(&self) -> &'static str {
  243    243   
        "UpdateAccessGrantsLocationEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/update_job_priority.rs

@@ -188,188 +256,256 @@
  208    208   
                let inner_2 = &_input.priority;
  209    209   
                let inner_2 = inner_2
  210    210   
                    .as_ref()
  211    211   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("priority", "cannot be empty or unset"))?;
  212    212   
                query.push_kv("priority", ::aws_smithy_types::primitive::Encoder::from(*inner_2).encode());
  213    213   
                ::std::result::Result::Ok(())
  214    214   
            }
  215    215   
            #[allow(clippy::unnecessary_wraps)]
  216    216   
            fn update_http_builder(
  217    217   
                input: &crate::operation::update_job_priority::UpdateJobPriorityInput,
  218         -
                builder: ::http::request::Builder,
  219         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         218  +
                builder: ::http_1x::request::Builder,
         219  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  220    220   
                let mut uri = ::std::string::String::new();
  221    221   
                uri_base(input, &mut uri)?;
  222    222   
                uri_query(input, &mut uri)?;
  223    223   
                let builder = crate::protocol_serde::shape_update_job_priority::ser_update_job_priority_headers(input, builder)?;
  224    224   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  225    225   
            }
  226         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
         226  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  227    227   
            builder
  228    228   
        };
  229    229   
        let body = ::aws_smithy_types::body::SdkBody::from("");
  230    230   
  231    231   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  232    232   
    }
  233    233   
}
  234    234   
#[derive(Debug)]
  235    235   
struct UpdateJobPriorityEndpointParamsInterceptor;
  236    236   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/update_job_status.rs

@@ -193,193 +261,261 @@
  213    213   
                if let ::std::option::Option::Some(inner_3) = &_input.status_update_reason {
  214    214   
                    {
  215    215   
                        query.push_kv("statusUpdateReason", &::aws_smithy_http::query::fmt_string(inner_3));
  216    216   
                    }
  217    217   
                }
  218    218   
                ::std::result::Result::Ok(())
  219    219   
            }
  220    220   
            #[allow(clippy::unnecessary_wraps)]
  221    221   
            fn update_http_builder(
  222    222   
                input: &crate::operation::update_job_status::UpdateJobStatusInput,
  223         -
                builder: ::http::request::Builder,
  224         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         223  +
                builder: ::http_1x::request::Builder,
         224  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  225    225   
                let mut uri = ::std::string::String::new();
  226    226   
                uri_base(input, &mut uri)?;
  227    227   
                uri_query(input, &mut uri)?;
  228    228   
                let builder = crate::protocol_serde::shape_update_job_status::ser_update_job_status_headers(input, builder)?;
  229    229   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  230    230   
            }
  231         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
         231  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  232    232   
            builder
  233    233   
        };
  234    234   
        let body = ::aws_smithy_types::body::SdkBody::from("");
  235    235   
  236    236   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  237    237   
    }
  238    238   
}
  239    239   
#[derive(Debug)]
  240    240   
struct UpdateJobStatusEndpointParamsInterceptor;
  241    241   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/update_storage_lens_group.rs

@@ -176,176 +252,252 @@
  196    196   
                        "name",
  197    197   
                        "cannot be empty or unset",
  198    198   
                    ));
  199    199   
                }
  200    200   
                ::std::write!(output, "/v20180820/storagelensgroup/{Name}", Name = name).expect("formatting should succeed");
  201    201   
                ::std::result::Result::Ok(())
  202    202   
            }
  203    203   
            #[allow(clippy::unnecessary_wraps)]
  204    204   
            fn update_http_builder(
  205    205   
                input: &crate::operation::update_storage_lens_group::UpdateStorageLensGroupInput,
  206         -
                builder: ::http::request::Builder,
  207         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         206  +
                builder: ::http_1x::request::Builder,
         207  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  208    208   
                let mut uri = ::std::string::String::new();
  209    209   
                uri_base(input, &mut uri)?;
  210    210   
                let builder = crate::protocol_serde::shape_update_storage_lens_group::ser_update_storage_lens_group_headers(input, builder)?;
  211    211   
                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
  212    212   
            }
  213         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  214         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/xml");
         213  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         214  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/xml");
  215    215   
            builder
  216    216   
        };
  217    217   
        let body = ::aws_smithy_types::body::SdkBody::from(
  218    218   
            crate::protocol_serde::shape_update_storage_lens_group::ser_update_storage_lens_group_op_input(&input)?,
  219    219   
        );
  220    220   
        if let Some(content_length) = body.content_length() {
  221    221   
            let content_length = content_length.to_string();
  222         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         222  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  223    223   
        }
  224    224   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  225    225   
    }
  226    226   
}
  227    227   
#[derive(Debug)]
  228    228   
struct UpdateStorageLensGroupEndpointParamsInterceptor;
  229    229   
  230    230   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for UpdateStorageLensGroupEndpointParamsInterceptor {
  231    231   
    fn name(&self) -> &'static str {
  232    232   
        "UpdateStorageLensGroupEndpointParamsInterceptor"