AWS SDK

AWS SDK

rev. d06a46cae0f385cdae37a9f8264db3469a090ab5

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_list_regional_buckets.rs

@@ -10,10 +86,86 @@
   30     30   
        let mut output = crate::operation::list_regional_buckets::builders::ListRegionalBucketsOutputBuilder::default();
   31     31   
        output = crate::protocol_serde::shape_list_regional_buckets::de_list_regional_buckets(_response_body, output)
   32     32   
            .map_err(crate::operation::list_regional_buckets::ListRegionalBucketsError::unhandled)?;
   33     33   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   34     34   
        output.build()
   35     35   
    })
   36     36   
}
   37     37   
   38     38   
pub fn ser_list_regional_buckets_headers(
   39     39   
    input: &crate::operation::list_regional_buckets::ListRegionalBucketsInput,
   40         -
    mut builder: ::http::request::Builder,
   41         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          40  +
    mut builder: ::http_1x::request::Builder,
          41  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   42     42   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   43     43   
        let formatted_2 = inner_1.as_str();
   44     44   
        let header_value = formatted_2;
   45         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          45  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   46     46   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   47     47   
                "account_id",
   48     48   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   49     49   
            )
   50     50   
        })?;
   51     51   
        builder = builder.header("x-amz-account-id", header_value);
   52     52   
    }
   53     53   
    if let ::std::option::Option::Some(inner_3) = &input.outpost_id {
   54     54   
        let formatted_4 = inner_3.as_str();
   55     55   
        let header_value = formatted_4;
   56         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          56  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   57     57   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   58     58   
                "outpost_id",
   59     59   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   60     60   
            )
   61     61   
        })?;
   62     62   
        builder = builder.header("x-amz-outpost-id", header_value);
   63     63   
    }
   64     64   
    Ok(builder)
   65     65   
}
   66     66   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_list_storage_lens_configurations.rs

@@ -10,10 +75,75 @@
   30     30   
        let mut output = crate::operation::list_storage_lens_configurations::builders::ListStorageLensConfigurationsOutputBuilder::default();
   31     31   
        output = crate::protocol_serde::shape_list_storage_lens_configurations::de_list_storage_lens_configurations(_response_body, output)
   32     32   
            .map_err(crate::operation::list_storage_lens_configurations::ListStorageLensConfigurationsError::unhandled)?;
   33     33   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   34     34   
        output.build()
   35     35   
    })
   36     36   
}
   37     37   
   38     38   
pub fn ser_list_storage_lens_configurations_headers(
   39     39   
    input: &crate::operation::list_storage_lens_configurations::ListStorageLensConfigurationsInput,
   40         -
    mut builder: ::http::request::Builder,
   41         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          40  +
    mut builder: ::http_1x::request::Builder,
          41  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   42     42   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   43     43   
        let formatted_2 = inner_1.as_str();
   44     44   
        let header_value = formatted_2;
   45         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          45  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   46     46   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   47     47   
                "account_id",
   48     48   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   49     49   
            )
   50     50   
        })?;
   51     51   
        builder = builder.header("x-amz-account-id", header_value);
   52     52   
    }
   53     53   
    Ok(builder)
   54     54   
}
   55     55   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_list_storage_lens_groups.rs

@@ -10,10 +75,75 @@
   30     30   
        let mut output = crate::operation::list_storage_lens_groups::builders::ListStorageLensGroupsOutputBuilder::default();
   31     31   
        output = crate::protocol_serde::shape_list_storage_lens_groups::de_list_storage_lens_groups(_response_body, output)
   32     32   
            .map_err(crate::operation::list_storage_lens_groups::ListStorageLensGroupsError::unhandled)?;
   33     33   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   34     34   
        output.build()
   35     35   
    })
   36     36   
}
   37     37   
   38     38   
pub fn ser_list_storage_lens_groups_headers(
   39     39   
    input: &crate::operation::list_storage_lens_groups::ListStorageLensGroupsInput,
   40         -
    mut builder: ::http::request::Builder,
   41         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          40  +
    mut builder: ::http_1x::request::Builder,
          41  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   42     42   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   43     43   
        let formatted_2 = inner_1.as_str();
   44     44   
        let header_value = formatted_2;
   45         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          45  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   46     46   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   47     47   
                "account_id",
   48     48   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   49     49   
            )
   50     50   
        })?;
   51     51   
        builder = builder.header("x-amz-account-id", header_value);
   52     52   
    }
   53     53   
    Ok(builder)
   54     54   
}
   55     55   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_list_tags_for_resource.rs

