AWS SDK

AWS SDK

rev. ee474c7509d7728618c23068f3741e8e5b339ef9 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/get_source_repository_clone_urls.rs

@@ -201,201 +267,267 @@
  221    221   
                    spaceName = space_name,
  222    222   
                    projectName = project_name,
  223    223   
                    sourceRepositoryName = source_repository_name
  224    224   
                )
  225    225   
                .expect("formatting should succeed");
  226    226   
                ::std::result::Result::Ok(())
  227    227   
            }
  228    228   
            #[allow(clippy::unnecessary_wraps)]
  229    229   
            fn update_http_builder(
  230    230   
                input: &crate::operation::get_source_repository_clone_urls::GetSourceRepositoryCloneUrlsInput,
  231         -
                builder: ::http::request::Builder,
  232         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         231  +
                builder: ::http_1x::request::Builder,
         232  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  233    233   
                let mut uri = ::std::string::String::new();
  234    234   
                uri_base(input, &mut uri)?;
  235    235   
                ::std::result::Result::Ok(builder.method("GET").uri(uri))
  236    236   
            }
  237         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
         237  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  238    238   
            builder
  239    239   
        };
  240    240   
        let body = ::aws_smithy_types::body::SdkBody::from("");
  241    241   
  242    242   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  243    243   
    }
  244    244   
}
  245    245   
#[derive(Debug)]
  246    246   
struct GetSourceRepositoryCloneUrlsEndpointParamsInterceptor;
  247    247   

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/get_space.rs

@@ -157,157 +223,223 @@
  177    177   
                        "name",
  178    178   
                        "cannot be empty or unset",
  179    179   
                    ));
  180    180   
                }
  181    181   
                ::std::write!(output, "/v1/spaces/{name}", name = name).expect("formatting should succeed");
  182    182   
                ::std::result::Result::Ok(())
  183    183   
            }
  184    184   
            #[allow(clippy::unnecessary_wraps)]
  185    185   
            fn update_http_builder(
  186    186   
                input: &crate::operation::get_space::GetSpaceInput,
  187         -
                builder: ::http::request::Builder,
  188         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         187  +
                builder: ::http_1x::request::Builder,
         188  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  189    189   
                let mut uri = ::std::string::String::new();
  190    190   
                uri_base(input, &mut uri)?;
  191    191   
                ::std::result::Result::Ok(builder.method("GET").uri(uri))
  192    192   
            }
  193         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
         193  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  194    194   
            builder
  195    195   
        };
  196    196   
        let body = ::aws_smithy_types::body::SdkBody::from("");
  197    197   
  198    198   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  199    199   
    }
  200    200   
}
  201    201   
#[derive(Debug)]
  202    202   
struct GetSpaceEndpointParamsInterceptor;
  203    203   

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/get_subscription.rs

@@ -166,166 +232,232 @@
  186    186   
                        "space_name",
  187    187   
                        "cannot be empty or unset",
  188    188   
                    ));
  189    189   
                }
  190    190   
                ::std::write!(output, "/v1/spaces/{spaceName}/subscription", spaceName = space_name).expect("formatting should succeed");
  191    191   
                ::std::result::Result::Ok(())
  192    192   
            }
  193    193   
            #[allow(clippy::unnecessary_wraps)]
  194    194   
            fn update_http_builder(
  195    195   
                input: &crate::operation::get_subscription::GetSubscriptionInput,
  196         -
                builder: ::http::request::Builder,
  197         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         196  +
                builder: ::http_1x::request::Builder,
         197  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  198    198   
                let mut uri = ::std::string::String::new();
  199    199   
                uri_base(input, &mut uri)?;
  200    200   
                ::std::result::Result::Ok(builder.method("GET").uri(uri))
  201    201   
            }
  202         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
         202  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  203    203   
            builder
  204    204   
        };
  205    205   
        let body = ::aws_smithy_types::body::SdkBody::from("");
  206    206   
  207    207   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  208    208   
    }
  209    209   
}
  210    210   
#[derive(Debug)]
  211    211   
