AWS SDK

AWS SDK

rev. 163d4d6410694aaf071424777ecbecd050925f36 (ignoring whitespace)

Files changed:

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

@@ -9,9 +136,175 @@
   29     29   
    "com.amazonaws.s3.synthetic",
   30     30   
    "DeleteBucketEncryptionInput",
   31     31   
);
   32     32   
static DELETEBUCKETENCRYPTIONINPUT_MEMBER_BUCKET: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   33     33   
    ::aws_smithy_schema::ShapeId::from_static(
   34     34   
        "com.amazonaws.s3.synthetic#DeleteBucketEncryptionInput$Bucket",
   35     35   
        "com.amazonaws.s3.synthetic",
   36     36   
        "DeleteBucketEncryptionInput",
   37     37   
    ),
   38     38   
    ::aws_smithy_schema::ShapeType::String,
   39         -
    "bucket",
          39  +
    "Bucket",
   40     40   
    0,
   41     41   
)
   42     42   
.with_http_label();
   43     43   
static DELETEBUCKETENCRYPTIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   44     44   
    ::aws_smithy_schema::ShapeId::from_static(
   45     45   
        "com.amazonaws.s3.synthetic#DeleteBucketEncryptionInput$ExpectedBucketOwner",
   46     46   
        "com.amazonaws.s3.synthetic",
   47     47   
        "DeleteBucketEncryptionInput",
   48     48   
    ),
   49     49   
    ::aws_smithy_schema::ShapeType::String,
   50         -
    "expected_bucket_owner",
          50  +
    "ExpectedBucketOwner",
   51     51   
    1,
   52     52   
)
   53     53   
.with_http_header("x-amz-expected-bucket-owner");
   54     54   
static DELETEBUCKETENCRYPTIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   55     55   
    DELETEBUCKETENCRYPTIONINPUT_SCHEMA_ID,
   56     56   
    ::aws_smithy_schema::ShapeType::Structure,
   57     57   
    &[
   58     58   
        &DELETEBUCKETENCRYPTIONINPUT_MEMBER_BUCKET,
   59     59   
        &DELETEBUCKETENCRYPTIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER,
   60     60   
    ],
   61         -
);
          61  +
)
          62  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("DELETE", "/?encryption", Some(204)));
   62     63   
impl DeleteBucketEncryptionInput {
   63     64   
    /// The schema for this shape.
   64     65   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETENCRYPTIONINPUT_SCHEMA;
   65     66   
}
   66     67   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketEncryptionInput {
   67     68   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   68     69   
    fn serialize_members(
   69     70   
        &self,
   70     71   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   71     72   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   72     73   
        if let Some(ref val) = self.bucket {
   73     74   
            ser.write_string(&DELETEBUCKETENCRYPTIONINPUT_MEMBER_BUCKET, val)?;
   74     75   
        }
   75     76   
        if let Some(ref val) = self.expected_bucket_owner {
   76     77   
            ser.write_string(&DELETEBUCKETENCRYPTIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER, val)?;
   77     78   
        }
   78     79   
        Ok(())
   79     80   
    }
   80     81   
}
   81     82   
impl DeleteBucketEncryptionInput {
   82     83   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   83         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   84         -
        deserializer: &mut D,
          84  +
    pub fn deserialize(
          85  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   85     86   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   86     87   
        #[allow(unused_variables, unused_mut)]
   87     88   
        let mut builder = Self::builder();
   88     89   
        #[allow(
   89     90   
            unused_variables,
   90     91   
            unreachable_code,
   91     92   
            clippy::single_match,
   92     93   
            clippy::match_single_binding,
   93     94   
            clippy::diverging_sub_expression
   94     95   
        )]
   95         -
        deserializer.read_struct(&DELETEBUCKETENCRYPTIONINPUT_SCHEMA, (), |_, member, deser| {
          96  +
        deserializer.read_struct(&DELETEBUCKETENCRYPTIONINPUT_SCHEMA, &mut |member, deser| {
   96     97   
            match member.member_index() {
   97     98   
                Some(0) => {
   98     99   
                    builder.bucket = Some(deser.read_string(member)?);
   99    100   
                }
  100    101   
                Some(1) => {
  101    102   
                    builder.expected_bucket_owner = Some(deser.read_string(member)?);
  102    103   
                }
  103    104   
                _ => {}
  104    105   
            }
  105    106   
            Ok(())
  106    107   
        })?;
         108  +
        builder.bucket = builder.bucket.or(Some(String::new()));
         109  +
        builder
         110  +
            .build()
         111  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         112  +
    }
         113  +
}
         114  +
impl DeleteBucketEncryptionInput {
         115  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         116  +
    /// Header-bound members are read directly from headers, avoiding runtime
         117  +
    /// member iteration overhead. Body members are read via the deserializer.
         118  +
    pub fn deserialize_with_response(
         119  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         120  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         121  +
        _status: u16,
         122  +
        _body: &[u8],
         123  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         124  +
        #[allow(unused_variables, unused_mut)]
         125  +
        let mut builder = Self::builder();
         126  +
        if let Some(val) = headers.get("x-amz-expected-bucket-owner") {
         127  +
            builder.expected_bucket_owner = Some(val.to_string());
         128  +
        }
         129  +
        #[allow(
         130  +
            unused_variables,
         131  +
            unreachable_code,
         132  +
            clippy::single_match,
         133  +
            clippy::match_single_binding,
         134  +
            clippy::diverging_sub_expression
         135  +
        )]
         136  +
        deserializer.read_struct(&DELETEBUCKETENCRYPTIONINPUT_SCHEMA, &mut |member, deser| {
         137  +
            match member.member_index() {
         138  +
                Some(0) => {
         139  +
                    builder.bucket = Some(deser.read_string(member)?);
         140  +
                }
         141  +
                Some(1) => { /* read from headers above */ }
         142  +
                _ => {}
         143  +
            }
         144  +
            Ok(())
         145  +
        })?;
  107    146   
        builder
  108    147   
            .build()
  109    148   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  110    149   
    }
  111    150   
}
  112    151   
impl DeleteBucketEncryptionInput {
  113    152   
    /// Creates a new builder-style object to manufacture [`DeleteBucketEncryptionInput`](crate::operation::delete_bucket_encryption::DeleteBucketEncryptionInput).
  114    153   
    pub fn builder() -> crate::operation::delete_bucket_encryption::builders::DeleteBucketEncryptionInputBuilder {
  115    154   
        crate::operation::delete_bucket_encryption::builders::DeleteBucketEncryptionInputBuilder::default()
  116    155   
    }

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

@@ -1,1 +81,112 @@
    4      4   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5      5   
pub struct DeleteBucketEncryptionOutput {
    6      6   
    _extended_request_id: Option<String>,
    7      7   
    _request_id: Option<String>,
    8      8   
}
    9      9   
static DELETEBUCKETENCRYPTIONOUTPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
   10     10   
    "com.amazonaws.s3.synthetic#DeleteBucketEncryptionOutput",
   11     11   
    "com.amazonaws.s3.synthetic",
   12     12   
    "DeleteBucketEncryptionOutput",
   13     13   
);
   14         -
static DELETEBUCKETENCRYPTIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema =
   15         -
    ::aws_smithy_schema::Schema::new_struct(DELETEBUCKETENCRYPTIONOUTPUT_SCHEMA_ID, ::aws_smithy_schema::ShapeType::Structure, &[]);
          14  +
static DELETEBUCKETENCRYPTIONOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          15  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          16  +
    ::aws_smithy_schema::ShapeType::String,
          17  +
    "request_id",
          18  +
    0,
          19  +
)
          20  +
.with_http_header("x-amzn-requestid");
          21  +
static DELETEBUCKETENCRYPTIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
          22  +
    DELETEBUCKETENCRYPTIONOUTPUT_SCHEMA_ID,
          23  +
    ::aws_smithy_schema::ShapeType::Structure,
          24  +
    &[&DELETEBUCKETENCRYPTIONOUTPUT_MEMBER__REQUEST_ID],
          25  +
);
   16     26   
impl DeleteBucketEncryptionOutput {
   17     27   
    /// The schema for this shape.
   18     28   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETENCRYPTIONOUTPUT_SCHEMA;
   19     29   
}
   20     30   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketEncryptionOutput {
   21     31   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   22     32   
    fn serialize_members(
   23     33   
        &self,
   24     34   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   25     35   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   26     36   
        Ok(())
   27     37   
    }
   28     38   
}
   29     39   
impl DeleteBucketEncryptionOutput {
   30     40   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   31         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   32         -
        deserializer: &mut D,
          41  +
    pub fn deserialize(
          42  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   33     43   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   34     44   
        #[allow(unused_variables, unused_mut)]
   35     45   
        let mut builder = Self::builder();
   36     46   
        #[allow(
   37     47   
            unused_variables,
   38     48   
            unreachable_code,
   39     49   
            clippy::single_match,
   40     50   
            clippy::match_single_binding,
   41     51   
            clippy::diverging_sub_expression
   42     52   
        )]
   43         -
        deserializer.read_struct(&DELETEBUCKETENCRYPTIONOUTPUT_SCHEMA, (), |_, member, deser| {
          53  +
        deserializer.read_struct(&DELETEBUCKETENCRYPTIONOUTPUT_SCHEMA, &mut |member, deser| {
   44     54   
            match member.member_index() {
          55  +
                Some(0) => {
          56  +
                    builder._request_id = Some(deser.read_string(member)?);
          57  +
                }
   45     58   
                _ => {}
   46     59   
            }
   47     60   
            Ok(())
   48     61   
        })?;
   49     62   
        Ok(builder.build())
   50     63   
    }
   51     64   
}
          65  +
