AWS SDK

AWS SDK

rev. 96f5a1b4ad139d2f1ad1e8e40f300e1cd1ff574c

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_bucket_tagging.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 `PutBucketTagging`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct PutBucketTagging;
    6      6   
impl PutBucketTagging {
    7      7   
    /// Creates a new `PutBucketTagging`
    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::put_bucket_tagging::PutBucketTaggingInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::put_bucket_tagging::PutBucketTaggingOutput::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::put_bucket_tagging::PutBucketTaggingInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::put_bucket_tagging::PutBucketTaggingOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::put_bucket_tagging::PutBucketTaggingError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::put_bucket_tagging::PutBucketTaggingError,
  139    143   
            >::new());
  140    144   
  141    145   
        ::std::borrow::Cow::Owned(rcb)
  142    146   
    }
  143    147   
}
  144    148   
  145    149   
#[derive(Debug)]
  146    150   
struct PutBucketTaggingResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for PutBucketTaggingResponseDeserializer {
  148         -
    fn deserialize_nonstreaming(
         152  +
    fn deserialize_nonstreaming_with_config(
  149    153   
        &self,
  150    154   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         155  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  151    156   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  152    157   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  153    158   
        let headers = response.headers();
  154    159   
        let body = response.body().bytes().expect("body loaded");
  155    160   
        #[allow(unused_mut)]
  156    161   
        let mut force_error = false;
  157    162   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  158    163   
        let parse_result = if !success && status != 200 || force_error {
  159    164   
            crate::protocol_serde::shape_put_bucket_tagging::de_put_bucket_tagging_http_error(status, headers, body)
  160    165   
        } else {

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

@@ -31,31 +178,208 @@
   51     51   
    "com.amazonaws.s3control.synthetic",
   52     52   
    "PutBucketTaggingInput",
   53     53   
);
   54     54   
static PUTBUCKETTAGGINGINPUT_MEMBER_ACCOUNT_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   55     55   
    ::aws_smithy_schema::ShapeId::from_static(
   56     56   
        "com.amazonaws.s3control.synthetic#PutBucketTaggingInput$AccountId",
   57     57   
        "com.amazonaws.s3control.synthetic",
   58     58   
        "PutBucketTaggingInput",
   59     59   
    ),
   60     60   
    ::aws_smithy_schema::ShapeType::String,
   61         -
    "account_id",
          61  +
    "AccountId",
   62     62   
    0,
   63     63   
)
   64     64   
.with_host_label()
   65     65   
.with_http_header("x-amz-account-id");
   66     66   
static PUTBUCKETTAGGINGINPUT_MEMBER_BUCKET: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   67     67   
    ::aws_smithy_schema::ShapeId::from_static(
   68     68   
        "com.amazonaws.s3control.synthetic#PutBucketTaggingInput$Bucket",
   69     69   
        "com.amazonaws.s3control.synthetic",
   70     70   
        "PutBucketTaggingInput",
   71     71   
    ),
   72     72   
    ::aws_smithy_schema::ShapeType::String,
   73         -
    "bucket",
          73  +
    "Bucket",
   74     74   
    1,
   75     75   
)
   76     76   
.with_http_label();
   77     77   
static PUTBUCKETTAGGINGINPUT_MEMBER_TAGGING: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   78     78   
    ::aws_smithy_schema::ShapeId::from_static(
   79     79   
        "com.amazonaws.s3control.synthetic#PutBucketTaggingInput$Tagging",
   80     80   
        "com.amazonaws.s3control.synthetic",
   81     81   
        "PutBucketTaggingInput",
   82     82   
    ),
   83     83   
    ::aws_smithy_schema::ShapeType::Structure,
   84         -
    "tagging",
          84  +
    "Tagging",
   85     85   
    2,
   86     86   
)
   87     87   
.with_xml_name("Tagging")
   88     88   
.with_http_payload();
   89     89   
static PUTBUCKETTAGGINGINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   90     90   
    PUTBUCKETTAGGINGINPUT_SCHEMA_ID,
   91     91   
    ::aws_smithy_schema::ShapeType::Structure,
   92     92   
    &[
   93     93   
        &PUTBUCKETTAGGINGINPUT_MEMBER_ACCOUNT_ID,
   94     94   
        &PUTBUCKETTAGGINGINPUT_MEMBER_BUCKET,
   95     95   
        &PUTBUCKETTAGGINGINPUT_MEMBER_TAGGING,
   96     96   
    ],
   97         -
);
          97  +
)
          98  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          99  +
    "PUT",
         100  +
    "/v20180820/bucket/{Bucket}/tagging",
         101  +
    None,
         102  +
));
   98    103   
impl PutBucketTaggingInput {
   99    104   
    /// The schema for this shape.
  100    105   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &PUTBUCKETTAGGINGINPUT_SCHEMA;
  101    106   
}
  102    107   
impl ::aws_smithy_schema::serde::SerializableStruct for PutBucketTaggingInput {
  103    108   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  104    109   
    fn serialize_members(
  105    110   
        &self,
  106    111   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  107    112   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  108    113   
        if let Some(ref val) = self.account_id {
  109    114   
            ser.write_string(&PUTBUCKETTAGGINGINPUT_MEMBER_ACCOUNT_ID, val)?;
  110    115   
        }
  111    116   
        if let Some(ref val) = self.bucket {
  112    117   
            ser.write_string(&PUTBUCKETTAGGINGINPUT_MEMBER_BUCKET, val)?;
  113    118   
        }
  114    119   
        if let Some(ref val) = self.tagging {
  115    120   
            ser.write_struct(&PUTBUCKETTAGGINGINPUT_MEMBER_TAGGING, val)?;
  116    121   
        }
  117    122   
        Ok(())
  118    123   
    }
  119    124   
}
  120    125   