struct GetSubscriptionEndpointParamsInterceptor;
  212    212   

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/get_user_details.rs

@@ -172,172 +239,239 @@
  192    192   
                if let ::std::option::Option::Some(inner_2) = &_input.user_name {
  193    193   
                    {
  194    194   
                        query.push_kv("userName", &::aws_smithy_http::query::fmt_string(inner_2));
  195    195   
                    }
  196    196   
                }
  197    197   
                ::std::result::Result::Ok(())
  198    198   
            }
  199    199   
            #[allow(clippy::unnecessary_wraps)]
  200    200   
            fn update_http_builder(
  201    201   
                input: &crate::operation::get_user_details::GetUserDetailsInput,
  202         -
                builder: ::http::request::Builder,
  203         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         202  +
                builder: ::http_1x::request::Builder,
         203  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  204    204   
                let mut uri = ::std::string::String::new();
  205    205   
                uri_base(input, &mut uri)?;
  206    206   
                uri_query(input, &mut uri)?;
  207    207   
                ::std::result::Result::Ok(builder.method("GET").uri(uri))
  208    208   
            }
  209         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
         209  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  210    210   
            builder
  211    211   
        };
  212    212   
        let body = ::aws_smithy_types::body::SdkBody::from("");
  213    213   
  214    214   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  215    215   
    }
  216    216   
}
  217    217   
#[derive(Debug)]
  218    218   
struct GetUserDetailsEndpointParamsInterceptor;
  219    219   

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/get_workflow.rs

@@ -195,195 +261,261 @@
  215    215   
                    spaceName = space_name,
  216    216   
                    projectName = project_name,
  217    217   
                    id = id
  218    218   
                )
  219    219   
                .expect("formatting should succeed");
  220    220   
                ::std::result::Result::Ok(())
  221    221   
            }
  222    222   
            #[allow(clippy::unnecessary_wraps)]
  223    223   
            fn update_http_builder(
  224    224   
                input: &crate::operation::get_workflow::GetWorkflowInput,
  225         -
                builder: ::http::request::Builder,
  226         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         225  +
                builder: ::http_1x::request::Builder,
         226  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  227    227   
                let mut uri = ::std::string::String::new();
  228    228   
                uri_base(input, &mut uri)?;
  229    229   
                ::std::result::Result::Ok(builder.method("GET").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 GetWorkflowEndpointParamsInterceptor;
  241    241   

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/get_workflow_run.rs

@@ -195,195 +261,261 @@
  215    215   
                    spaceName = space_name,
  216    216   
                    projectName = project_name,
  217    217   
                    id = id
  218    218   
                )
  219    219   
                .expect("formatting should succeed");
  220    220   
                ::std::result::Result::Ok(())
  221    221   
            }
  222    222   
            #[allow(clippy::unnecessary_wraps)]
  223    223   
            fn update_http_builder(
  224    224   
                input: &crate::operation::get_workflow_run::GetWorkflowRunInput,
  225         -
                builder: ::http::request::Builder,
  226         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         225  +
                builder: ::http_1x::request::Builder,
         226  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  227    227   
                let mut uri = ::std::string::String::new();
  228    228   
                uri_base(input, &mut uri)?;
  229    229   
                ::std::result::Result::Ok(builder.method("GET").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 GetWorkflowRunEndpointParamsInterceptor;
  241    241   

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_access_tokens.rs

@@ -155,155 +228,228 @@
  175    175   
                _input: &crate::operation::list_access_tokens::ListAccessTokensInput,
  176    176   
                output: &mut ::std::string::String,
  177    177   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  178    178   
                use ::std::fmt::Write as _;
  179    179   
                ::std::write!(output, "/v1/accessTokens").expect("formatting should succeed");
  180    180   
                ::std::result::Result::Ok(())
  181    181   
            }
  182    182   
            #[allow(clippy::unnecessary_wraps)]
  183    183   
            fn update_http_builder(
  184    184   
                input: &crate::operation::list_access_tokens::ListAccessTokensInput,
  185         -
                builder: ::http::request::Builder,
  186         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         185  +
                builder: ::http_1x::request::Builder,
         186  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  187    187   
                let mut uri = ::std::string::String::new();
  188    188   
                uri_base(input, &mut uri)?;
  189    189   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  190    190   
            }
  191         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  192         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         191  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         192  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/json");
  193    193   
            builder
  194    194   
        };
  195    195   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_list_access_tokens::ser_list_access_tokens_input(&input)?);
  196    196   
        if let Some(content_length) = body.content_length() {
  197    197   
            let content_length = content_length.to_string();
  198         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         198  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  199    199   
        }
  200    200   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  201    201   
    }
  202    202   
}
  203    203   