impl DeleteBucketEncryptionOutput {
          66  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
          67  +
    /// Header-bound members are read directly from headers, avoiding runtime
          68  +
    /// member iteration overhead. Body members are read via the deserializer.
          69  +
    pub fn deserialize_with_response(
          70  +
        _deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          71  +
        headers: &::aws_smithy_runtime_api::http::Headers,
          72  +
        _status: u16,
          73  +
        _body: &[u8],
          74  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          75  +
        #[allow(unused_variables, unused_mut)]
          76  +
        let mut builder = Self::builder();
          77  +
        if let Some(val) = headers.get("x-amzn-requestid") {
          78  +
            builder._request_id = Some(val.to_string());
          79  +
        }
          80  +
        Ok(builder.build())
          81  +
    }
          82  +
}
   52     83   
impl crate::s3_request_id::RequestIdExt for DeleteBucketEncryptionOutput {
   53     84   
    fn extended_request_id(&self) -> Option<&str> {
   54     85   
        self._extended_request_id.as_deref()
   55     86   
    }
   56     87   
}
   57     88   
impl ::aws_types::request_id::RequestId for DeleteBucketEncryptionOutput {
   58     89   
    fn request_id(&self) -> Option<&str> {
   59     90   
        self._request_id.as_deref()
   60     91   
    }
   61     92   
}

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

@@ -1,1 +40,46 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
/// Orchestration and serialization glue logic for `DeleteBucketIntelligentTieringConfiguration`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteBucketIntelligentTieringConfiguration;
    6      6   
impl DeleteBucketIntelligentTieringConfiguration {
    7      7   
    /// Creates a new `DeleteBucketIntelligentTieringConfiguration`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          13  +
        crate::operation::delete_bucket_intelligent_tiering_configuration::DeleteBucketIntelligentTieringConfigurationInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::delete_bucket_intelligent_tiering_configuration::DeleteBucketIntelligentTieringConfigurationOutput::SCHEMA;
   11     17   
    pub(crate) async fn orchestrate(
   12     18   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     19   
        input: crate::operation::delete_bucket_intelligent_tiering_configuration::DeleteBucketIntelligentTieringConfigurationInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::delete_bucket_intelligent_tiering_configuration::DeleteBucketIntelligentTieringConfigurationOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::delete_bucket_intelligent_tiering_configuration::DeleteBucketIntelligentTieringConfigurationError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -136,142 +195,202 @@
  156    162   
        ::std::borrow::Cow::Owned(rcb)
  157    163   
    }
  158    164   
}
  159    165   
  160    166   
#[derive(Debug)]
  161    167   
struct DeleteBucketIntelligentTieringConfigurationResponseDeserializer;
  162    168   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteBucketIntelligentTieringConfigurationResponseDeserializer {
  163    169   
    fn deserialize_nonstreaming(
  164    170   
        &self,
  165    171   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         172  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  166    173   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  167    174   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  168    175   
        let headers = response.headers();
  169    176   
        let body = response.body().bytes().expect("body loaded");
  170    177   
        #[allow(unused_mut)]
  171    178   
        let mut force_error = false;
  172    179   
        ::tracing::debug!(extended_request_id = ?crate::s3_request_id::RequestIdExt::extended_request_id(response));
  173    180   
        if matches!(crate::rest_xml_unwrapped_errors::body_is_error(body), Ok(true)) {
  174    181   
            force_error = true;
  175    182   
        }

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

@@ -9,9 +155,198 @@
   29     29   
    "com.amazonaws.s3.synthetic",
   30     30   
    "DeleteBucketIntelligentTieringConfigurationInput",
   31     31   
);
   32     32   
static DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_MEMBER_BUCKET: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   33     33   
    ::aws_smithy_schema::ShapeId::from_static(
   34     34   
        "com.amazonaws.s3.synthetic#DeleteBucketIntelligentTieringConfigurationInput$Bucket",
   35     35   
        "com.amazonaws.s3.synthetic",
   36     36   
        "DeleteBucketIntelligentTieringConfigurationInput",
   37     37   
    ),
   38     38   
    ::aws_smithy_schema::ShapeType::String,
   39         -
    "bucket",
          39  +
    "Bucket",
   40     40   
    0,
   41     41   
)
   42     42   
.with_http_label();
   43     43   
static DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_MEMBER_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   44     44   
    ::aws_smithy_schema::ShapeId::from_static(
   45     45   
        "com.amazonaws.s3.synthetic#DeleteBucketIntelligentTieringConfigurationInput$Id",
   46     46   
        "com.amazonaws.s3.synthetic",
   47     47   
        "DeleteBucketIntelligentTieringConfigurationInput",
   48     48   
    ),
   49     49   
    ::aws_smithy_schema::ShapeType::String,
   50         -
    "id",
          50  +
    "Id",
   51     51   
    1,
   52     52   
)
   53     53   
.with_http_query("id");
   54     54   
static DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER: ::aws_smithy_schema::Schema =
   55     55   
    ::aws_smithy_schema::Schema::new_member(
   56     56   
        ::aws_smithy_schema::ShapeId::from_static(
   57     57   
            "com.amazonaws.s3.synthetic#DeleteBucketIntelligentTieringConfigurationInput$ExpectedBucketOwner",
   58     58   
            "com.amazonaws.s3.synthetic",
   59     59   
            "DeleteBucketIntelligentTieringConfigurationInput",
   60     60   
        ),
   61     61   
        ::aws_smithy_schema::ShapeType::String,
   62         -
        "expected_bucket_owner",
          62  +
        "ExpectedBucketOwner",
   63     63   
        2,
   64     64   
    )
   65     65   
    .with_http_header("x-amz-expected-bucket-owner");
   66     66   
static DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   67     67   
    DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_SCHEMA_ID,
   68     68   
    ::aws_smithy_schema::ShapeType::Structure,
   69     69   
    &[
   70     70   
        &DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_MEMBER_BUCKET,
   71     71   
        &DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_MEMBER_ID,
   72     72   
        &DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER,
   73     73   
    ],
   74         -
);
          74  +
)
          75  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("DELETE", "/?intelligent-tiering", Some(204)));
   75     76   
impl DeleteBucketIntelligentTieringConfigurationInput {
   76     77   
    /// The schema for this shape.
   77     78   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_SCHEMA;
   78     79   
}
   79     80   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketIntelligentTieringConfigurationInput {
   80     81   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   81     82   
    fn serialize_members(
   82     83   
        &self,
   83     84   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   84     85   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   85     86   
        if let Some(ref val) = self.bucket {
   86     87   
            ser.write_string(&DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_MEMBER_BUCKET, val)?;
   87     88   
        }
   88     89   
        if let Some(ref val) = self.id {
   89     90   
            ser.write_string(&DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_MEMBER_ID, val)?;
   90     91   
        }
   91     92   
        if let Some(ref val) = self.expected_bucket_owner {
   92     93   
            ser.write_string(&DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER, val)?;
   93     94   
        }
   94     95   
        Ok(())
   95     96   
    }
   96     97   
}
   97     98   
impl DeleteBucketIntelligentTieringConfigurationInput {
   98     99   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   99         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  100         -
        deserializer: &mut D,
         100  +
    pub fn deserialize(
         101  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  101    102   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  102    103   
        #[allow(unused_variables, unused_mut)]
  103    104   
        let mut builder = Self::builder();
  104    105   
        #[allow(
  105    106   
            unused_variables,
  106    107   
            unreachable_code,
  107    108   
            clippy::single_match,
  108    109   
            clippy::match_single_binding,
  109    110   
            clippy::diverging_sub_expression
  110    111   
        )]
  111         -
        deserializer.read_struct(&DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_SCHEMA, (), |_, member, deser| {
         112  +
        deserializer.read_struct(&DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_SCHEMA, &mut |member, deser| {
  112    113   
            match member.member_index() {
  113    114   
                Some(0) => {
  114    115   
                    builder.bucket = Some(deser.read_string(member)?);
  115    116   
                }
  116    117   
                Some(1) => {
  117    118   
                    builder.id = Some(deser.read_string(member)?);
  118    119   
                }
  119    120   
                Some(2) => {
  120    121   
                    builder.expected_bucket_owner = Some(deser.read_string(member)?);
  121    122   
                }
  122    123   
                _ => {}
  123    124   
            }
  124    125   
            Ok(())
  125    126   
        })?;
         127  +
        builder.bucket = builder.bucket.or(Some(String::new()));
         128  +
        builder.id = builder.id.or(Some(String::new()));
         129  +
        builder
         130  +
            .build()
         131  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         132  +
    }
         133  +
}
         134  +