impl PutBucketTaggingInput {
  121    126   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  122         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  123         -
        deserializer: &mut D,
         127  +
    pub fn deserialize(
         128  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  124    129   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  125    130   
        #[allow(unused_variables, unused_mut)]
  126    131   
        let mut builder = Self::builder();
  127    132   
        #[allow(
  128    133   
            unused_variables,
  129    134   
            unreachable_code,
  130    135   
            clippy::single_match,
  131    136   
            clippy::match_single_binding,
  132    137   
            clippy::diverging_sub_expression
  133    138   
        )]
  134         -
        deserializer.read_struct(&PUTBUCKETTAGGINGINPUT_SCHEMA, (), |_, member, deser| {
         139  +
        deserializer.read_struct(&PUTBUCKETTAGGINGINPUT_SCHEMA, &mut |member, deser| {
  135    140   
            match member.member_index() {
  136    141   
                Some(0) => {
  137    142   
                    builder.account_id = Some(deser.read_string(member)?);
  138    143   
                }
  139    144   
                Some(1) => {
  140    145   
                    builder.bucket = Some(deser.read_string(member)?);
  141    146   
                }
  142    147   
                Some(2) => {
  143    148   
                    builder.tagging = Some(crate::types::Tagging::deserialize(deser)?);
  144    149   
                }
  145    150   
                _ => {}
  146    151   
            }
  147    152   
            Ok(())
  148    153   
        })?;
         154  +
        builder.account_id = builder.account_id.or(Some(String::new()));
         155  +
        builder.bucket = builder.bucket.or(Some(String::new()));
         156  +
        builder
         157  +
            .build()
         158  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         159  +
    }
         160  +
}
         161  +
impl PutBucketTaggingInput {
         162  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         163  +
    /// Header-bound members are read directly from headers, avoiding runtime
         164  +
    /// member iteration overhead. Body members are read via the deserializer.
         165  +
    pub fn deserialize_with_response(
         166  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         167  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         168  +
        _status: u16,
         169  +
        body: &[u8],
         170  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         171  +
        #[allow(unused_variables, unused_mut)]
         172  +
        let mut builder = Self::builder();
         173  +
        if let Some(val) = headers.get("x-amz-account-id") {
         174  +
            builder.account_id = Some(val.to_string());
         175  +
        }
         176  +
        if !body.is_empty() {
         177  +
            builder.tagging = Some(crate::types::Tagging::deserialize(deserializer)?);
         178  +
        }
  149    179   
        builder
  150    180   
            .build()
  151    181   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  152    182   
    }
  153    183   
}
  154    184   
impl PutBucketTaggingInput {
  155    185   
    /// Creates a new builder-style object to manufacture [`PutBucketTaggingInput`](crate::operation::put_bucket_tagging::PutBucketTaggingInput).
  156    186   
    pub fn builder() -> crate::operation::put_bucket_tagging::builders::PutBucketTaggingInputBuilder {
  157    187   
        crate::operation::put_bucket_tagging::builders::PutBucketTaggingInputBuilder::default()
  158    188   
    }

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_bucket_versioning.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 `PutBucketVersioning`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct PutBucketVersioning;
    6      6   
impl PutBucketVersioning {
    7      7   
    /// Creates a new `PutBucketVersioning`
    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::put_bucket_versioning::PutBucketVersioningInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::put_bucket_versioning::PutBucketVersioningOutput::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::put_bucket_versioning::PutBucketVersioningInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::put_bucket_versioning::PutBucketVersioningOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::put_bucket_versioning::PutBucketVersioningError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::put_bucket_versioning::PutBucketVersioningError,
  139    143   
            >::new());
  140    144   
  141    145   
        ::std::borrow::Cow::Owned(rcb)
  142    146   
    }
  143    147   
}
  144    148   
  145    149   
#[derive(Debug)]
  146    150   
struct PutBucketVersioningResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for PutBucketVersioningResponseDeserializer {
  148         -
    fn deserialize_nonstreaming(
         152  +
    fn deserialize_nonstreaming_with_config(
  149    153   
        &self,
  150    154   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         155  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  151    156   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  152    157   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  153    158   
        let headers = response.headers();
  154    159   
        let body = response.body().bytes().expect("body loaded");
  155    160   
        #[allow(unused_mut)]
  156    161   
        let mut force_error = false;
  157    162   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  158    163   
        let parse_result = if !success && status != 200 || force_error {
  159    164   
            crate::protocol_serde::shape_put_bucket_versioning::de_put_bucket_versioning_http_error(status, headers, body)
  160    165   
        } else {

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

@@ -15,15 +180,213 @@
   35     35   
    "com.amazonaws.s3control.synthetic",
   36     36   
    "PutBucketVersioningInput",
   37     37   
);
   38     38   
static PUTBUCKETVERSIONINGINPUT_MEMBER_ACCOUNT_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   39     39   
    ::aws_smithy_schema::ShapeId::from_static(
   40     40   
        "com.amazonaws.s3control.synthetic#PutBucketVersioningInput$AccountId",
   41     41   
        "com.amazonaws.s3control.synthetic",
   42     42   
        "PutBucketVersioningInput",
   43     43   
    ),
   44     44   
    ::aws_smithy_schema::ShapeType::String,
   45         -
    "account_id",
          45  +
    "AccountId",
   46     46   
    0,
   47     47   
)
   48     48   
.with_host_label()
   49     49   
.with_http_header("x-amz-account-id");
   50     50   
static PUTBUCKETVERSIONINGINPUT_MEMBER_BUCKET: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   51     51   
    ::aws_smithy_schema::ShapeId::from_static(
   52     52   
        "com.amazonaws.s3control.synthetic#PutBucketVersioningInput$Bucket",
   53     53   
        "com.amazonaws.s3control.synthetic",
   54     54   
        "PutBucketVersioningInput",
   55     55   
    ),
   56     56   
    ::aws_smithy_schema::ShapeType::String,
   57         -
    "bucket",
          57  +
    "Bucket",
   58     58   
    1,
   59     59   
)
   60     60   
.with_http_label();
   61     61   
static PUTBUCKETVERSIONINGINPUT_MEMBER_MFA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   62     62   
    ::aws_smithy_schema::ShapeId::from_static(
   63     63   
        "com.amazonaws.s3control.synthetic#PutBucketVersioningInput$MFA",
   64     64   
        "com.amazonaws.s3control.synthetic",
   65     65   
        "PutBucketVersioningInput",
   66     66   
    ),
   67     67   
    ::aws_smithy_schema::ShapeType::String,
   68         -
    "mfa",
          68  +
    "MFA",
   69     69   
    2,
   70     70   
)
   71     71   