#[derive(Debug)]
  204    204   
struct ListAccessTokensEndpointParamsInterceptor;
  205    205   
  206    206   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListAccessTokensEndpointParamsInterceptor {
  207    207   
    fn name(&self) -> &'static str {
  208    208   
        "ListAccessTokensEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_dev_environment_sessions.rs

@@ -201,201 +276,276 @@
  221    221   
                    spaceName = space_name,
  222    222   
                    projectName = project_name,
  223    223   
                    devEnvironmentId = dev_environment_id
  224    224   
                )
  225    225   
                .expect("formatting should succeed");
  226    226   
                ::std::result::Result::Ok(())
  227    227   
            }
  228    228   
            #[allow(clippy::unnecessary_wraps)]
  229    229   
            fn update_http_builder(
  230    230   
                input: &crate::operation::list_dev_environment_sessions::ListDevEnvironmentSessionsInput,
  231         -
                builder: ::http::request::Builder,
  232         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         231  +
                builder: ::http_1x::request::Builder,
         232  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  233    233   
                let mut uri = ::std::string::String::new();
  234    234   
                uri_base(input, &mut uri)?;
  235    235   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  236    236   
            }
  237         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  238         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         237  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         238  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/json");
  239    239   
            builder
  240    240   
        };
  241    241   
        let body = ::aws_smithy_types::body::SdkBody::from(
  242    242   
            crate::protocol_serde::shape_list_dev_environment_sessions::ser_list_dev_environment_sessions_input(&input)?,
  243    243   
        );
  244    244   
        if let Some(content_length) = body.content_length() {
  245    245   
            let content_length = content_length.to_string();
  246         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         246  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  247    247   
        }
  248    248   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  249    249   
    }
  250    250   
}
  251    251   
#[derive(Debug)]
  252    252   
struct ListDevEnvironmentSessionsEndpointParamsInterceptor;
  253    253   
  254    254   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListDevEnvironmentSessionsEndpointParamsInterceptor {
  255    255   
    fn name(&self) -> &'static str {
  256    256   
        "ListDevEnvironmentSessionsEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_dev_environments.rs

@@ -166,166 +241,241 @@
  186    186   
                        "space_name",
  187    187   
                        "cannot be empty or unset",
  188    188   
                    ));
  189    189   
                }
  190    190   
                ::std::write!(output, "/v1/spaces/{spaceName}/devEnvironments", spaceName = space_name).expect("formatting should succeed");
  191    191   
                ::std::result::Result::Ok(())
  192    192   
            }
  193    193   
            #[allow(clippy::unnecessary_wraps)]
  194    194   
            fn update_http_builder(
  195    195   
                input: &crate::operation::list_dev_environments::ListDevEnvironmentsInput,
  196         -
                builder: ::http::request::Builder,
  197         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         196  +
                builder: ::http_1x::request::Builder,
         197  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  198    198   
                let mut uri = ::std::string::String::new();
  199    199   
                uri_base(input, &mut uri)?;
  200    200   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  201    201   
            }
  202         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  203         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         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/json");
  204    204   
            builder
  205    205   
        };
  206    206   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_list_dev_environments::ser_list_dev_environments_input(
  207    207   
            &input,
  208    208   
        )?);
  209    209   
        if let Some(content_length) = body.content_length() {
  210    210   
            let content_length = content_length.to_string();
  211         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         211  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  212    212   
        }
  213    213   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  214    214   
    }
  215    215   
}
  216    216   