impl DeleteBucketIntelligentTieringConfigurationInput {
         135  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         136  +
    /// Header-bound members are read directly from headers, avoiding runtime
         137  +
    /// member iteration overhead. Body members are read via the deserializer.
         138  +
    pub fn deserialize_with_response(
         139  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         140  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         141  +
        _status: u16,
         142  +
        _body: &[u8],
         143  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         144  +
        #[allow(unused_variables, unused_mut)]
         145  +
        let mut builder = Self::builder();
         146  +
        if let Some(val) = headers.get("x-amz-expected-bucket-owner") {
         147  +
            builder.expected_bucket_owner = Some(val.to_string());
         148  +
        }
         149  +
        #[allow(
         150  +
            unused_variables,
         151  +
            unreachable_code,
         152  +
            clippy::single_match,
         153  +
            clippy::match_single_binding,
         154  +
            clippy::diverging_sub_expression
         155  +
        )]
         156  +
        deserializer.read_struct(&DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONINPUT_SCHEMA, &mut |member, deser| {
         157  +
            match member.member_index() {
         158  +
                Some(0) => {
         159  +
                    builder.bucket = Some(deser.read_string(member)?);
         160  +
                }
         161  +
                Some(1) => {
         162  +
                    builder.id = Some(deser.read_string(member)?);
         163  +
                }
         164  +
                Some(2) => { /* read from headers above */ }
         165  +
                _ => {}
         166  +
            }
         167  +
            Ok(())
         168  +
        })?;
  126    169   
        builder
  127    170   
            .build()
  128    171   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  129    172   
    }
  130    173   
}
  131    174   
impl DeleteBucketIntelligentTieringConfigurationInput {
  132    175   
    /// Creates a new builder-style object to manufacture [`DeleteBucketIntelligentTieringConfigurationInput`](crate::operation::delete_bucket_intelligent_tiering_configuration::DeleteBucketIntelligentTieringConfigurationInput).
  133    176   
    pub fn builder(
  134    177   
    ) -> crate::operation::delete_bucket_intelligent_tiering_configuration::builders::DeleteBucketIntelligentTieringConfigurationInputBuilder {
  135    178   
        crate::operation::delete_bucket_intelligent_tiering_configuration::builders::DeleteBucketIntelligentTieringConfigurationInputBuilder::default(

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

@@ -1,1 +84,112 @@
    4      4   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5      5   
pub struct DeleteBucketIntelligentTieringConfigurationOutput {
    6      6   
    _extended_request_id: Option<String>,
    7      7   
    _request_id: Option<String>,
    8      8   
}
    9      9   
static DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONOUTPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
   10     10   
    "com.amazonaws.s3.synthetic#DeleteBucketIntelligentTieringConfigurationOutput",
   11     11   
    "com.amazonaws.s3.synthetic",
   12     12   
    "DeleteBucketIntelligentTieringConfigurationOutput",
   13     13   
);
          14  +
static DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          15  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          16  +
    ::aws_smithy_schema::ShapeType::String,
          17  +
    "request_id",
          18  +
    0,
          19  +
)
          20  +
.with_http_header("x-amzn-requestid");
   14     21   
static DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   15     22   
    DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONOUTPUT_SCHEMA_ID,
   16     23   
    ::aws_smithy_schema::ShapeType::Structure,
   17         -
    &[],
          24  +
    &[&DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONOUTPUT_MEMBER__REQUEST_ID],
   18     25   
);
   19     26   
impl DeleteBucketIntelligentTieringConfigurationOutput {
   20     27   
    /// The schema for this shape.
   21     28   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONOUTPUT_SCHEMA;
   22     29   
}
   23     30   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketIntelligentTieringConfigurationOutput {
   24     31   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   25     32   
    fn serialize_members(
   26     33   
        &self,
   27     34   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   28     35   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   29     36   
        Ok(())
   30     37   
    }
   31     38   
}
   32     39   
impl DeleteBucketIntelligentTieringConfigurationOutput {
   33     40   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   34         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   35         -
        deserializer: &mut D,
          41  +
    pub fn deserialize(
          42  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   36     43   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   37     44   
        #[allow(unused_variables, unused_mut)]
   38     45   
        let mut builder = Self::builder();
   39     46   
        #[allow(
   40     47   
            unused_variables,
   41     48   
            unreachable_code,
   42     49   
            clippy::single_match,
   43     50   
            clippy::match_single_binding,
   44     51   
            clippy::diverging_sub_expression
   45     52   
        )]
   46         -
        deserializer.read_struct(&DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONOUTPUT_SCHEMA, (), |_, member, deser| {
          53  +
        deserializer.read_struct(&DELETEBUCKETINTELLIGENTTIERINGCONFIGURATIONOUTPUT_SCHEMA, &mut |member, deser| {
   47     54   
            match member.member_index() {
          55  +
                Some(0) => {
          56  +
                    builder._request_id = Some(deser.read_string(member)?);
          57  +
                }
   48     58   
                _ => {}
   49     59   
            }
   50     60   
            Ok(())
   51     61   
        })?;
   52     62   
        Ok(builder.build())
   53     63   
    }
   54     64   
}
          65  +
impl DeleteBucketIntelligentTieringConfigurationOutput {
          66  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
          67  +
    /// Header-bound members are read directly from headers, avoiding runtime
          68  +
    /// member iteration overhead. Body members are read via the deserializer.
          69  +
    pub fn deserialize_with_response(
          70  +
        _deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          71  +
        headers: &::aws_smithy_runtime_api::http::Headers,
          72  +
        _status: u16,
          73  +
        _body: &[u8],
          74  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          75  +
        #[allow(unused_variables, unused_mut)]
          76  +
        let mut builder = Self::builder();
          77  +
        if let Some(val) = headers.get("x-amzn-requestid") {
          78  +
            builder._request_id = Some(val.to_string());
          79  +
        }
          80  +
        Ok(builder.build())
          81  +
    }
          82  +
}
   55     83   
impl crate::s3_request_id::RequestIdExt for DeleteBucketIntelligentTieringConfigurationOutput {
   56     84   
    fn extended_request_id(&self) -> Option<&str> {
   57     85   
        self._extended_request_id.as_deref()
   58     86   
    }
   59     87   
}
   60     88   
impl ::aws_types::request_id::RequestId for DeleteBucketIntelligentTieringConfigurationOutput {
   61     89   
    fn request_id(&self) -> Option<&str> {
   62     90   
        self._request_id.as_deref()
   63     91   
    }
   64     92   
}

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

@@ -1,1 +40,46 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
/// Orchestration and serialization glue logic for `DeleteBucketInventoryConfiguration`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteBucketInventoryConfiguration;
    6      6   
impl DeleteBucketInventoryConfiguration {
    7      7   
    /// Creates a new `DeleteBucketInventoryConfiguration`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          13  +
        crate::operation::delete_bucket_inventory_configuration::DeleteBucketInventoryConfigurationInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::delete_bucket_inventory_configuration::DeleteBucketInventoryConfigurationOutput::SCHEMA;
   11     17   
    pub(crate) async fn orchestrate(
   12     18   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     19   
        input: crate::operation::delete_bucket_inventory_configuration::DeleteBucketInventoryConfigurationInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::delete_bucket_inventory_configuration::DeleteBucketInventoryConfigurationOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::delete_bucket_inventory_configuration::DeleteBucketInventoryConfigurationError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -135,141 +194,201 @@
  155    161   
        ::std::borrow::Cow::Owned(rcb)
  156    162   
    }
  157    163   
}
  158    164   
  159    165   
#[derive(Debug)]
  160    166   
struct DeleteBucketInventoryConfigurationResponseDeserializer;
  161    167   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteBucketInventoryConfigurationResponseDeserializer {
  162    168   
    fn deserialize_nonstreaming(
  163    169   
        &self,
  164    170   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         171  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  165    172   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  166    173   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  167    174   
        let headers = response.headers();
  168    175   
        let body = response.body().bytes().expect("body loaded");
  169    176   
        #[allow(unused_mut)]
  170    177   
        let mut force_error = false;
  171    178   
        ::tracing::debug!(extended_request_id = ?crate::s3_request_id::RequestIdExt::extended_request_id(response));
  172    179   
        if matches!(crate::rest_xml_unwrapped_errors::body_is_error(body), Ok(true)) {
  173    180   
            force_error = true;
  174    181   
        }

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

@@ -9,9 +154,197 @@
   29     29   
    "com.amazonaws.s3.synthetic",
   30     30   
    "DeleteBucketInventoryConfigurationInput",
   31     31   
);
   32     32   
static DELETEBUCKETINVENTORYCONFIGURATIONINPUT_MEMBER_BUCKET: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   33     33   
    ::aws_smithy_schema::ShapeId::from_static(
   34     34   
        "com.amazonaws.s3.synthetic#DeleteBucketInventoryConfigurationInput$Bucket",
   35     35   
        "com.amazonaws.s3.synthetic",
   36     36   
        "DeleteBucketInventoryConfigurationInput",
   37     37   
    ),
   38     38   
    ::aws_smithy_schema::ShapeType::String,
   39         -
    "bucket",
          39  +
    "Bucket",
   40     40   
    0,
   41     41   
)
   42     42   