.with_http_header("x-amz-mfa");
   72     72   
static PUTBUCKETVERSIONINGINPUT_MEMBER_VERSIONING_CONFIGURATION: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   73     73   
    ::aws_smithy_schema::ShapeId::from_static(
   74     74   
        "com.amazonaws.s3control.synthetic#PutBucketVersioningInput$VersioningConfiguration",
   75     75   
        "com.amazonaws.s3control.synthetic",
   76     76   
        "PutBucketVersioningInput",
   77     77   
    ),
   78     78   
    ::aws_smithy_schema::ShapeType::Structure,
   79         -
    "versioning_configuration",
          79  +
    "VersioningConfiguration",
   80     80   
    3,
   81     81   
)
   82     82   
.with_xml_name("VersioningConfiguration")
   83     83   
.with_http_payload();
   84     84   
static PUTBUCKETVERSIONINGINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   85     85   
    PUTBUCKETVERSIONINGINPUT_SCHEMA_ID,
   86     86   
    ::aws_smithy_schema::ShapeType::Structure,
   87     87   
    &[
   88     88   
        &PUTBUCKETVERSIONINGINPUT_MEMBER_ACCOUNT_ID,
   89     89   
        &PUTBUCKETVERSIONINGINPUT_MEMBER_BUCKET,
   90     90   
        &PUTBUCKETVERSIONINGINPUT_MEMBER_MFA,
   91     91   
        &PUTBUCKETVERSIONINGINPUT_MEMBER_VERSIONING_CONFIGURATION,
   92     92   
    ],
   93         -
);
          93  +
)
          94  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          95  +
    "PUT",
          96  +
    "/v20180820/bucket/{Bucket}/versioning",
          97  +
    None,
          98  +
));
   94     99   
impl PutBucketVersioningInput {
   95    100   
    /// The schema for this shape.
   96    101   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &PUTBUCKETVERSIONINGINPUT_SCHEMA;
   97    102   
}
   98    103   
impl ::aws_smithy_schema::serde::SerializableStruct for PutBucketVersioningInput {
   99    104   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  100    105   
    fn serialize_members(
  101    106   
        &self,
  102    107   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  103    108   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  104    109   
        if let Some(ref val) = self.account_id {
  105    110   
            ser.write_string(&PUTBUCKETVERSIONINGINPUT_MEMBER_ACCOUNT_ID, val)?;
  106    111   
        }
  107    112   
        if let Some(ref val) = self.bucket {
  108    113   
            ser.write_string(&PUTBUCKETVERSIONINGINPUT_MEMBER_BUCKET, val)?;
  109    114   
        }
  110    115   
        if let Some(ref val) = self.mfa {
  111    116   
            ser.write_string(&PUTBUCKETVERSIONINGINPUT_MEMBER_MFA, val)?;
  112    117   
        }
  113    118   
        if let Some(ref val) = self.versioning_configuration {
  114    119   
            ser.write_struct(&PUTBUCKETVERSIONINGINPUT_MEMBER_VERSIONING_CONFIGURATION, val)?;
  115    120   
        }
  116    121   
        Ok(())
  117    122   
    }
  118    123   
}
  119    124   
impl PutBucketVersioningInput {
  120    125   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  121         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  122         -
        deserializer: &mut D,
         126  +
    pub fn deserialize(
         127  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  123    128   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  124    129   
        #[allow(unused_variables, unused_mut)]
  125    130   
        let mut builder = Self::builder();
  126    131   
        #[allow(
  127    132   
            unused_variables,
  128    133   
            unreachable_code,
  129    134   
            clippy::single_match,
  130    135   
            clippy::match_single_binding,
  131    136   
            clippy::diverging_sub_expression
  132    137   
        )]
  133         -
        deserializer.read_struct(&PUTBUCKETVERSIONINGINPUT_SCHEMA, (), |_, member, deser| {
         138  +
        deserializer.read_struct(&PUTBUCKETVERSIONINGINPUT_SCHEMA, &mut |member, deser| {
  134    139   
            match member.member_index() {
  135    140   
                Some(0) => {
  136    141   
                    builder.account_id = Some(deser.read_string(member)?);
  137    142   
                }
  138    143   
                Some(1) => {
  139    144   
                    builder.bucket = Some(deser.read_string(member)?);
  140    145   
                }
  141    146   
                Some(2) => {
  142    147   
                    builder.mfa = Some(deser.read_string(member)?);
  143    148   
                }
  144    149   
                Some(3) => {
  145    150   
                    builder.versioning_configuration = Some(crate::types::VersioningConfiguration::deserialize(deser)?);
  146    151   
                }
  147    152   
                _ => {}
  148    153   
            }
  149    154   
            Ok(())
  150    155   
        })?;
         156  +
        builder.account_id = builder.account_id.or(Some(String::new()));
         157  +
        builder.bucket = builder.bucket.or(Some(String::new()));
         158  +
        builder
         159  +
            .build()
         160  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         161  +
    }
         162  +
}
         163  +