@@ -10,10 +75,75 @@
   30     30   
        let mut output = crate::operation::list_tags_for_resource::builders::ListTagsForResourceOutputBuilder::default();
   31     31   
        output = crate::protocol_serde::shape_list_tags_for_resource::de_list_tags_for_resource(_response_body, output)
   32     32   
            .map_err(crate::operation::list_tags_for_resource::ListTagsForResourceError::unhandled)?;
   33     33   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   34     34   
        output.build()
   35     35   
    })
   36     36   
}
   37     37   
   38     38   
pub fn ser_list_tags_for_resource_headers(
   39     39   
    input: &crate::operation::list_tags_for_resource::ListTagsForResourceInput,
   40         -
    mut builder: ::http::request::Builder,
   41         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          40  +
    mut builder: ::http_1x::request::Builder,
          41  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   42     42   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   43     43   
        let formatted_2 = inner_1.as_str();
   44     44   
        let header_value = formatted_2;
   45         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          45  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   46     46   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   47     47   
                "account_id",
   48     48   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   49     49   
            )
   50     50   
        })?;
   51     51   
        builder = builder.header("x-amz-account-id", header_value);
   52     52   
    }
   53     53   
    Ok(builder)
   54     54   
}
   55     55   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_access_grants_instance_resource_policy.rs

@@ -14,14 +79,79 @@
   34     34   
            output,
   35     35   
        )
   36     36   
        .map_err(crate::operation::put_access_grants_instance_resource_policy::PutAccessGrantsInstanceResourcePolicyError::unhandled)?;
   37     37   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   38     38   
        output.build()
   39     39   
    })
   40     40   
}
   41     41   
   42     42   
pub fn ser_put_access_grants_instance_resource_policy_headers(
   43     43   
    input: &crate::operation::put_access_grants_instance_resource_policy::PutAccessGrantsInstanceResourcePolicyInput,
   44         -
    mut builder: ::http::request::Builder,
   45         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          44  +
    mut builder: ::http_1x::request::Builder,
          45  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   46     46   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   47     47   
        let formatted_2 = inner_1.as_str();
   48     48   
        let header_value = formatted_2;
   49         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          49  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   50     50   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   51     51   
                "account_id",
   52     52   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   53     53   
            )
   54     54   
        })?;
   55     55   
        builder = builder.header("x-amz-account-id", header_value);
   56     56   
    }
   57     57   
    Ok(builder)
   58     58   
}
   59     59   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_access_point_configuration_for_object_lambda.rs

@@ -8,8 +67,67 @@
   28     28   
    Ok({
   29     29   
        #[allow(unused_mut)]
   30     30   
        let mut output = crate::operation::put_access_point_configuration_for_object_lambda::builders::PutAccessPointConfigurationForObjectLambdaOutputBuilder::default();
   31     31   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   32     32   
        output.build()
   33     33   
    })
   34     34   
}
   35     35   
   36     36   
pub fn ser_put_access_point_configuration_for_object_lambda_headers(
   37     37   
    input: &crate::operation::put_access_point_configuration_for_object_lambda::PutAccessPointConfigurationForObjectLambdaInput,
   38         -
    mut builder: ::http::request::Builder,
   39         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          38  +
    mut builder: ::http_1x::request::Builder,
          39  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   40     40   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   41     41   
        let formatted_2 = inner_1.as_str();
   42     42   
        let header_value = formatted_2;
   43         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          43  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   44     44   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   45     45   
                "account_id",
   46     46   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   47     47   
            )
   48     48   
        })?;
   49     49   
        builder = builder.header("x-amz-account-id", header_value);
   50     50   
    }
   51     51   
    Ok(builder)
   52     52   
}
   53     53   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_access_point_policy.rs

@@ -8,8 +67,67 @@
   28     28   
    Ok({
   29     29   
        #[allow(unused_mut)]
   30     30   
        let mut output = crate::operation::put_access_point_policy::builders::PutAccessPointPolicyOutputBuilder::default();
   31     31   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   32     32   
        output.build()
   33     33   
    })
   34     34   
}
   35     35   
   36     36   