#[derive(Debug)]
  217    217   
struct ListDevEnvironmentsEndpointParamsInterceptor;
  218    218   
  219    219   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListDevEnvironmentsEndpointParamsInterceptor {
  220    220   
    fn name(&self) -> &'static str {
  221    221   
        "ListDevEnvironmentsEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_event_logs.rs

@@ -166,166 +239,239 @@
  186    186   
                        "space_name",
  187    187   
                        "cannot be empty or unset",
  188    188   
                    ));
  189    189   
                }
  190    190   
                ::std::write!(output, "/v1/spaces/{spaceName}/eventLogs", spaceName = space_name).expect("formatting should succeed");
  191    191   
                ::std::result::Result::Ok(())
  192    192   
            }
  193    193   
            #[allow(clippy::unnecessary_wraps)]
  194    194   
            fn update_http_builder(
  195    195   
                input: &crate::operation::list_event_logs::ListEventLogsInput,
  196         -
                builder: ::http::request::Builder,
  197         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         196  +
                builder: ::http_1x::request::Builder,
         197  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  198    198   
                let mut uri = ::std::string::String::new();
  199    199   
                uri_base(input, &mut uri)?;
  200    200   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  201    201   
            }
  202         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  203         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         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/json");
  204    204   
            builder
  205    205   
        };
  206    206   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_list_event_logs::ser_list_event_logs_input(&input)?);
  207    207   
        if let Some(content_length) = body.content_length() {
  208    208   
            let content_length = content_length.to_string();
  209         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         209  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  210    210   
        }
  211    211   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  212    212   
    }
  213    213   
}
  214    214   
#[derive(Debug)]
  215    215   
struct ListEventLogsEndpointParamsInterceptor;
  216    216   
  217    217   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListEventLogsEndpointParamsInterceptor {
  218    218   
    fn name(&self) -> &'static str {
  219    219   
        "ListEventLogsEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_projects.rs

@@ -166,166 +239,239 @@
  186    186   
                        "space_name",
  187    187   
                        "cannot be empty or unset",
  188    188   
                    ));
  189    189   
                }
  190    190   
                ::std::write!(output, "/v1/spaces/{spaceName}/projects", spaceName = space_name).expect("formatting should succeed");
  191    191   
                ::std::result::Result::Ok(())
  192    192   
            }
  193    193   
            #[allow(clippy::unnecessary_wraps)]
  194    194   
            fn update_http_builder(
  195    195   
                input: &crate::operation::list_projects::ListProjectsInput,
  196         -
                builder: ::http::request::Builder,
  197         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         196  +
                builder: ::http_1x::request::Builder,
         197  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  198    198   
                let mut uri = ::std::string::String::new();
  199    199   
                uri_base(input, &mut uri)?;
  200    200   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  201    201   
            }
  202         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  203         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         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/json");
  204    204   
            builder
  205    205   
        };
  206    206   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_list_projects::ser_list_projects_input(&input)?);
  207    207   
        if let Some(content_length) = body.content_length() {
  208    208   
            let content_length = content_length.to_string();
  209         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         209  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  210    210   
        }
  211    211   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  212    212   
    }
  213    213   
}
  214    214   
#[derive(Debug)]
  215    215   