.with_http_label();
   43     43   
static DELETEBUCKETINVENTORYCONFIGURATIONINPUT_MEMBER_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   44     44   
    ::aws_smithy_schema::ShapeId::from_static(
   45     45   
        "com.amazonaws.s3.synthetic#DeleteBucketInventoryConfigurationInput$Id",
   46     46   
        "com.amazonaws.s3.synthetic",
   47     47   
        "DeleteBucketInventoryConfigurationInput",
   48     48   
    ),
   49     49   
    ::aws_smithy_schema::ShapeType::String,
   50         -
    "id",
          50  +
    "Id",
   51     51   
    1,
   52     52   
)
   53     53   
.with_http_query("id");
   54     54   
static DELETEBUCKETINVENTORYCONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   55     55   
    ::aws_smithy_schema::ShapeId::from_static(
   56     56   
        "com.amazonaws.s3.synthetic#DeleteBucketInventoryConfigurationInput$ExpectedBucketOwner",
   57     57   
        "com.amazonaws.s3.synthetic",
   58     58   
        "DeleteBucketInventoryConfigurationInput",
   59     59   
    ),
   60     60   
    ::aws_smithy_schema::ShapeType::String,
   61         -
    "expected_bucket_owner",
          61  +
    "ExpectedBucketOwner",
   62     62   
    2,
   63     63   
)
   64     64   
.with_http_header("x-amz-expected-bucket-owner");
   65     65   
static DELETEBUCKETINVENTORYCONFIGURATIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   66     66   
    DELETEBUCKETINVENTORYCONFIGURATIONINPUT_SCHEMA_ID,
   67     67   
    ::aws_smithy_schema::ShapeType::Structure,
   68     68   
    &[
   69     69   
        &DELETEBUCKETINVENTORYCONFIGURATIONINPUT_MEMBER_BUCKET,
   70     70   
        &DELETEBUCKETINVENTORYCONFIGURATIONINPUT_MEMBER_ID,
   71     71   
        &DELETEBUCKETINVENTORYCONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER,
   72     72   
    ],
   73         -
);
          73  +
)
          74  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("DELETE", "/?inventory", Some(204)));
   74     75   
impl DeleteBucketInventoryConfigurationInput {
   75     76   
    /// The schema for this shape.
   76     77   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETINVENTORYCONFIGURATIONINPUT_SCHEMA;
   77     78   
}
   78     79   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketInventoryConfigurationInput {
   79     80   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   80     81   
    fn serialize_members(
   81     82   
        &self,
   82     83   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   83     84   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   84     85   
        if let Some(ref val) = self.bucket {
   85     86   
            ser.write_string(&DELETEBUCKETINVENTORYCONFIGURATIONINPUT_MEMBER_BUCKET, val)?;
   86     87   
        }
   87     88   
        if let Some(ref val) = self.id {
   88     89   
            ser.write_string(&DELETEBUCKETINVENTORYCONFIGURATIONINPUT_MEMBER_ID, val)?;
   89     90   
        }
   90     91   
        if let Some(ref val) = self.expected_bucket_owner {
   91     92   
            ser.write_string(&DELETEBUCKETINVENTORYCONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER, val)?;
   92     93   
        }
   93     94   
        Ok(())
   94     95   
    }
   95     96   
}
   96     97   
impl DeleteBucketInventoryConfigurationInput {
   97     98   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   98         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   99         -
        deserializer: &mut D,
          99  +
    pub fn deserialize(
         100  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  100    101   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  101    102   
        #[allow(unused_variables, unused_mut)]
  102    103   
        let mut builder = Self::builder();
  103    104   
        #[allow(
  104    105   
            unused_variables,
  105    106   
            unreachable_code,
  106    107   
            clippy::single_match,
  107    108   
            clippy::match_single_binding,
  108    109   
            clippy::diverging_sub_expression
  109    110   
        )]
  110         -
        deserializer.read_struct(&DELETEBUCKETINVENTORYCONFIGURATIONINPUT_SCHEMA, (), |_, member, deser| {
         111  +
        deserializer.read_struct(&DELETEBUCKETINVENTORYCONFIGURATIONINPUT_SCHEMA, &mut |member, deser| {
  111    112   
            match member.member_index() {
  112    113   
                Some(0) => {
  113    114   
                    builder.bucket = Some(deser.read_string(member)?);
  114    115   
                }
  115    116   
                Some(1) => {
  116    117   
                    builder.id = Some(deser.read_string(member)?);
  117    118   
                }
  118    119   
                Some(2) => {
  119    120   
                    builder.expected_bucket_owner = Some(deser.read_string(member)?);
  120    121   
                }
  121    122   
                _ => {}
  122    123   
            }
  123    124   
            Ok(())
  124    125   
        })?;
         126  +
        builder.bucket = builder.bucket.or(Some(String::new()));
         127  +
        builder.id = builder.id.or(Some(String::new()));
         128  +
        builder
         129  +
            .build()
         130  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         131  +
    }
         132  +
}
         133  +
impl DeleteBucketInventoryConfigurationInput {
         134  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         135  +
    /// Header-bound members are read directly from headers, avoiding runtime
         136  +
    /// member iteration overhead. Body members are read via the deserializer.
         137  +
    pub fn deserialize_with_response(
         138  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         139  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         140  +
        _status: u16,
         141  +
        _body: &[u8],
         142  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         143  +
        #[allow(unused_variables, unused_mut)]
         144  +
        let mut builder = Self::builder();
         145  +
        if let Some(val) = headers.get("x-amz-expected-bucket-owner") {
         146  +
            builder.expected_bucket_owner = Some(val.to_string());
         147  +
        }
         148  +
        #[allow(
         149  +
            unused_variables,
         150  +
            unreachable_code,
         151  +
            clippy::single_match,
         152  +
            clippy::match_single_binding,
         153  +
            clippy::diverging_sub_expression
         154  +
        )]
         155  +
        deserializer.read_struct(&DELETEBUCKETINVENTORYCONFIGURATIONINPUT_SCHEMA, &mut |member, deser| {
         156  +
            match member.member_index() {
         157  +
                Some(0) => {
         158  +
                    builder.bucket = Some(deser.read_string(member)?);
         159  +
                }
         160  +
                Some(1) => {
         161  +
                    builder.id = Some(deser.read_string(member)?);
         162  +
                }
         163  +
                Some(2) => { /* read from headers above */ }
         164  +
                _ => {}
         165  +
            }
         166  +
            Ok(())
         167  +
        })?;
  125    168   
        builder
  126    169   
            .build()
  127    170   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  128    171   
    }
  129    172   
}
  130    173   
impl DeleteBucketInventoryConfigurationInput {
  131    174   
    /// Creates a new builder-style object to manufacture [`DeleteBucketInventoryConfigurationInput`](crate::operation::delete_bucket_inventory_configuration::DeleteBucketInventoryConfigurationInput).
  132    175   
    pub fn builder() -> crate::operation::delete_bucket_inventory_configuration::builders::DeleteBucketInventoryConfigurationInputBuilder {
  133    176   
        crate::operation::delete_bucket_inventory_configuration::builders::DeleteBucketInventoryConfigurationInputBuilder::default()
  134    177   
    }

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

@@ -1,1 +84,112 @@
    4      4   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5      5   
pub struct DeleteBucketInventoryConfigurationOutput {
    6      6   
    _extended_request_id: Option<String>,
    7      7   
    _request_id: Option<String>,
    8      8   
}
    9      9   
static DELETEBUCKETINVENTORYCONFIGURATIONOUTPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
   10     10   
    "com.amazonaws.s3.synthetic#DeleteBucketInventoryConfigurationOutput",
   11     11   
    "com.amazonaws.s3.synthetic",
   12     12   
    "DeleteBucketInventoryConfigurationOutput",
   13     13   
);
          14  +
static DELETEBUCKETINVENTORYCONFIGURATIONOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          15  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          16  +
    ::aws_smithy_schema::ShapeType::String,
          17  +
    "request_id",
          18  +
    0,
          19  +
)
          20  +
.with_http_header("x-amzn-requestid");
   14     21   
static DELETEBUCKETINVENTORYCONFIGURATIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   15     22   
    DELETEBUCKETINVENTORYCONFIGURATIONOUTPUT_SCHEMA_ID,
   16     23   
    ::aws_smithy_schema::ShapeType::Structure,
   17         -
    &[],
          24  +
    &[&DELETEBUCKETINVENTORYCONFIGURATIONOUTPUT_MEMBER__REQUEST_ID],
   18     25   
);
   19     26   
impl DeleteBucketInventoryConfigurationOutput {
   20     27   
    /// The schema for this shape.
   21     28   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETINVENTORYCONFIGURATIONOUTPUT_SCHEMA;
   22     29   
}
   23     30   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketInventoryConfigurationOutput {
   24     31   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   25     32   
    fn serialize_members(
   26     33   
        &self,
   27     34   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   28     35   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   29     36   
        Ok(())
   30     37   
    }
   31     38   
}
   32     39   