impl PutBucketVersioningInput {
         164  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         165  +
    /// Header-bound members are read directly from headers, avoiding runtime
         166  +
    /// member iteration overhead. Body members are read via the deserializer.
         167  +
    pub fn deserialize_with_response(
         168  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         169  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         170  +
        _status: u16,
         171  +
        body: &[u8],
         172  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         173  +
        #[allow(unused_variables, unused_mut)]
         174  +
        let mut builder = Self::builder();
         175  +
        if let Some(val) = headers.get("x-amz-account-id") {
         176  +
            builder.account_id = Some(val.to_string());
         177  +
        }
         178  +
        if let Some(val) = headers.get("x-amz-mfa") {
         179  +
            builder.mfa = Some(val.to_string());
         180  +
        }
         181  +
        if !body.is_empty() {
         182  +
            builder.versioning_configuration = Some(crate::types::VersioningConfiguration::deserialize(deserializer)?);
         183  +
        }
  151    184   
        builder
  152    185   
            .build()
  153    186   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  154    187   
    }
  155    188   
}
  156    189   
impl PutBucketVersioningInput {
  157    190   
    /// Creates a new builder-style object to manufacture [`PutBucketVersioningInput`](crate::operation::put_bucket_versioning::PutBucketVersioningInput).
  158    191   
    pub fn builder() -> crate::operation::put_bucket_versioning::builders::PutBucketVersioningInputBuilder {
  159    192   
        crate::operation::put_bucket_versioning::builders::PutBucketVersioningInputBuilder::default()
  160    193   
    }

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_job_tagging.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 `PutJobTagging`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct PutJobTagging;
    6      6   
impl PutJobTagging {
    7      7   
    /// Creates a new `PutJobTagging`
    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::put_job_tagging::PutJobTaggingInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::put_job_tagging::PutJobTaggingOutput::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::put_job_tagging::PutJobTaggingInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::put_job_tagging::PutJobTaggingOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::put_job_tagging::PutJobTaggingError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::put_job_tagging::PutJobTaggingError,
  139    143   
            >::new());
  140    144   
  141    145   
        ::std::borrow::Cow::Owned(rcb)
  142    146   
    }
  143    147   
}
  144    148   
  145    149   
#[derive(Debug)]
  146    150   
struct PutJobTaggingResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for PutJobTaggingResponseDeserializer {
  148         -
    fn deserialize_nonstreaming(
         152  +
    fn deserialize_nonstreaming_with_config(
  149    153   
        &self,
  150    154   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         155  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  151    156   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  152    157   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  153    158   
        let headers = response.headers();
  154    159   
        let body = response.body().bytes().expect("body loaded");
  155    160   
        #[allow(unused_mut)]
  156    161   
        let mut force_error = false;
  157    162   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  158    163   
        let parse_result = if !success && status != 200 || force_error {
  159    164   
            crate::protocol_serde::shape_put_job_tagging::de_put_job_tagging_http_error(status, headers, body)
  160    165   
        } else {

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

@@ -11,11 +168,216 @@
   31     31   
    "com.amazonaws.s3control.synthetic",
   32     32   
    "PutJobTaggingInput",
   33     33   
);
   34     34   
static PUTJOBTAGGINGINPUT_MEMBER_ACCOUNT_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   35     35   
    ::aws_smithy_schema::ShapeId::from_static(
   36     36   
        "com.amazonaws.s3control.synthetic#PutJobTaggingInput$AccountId",
   37     37   
        "com.amazonaws.s3control.synthetic",
   38     38   
        "PutJobTaggingInput",
   39     39   
    ),
   40     40   
    ::aws_smithy_schema::ShapeType::String,
   41         -
    "account_id",
          41  +
    "AccountId",
   42     42   
    0,
   43     43   
)
   44     44   
.with_host_label()
   45     45   
.with_http_header("x-amz-account-id");
   46     46   
static PUTJOBTAGGINGINPUT_MEMBER_JOB_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   47     47   
    ::aws_smithy_schema::ShapeId::from_static(
   48     48   
        "com.amazonaws.s3control.synthetic#PutJobTaggingInput$JobId",
   49     49   
        "com.amazonaws.s3control.synthetic",
   50     50   
        "PutJobTaggingInput",
   51     51   
    ),
   52     52   
    ::aws_smithy_schema::ShapeType::String,
   53         -
    "job_id",
          53  +
    "JobId",
   54     54   
    1,
   55     55   
)
   56     56   
.with_http_label();
   57     57   
static PUTJOBTAGGINGINPUT_MEMBER_TAGS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   58     58   
    ::aws_smithy_schema::ShapeId::from_static(
   59     59   
        "com.amazonaws.s3control.synthetic#PutJobTaggingInput$Tags",
   60     60   
        "com.amazonaws.s3control.synthetic",
   61     61   
        "PutJobTaggingInput",
   62     62   
    ),
   63     63   
    ::aws_smithy_schema::ShapeType::List,
   64         -
    "tags",
          64  +
    "Tags",
   65     65   
    2,
   66     66   
);
   67     67   
static PUTJOBTAGGINGINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   68     68   
    PUTJOBTAGGINGINPUT_SCHEMA_ID,
   69     69   
    ::aws_smithy_schema::ShapeType::Structure,
   70     70   
    &[
   71     71   
        &PUTJOBTAGGINGINPUT_MEMBER_ACCOUNT_ID,
   72     72   
        &PUTJOBTAGGINGINPUT_MEMBER_JOB_ID,
   73     73   
        &PUTJOBTAGGINGINPUT_MEMBER_TAGS,
   74     74   
    ],
   75         -
);
          75  +
)
          76  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("PUT", "/v20180820/jobs/{JobId}/tagging", None));
   76     77   
impl PutJobTaggingInput {
   77     78   
    /// The schema for this shape.
   78     79   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &PUTJOBTAGGINGINPUT_SCHEMA;
   79     80   
}
   80     81   
impl ::aws_smithy_schema::serde::SerializableStruct for PutJobTaggingInput {
   81     82   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   82     83   
    fn serialize_members(
   83     84   
        &self,
   84     85   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   85     86   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   86     87   
        if let Some(ref val) = self.account_id {
   87     88   
            ser.write_string(&PUTJOBTAGGINGINPUT_MEMBER_ACCOUNT_ID, val)?;
   88     89   
        }
   89     90   
        if let Some(ref val) = self.job_id {
   90     91   
            ser.write_string(&PUTJOBTAGGINGINPUT_MEMBER_JOB_ID, val)?;
   91     92   
        }
   92     93   
        if let Some(ref val) = self.tags {
   93     94   
            ser.write_list(
   94     95   
                &PUTJOBTAGGINGINPUT_MEMBER_TAGS,
   95     96   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
   96     97   
                    for item in val {
   97     98   
                        ser.write_struct(crate::types::S3Tag::SCHEMA, item)?;
   98     99   
                    }
   99    100   
                    Ok(())
  100    101   
                },
  101    102   
            )?;
  102    103   
        }
  103    104   
        Ok(())
  104    105   
    }
  105    106   
}
  106    107   
impl PutJobTaggingInput {
  107    108   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  108         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  109         -
        deserializer: &mut D,
         109  +
    pub fn deserialize(
         110  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  110    111   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  111    112   
        #[allow(unused_variables, unused_mut)]
  112    113   
        let mut builder = Self::builder();
  113    114   
        #[allow(
  114    115   
            unused_variables,
  115    116   
            unreachable_code,
  116    117   
            clippy::single_match,
  117    118   
            clippy::match_single_binding,
  118    119   
            clippy::diverging_sub_expression
  119    120   
        )]
  120         -
        deserializer.read_struct(&PUTJOBTAGGINGINPUT_SCHEMA, (), |_, member, deser| {
         121  +
        deserializer.read_struct(&PUTJOBTAGGINGINPUT_SCHEMA, &mut |member, deser| {
  121    122   
            match member.member_index() {
  122    123   
                Some(0) => {
  123    124   
                    builder.account_id = Some(deser.read_string(member)?);
  124    125   
                }
  125    126   
                Some(1) => {
  126    127   
                    builder.job_id = Some(deser.read_string(member)?);
  127    128   
                }
  128    129   
                Some(2) => {
  129    130   
                    builder.tags = Some({
  130         -
                        let container = if let Some(cap) = deser.container_size() {
  131         -
                            Vec::with_capacity(cap)
  132         -
                        } else {
  133         -
                            Vec::new()
  134         -
                        };
  135         -
                        deser.read_list(member, container, |mut list, deser| {
  136         -
                            list.push(crate::types::S3Tag::deserialize(deser)?);
  137         -
                            Ok(list)
  138         -
                        })?
         131  +
                        let mut container = Vec::new();
         132  +
                        deser.read_list(member, &mut |deser| {
         133  +
                            container.push(crate::types::S3Tag::deserialize(deser)?);
         134  +
                            Ok(())
         135  +
                        })?;
         136  +
                        container
         137  +
                    });
         138  +
                }
         139  +
                _ => {}
         140  +
            }
         141  +
            Ok(())
         142  +
        })?;
         143  +
        builder.account_id = builder.account_id.or(Some(String::new()));
         144  +
        builder.job_id = builder.job_id.or(Some(String::new()));
         145  +
        builder.tags = builder.tags.or(Some(Vec::new()));
         146  +
        builder
         147  +
            .build()
         148  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         149  +
    }
         150  +
}
         151  +
impl PutJobTaggingInput {
         152  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         153  +
    /// Header-bound members are read directly from headers, avoiding runtime
         154  +
    /// member iteration overhead. Body members are read via the deserializer.
         155  +
    pub fn deserialize_with_response(
         156  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         157  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         158  +
        _status: u16,
         159  +
        _body: &[u8],
         160  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         161  +
        #[allow(unused_variables, unused_mut)]
         162  +
        let mut builder = Self::builder();
         163  +
        if let Some(val) = headers.get("x-amz-account-id") {
         164  +
            builder.account_id = Some(val.to_string());
         165  +
        }
         166  +
        #[allow(
         167  +
            unused_variables,
         168  +
            unreachable_code,
         169  +
            clippy::single_match,
         170  +
            clippy::match_single_binding,
         171  +
            clippy::diverging_sub_expression
         172  +
        )]
         173  +
        deserializer.read_struct(&PUTJOBTAGGINGINPUT_SCHEMA, &mut |member, deser| {
         174  +
            match member.member_index() {
         175  +
                Some(0) => { /* read from headers above */ }
         176  +
                Some(1) => {
         177  +
                    builder.job_id = Some(deser.read_string(member)?);
         178  +
                }
         179  +
                Some(2) => {
         180  +
                    builder.tags = Some({
         181  +
                        let mut container = Vec::new();
         182  +
                        deser.read_list(member, &mut |deser| {
         183  +
                            container.push(crate::types::S3Tag::deserialize(deser)?);
         184  +
                            Ok(())
         185  +
                        })?;
         186  +
                        container
  139    187   
                    });
  140    188   
                }
  141    189   
                _ => {}
  142    190   
            }
  143    191   
            Ok(())
  144    192   
        })?;
  145    193   
        builder
  146    194   
            .build()
  147    195   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  148    196   
    }

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_multi_region_access_point_policy.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 `PutMultiRegionAccessPointPolicy`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct PutMultiRegionAccessPointPolicy;
    6      6   