struct ListProjectsEndpointParamsInterceptor;
  216    216   
  217    217   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListProjectsEndpointParamsInterceptor {
  218    218   
    fn name(&self) -> &'static str {
  219    219   
        "ListProjectsEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_source_repositories.rs

@@ -189,189 +264,264 @@
  209    209   
                    "/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories",
  210    210   
                    spaceName = space_name,
  211    211   
                    projectName = project_name
  212    212   
                )
  213    213   
                .expect("formatting should succeed");
  214    214   
                ::std::result::Result::Ok(())
  215    215   
            }
  216    216   
            #[allow(clippy::unnecessary_wraps)]
  217    217   
            fn update_http_builder(
  218    218   
                input: &crate::operation::list_source_repositories::ListSourceRepositoriesInput,
  219         -
                builder: ::http::request::Builder,
  220         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         219  +
                builder: ::http_1x::request::Builder,
         220  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  221    221   
                let mut uri = ::std::string::String::new();
  222    222   
                uri_base(input, &mut uri)?;
  223    223   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  224    224   
            }
  225         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  226         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         225  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         226  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/json");
  227    227   
            builder
  228    228   
        };
  229    229   
        let body = ::aws_smithy_types::body::SdkBody::from(
  230    230   
            crate::protocol_serde::shape_list_source_repositories::ser_list_source_repositories_input(&input)?,
  231    231   
        );
  232    232   
        if let Some(content_length) = body.content_length() {
  233    233   
            let content_length = content_length.to_string();
  234         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         234  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  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 ListSourceRepositoriesEndpointParamsInterceptor;
  241    241   
  242    242   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListSourceRepositoriesEndpointParamsInterceptor {
  243    243   
    fn name(&self) -> &'static str {
  244    244   
        "ListSourceRepositoriesEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_source_repository_branches.rs

@@ -201,201 +276,276 @@
  221    221   
                    spaceName = space_name,
  222    222   
                    projectName = project_name,
  223    223   
                    sourceRepositoryName = source_repository_name
  224    224   
                )
  225    225   
                .expect("formatting should succeed");
  226    226   
                ::std::result::Result::Ok(())
  227    227   
            }
  228    228   
            #[allow(clippy::unnecessary_wraps)]
  229    229   
            fn update_http_builder(
  230    230   
                input: &crate::operation::list_source_repository_branches::ListSourceRepositoryBranchesInput,
  231         -
                builder: ::http::request::Builder,
  232         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         231  +
                builder: ::http_1x::request::Builder,
         232  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  233    233   
                let mut uri = ::std::string::String::new();
  234    234   
                uri_base(input, &mut uri)?;
  235    235   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  236    236   
            }
  237         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  238         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         237  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         238  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/json");
  239    239   
            builder
  240    240   
        };
  241    241   
        let body = ::aws_smithy_types::body::SdkBody::from(
  242    242   
            crate::protocol_serde::shape_list_source_repository_branches::ser_list_source_repository_branches_input(&input)?,
  243    243   
        );
  244    244   
        if let Some(content_length) = body.content_length() {
  245    245   
            let content_length = content_length.to_string();
  246         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         246  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  247    247   
        }
  248    248   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  249    249   
    }
  250    250   
}
  251    251   
#[derive(Debug)]
  252    252   
struct ListSourceRepositoryBranchesEndpointParamsInterceptor;
  253    253   
  254    254   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListSourceRepositoryBranchesEndpointParamsInterceptor {
  255    255   
    fn name(&self) -> &'static str {
  256    256   
        "ListSourceRepositoryBranchesEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_spaces.rs

@@ -153,153 +226,226 @@
  173    173   
                _input: &crate::operation::list_spaces::ListSpacesInput,
  174    174   
                output: &mut ::std::string::String,
  175    175   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  176    176   
                use ::std::fmt::Write as _;
  177    177   
                ::std::write!(output, "/v1/spaces").expect("formatting should succeed");
  178    178   
                ::std::result::Result::Ok(())
  179    179   
            }
  180    180   
            #[allow(clippy::unnecessary_wraps)]
  181    181   
            fn update_http_builder(
  182    182   
                input: &crate::operation::list_spaces::ListSpacesInput,
  183         -
                builder: ::http::request::Builder,
  184         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         183  +
                builder: ::http_1x::request::Builder,
         184  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  185    185   
                let mut uri = ::std::string::String::new();
  186    186   
                uri_base(input, &mut uri)?;
  187    187   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  188    188   
            }
  189         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  190         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         189  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         190  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/json");
  191    191   
            builder
  192    192   
        };
  193    193   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_list_spaces::ser_list_spaces_input(&input)?);
  194    194   
        if let Some(content_length) = body.content_length() {
  195    195   
            let content_length = content_length.to_string();
  196         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         196  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  197    197   
        }
  198    198   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  199    199   
    }
  200    200   
}
  201    201   