pub fn ser_put_access_point_policy_headers(
   37     37   
    input: &crate::operation::put_access_point_policy::PutAccessPointPolicyInput,
   38         -
    mut builder: ::http::request::Builder,
   39         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          38  +
    mut builder: ::http_1x::request::Builder,
          39  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   40     40   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   41     41   
        let formatted_2 = inner_1.as_str();
   42     42   
        let header_value = formatted_2;
   43         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          43  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   44     44   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   45     45   
                "account_id",
   46     46   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   47     47   
            )
   48     48   
        })?;
   49     49   
        builder = builder.header("x-amz-account-id", header_value);
   50     50   
    }
   51     51   
    Ok(builder)
   52     52   
}
   53     53   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_access_point_policy_for_object_lambda.rs

@@ -9,9 +70,70 @@
   29     29   
        #[allow(unused_mut)]
   30     30   
        let mut output =
   31     31   
            crate::operation::put_access_point_policy_for_object_lambda::builders::PutAccessPointPolicyForObjectLambdaOutputBuilder::default();
   32     32   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   33     33   
        output.build()
   34     34   
    })
   35     35   
}
   36     36   
   37     37   
pub fn ser_put_access_point_policy_for_object_lambda_headers(
   38     38   
    input: &crate::operation::put_access_point_policy_for_object_lambda::PutAccessPointPolicyForObjectLambdaInput,
   39         -
    mut builder: ::http::request::Builder,
   40         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          39  +
    mut builder: ::http_1x::request::Builder,
          40  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   41     41   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   42     42   
        let formatted_2 = inner_1.as_str();
   43     43   
        let header_value = formatted_2;
   44         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          44  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   45     45   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   46     46   
                "account_id",
   47     47   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   48     48   
            )
   49     49   
        })?;
   50     50   
        builder = builder.header("x-amz-account-id", header_value);
   51     51   
    }
   52     52   
    Ok(builder)
   53     53   
}
   54     54   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_access_point_scope.rs

@@ -8,8 +67,67 @@
   28     28   
    Ok({
   29     29   
        #[allow(unused_mut)]
   30     30   
        let mut output = crate::operation::put_access_point_scope::builders::PutAccessPointScopeOutputBuilder::default();
   31     31   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   32     32   
        output.build()
   33     33   
    })
   34     34   
}
   35     35   
   36     36   
pub fn ser_put_access_point_scope_headers(
   37     37   
    input: &crate::operation::put_access_point_scope::PutAccessPointScopeInput,
   38         -
    mut builder: ::http::request::Builder,
   39         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          38  +
    mut builder: ::http_1x::request::Builder,
          39  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   40     40   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   41     41   
        let formatted_2 = inner_1.as_str();
   42     42   
        let header_value = formatted_2;
   43         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          43  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   44     44   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   45     45   
                "account_id",
   46     46   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   47     47   
            )
   48     48   
        })?;
   49     49   
        builder = builder.header("x-amz-account-id", header_value);
   50     50   
    }
   51     51   
    Ok(builder)
   52     52   
}
   53     53   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_bucket_lifecycle_configuration.rs

@@ -8,8 +52,52 @@
   28     28   
    Ok({
   29     29   
        #[allow(unused_mut)]
   30     30   
        let mut output = crate::operation::put_bucket_lifecycle_configuration::builders::PutBucketLifecycleConfigurationOutputBuilder::default();
   31     31   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   32     32   
        output.build()
   33     33   
    })
   34     34   
}
   35     35   
   36     36   
pub fn ser_put_bucket_lifecycle_configuration_headers(
   37     37   
    input: &crate::operation::put_bucket_lifecycle_configuration::PutBucketLifecycleConfigurationInput,
   38         -
    mut builder: ::http::request::Builder,
   39         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          38  +
    mut builder: ::http_1x::request::Builder,
          39  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   40     40   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   41     41   
        let formatted_2 = inner_1.as_str();
   42     42   
        let header_value = formatted_2;
   43         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          43  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   44     44   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   45     45   
                "account_id",
   46     46   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   47     47   
            )
   48     48   
        })?;
   49     49   
        builder = builder.header("x-amz-account-id", header_value);
   50     50   
    }
   51     51   
    Ok(builder)
   52     52   
}

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_bucket_policy.rs