impl PutMultiRegionAccessPointPolicy {
    7      7   
    /// Creates a new `PutMultiRegionAccessPointPolicy`
    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::put_multi_region_access_point_policy::PutMultiRegionAccessPointPolicyInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::put_multi_region_access_point_policy::PutMultiRegionAccessPointPolicyOutput::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::put_multi_region_access_point_policy::PutMultiRegionAccessPointPolicyInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::put_multi_region_access_point_policy::PutMultiRegionAccessPointPolicyOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::put_multi_region_access_point_policy::PutMultiRegionAccessPointPolicyError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -134,140 +196,203 @@
  154    160   
                crate::operation::put_multi_region_access_point_policy::PutMultiRegionAccessPointPolicyError,
  155    161   
            >::new());
  156    162   
  157    163   
        ::std::borrow::Cow::Owned(rcb)
  158    164   
    }
  159    165   
}
  160    166   
  161    167   
#[derive(Debug)]
  162    168   
struct PutMultiRegionAccessPointPolicyResponseDeserializer;
  163    169   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for PutMultiRegionAccessPointPolicyResponseDeserializer {
  164         -
    fn deserialize_nonstreaming(
         170  +
    fn deserialize_nonstreaming_with_config(
  165    171   
        &self,
  166    172   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         173  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  167    174   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  168    175   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  169    176   
        let headers = response.headers();
  170    177   
        let body = response.body().bytes().expect("body loaded");
  171    178   
        #[allow(unused_mut)]
  172    179   
        let mut force_error = false;
  173    180   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  174    181   
        let parse_result = if !success && status != 200 || force_error {
  175    182   
            crate::protocol_serde::shape_put_multi_region_access_point_policy::de_put_multi_region_access_point_policy_http_error(
  176    183   
                status, headers, body,

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

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

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

@@ -1,1 +96,143 @@
   18     18   
    "com.amazonaws.s3control.synthetic",
   19     19   
    "PutMultiRegionAccessPointPolicyOutput",
   20     20   
);
   21     21   
static PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_MEMBER_REQUEST_TOKEN_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   22     22   
    ::aws_smithy_schema::ShapeId::from_static(
   23     23   
        "com.amazonaws.s3control.synthetic#PutMultiRegionAccessPointPolicyOutput$RequestTokenARN",
   24     24   
        "com.amazonaws.s3control.synthetic",
   25     25   
        "PutMultiRegionAccessPointPolicyOutput",
   26     26   
    ),
   27     27   
    ::aws_smithy_schema::ShapeType::String,
   28         -
    "request_token_arn",
          28  +
    "RequestTokenARN",
   29     29   
    0,
   30     30   
);
          31  +
static PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          32  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          33  +
    ::aws_smithy_schema::ShapeType::String,
          34  +
    "request_id",
          35  +
    1,
          36  +
)
          37  +
.with_http_header("x-amzn-requestid");
   31     38   
static PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   32     39   
    PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_SCHEMA_ID,
   33     40   
    ::aws_smithy_schema::ShapeType::Structure,
   34         -
    &[&PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_MEMBER_REQUEST_TOKEN_ARN],
          41  +
    &[
          42  +
        &PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_MEMBER_REQUEST_TOKEN_ARN,
          43  +
        &PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_MEMBER__REQUEST_ID,
          44  +
    ],
   35     45   
);
   36     46   
impl PutMultiRegionAccessPointPolicyOutput {
   37     47   
    /// The schema for this shape.
   38     48   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_SCHEMA;
   39     49   
}
   40     50   
impl ::aws_smithy_schema::serde::SerializableStruct for PutMultiRegionAccessPointPolicyOutput {
   41     51   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   42     52   
    fn serialize_members(
   43     53   
        &self,
   44     54   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   45     55   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   46     56   
        if let Some(ref val) = self.request_token_arn {
   47     57   
            ser.write_string(&PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_MEMBER_REQUEST_TOKEN_ARN, val)?;
   48     58   
        }
   49     59   
        Ok(())
   50     60   
    }
   51     61   
}
   52     62   
impl PutMultiRegionAccessPointPolicyOutput {
   53     63   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   54         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   55         -
        deserializer: &mut D,
          64  +
    pub fn deserialize(
          65  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   56     66   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   57     67   
        #[allow(unused_variables, unused_mut)]
   58     68   
        let mut builder = Self::builder();
   59     69   
        #[allow(
   60     70   
            unused_variables,
   61     71   
            unreachable_code,
   62     72   
            clippy::single_match,
   63     73   
            clippy::match_single_binding,
   64     74   
            clippy::diverging_sub_expression
   65     75   
        )]
   66         -
        deserializer.read_struct(&PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_SCHEMA, (), |_, member, deser| {
          76  +
        deserializer.read_struct(&PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_SCHEMA, &mut |member, deser| {
          77  +
            match member.member_index() {
          78  +
                Some(0) => {
          79  +
                    builder.request_token_arn = Some(deser.read_string(member)?);
          80  +
                }
          81  +
                Some(1) => {
          82  +
                    builder._request_id = Some(deser.read_string(member)?);
          83  +
                }
          84  +
                _ => {}
          85  +
            }
          86  +
            Ok(())
          87  +
        })?;
          88  +
        Ok(builder.build())
          89  +
    }
          90  +
}
          91  +
impl PutMultiRegionAccessPointPolicyOutput {
          92  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
          93  +
    /// Header-bound members are read directly from headers, avoiding runtime
          94  +
    /// member iteration overhead. Body members are read via the deserializer.
          95  +
    pub fn deserialize_with_response(
          96  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          97  +
        headers: &::aws_smithy_runtime_api::http::Headers,
          98  +
        _status: u16,
          99  +
        _body: &[u8],
         100  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         101  +
        #[allow(unused_variables, unused_mut)]
         102  +
        let mut builder = Self::builder();
         103  +
        if let Some(val) = headers.get("x-amzn-requestid") {
         104  +
            builder._request_id = Some(val.to_string());
         105  +
        }
         106  +
        #[allow(
         107  +
            unused_variables,
         108  +
            unreachable_code,
         109  +
            clippy::single_match,
         110  +
            clippy::match_single_binding,
         111  +
            clippy::diverging_sub_expression
         112  +
        )]
         113  +
        deserializer.read_struct(&PUTMULTIREGIONACCESSPOINTPOLICYOUTPUT_SCHEMA, &mut |member, deser| {
   67    114   
            match member.member_index() {
   68    115   
                Some(0) => {
   69    116   
                    builder.request_token_arn = Some(deser.read_string(member)?);
   70    117   
                }
   71    118   
                _ => {}
   72    119   
            }
   73    120   
            Ok(())
   74    121   
        })?;
   75    122   
        Ok(builder.build())
   76    123   
    }

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_public_access_block.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 `PutPublicAccessBlock`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct PutPublicAccessBlock;
    6      6   