#[derive(Debug)]
  202    202   
struct ListSpacesEndpointParamsInterceptor;
  203    203   
  204    204   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListSpacesEndpointParamsInterceptor {
  205    205   
    fn name(&self) -> &'static str {
  206    206   
        "ListSpacesEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_workflow_runs.rs

@@ -205,205 +279,279 @@
  225    225   
                if let ::std::option::Option::Some(inner_5) = &_input.max_results {
  226    226   
                    {
  227    227   
                        query.push_kv("maxResults", ::aws_smithy_types::primitive::Encoder::from(*inner_5).encode());
  228    228   
                    }
  229    229   
                }
  230    230   
                ::std::result::Result::Ok(())
  231    231   
            }
  232    232   
            #[allow(clippy::unnecessary_wraps)]
  233    233   
            fn update_http_builder(
  234    234   
                input: &crate::operation::list_workflow_runs::ListWorkflowRunsInput,
  235         -
                builder: ::http::request::Builder,
  236         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         235  +
                builder: ::http_1x::request::Builder,
         236  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  237    237   
                let mut uri = ::std::string::String::new();
  238    238   
                uri_base(input, &mut uri)?;
  239    239   
                uri_query(input, &mut uri)?;
  240    240   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  241    241   
            }
  242         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  243         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         242  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         243  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/json");
  244    244   
            builder
  245    245   
        };
  246    246   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_list_workflow_runs::ser_list_workflow_runs_input(&input)?);
  247    247   
        if let Some(content_length) = body.content_length() {
  248    248   
            let content_length = content_length.to_string();
  249         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         249  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  250    250   
        }
  251    251   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  252    252   
    }
  253    253   
}
  254    254   
#[derive(Debug)]
  255    255   
struct ListWorkflowRunsEndpointParamsInterceptor;
  256    256   
  257    257   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListWorkflowRunsEndpointParamsInterceptor {
  258    258   
    fn name(&self) -> &'static str {
  259    259   
        "ListWorkflowRunsEndpointParamsInterceptor"

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_workflows.rs

@@ -200,200 +274,274 @@
  220    220   
                if let ::std::option::Option::Some(inner_4) = &_input.max_results {
  221    221   
                    {
  222    222   
                        query.push_kv("maxResults", ::aws_smithy_types::primitive::Encoder::from(*inner_4).encode());
  223    223   
                    }
  224    224   
                }
  225    225   
                ::std::result::Result::Ok(())
  226    226   
            }
  227    227   
            #[allow(clippy::unnecessary_wraps)]
  228    228   
            fn update_http_builder(
  229    229   
                input: &crate::operation::list_workflows::ListWorkflowsInput,
  230         -
                builder: ::http::request::Builder,
  231         -
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         230  +
                builder: ::http_1x::request::Builder,
         231  +
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  232    232   
                let mut uri = ::std::string::String::new();
  233    233   
                uri_base(input, &mut uri)?;
  234    234   
                uri_query(input, &mut uri)?;
  235    235   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  236    236   
            }
  237         -
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  238         -
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
         237  +
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
         238  +
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/json");
  239    239   
            builder
  240    240   
        };
  241    241   
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_list_workflows::ser_list_workflows_input(&input)?);
  242    242   
        if let Some(content_length) = body.content_length() {
  243    243   
            let content_length = content_length.to_string();
  244         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
         244  +
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  245    245   
        }
  246    246   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  247    247   
    }
  248    248   
}
  249    249   
#[derive(Debug)]
  250    250   
struct ListWorkflowsEndpointParamsInterceptor;
  251    251   
  252    252   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for ListWorkflowsEndpointParamsInterceptor {
  253    253   
    fn name(&self) -> &'static str {
  254    254   
        "ListWorkflowsEndpointParamsInterceptor"