@@ -2,2 +73,73 @@
   22     22   
    Ok({
   23     23   
        #[allow(unused_mut)]
   24     24   
        let mut output = crate::operation::put_bucket_policy::builders::PutBucketPolicyOutputBuilder::default();
   25     25   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   26     26   
        output.build()
   27     27   
    })
   28     28   
}
   29     29   
   30     30   
pub fn ser_put_bucket_policy_headers(
   31     31   
    input: &crate::operation::put_bucket_policy::PutBucketPolicyInput,
   32         -
    mut builder: ::http::request::Builder,
   33         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          32  +
    mut builder: ::http_1x::request::Builder,
          33  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   34     34   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   35     35   
        let formatted_2 = inner_1.as_str();
   36     36   
        let header_value = formatted_2;
   37         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          37  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   38     38   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   39     39   
                "account_id",
   40     40   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   41     41   
            )
   42     42   
        })?;
   43     43   
        builder = builder.header("x-amz-account-id", header_value);
   44     44   
    }
   45     45   
    if let ::std::option::Option::Some(inner_3) = &input.confirm_remove_self_bucket_access {
   46     46   
        let mut encoder = ::aws_smithy_types::primitive::Encoder::from(*inner_3);
   47     47   
        let formatted_4 = encoder.encode();
   48     48   
        let header_value = formatted_4;
   49         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          49  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   50     50   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   51     51   
                "confirm_remove_self_bucket_access",
   52     52   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   53     53   
            )
   54     54   
        })?;
   55     55   
        builder = builder.header("x-amz-confirm-remove-self-bucket-access", header_value);
   56     56   
    }
   57     57   
    Ok(builder)
   58     58   
}
   59     59   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_bucket_replication.rs

@@ -8,8 +52,52 @@
   28     28   
    Ok({
   29     29   
        #[allow(unused_mut)]
   30     30   
        let mut output = crate::operation::put_bucket_replication::builders::PutBucketReplicationOutputBuilder::default();
   31     31   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   32     32   
        output.build()
   33     33   
    })
   34     34   
}
   35     35   
   36     36   
pub fn ser_put_bucket_replication_headers(
   37     37   
    input: &crate::operation::put_bucket_replication::PutBucketReplicationInput,
   38         -
    mut builder: ::http::request::Builder,
   39         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          38  +
    mut builder: ::http_1x::request::Builder,
          39  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   40     40   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   41     41   
        let formatted_2 = inner_1.as_str();
   42     42   
        let header_value = formatted_2;
   43         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          43  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   44     44   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   45     45   
                "account_id",
   46     46   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   47     47   
            )
   48     48   
        })?;
   49     49   
        builder = builder.header("x-amz-account-id", header_value);
   50     50   
    }
   51     51   
    Ok(builder)
   52     52   
}

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_bucket_tagging.rs

@@ -2,2 +46,46 @@
   22     22   
    Ok({
   23     23   
        #[allow(unused_mut)]
   24     24   
        let mut output = crate::operation::put_bucket_tagging::builders::PutBucketTaggingOutputBuilder::default();
   25     25   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   26     26   
        output.build()
   27     27   
    })
   28     28   
}
   29     29   
   30     30   
pub fn ser_put_bucket_tagging_headers(
   31     31   
    input: &crate::operation::put_bucket_tagging::PutBucketTaggingInput,
   32         -
    mut builder: ::http::request::Builder,
   33         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          32  +
    mut builder: ::http_1x::request::Builder,
          33  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   34     34   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   35     35   
        let formatted_2 = inner_1.as_str();
   36     36   
        let header_value = formatted_2;
   37         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          37  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   38     38   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   39     39   
                "account_id",
   40     40   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   41     41   
            )
   42     42   
        })?;
   43     43   
        builder = builder.header("x-amz-account-id", header_value);
   44     44   
    }
   45     45   
    Ok(builder)
   46     46   
}

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_bucket_versioning.rs

@@ -8,8 +63,63 @@
   28     28   
    Ok({
   29     29   
        #[allow(unused_mut)]
   30     30   
        let mut output = crate::operation::put_bucket_versioning::builders::PutBucketVersioningOutputBuilder::default();
   31     31   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   32     32   
        output.build()
   33     33   
    })
   34     34   
}
   35     35   
   36     36   