impl DeleteBucketInventoryConfigurationOutput {
   33     40   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   34         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   35         -
        deserializer: &mut D,
          41  +
    pub fn deserialize(
          42  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   36     43   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   37     44   
        #[allow(unused_variables, unused_mut)]
   38     45   
        let mut builder = Self::builder();
   39     46   
        #[allow(
   40     47   
            unused_variables,
   41     48   
            unreachable_code,
   42     49   
            clippy::single_match,
   43     50   
            clippy::match_single_binding,
   44     51   
            clippy::diverging_sub_expression
   45     52   
        )]
   46         -
        deserializer.read_struct(&DELETEBUCKETINVENTORYCONFIGURATIONOUTPUT_SCHEMA, (), |_, member, deser| {
          53  +
        deserializer.read_struct(&DELETEBUCKETINVENTORYCONFIGURATIONOUTPUT_SCHEMA, &mut |member, deser| {
   47     54   
            match member.member_index() {
          55  +
                Some(0) => {
          56  +
                    builder._request_id = Some(deser.read_string(member)?);
          57  +
                }
   48     58   
                _ => {}
   49     59   
            }
   50     60   
            Ok(())
   51     61   
        })?;
   52     62   
        Ok(builder.build())
   53     63   
    }
   54     64   
}
          65  +
impl DeleteBucketInventoryConfigurationOutput {
          66  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
          67  +
    /// Header-bound members are read directly from headers, avoiding runtime
          68  +
    /// member iteration overhead. Body members are read via the deserializer.
          69  +
    pub fn deserialize_with_response(
          70  +
        _deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          71  +
        headers: &::aws_smithy_runtime_api::http::Headers,
          72  +
        _status: u16,
          73  +
        _body: &[u8],
          74  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          75  +
        #[allow(unused_variables, unused_mut)]
          76  +
        let mut builder = Self::builder();
          77  +
        if let Some(val) = headers.get("x-amzn-requestid") {
          78  +
            builder._request_id = Some(val.to_string());
          79  +
        }
          80  +
        Ok(builder.build())
          81  +
    }
          82  +
}
   55     83   
impl crate::s3_request_id::RequestIdExt for DeleteBucketInventoryConfigurationOutput {
   56     84   
    fn extended_request_id(&self) -> Option<&str> {
   57     85   
        self._extended_request_id.as_deref()
   58     86   
    }
   59     87   
}
   60     88   
impl ::aws_types::request_id::RequestId for DeleteBucketInventoryConfigurationOutput {
   61     89   
    fn request_id(&self) -> Option<&str> {
   62     90   
        self._request_id.as_deref()
   63     91   
    }
   64     92   
}

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

@@ -1,1 +40,44 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
/// Orchestration and serialization glue logic for `DeleteBucketLifecycle`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteBucketLifecycle;
    6      6   
impl DeleteBucketLifecycle {
    7      7   
    /// Creates a new `DeleteBucketLifecycle`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_bucket_lifecycle::DeleteBucketLifecycleInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_bucket_lifecycle::DeleteBucketLifecycleOutput::SCHEMA;
   11     15   
    pub(crate) async fn orchestrate(
   12     16   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     17   
        input: crate::operation::delete_bucket_lifecycle::DeleteBucketLifecycleInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::delete_bucket_lifecycle::DeleteBucketLifecycleOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::delete_bucket_lifecycle::DeleteBucketLifecycleError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -130,134 +189,194 @@
  150    154   
        ::std::borrow::Cow::Owned(rcb)
  151    155   
    }
  152    156   
}
  153    157   
  154    158   
#[derive(Debug)]
  155    159   
struct DeleteBucketLifecycleResponseDeserializer;
  156    160   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteBucketLifecycleResponseDeserializer {
  157    161   
    fn deserialize_nonstreaming(
  158    162   
        &self,
  159    163   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         164  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  160    165   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  161    166   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  162    167   
        let headers = response.headers();
  163    168   
        let body = response.body().bytes().expect("body loaded");
  164    169   
        #[allow(unused_mut)]
  165    170   
        let mut force_error = false;
  166    171   
        ::tracing::debug!(extended_request_id = ?crate::s3_request_id::RequestIdExt::extended_request_id(response));
  167    172   
        if matches!(crate::rest_xml_unwrapped_errors::body_is_error(body), Ok(true)) {
  168    173   
            force_error = true;
  169    174   
        }

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

@@ -7,7 +134,173 @@
   27     27   
    "com.amazonaws.s3.synthetic",
   28     28   
    "DeleteBucketLifecycleInput",
   29     29   
);
   30     30   
static DELETEBUCKETLIFECYCLEINPUT_MEMBER_BUCKET: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   31     31   
    ::aws_smithy_schema::ShapeId::from_static(
   32     32   
        "com.amazonaws.s3.synthetic#DeleteBucketLifecycleInput$Bucket",
   33     33   
        "com.amazonaws.s3.synthetic",
   34     34   
        "DeleteBucketLifecycleInput",
   35     35   
    ),
   36     36   
    ::aws_smithy_schema::ShapeType::String,
   37         -
    "bucket",
          37  +
    "Bucket",
   38     38   
    0,
   39     39   
)
   40     40   
.with_http_label();
   41     41   
static DELETEBUCKETLIFECYCLEINPUT_MEMBER_EXPECTED_BUCKET_OWNER: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   42     42   
    ::aws_smithy_schema::ShapeId::from_static(
   43     43   
        "com.amazonaws.s3.synthetic#DeleteBucketLifecycleInput$ExpectedBucketOwner",
   44     44   
        "com.amazonaws.s3.synthetic",
   45     45   
        "DeleteBucketLifecycleInput",
   46     46   
    ),
   47     47   
    ::aws_smithy_schema::ShapeType::String,
   48         -
    "expected_bucket_owner",
          48  +
    "ExpectedBucketOwner",
   49     49   
    1,
   50     50   
)
   51     51   
.with_http_header("x-amz-expected-bucket-owner");
   52     52   
static DELETEBUCKETLIFECYCLEINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   53     53   
    DELETEBUCKETLIFECYCLEINPUT_SCHEMA_ID,
   54     54   
    ::aws_smithy_schema::ShapeType::Structure,
   55     55   
    &[
   56     56   
        &DELETEBUCKETLIFECYCLEINPUT_MEMBER_BUCKET,
   57     57   
        &DELETEBUCKETLIFECYCLEINPUT_MEMBER_EXPECTED_BUCKET_OWNER,
   58     58   
    ],
   59         -
);
          59  +
)
          60  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("DELETE", "/?lifecycle", Some(204)));
   60     61   
impl DeleteBucketLifecycleInput {
   61     62   
    /// The schema for this shape.
   62     63   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETLIFECYCLEINPUT_SCHEMA;
   63     64   
}
   64     65   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketLifecycleInput {
   65     66   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   66     67   
    fn serialize_members(
   67     68   
        &self,
   68     69   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   69     70   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   70     71   
        if let Some(ref val) = self.bucket {
   71     72   
            ser.write_string(&DELETEBUCKETLIFECYCLEINPUT_MEMBER_BUCKET, val)?;
   72     73   
        }
   73     74   
        if let Some(ref val) = self.expected_bucket_owner {
   74     75   
            ser.write_string(&DELETEBUCKETLIFECYCLEINPUT_MEMBER_EXPECTED_BUCKET_OWNER, val)?;
   75     76   
        }
   76     77   
        Ok(())
   77     78   
    }
   78     79   
}
   79     80   
impl DeleteBucketLifecycleInput {
   80     81   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   81         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   82         -
        deserializer: &mut D,
          82  +
    pub fn deserialize(
          83  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   83     84   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   84     85   
        #[allow(unused_variables, unused_mut)]
   85     86   
        let mut builder = Self::builder();
   86     87   
        #[allow(
   87     88   
            unused_variables,
   88     89   
            unreachable_code,
   89     90   
            clippy::single_match,
   90     91   
            clippy::match_single_binding,
   91     92   
            clippy::diverging_sub_expression
   92     93   
        )]
   93         -
        deserializer.read_struct(&DELETEBUCKETLIFECYCLEINPUT_SCHEMA, (), |_, member, deser| {
          94  +
        deserializer.read_struct(&DELETEBUCKETLIFECYCLEINPUT_SCHEMA, &mut |member, deser| {
   94     95   
            match member.member_index() {
   95     96   
                Some(0) => {
   96     97   
                    builder.bucket = Some(deser.read_string(member)?);
   97     98   
                }
   98     99   
                Some(1) => {
   99    100   
                    builder.expected_bucket_owner = Some(deser.read_string(member)?);
  100    101   
                }
  101    102   
                _ => {}
  102    103   
            }
  103    104   
            Ok(())
  104    105   
        })?;
         106  +
        builder.bucket = builder.bucket.or(Some(String::new()));
         107  +
        builder
         108  +
            .build()
         109  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         110  +
    }
         111  +
}
         112  +