impl PutPublicAccessBlock {
    7      7   
    /// Creates a new `PutPublicAccessBlock`
    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::put_public_access_block::PutPublicAccessBlockInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::put_public_access_block::PutPublicAccessBlockOutput::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::put_public_access_block::PutPublicAccessBlockInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::put_public_access_block::PutPublicAccessBlockOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::put_public_access_block::PutPublicAccessBlockError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::put_public_access_block::PutPublicAccessBlockError,
  139    143   
            >::new());
  140    144   
  141    145   
        ::std::borrow::Cow::Owned(rcb)
  142    146   
    }
  143    147   
}
  144    148   
  145    149   
#[derive(Debug)]
  146    150   
struct PutPublicAccessBlockResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for PutPublicAccessBlockResponseDeserializer {
  148         -
    fn deserialize_nonstreaming(
         152  +
    fn deserialize_nonstreaming_with_config(
  149    153   
        &self,
  150    154   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         155  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  151    156   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  152    157   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  153    158   
        let headers = response.headers();
  154    159   
        let body = response.body().bytes().expect("body loaded");
  155    160   
        #[allow(unused_mut)]
  156    161   
        let mut force_error = false;
  157    162   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  158    163   
        let parse_result = if !success && status != 200 || force_error {
  159    164   
            crate::protocol_serde::shape_put_public_access_block::de_put_public_access_block_http_error(status, headers, body)
  160    165   
        } else {

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

@@ -3,3 +132,161 @@
   23     23   
    "com.amazonaws.s3control.synthetic",
   24     24   
    "PutPublicAccessBlockInput",
   25     25   
);
   26     26   
static PUTPUBLICACCESSBLOCKINPUT_MEMBER_PUBLIC_ACCESS_BLOCK_CONFIGURATION: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   27     27   
    ::aws_smithy_schema::ShapeId::from_static(
   28     28   
        "com.amazonaws.s3control.synthetic#PutPublicAccessBlockInput$PublicAccessBlockConfiguration",
   29     29   
        "com.amazonaws.s3control.synthetic",
   30     30   
        "PutPublicAccessBlockInput",
   31     31   
    ),
   32     32   
    ::aws_smithy_schema::ShapeType::Structure,
   33         -
    "public_access_block_configuration",
          33  +
    "PublicAccessBlockConfiguration",
   34     34   
    0,
   35     35   
)
   36     36   
.with_xml_name("PublicAccessBlockConfiguration")
   37     37   
.with_http_payload();
   38     38   
static PUTPUBLICACCESSBLOCKINPUT_MEMBER_ACCOUNT_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   39     39   
    ::aws_smithy_schema::ShapeId::from_static(
   40     40   
        "com.amazonaws.s3control.synthetic#PutPublicAccessBlockInput$AccountId",
   41     41   
        "com.amazonaws.s3control.synthetic",
   42     42   
        "PutPublicAccessBlockInput",
   43     43   
    ),
   44     44   
    ::aws_smithy_schema::ShapeType::String,
   45         -
    "account_id",
          45  +
    "AccountId",
   46     46   
    1,
   47     47   
)
   48     48   
.with_host_label()
   49     49   
.with_http_header("x-amz-account-id");
   50     50   
static PUTPUBLICACCESSBLOCKINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   51     51   
    PUTPUBLICACCESSBLOCKINPUT_SCHEMA_ID,
   52     52   
    ::aws_smithy_schema::ShapeType::Structure,
   53     53   
    &[
   54     54   
        &PUTPUBLICACCESSBLOCKINPUT_MEMBER_PUBLIC_ACCESS_BLOCK_CONFIGURATION,
   55     55   
        &PUTPUBLICACCESSBLOCKINPUT_MEMBER_ACCOUNT_ID,
   56     56   
    ],
   57         -
);
          57  +
)
          58  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          59  +
    "PUT",
          60  +
    "/v20180820/configuration/publicAccessBlock",
          61  +
    None,
          62  +
));
   58     63   