pub fn ser_put_bucket_versioning_headers(
   37     37   
    input: &crate::operation::put_bucket_versioning::PutBucketVersioningInput,
   38         -
    mut builder: ::http::request::Builder,
   39         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          38  +
    mut builder: ::http_1x::request::Builder,
          39  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   40     40   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   41     41   
        let formatted_2 = inner_1.as_str();
   42     42   
        let header_value = formatted_2;
   43         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          43  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   44     44   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   45     45   
                "account_id",
   46     46   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   47     47   
            )
   48     48   
        })?;
   49     49   
        builder = builder.header("x-amz-account-id", header_value);
   50     50   
    }
   51     51   
    if let ::std::option::Option::Some(inner_3) = &input.mfa {
   52     52   
        let formatted_4 = inner_3.as_str();
   53     53   
        let header_value = formatted_4;
   54         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          54  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   55     55   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   56     56   
                "mfa",
   57     57   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   58     58   
            )
   59     59   
        })?;
   60     60   
        builder = builder.header("x-amz-mfa", header_value);
   61     61   
    }
   62     62   
    Ok(builder)
   63     63   
}

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_job_tagging.rs

@@ -70,70 +129,129 @@
   90     90   
    Ok({
   91     91   
        #[allow(unused_mut)]
   92     92   
        let mut output = crate::operation::put_job_tagging::builders::PutJobTaggingOutputBuilder::default();
   93     93   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   94     94   
        output.build()
   95     95   
    })
   96     96   
}
   97     97   
   98     98   
pub fn ser_put_job_tagging_headers(
   99     99   
    input: &crate::operation::put_job_tagging::PutJobTaggingInput,
  100         -
    mut builder: ::http::request::Builder,
  101         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
         100  +
    mut builder: ::http_1x::request::Builder,
         101  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  102    102   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
  103    103   
        let formatted_2 = inner_1.as_str();
  104    104   
        let header_value = formatted_2;
  105         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
         105  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
  106    106   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
  107    107   
                "account_id",
  108    108   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
  109    109   
            )
  110    110   
        })?;
  111    111   
        builder = builder.header("x-amz-account-id", header_value);
  112    112   
    }
  113    113   
    Ok(builder)
  114    114   
}
  115    115   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/protocol_serde/shape_put_multi_region_access_point_policy.rs

@@ -10,10 +75,75 @@
   30     30   
        let mut output = crate::operation::put_multi_region_access_point_policy::builders::PutMultiRegionAccessPointPolicyOutputBuilder::default();
   31     31   
        output = crate::protocol_serde::shape_put_multi_region_access_point_policy::de_put_multi_region_access_point_policy(_response_body, output)
   32     32   
            .map_err(crate::operation::put_multi_region_access_point_policy::PutMultiRegionAccessPointPolicyError::unhandled)?;
   33     33   
        output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
   34     34   
        output.build()
   35     35   
    })
   36     36   
}
   37     37   
   38     38   
pub fn ser_put_multi_region_access_point_policy_headers(
   39     39   
    input: &crate::operation::put_multi_region_access_point_policy::PutMultiRegionAccessPointPolicyInput,
   40         -
    mut builder: ::http::request::Builder,
   41         -
) -> std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
          40  +
    mut builder: ::http_1x::request::Builder,
          41  +
) -> std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
   42     42   
    if let ::std::option::Option::Some(inner_1) = &input.account_id {
   43     43   
        let formatted_2 = inner_1.as_str();
   44     44   
        let header_value = formatted_2;
   45         -
        let header_value: ::http::HeaderValue = header_value.parse().map_err(|err| {
          45  +
        let header_value: ::http_1x::HeaderValue = header_value.parse().map_err(|err| {
   46     46   
            ::aws_smithy_types::error::operation::BuildError::invalid_field(
   47     47   
                "account_id",
   48     48   
                format!("`{}` cannot be used as a header value: {}", &header_value, err),
   49     49   
            )
   50     50   
        })?;
   51     51   
        builder = builder.header("x-amz-account-id", header_value);
   52     52   
    }
   53     53   
    Ok(builder)
   54     54   
}
   55     55