impl DeleteBucketLifecycleInput {
         113  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         114  +
    /// Header-bound members are read directly from headers, avoiding runtime
         115  +
    /// member iteration overhead. Body members are read via the deserializer.
         116  +
    pub fn deserialize_with_response(
         117  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         118  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         119  +
        _status: u16,
         120  +
        _body: &[u8],
         121  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         122  +
        #[allow(unused_variables, unused_mut)]
         123  +
        let mut builder = Self::builder();
         124  +
        if let Some(val) = headers.get("x-amz-expected-bucket-owner") {
         125  +
            builder.expected_bucket_owner = Some(val.to_string());
         126  +
        }
         127  +
        #[allow(
         128  +
            unused_variables,
         129  +
            unreachable_code,
         130  +
            clippy::single_match,
         131  +
            clippy::match_single_binding,
         132  +
            clippy::diverging_sub_expression
         133  +
        )]
         134  +
        deserializer.read_struct(&DELETEBUCKETLIFECYCLEINPUT_SCHEMA, &mut |member, deser| {
         135  +
            match member.member_index() {
         136  +
                Some(0) => {
         137  +
                    builder.bucket = Some(deser.read_string(member)?);
         138  +
                }
         139  +
                Some(1) => { /* read from headers above */ }
         140  +
                _ => {}
         141  +
            }
         142  +
            Ok(())
         143  +
        })?;
  105    144   
        builder
  106    145   
            .build()
  107    146   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  108    147   
    }
  109    148   
}
  110    149   
impl DeleteBucketLifecycleInput {
  111    150   
    /// Creates a new builder-style object to manufacture [`DeleteBucketLifecycleInput`](crate::operation::delete_bucket_lifecycle::DeleteBucketLifecycleInput).
  112    151   
    pub fn builder() -> crate::operation::delete_bucket_lifecycle::builders::DeleteBucketLifecycleInputBuilder {
  113    152   
        crate::operation::delete_bucket_lifecycle::builders::DeleteBucketLifecycleInputBuilder::default()
  114    153   
    }

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

@@ -1,1 +81,112 @@
    4      4   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5      5   
pub struct DeleteBucketLifecycleOutput {
    6      6   
    _extended_request_id: Option<String>,
    7      7   
    _request_id: Option<String>,
    8      8   
}
    9      9   
static DELETEBUCKETLIFECYCLEOUTPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
   10     10   
    "com.amazonaws.s3.synthetic#DeleteBucketLifecycleOutput",
   11     11   
    "com.amazonaws.s3.synthetic",
   12     12   
    "DeleteBucketLifecycleOutput",
   13     13   
);
   14         -
static DELETEBUCKETLIFECYCLEOUTPUT_SCHEMA: ::aws_smithy_schema::Schema =
   15         -
    ::aws_smithy_schema::Schema::new_struct(DELETEBUCKETLIFECYCLEOUTPUT_SCHEMA_ID, ::aws_smithy_schema::ShapeType::Structure, &[]);
          14  +
static DELETEBUCKETLIFECYCLEOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          15  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          16  +
    ::aws_smithy_schema::ShapeType::String,
          17  +
    "request_id",
          18  +
    0,
          19  +
)
          20  +
.with_http_header("x-amzn-requestid");
          21  +
static DELETEBUCKETLIFECYCLEOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
          22  +
    DELETEBUCKETLIFECYCLEOUTPUT_SCHEMA_ID,
          23  +
    ::aws_smithy_schema::ShapeType::Structure,
          24  +
    &[&DELETEBUCKETLIFECYCLEOUTPUT_MEMBER__REQUEST_ID],
          25  +
);
   16     26   
impl DeleteBucketLifecycleOutput {
   17     27   
    /// The schema for this shape.
   18     28   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETLIFECYCLEOUTPUT_SCHEMA;
   19     29   
}
   20     30   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketLifecycleOutput {
   21     31   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   22     32   
    fn serialize_members(
   23     33   
        &self,
   24     34   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   25     35   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   26     36   
        Ok(())
   27     37   
    }
   28     38   
}
   29     39   
impl DeleteBucketLifecycleOutput {
   30     40   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   31         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   32         -
        deserializer: &mut D,
          41  +
    pub fn deserialize(
          42  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   33     43   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   34     44   
        #[allow(unused_variables, unused_mut)]
   35     45   
        let mut builder = Self::builder();
   36     46   
        #[allow(
   37     47   
            unused_variables,
   38     48   
            unreachable_code,
   39     49   
            clippy::single_match,
   40     50   
            clippy::match_single_binding,
   41     51   
            clippy::diverging_sub_expression
   42     52   
        )]
   43         -
        deserializer.read_struct(&DELETEBUCKETLIFECYCLEOUTPUT_SCHEMA, (), |_, member, deser| {
          53  +
        deserializer.read_struct(&DELETEBUCKETLIFECYCLEOUTPUT_SCHEMA, &mut |member, deser| {
   44     54   
            match member.member_index() {
          55  +
                Some(0) => {
          56  +
                    builder._request_id = Some(deser.read_string(member)?);
          57  +
                }
   45     58   
                _ => {}
   46     59   
            }
   47     60   
            Ok(())
   48     61   
        })?;
   49     62   
        Ok(builder.build())
   50     63   
    }
   51     64   
}
          65  +
impl DeleteBucketLifecycleOutput {
          66  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
          67  +
    /// Header-bound members are read directly from headers, avoiding runtime
          68  +
    /// member iteration overhead. Body members are read via the deserializer.
          69  +
    pub fn deserialize_with_response(
          70  +
        _deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          71  +
        headers: &::aws_smithy_runtime_api::http::Headers,
          72  +
        _status: u16,
          73  +
        _body: &[u8],
          74  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          75  +
        #[allow(unused_variables, unused_mut)]
          76  +
        let mut builder = Self::builder();
          77  +
        if let Some(val) = headers.get("x-amzn-requestid") {
          78  +
            builder._request_id = Some(val.to_string());
          79  +
        }
          80  +
        Ok(builder.build())
          81  +
    }
          82  +
}
   52     83   
impl crate::s3_request_id::RequestIdExt for DeleteBucketLifecycleOutput {
   53     84   
    fn extended_request_id(&self) -> Option<&str> {
   54     85   
        self._extended_request_id.as_deref()
   55     86   
    }
   56     87   
}
   57     88   
impl ::aws_types::request_id::RequestId for DeleteBucketLifecycleOutput {
   58     89   
    fn request_id(&self) -> Option<&str> {
   59     90   
        self._request_id.as_deref()
   60     91   
    }
   61     92   
}

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

@@ -1,1 +40,46 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
/// Orchestration and serialization glue logic for `DeleteBucketMetadataConfiguration`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteBucketMetadataConfiguration;
    6      6   
impl DeleteBucketMetadataConfiguration {
    7      7   
    /// Creates a new `DeleteBucketMetadataConfiguration`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          13  +
        crate::operation::delete_bucket_metadata_configuration::DeleteBucketMetadataConfigurationInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::delete_bucket_metadata_configuration::DeleteBucketMetadataConfigurationOutput::SCHEMA;
   11     17   
    pub(crate) async fn orchestrate(
   12     18   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     19   
        input: crate::operation::delete_bucket_metadata_configuration::DeleteBucketMetadataConfigurationInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::delete_bucket_metadata_configuration::DeleteBucketMetadataConfigurationOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::delete_bucket_metadata_configuration::DeleteBucketMetadataConfigurationError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -135,141 +194,201 @@
  155    161   
        ::std::borrow::Cow::Owned(rcb)
  156    162   
    }
  157    163   
}
  158    164   
  159    165   
#[derive(Debug)]
  160    166   
struct DeleteBucketMetadataConfigurationResponseDeserializer;
  161    167   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteBucketMetadataConfigurationResponseDeserializer {
  162    168   
    fn deserialize_nonstreaming(
  163    169   
        &self,
  164    170   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         171  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  165    172   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  166    173   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  167    174   
        let headers = response.headers();
  168    175   
        let body = response.body().bytes().expect("body loaded");
  169    176   
        #[allow(unused_mut)]
  170    177   
        let mut force_error = false;
  171    178   
        ::tracing::debug!(extended_request_id = ?crate::s3_request_id::RequestIdExt::extended_request_id(response));
  172    179   
        if matches!(crate::rest_xml_unwrapped_errors::body_is_error(body), Ok(true)) {
  173    180   
            force_error = true;
  174    181   
        }

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

@@ -3,3 +130,169 @@
   23     23   
    "com.amazonaws.s3.synthetic",
   24     24   
    "DeleteBucketMetadataConfigurationInput",
   25     25   
);
   26     26   
static DELETEBUCKETMETADATACONFIGURATIONINPUT_MEMBER_BUCKET: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   27     27   
    ::aws_smithy_schema::ShapeId::from_static(
   28     28   
        "com.amazonaws.s3.synthetic#DeleteBucketMetadataConfigurationInput$Bucket",
   29     29   
        "com.amazonaws.s3.synthetic",
   30     30   
        "DeleteBucketMetadataConfigurationInput",
   31     31   
    ),
   32     32   
    ::aws_smithy_schema::ShapeType::String,
   33         -
    "bucket",
          33  +
    "Bucket",
   34     34   
    0,
   35     35   
)
   36     36   
.with_http_label();
   37     37   
static DELETEBUCKETMETADATACONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   38     38   
    ::aws_smithy_schema::ShapeId::from_static(
   39     39   
        "com.amazonaws.s3.synthetic#DeleteBucketMetadataConfigurationInput$ExpectedBucketOwner",
   40     40   
        "com.amazonaws.s3.synthetic",
   41     41   
        "DeleteBucketMetadataConfigurationInput",
   42     42   
    ),
   43     43   
    ::aws_smithy_schema::ShapeType::String,
   44         -
    "expected_bucket_owner",
          44  +
    "ExpectedBucketOwner",
   45     45   
    1,
   46     46   
)
   47     47   
.with_http_header("x-amz-expected-bucket-owner");
   48     48   
static DELETEBUCKETMETADATACONFIGURATIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   49     49   
    DELETEBUCKETMETADATACONFIGURATIONINPUT_SCHEMA_ID,
   50     50   
    ::aws_smithy_schema::ShapeType::Structure,
   51     51   
    &[
   52     52   
        &DELETEBUCKETMETADATACONFIGURATIONINPUT_MEMBER_BUCKET,
   53     53   
        &DELETEBUCKETMETADATACONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER,
   54     54   
    ],
   55         -
);
          55  +
)
          56  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("DELETE", "/?metadataConfiguration", Some(204)));
   56     57   
impl DeleteBucketMetadataConfigurationInput {
   57     58   
    /// The schema for this shape.
   58     59   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETMETADATACONFIGURATIONINPUT_SCHEMA;
   59     60   
}
   60     61   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketMetadataConfigurationInput {
   61     62   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   62     63   
    fn serialize_members(
   63     64   
        &self,
   64     65   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   65     66   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   66     67   
        if let Some(ref val) = self.bucket {
   67     68   
            ser.write_string(&DELETEBUCKETMETADATACONFIGURATIONINPUT_MEMBER_BUCKET, val)?;
   68     69   
        }
   69     70   
        if let Some(ref val) = self.expected_bucket_owner {
   70     71   
            ser.write_string(&DELETEBUCKETMETADATACONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER, val)?;
   71     72   
        }
   72     73   
        Ok(())
   73     74   
    }
   74     75   
}
   75     76   
impl DeleteBucketMetadataConfigurationInput {
   76     77   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   77         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   78         -
        deserializer: &mut D,
          78  +
    pub fn deserialize(
          79  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   79     80   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   80     81   
        #[allow(unused_variables, unused_mut)]
   81     82   
        let mut builder = Self::builder();
   82     83   
        #[allow(
   83     84   
            unused_variables,
   84     85   
            unreachable_code,
   85     86   
            clippy::single_match,
   86     87   
            clippy::match_single_binding,
   87     88   
            clippy::diverging_sub_expression
   88     89   
        )]
   89         -
        deserializer.read_struct(&DELETEBUCKETMETADATACONFIGURATIONINPUT_SCHEMA, (), |_, member, deser| {
          90  +
        deserializer.read_struct(&DELETEBUCKETMETADATACONFIGURATIONINPUT_SCHEMA, &mut |member, deser| {
   90     91   
            match member.member_index() {
   91     92   
                Some(0) => {
   92     93   
                    builder.bucket = Some(deser.read_string(member)?);
   93     94   
                }
   94     95   
                Some(1) => {
   95     96   
                    builder.expected_bucket_owner = Some(deser.read_string(member)?);
   96     97   
                }
   97     98   
                _ => {}
   98     99   
            }
   99    100   
            Ok(())
  100    101   
        })?;
         102  +
        builder.bucket = builder.bucket.or(Some(String::new()));
         103  +
        builder
         104  +
            .build()
         105  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         106  +
    }
         107  +
}
         108  +
impl DeleteBucketMetadataConfigurationInput {
         109  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         110  +
    /// Header-bound members are read directly from headers, avoiding runtime
         111  +
    /// member iteration overhead. Body members are read via the deserializer.
         112  +
    pub fn deserialize_with_response(
         113  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         114  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         115  +
        _status: u16,
         116  +
        _body: &[u8],
         117  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         118  +
        #[allow(unused_variables, unused_mut)]
         119  +
        let mut builder = Self::builder();
         120  +
        if let Some(val) = headers.get("x-amz-expected-bucket-owner") {
         121  +
            builder.expected_bucket_owner = Some(val.to_string());
         122  +
        }
         123  +
        #[allow(
         124  +
            unused_variables,
         125  +
            unreachable_code,
         126  +
            clippy::single_match,
         127  +
            clippy::match_single_binding,
         128  +
            clippy::diverging_sub_expression
         129  +
        )]
         130  +
        deserializer.read_struct(&DELETEBUCKETMETADATACONFIGURATIONINPUT_SCHEMA, &mut |member, deser| {
         131  +
            match member.member_index() {
         132  +
                Some(0) => {
         133  +
                    builder.bucket = Some(deser.read_string(member)?);
         134  +
                }
         135  +
                Some(1) => { /* read from headers above */ }
         136  +
                _ => {}
         137  +
            }
         138  +
            Ok(())
         139  +
        })?;
  101    140   
        builder
  102    141   
            .build()
  103    142   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  104    143   
    }
  105    144   
}
  106    145   
impl DeleteBucketMetadataConfigurationInput {
  107    146   
    /// Creates a new builder-style object to manufacture [`DeleteBucketMetadataConfigurationInput`](crate::operation::delete_bucket_metadata_configuration::DeleteBucketMetadataConfigurationInput).
  108    147   
    pub fn builder() -> crate::operation::delete_bucket_metadata_configuration::builders::DeleteBucketMetadataConfigurationInputBuilder {
  109    148   
        crate::operation::delete_bucket_metadata_configuration::builders::DeleteBucketMetadataConfigurationInputBuilder::default()
  110    149   
    }

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

@@ -1,1 +84,112 @@
    4      4   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5      5   
pub struct DeleteBucketMetadataConfigurationOutput {
    6      6   
    _extended_request_id: Option<String>,
    7      7   
    _request_id: Option<String>,
    8      8   
}
    9      9   
static DELETEBUCKETMETADATACONFIGURATIONOUTPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
   10     10   
    "com.amazonaws.s3.synthetic#DeleteBucketMetadataConfigurationOutput",
   11     11   
    "com.amazonaws.s3.synthetic",
   12     12   
    "DeleteBucketMetadataConfigurationOutput",
   13     13   
);
          14  +
static DELETEBUCKETMETADATACONFIGURATIONOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          15  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          16  +
    ::aws_smithy_schema::ShapeType::String,
          17  +
    "request_id",
          18  +
    0,
          19  +
)
          20  +
.with_http_header("x-amzn-requestid");
   14     21   
static DELETEBUCKETMETADATACONFIGURATIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   15     22   
    DELETEBUCKETMETADATACONFIGURATIONOUTPUT_SCHEMA_ID,
   16     23   
    ::aws_smithy_schema::ShapeType::Structure,
   17         -
    &[],
          24  +
    &[&DELETEBUCKETMETADATACONFIGURATIONOUTPUT_MEMBER__REQUEST_ID],
   18     25   
);
   19     26   
impl DeleteBucketMetadataConfigurationOutput {
   20     27   
    /// The schema for this shape.
   21     28   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETMETADATACONFIGURATIONOUTPUT_SCHEMA;
   22     29   
}
   23     30   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketMetadataConfigurationOutput {
   24     31   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   25     32   
    fn serialize_members(
   26     33   
        &self,
   27     34   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   28     35   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   29     36   
        Ok(())
   30     37   
    }
   31     38   
}
   32     39   
impl DeleteBucketMetadataConfigurationOutput {
   33     40   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   34         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   35         -
        deserializer: &mut D,
          41  +
    pub fn deserialize(
          42  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   36     43   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   37     44   
        #[allow(unused_variables, unused_mut)]
   38     45   
        let mut builder = Self::builder();
   39     46   
        #[allow(
   40     47   
            unused_variables,
   41     48   
            unreachable_code,
   42     49   
            clippy::single_match,
   43     50   
            clippy::match_single_binding,
   44     51   
            clippy::diverging_sub_expression
   45     52   
        )]
   46         -
        deserializer.read_struct(&DELETEBUCKETMETADATACONFIGURATIONOUTPUT_SCHEMA, (), |_, member, deser| {
          53  +
        deserializer.read_struct(&DELETEBUCKETMETADATACONFIGURATIONOUTPUT_SCHEMA, &mut |member, deser| {
   47     54   
            match member.member_index() {
          55  +
                Some(0) => {
          56  +
                    builder._request_id = Some(deser.read_string(member)?);
          57  +
                }
   48     58   
                _ => {}
   49     59   
            }
   50     60   
            Ok(())
   51     61   
        })?;
   52     62   
        Ok(builder.build())
   53     63   
    }
   54     64   
}
          65  +
impl DeleteBucketMetadataConfigurationOutput {
          66  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
          67  +
    /// Header-bound members are read directly from headers, avoiding runtime
          68  +
    /// member iteration overhead. Body members are read via the deserializer.
          69  +
    pub fn deserialize_with_response(
          70  +
        _deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          71  +
        headers: &::aws_smithy_runtime_api::http::Headers,
          72  +
        _status: u16,
          73  +
        _body: &[u8],
          74  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          75  +
        #[allow(unused_variables, unused_mut)]
          76  +
        let mut builder = Self::builder();
          77  +
        if let Some(val) = headers.get("x-amzn-requestid") {
          78  +
            builder._request_id = Some(val.to_string());
          79  +
        }
          80  +
        Ok(builder.build())
          81  +
    }
          82  +
}
   55     83   