impl PutPublicAccessBlockInput {
   59     64   
    /// The schema for this shape.
   60     65   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &PUTPUBLICACCESSBLOCKINPUT_SCHEMA;
   61     66   
}
   62     67   
impl ::aws_smithy_schema::serde::SerializableStruct for PutPublicAccessBlockInput {
   63     68   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   64     69   
    fn serialize_members(
   65     70   
        &self,
   66     71   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   67     72   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   68     73   
        if let Some(ref val) = self.public_access_block_configuration {
   69     74   
            ser.write_struct(&PUTPUBLICACCESSBLOCKINPUT_MEMBER_PUBLIC_ACCESS_BLOCK_CONFIGURATION, val)?;
   70     75   
        }
   71     76   
        if let Some(ref val) = self.account_id {
   72     77   
            ser.write_string(&PUTPUBLICACCESSBLOCKINPUT_MEMBER_ACCOUNT_ID, val)?;
   73     78   
        }
   74     79   
        Ok(())
   75     80   
    }
   76     81   
}
   77     82   
impl PutPublicAccessBlockInput {
   78     83   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   79         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   80         -
        deserializer: &mut D,
          84  +
    pub fn deserialize(
          85  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   81     86   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   82     87   
        #[allow(unused_variables, unused_mut)]
   83     88   
        let mut builder = Self::builder();
   84     89   
        #[allow(
   85     90   
            unused_variables,
   86     91   
            unreachable_code,
   87     92   
            clippy::single_match,
   88     93   
            clippy::match_single_binding,
   89     94   
            clippy::diverging_sub_expression
   90     95   
        )]
   91         -
        deserializer.read_struct(&PUTPUBLICACCESSBLOCKINPUT_SCHEMA, (), |_, member, deser| {
          96  +
        deserializer.read_struct(&PUTPUBLICACCESSBLOCKINPUT_SCHEMA, &mut |member, deser| {
   92     97   
            match member.member_index() {
   93     98   
                Some(0) => {
   94     99   
                    builder.public_access_block_configuration = Some(crate::types::PublicAccessBlockConfiguration::deserialize(deser)?);
   95    100   
                }
   96    101   
                Some(1) => {
   97    102   
                    builder.account_id = Some(deser.read_string(member)?);
   98    103   
                }
   99    104   
                _ => {}
  100    105   
            }
  101    106   
            Ok(())
  102    107   
        })?;
         108  +
        builder.account_id = builder.account_id.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 PutPublicAccessBlockInput {
         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-account-id") {
         127  +
            builder.account_id = Some(val.to_string());
         128  +
        }
         129  +
        if !body.is_empty() {
         130  +
            builder.public_access_block_configuration = Some(crate::types::PublicAccessBlockConfiguration::deserialize(deserializer)?);
         131  +
        }
  103    132   
        builder
  104    133   
            .build()
  105    134   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  106    135   
    }
  107    136   
}
  108    137   
impl PutPublicAccessBlockInput {
  109    138   
    /// Creates a new builder-style object to manufacture [`PutPublicAccessBlockInput`](crate::operation::put_public_access_block::PutPublicAccessBlockInput).
  110    139   
    pub fn builder() -> crate::operation::put_public_access_block::builders::PutPublicAccessBlockInputBuilder {
  111    140   
        crate::operation::put_public_access_block::builders::PutPublicAccessBlockInputBuilder::default()
  112    141   
    }

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/put_storage_lens_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 `PutStorageLensConfiguration`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct PutStorageLensConfiguration;
    6      6   
impl PutStorageLensConfiguration {
    7      7   
    /// Creates a new `PutStorageLensConfiguration`
    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::put_storage_lens_configuration::PutStorageLensConfigurationInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::put_storage_lens_configuration::PutStorageLensConfigurationOutput::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::put_storage_lens_configuration::PutStorageLensConfigurationInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::put_storage_lens_configuration::PutStorageLensConfigurationOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::put_storage_lens_configuration::PutStorageLensConfigurationError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -124,130 +186,193 @@
  144    150   
                crate::operation::put_storage_lens_configuration::PutStorageLensConfigurationError,
  145    151   
            >::new());
  146    152   
  147    153   
        ::std::borrow::Cow::Owned(rcb)
  148    154   
    }
  149    155   
}
  150    156   
  151    157   
#[derive(Debug)]
  152    158   
struct PutStorageLensConfigurationResponseDeserializer;
  153    159   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for PutStorageLensConfigurationResponseDeserializer {
  154         -
    fn deserialize_nonstreaming(
         160  +
    fn deserialize_nonstreaming_with_config(
  155    161   
        &self,
  156    162   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         163  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  157    164   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  158    165   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  159    166   
        let headers = response.headers();
  160    167   
        let body = response.body().bytes().expect("body loaded");
  161    168   
        #[allow(unused_mut)]
  162    169   
        let mut force_error = false;
  163    170   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  164    171   
        let parse_result = if !success && status != 200 || force_error {
  165    172   
            crate::protocol_serde::shape_put_storage_lens_configuration::de_put_storage_lens_configuration_http_error(status, headers, body)
  166    173   
        } else {