impl crate::s3_request_id::RequestIdExt for DeleteBucketMetadataConfigurationOutput {
   56     84   
    fn extended_request_id(&self) -> Option<&str> {
   57     85   
        self._extended_request_id.as_deref()
   58     86   
    }
   59     87   
}
   60     88   
impl ::aws_types::request_id::RequestId for DeleteBucketMetadataConfigurationOutput {
   61     89   
    fn request_id(&self) -> Option<&str> {
   62     90   
        self._request_id.as_deref()
   63     91   
    }
   64     92   
}

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

@@ -1,1 +40,46 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
/// Orchestration and serialization glue logic for `DeleteBucketMetadataTableConfiguration`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteBucketMetadataTableConfiguration;
    6      6   
impl DeleteBucketMetadataTableConfiguration {
    7      7   
    /// Creates a new `DeleteBucketMetadataTableConfiguration`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          13  +
        crate::operation::delete_bucket_metadata_table_configuration::DeleteBucketMetadataTableConfigurationInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::delete_bucket_metadata_table_configuration::DeleteBucketMetadataTableConfigurationOutput::SCHEMA;
   11     17   
    pub(crate) async fn orchestrate(
   12     18   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     19   
        input: crate::operation::delete_bucket_metadata_table_configuration::DeleteBucketMetadataTableConfigurationInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::delete_bucket_metadata_table_configuration::DeleteBucketMetadataTableConfigurationOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::delete_bucket_metadata_table_configuration::DeleteBucketMetadataTableConfigurationError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -135,141 +194,201 @@
  155    161   
        ::std::borrow::Cow::Owned(rcb)
  156    162   
    }
  157    163   
}
  158    164   
  159    165   
#[derive(Debug)]
  160    166   
struct DeleteBucketMetadataTableConfigurationResponseDeserializer;
  161    167   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteBucketMetadataTableConfigurationResponseDeserializer {
  162    168   
    fn deserialize_nonstreaming(
  163    169   
        &self,
  164    170   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         171  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  165    172   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  166    173   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  167    174   
        let headers = response.headers();
  168    175   
        let body = response.body().bytes().expect("body loaded");
  169    176   
        #[allow(unused_mut)]
  170    177   
        let mut force_error = false;
  171    178   
        ::tracing::debug!(extended_request_id = ?crate::s3_request_id::RequestIdExt::extended_request_id(response));
  172    179   
        if matches!(crate::rest_xml_unwrapped_errors::body_is_error(body), Ok(true)) {
  173    180   
            force_error = true;
  174    181   
        }

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

@@ -3,3 +131,170 @@
   23     23   
    "com.amazonaws.s3.synthetic",
   24     24   
    "DeleteBucketMetadataTableConfigurationInput",
   25     25   
);
   26     26   
static DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_MEMBER_BUCKET: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   27     27   
    ::aws_smithy_schema::ShapeId::from_static(
   28     28   
        "com.amazonaws.s3.synthetic#DeleteBucketMetadataTableConfigurationInput$Bucket",
   29     29   
        "com.amazonaws.s3.synthetic",
   30     30   
        "DeleteBucketMetadataTableConfigurationInput",
   31     31   
    ),
   32     32   
    ::aws_smithy_schema::ShapeType::String,
   33         -
    "bucket",
          33  +
    "Bucket",
   34     34   
    0,
   35     35   
)
   36     36   
.with_http_label();
   37     37   
static DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER: ::aws_smithy_schema::Schema =
   38     38   
    ::aws_smithy_schema::Schema::new_member(
   39     39   
        ::aws_smithy_schema::ShapeId::from_static(
   40     40   
            "com.amazonaws.s3.synthetic#DeleteBucketMetadataTableConfigurationInput$ExpectedBucketOwner",
   41     41   
            "com.amazonaws.s3.synthetic",
   42     42   
            "DeleteBucketMetadataTableConfigurationInput",
   43     43   
        ),
   44     44   
        ::aws_smithy_schema::ShapeType::String,
   45         -
        "expected_bucket_owner",
          45  +
        "ExpectedBucketOwner",
   46     46   
        1,
   47     47   
    )
   48     48   
    .with_http_header("x-amz-expected-bucket-owner");
   49     49   
static DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   50     50   
    DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_SCHEMA_ID,
   51     51   
    ::aws_smithy_schema::ShapeType::Structure,
   52     52   
    &[
   53     53   
        &DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_MEMBER_BUCKET,
   54     54   
        &DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER,
   55     55   
    ],
   56         -
);
          56  +
)
          57  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("DELETE", "/?metadataTable", Some(204)));
   57     58   
impl DeleteBucketMetadataTableConfigurationInput {
   58     59   
    /// The schema for this shape.
   59     60   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_SCHEMA;
   60     61   
}
   61     62   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteBucketMetadataTableConfigurationInput {
   62     63   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   63     64   
    fn serialize_members(
   64     65   
        &self,
   65     66   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   66     67   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   67     68   
        if let Some(ref val) = self.bucket {
   68     69   
            ser.write_string(&DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_MEMBER_BUCKET, val)?;
   69     70   
        }
   70     71   
        if let Some(ref val) = self.expected_bucket_owner {
   71     72   
            ser.write_string(&DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_MEMBER_EXPECTED_BUCKET_OWNER, val)?;
   72     73   
        }
   73     74   
        Ok(())
   74     75   
    }
   75     76   
}
   76     77   
impl DeleteBucketMetadataTableConfigurationInput {
   77     78   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   78         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   79         -
        deserializer: &mut D,
          79  +
    pub fn deserialize(
          80  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   80     81   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   81     82   
        #[allow(unused_variables, unused_mut)]
   82     83   
        let mut builder = Self::builder();
   83     84   
        #[allow(
   84     85   
            unused_variables,
   85     86   
            unreachable_code,
   86     87   
            clippy::single_match,
   87     88   
            clippy::match_single_binding,
   88     89   
            clippy::diverging_sub_expression
   89     90   
        )]
   90         -
        deserializer.read_struct(&DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_SCHEMA, (), |_, member, deser| {
          91  +
        deserializer.read_struct(&DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_SCHEMA, &mut |member, deser| {
   91     92   
            match member.member_index() {
   92     93   
                Some(0) => {
   93     94   
                    builder.bucket = Some(deser.read_string(member)?);
   94     95   
                }
   95     96   
                Some(1) => {
   96     97   
                    builder.expected_bucket_owner = Some(deser.read_string(member)?);
   97     98   
                }
   98     99   
                _ => {}
   99    100   
            }
  100    101   
            Ok(())
  101    102   
        })?;
         103  +
        builder.bucket = builder.bucket.or(Some(String::new()));
         104  +
        builder
         105  +
            .build()
         106  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         107  +
    }
         108  +
}
         109  +
impl DeleteBucketMetadataTableConfigurationInput {
         110  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         111  +
    /// Header-bound members are read directly from headers, avoiding runtime
         112  +
    /// member iteration overhead. Body members are read via the deserializer.
         113  +
    pub fn deserialize_with_response(
         114  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         115  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         116  +
        _status: u16,
         117  +
        _body: &[u8],
         118  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         119  +
        #[allow(unused_variables, unused_mut)]
         120  +
        let mut builder = Self::builder();
         121  +
        if let Some(val) = headers.get("x-amz-expected-bucket-owner") {
         122  +
            builder.expected_bucket_owner = Some(val.to_string());
         123  +
        }
         124  +
        #[allow(
         125  +
            unused_variables,
         126  +
            unreachable_code,
         127  +
            clippy::single_match,
         128  +
            clippy::match_single_binding,
         129  +
            clippy::diverging_sub_expression
         130  +
        )]
         131  +
        deserializer.read_struct(&DELETEBUCKETMETADATATABLECONFIGURATIONINPUT_SCHEMA, &mut |member, deser| {
         132  +
            match member.member_index() {
         133  +
                Some(0) => {
         134  +
                    builder.bucket = Some(deser.read_string(member)?);
         135  +
                }
         136  +
                Some(1) => { /* read from headers above */ }
         137  +
                _ => {}
         138  +
            }
         139  +
            Ok(())
         140  +
        })?;
  102    141   
        builder
  103    142   
            .build()
  104    143   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  105    144   
    }
  106    145   
}
  107    146   
impl DeleteBucketMetadataTableConfigurationInput {
  108    147   
    /// Creates a new builder-style object to manufacture [`DeleteBucketMetadataTableConfigurationInput`](crate::operation::delete_bucket_metadata_table_configuration::DeleteBucketMetadataTableConfigurationInput).
  109    148   
    pub fn builder() -> crate::operation::delete_bucket_metadata_table_configuration::builders::DeleteBucketMetadataTableConfigurationInputBuilder {
  110    149   
        crate::operation::delete_bucket_metadata_table_configuration::builders::DeleteBucketMetadataTableConfigurationInputBuilder::default()
  111    150   
    }