AWS SDK

AWS SDK

rev. 32b1b3c3761061baed26023be3219639e42d7d12 (ignoring whitespace)

Files changed:

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

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

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

@@ -1,1 +83,111 @@
    3      3   
#[non_exhaustive]
    4      4   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5      5   
pub struct DeleteStorageLensConfigurationOutput {
    6      6   
    _request_id: Option<String>,
    7      7   
}
    8      8   
static DELETESTORAGELENSCONFIGURATIONOUTPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
    9      9   
    "com.amazonaws.s3control.synthetic#DeleteStorageLensConfigurationOutput",
   10     10   
    "com.amazonaws.s3control.synthetic",
   11     11   
    "DeleteStorageLensConfigurationOutput",
   12     12   
);
          13  +
static DELETESTORAGELENSCONFIGURATIONOUTPUT_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");
   13     20   
static DELETESTORAGELENSCONFIGURATIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   14     21   
    DELETESTORAGELENSCONFIGURATIONOUTPUT_SCHEMA_ID,
   15     22   
    ::aws_smithy_schema::ShapeType::Structure,
   16         -
    &[],
          23  +
    &[&DELETESTORAGELENSCONFIGURATIONOUTPUT_MEMBER__REQUEST_ID],
   17     24   
);
   18     25   
impl DeleteStorageLensConfigurationOutput {
   19     26   
    /// The schema for this shape.
   20     27   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETESTORAGELENSCONFIGURATIONOUTPUT_SCHEMA;
   21     28   
}
   22     29   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteStorageLensConfigurationOutput {
   23     30   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   24     31   
    fn serialize_members(
   25     32   
        &self,
   26     33   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   27     34   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   28     35   
        Ok(())
   29     36   
    }
   30     37   
}
   31     38   
impl DeleteStorageLensConfigurationOutput {
   32     39   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   33         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   34         -
        deserializer: &mut D,
          40  +
    pub fn deserialize(
          41  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   35     42   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   36     43   
        #[allow(unused_variables, unused_mut)]
   37     44   
        let mut builder = Self::builder();
   38     45   
        #[allow(
   39     46   
            unused_variables,
   40     47   
            unreachable_code,
   41     48   
            clippy::single_match,
   42     49   
            clippy::match_single_binding,
   43     50   
            clippy::diverging_sub_expression
   44     51   
        )]
   45         -
        deserializer.read_struct(&DELETESTORAGELENSCONFIGURATIONOUTPUT_SCHEMA, (), |_, member, deser| {
          52  +
        deserializer.read_struct(&DELETESTORAGELENSCONFIGURATIONOUTPUT_SCHEMA, &mut |member, deser| {
   46     53   
            match member.member_index() {
          54  +
                Some(0) => {
          55  +
                    builder._request_id = Some(deser.read_string(member)?);
          56  +
                }
   47     57   
                _ => {}
   48     58   
            }
   49     59   
            Ok(())
   50     60   
        })?;
   51     61   
        Ok(builder.build())
   52     62   
    }
   53     63   
}
          64  +
impl DeleteStorageLensConfigurationOutput {
          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  +
}
   54     82   
impl ::aws_types::request_id::RequestId for DeleteStorageLensConfigurationOutput {
   55     83   
    fn request_id(&self) -> Option<&str> {
   56     84   
        self._request_id.as_deref()
   57     85   
    }
   58     86   
}
   59     87   
impl DeleteStorageLensConfigurationOutput {
   60     88   
    /// Creates a new builder-style object to manufacture [`DeleteStorageLensConfigurationOutput`](crate::operation::delete_storage_lens_configuration::DeleteStorageLensConfigurationOutput).
   61     89   
    pub fn builder() -> crate::operation::delete_storage_lens_configuration::builders::DeleteStorageLensConfigurationOutputBuilder {
   62     90   
        crate::operation::delete_storage_lens_configuration::builders::DeleteStorageLensConfigurationOutputBuilder::default()
   63     91   
    }

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/delete_storage_lens_configuration_tagging.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 `DeleteStorageLensConfigurationTagging`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteStorageLensConfigurationTagging;
    6      6   
impl DeleteStorageLensConfigurationTagging {
    7      7   
    /// Creates a new `DeleteStorageLensConfigurationTagging`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          13  +
        crate::operation::delete_storage_lens_configuration_tagging::DeleteStorageLensConfigurationTaggingInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::delete_storage_lens_configuration_tagging::DeleteStorageLensConfigurationTaggingOutput::SCHEMA;
   11     17   
    pub(crate) async fn orchestrate(
   12     18   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     19   
        input: crate::operation::delete_storage_lens_configuration_tagging::DeleteStorageLensConfigurationTaggingInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::delete_storage_lens_configuration_tagging::DeleteStorageLensConfigurationTaggingOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::delete_storage_lens_configuration_tagging::DeleteStorageLensConfigurationTaggingError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -124,130 +186,193 @@
  144    150   
                crate::operation::delete_storage_lens_configuration_tagging::DeleteStorageLensConfigurationTaggingError,
  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 DeleteStorageLensConfigurationTaggingResponseDeserializer;
  153    159   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteStorageLensConfigurationTaggingResponseDeserializer {
  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_delete_storage_lens_configuration_tagging::de_delete_storage_lens_configuration_tagging_http_error(
  166    173   
                status, headers, body,

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

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

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

@@ -1,1 +83,111 @@
    3      3   
#[non_exhaustive]
    4      4   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5      5   
pub struct DeleteStorageLensConfigurationTaggingOutput {
    6      6   
    _request_id: Option<String>,
    7      7   
}
    8      8   
static DELETESTORAGELENSCONFIGURATIONTAGGINGOUTPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
    9      9   
    "com.amazonaws.s3control.synthetic#DeleteStorageLensConfigurationTaggingOutput",
   10     10   
    "com.amazonaws.s3control.synthetic",
   11     11   
    "DeleteStorageLensConfigurationTaggingOutput",
   12     12   
);
          13  +
static DELETESTORAGELENSCONFIGURATIONTAGGINGOUTPUT_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");
   13     20   
static DELETESTORAGELENSCONFIGURATIONTAGGINGOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   14     21   
    DELETESTORAGELENSCONFIGURATIONTAGGINGOUTPUT_SCHEMA_ID,
   15     22   
    ::aws_smithy_schema::ShapeType::Structure,
   16         -
    &[],
          23  +
    &[&DELETESTORAGELENSCONFIGURATIONTAGGINGOUTPUT_MEMBER__REQUEST_ID],
   17     24   
);
   18     25   
impl DeleteStorageLensConfigurationTaggingOutput {
   19     26   
    /// The schema for this shape.
   20     27   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETESTORAGELENSCONFIGURATIONTAGGINGOUTPUT_SCHEMA;
   21     28   
}
   22     29   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteStorageLensConfigurationTaggingOutput {
   23     30   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   24     31   
    fn serialize_members(
   25     32   
        &self,
   26     33   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   27     34   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   28     35   
        Ok(())
   29     36   
    }
   30     37   
}
   31     38   
impl DeleteStorageLensConfigurationTaggingOutput {
   32     39   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   33         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   34         -
        deserializer: &mut D,
          40  +
    pub fn deserialize(
          41  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   35     42   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   36     43   
        #[allow(unused_variables, unused_mut)]
   37     44   
        let mut builder = Self::builder();
   38     45   
        #[allow(
   39     46   
            unused_variables,
   40     47   
            unreachable_code,
   41     48   
            clippy::single_match,
   42     49   
            clippy::match_single_binding,
   43     50   
            clippy::diverging_sub_expression
   44     51   
        )]
   45         -
        deserializer.read_struct(&DELETESTORAGELENSCONFIGURATIONTAGGINGOUTPUT_SCHEMA, (), |_, member, deser| {
          52  +
        deserializer.read_struct(&DELETESTORAGELENSCONFIGURATIONTAGGINGOUTPUT_SCHEMA, &mut |member, deser| {
   46     53   
            match member.member_index() {
          54  +
                Some(0) => {
          55  +
                    builder._request_id = Some(deser.read_string(member)?);
          56  +
                }
   47     57   
                _ => {}
   48     58   
            }
   49     59   
            Ok(())
   50     60   
        })?;
   51     61   
        Ok(builder.build())
   52     62   
    }
   53     63   
}
          64  +
impl DeleteStorageLensConfigurationTaggingOutput {
          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  +
}
   54     82   
impl ::aws_types::request_id::RequestId for DeleteStorageLensConfigurationTaggingOutput {
   55     83   
    fn request_id(&self) -> Option<&str> {
   56     84   
        self._request_id.as_deref()
   57     85   
    }
   58     86   
}
   59     87   
impl DeleteStorageLensConfigurationTaggingOutput {
   60     88   
    /// Creates a new builder-style object to manufacture [`DeleteStorageLensConfigurationTaggingOutput`](crate::operation::delete_storage_lens_configuration_tagging::DeleteStorageLensConfigurationTaggingOutput).
   61     89   
    pub fn builder() -> crate::operation::delete_storage_lens_configuration_tagging::builders::DeleteStorageLensConfigurationTaggingOutputBuilder {
   62     90   
        crate::operation::delete_storage_lens_configuration_tagging::builders::DeleteStorageLensConfigurationTaggingOutputBuilder::default()
   63     91   
    }

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/delete_storage_lens_group.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 `DeleteStorageLensGroup`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteStorageLensGroup;
    6      6   
impl DeleteStorageLensGroup {
    7      7   
    /// Creates a new `DeleteStorageLensGroup`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_storage_lens_group::DeleteStorageLensGroupInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_storage_lens_group::DeleteStorageLensGroupOutput::SCHEMA;
   11     15   
    pub(crate) async fn orchestrate(
   12     16   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     17   
        input: crate::operation::delete_storage_lens_group::DeleteStorageLensGroupInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::delete_storage_lens_group::DeleteStorageLensGroupOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::delete_storage_lens_group::DeleteStorageLensGroupError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::delete_storage_lens_group::DeleteStorageLensGroupError,
  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 DeleteStorageLensGroupResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteStorageLensGroupResponseDeserializer {
  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 != 204 || force_error {
  159    164   
            crate::protocol_serde::shape_delete_storage_lens_group::de_delete_storage_lens_group_http_error(status, headers, body)
  160    165   
        } else {

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/delete_storage_lens_group/_delete_storage_lens_group_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 DeleteStorageLensGroupOutput {
    6      6   
    _request_id: Option<String>,
    7      7   
}
    8      8   
static DELETESTORAGELENSGROUPOUTPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
    9      9   
    "com.amazonaws.s3control.synthetic#DeleteStorageLensGroupOutput",
   10     10   
    "com.amazonaws.s3control.synthetic",
   11     11   
    "DeleteStorageLensGroupOutput",
   12     12   
);
   13         -
static DELETESTORAGELENSGROUPOUTPUT_SCHEMA: ::aws_smithy_schema::Schema =
   14         -
    ::aws_smithy_schema::Schema::new_struct(DELETESTORAGELENSGROUPOUTPUT_SCHEMA_ID, ::aws_smithy_schema::ShapeType::Structure, &[]);
          13  +
static DELETESTORAGELENSGROUPOUTPUT_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 DELETESTORAGELENSGROUPOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
          21  +
    DELETESTORAGELENSGROUPOUTPUT_SCHEMA_ID,
          22  +
    ::aws_smithy_schema::ShapeType::Structure,
          23  +
    &[&DELETESTORAGELENSGROUPOUTPUT_MEMBER__REQUEST_ID],
          24  +
);
   15     25   
impl DeleteStorageLensGroupOutput {
   16     26   
    /// The schema for this shape.
   17     27   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETESTORAGELENSGROUPOUTPUT_SCHEMA;
   18     28   
}
   19     29   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteStorageLensGroupOutput {
   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 DeleteStorageLensGroupOutput {
   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(&DELETESTORAGELENSGROUPOUTPUT_SCHEMA, (), |_, member, deser| {
          52  +
        deserializer.read_struct(&DELETESTORAGELENSGROUPOUTPUT_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 DeleteStorageLensGroupOutput {
          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 DeleteStorageLensGroupOutput {
   52     83   
    fn request_id(&self) -> Option<&str> {
   53     84   
        self._request_id.as_deref()
   54     85   
    }
   55     86   
}
   56     87   
impl DeleteStorageLensGroupOutput {
   57     88   
    /// Creates a new builder-style object to manufacture [`DeleteStorageLensGroupOutput`](crate::operation::delete_storage_lens_group::DeleteStorageLensGroupOutput).
   58     89   
    pub fn builder() -> crate::operation::delete_storage_lens_group::builders::DeleteStorageLensGroupOutputBuilder {
   59     90   
        crate::operation::delete_storage_lens_group::builders::DeleteStorageLensGroupOutputBuilder::default()
   60     91   
    }

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

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

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

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/describe_multi_region_access_point_operation.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 `DescribeMultiRegionAccessPointOperation`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DescribeMultiRegionAccessPointOperation;
    6      6   
impl DescribeMultiRegionAccessPointOperation {
    7      7   
    /// Creates a new `DescribeMultiRegionAccessPointOperation`
    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::describe_multi_region_access_point_operation::DescribeMultiRegionAccessPointOperationInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::describe_multi_region_access_point_operation::DescribeMultiRegionAccessPointOperationOutput::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::describe_multi_region_access_point_operation::DescribeMultiRegionAccessPointOperationInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::describe_multi_region_access_point_operation::DescribeMultiRegionAccessPointOperationOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::describe_multi_region_access_point_operation::DescribeMultiRegionAccessPointOperationError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -124,130 +186,193 @@
  144    150   
                crate::operation::describe_multi_region_access_point_operation::DescribeMultiRegionAccessPointOperationError,
  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 DescribeMultiRegionAccessPointOperationResponseDeserializer;
  153    159   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DescribeMultiRegionAccessPointOperationResponseDeserializer {
  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_describe_multi_region_access_point_operation::de_describe_multi_region_access_point_operation_http_error(
  166    173   
                status, headers, body,

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

@@ -3,3 +131,175 @@
   23     23   
    "com.amazonaws.s3control.synthetic",
   24     24   
    "DescribeMultiRegionAccessPointOperationInput",
   25     25   
);
   26     26   
static DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_MEMBER_ACCOUNT_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   27     27   
    ::aws_smithy_schema::ShapeId::from_static(
   28     28   
        "com.amazonaws.s3control.synthetic#DescribeMultiRegionAccessPointOperationInput$AccountId",
   29     29   
        "com.amazonaws.s3control.synthetic",
   30     30   
        "DescribeMultiRegionAccessPointOperationInput",
   31     31   
    ),
   32     32   
    ::aws_smithy_schema::ShapeType::String,
   33         -
    "account_id",
          33  +
    "AccountId",
   34     34   
    0,
   35     35   
)
   36     36   
.with_host_label()
   37     37   
.with_http_header("x-amz-account-id");
   38     38   
static DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_MEMBER_REQUEST_TOKEN_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   39     39   
    ::aws_smithy_schema::ShapeId::from_static(
   40     40   
        "com.amazonaws.s3control.synthetic#DescribeMultiRegionAccessPointOperationInput$RequestTokenARN",
   41     41   
        "com.amazonaws.s3control.synthetic",
   42     42   
        "DescribeMultiRegionAccessPointOperationInput",
   43     43   
    ),
   44     44   
    ::aws_smithy_schema::ShapeType::String,
   45         -
    "request_token_arn",
          45  +
    "RequestTokenARN",
   46     46   
    1,
   47     47   
)
   48     48   
.with_http_label();
   49     49   
static DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   50     50   
    DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_SCHEMA_ID,
   51     51   
    ::aws_smithy_schema::ShapeType::Structure,
   52     52   
    &[
   53     53   
        &DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_MEMBER_ACCOUNT_ID,
   54     54   
        &DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_MEMBER_REQUEST_TOKEN_ARN,
   55     55   
    ],
   56         -
);
          56  +
)
          57  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          58  +
    "GET",
          59  +
    "/v20180820/async-requests/mrap/{RequestTokenARN+}",
          60  +
    None,
          61  +
));
   57     62   
impl DescribeMultiRegionAccessPointOperationInput {
   58     63   
    /// The schema for this shape.
   59     64   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_SCHEMA;
   60     65   
}
   61     66   
impl ::aws_smithy_schema::serde::SerializableStruct for DescribeMultiRegionAccessPointOperationInput {
   62     67   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   63     68   
    fn serialize_members(
   64     69   
        &self,
   65     70   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   66     71   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   67     72   
        if let Some(ref val) = self.account_id {
   68     73   
            ser.write_string(&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_MEMBER_ACCOUNT_ID, val)?;
   69     74   
        }
   70     75   
        if let Some(ref val) = self.request_token_arn {
   71     76   
            ser.write_string(&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_MEMBER_REQUEST_TOKEN_ARN, val)?;
   72     77   
        }
   73     78   
        Ok(())
   74     79   
    }
   75     80   
}
   76     81   
impl DescribeMultiRegionAccessPointOperationInput {
   77     82   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   78         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   79         -
        deserializer: &mut D,
          83  +
    pub fn deserialize(
          84  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   80     85   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   81     86   
        #[allow(unused_variables, unused_mut)]
   82     87   
        let mut builder = Self::builder();
   83     88   
        #[allow(
   84     89   
            unused_variables,
   85     90   
            unreachable_code,
   86     91   
            clippy::single_match,
   87     92   
            clippy::match_single_binding,
   88     93   
            clippy::diverging_sub_expression
   89     94   
        )]
   90         -
        deserializer.read_struct(&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_SCHEMA, (), |_, member, deser| {
          95  +
        deserializer.read_struct(&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_SCHEMA, &mut |member, deser| {
   91     96   
            match member.member_index() {
   92     97   
                Some(0) => {
   93     98   
                    builder.account_id = Some(deser.read_string(member)?);
   94     99   
                }
   95    100   
                Some(1) => {
   96    101   
                    builder.request_token_arn = Some(deser.read_string(member)?);
   97    102   
                }
   98    103   
                _ => {}
   99    104   
            }
  100    105   
            Ok(())
  101    106   
        })?;
         107  +
        builder.account_id = builder.account_id.or(Some(String::new()));
         108  +
        builder.request_token_arn = builder.request_token_arn.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 DescribeMultiRegionAccessPointOperationInput {
         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  +
        #[allow(
         130  +
            unused_variables,
         131  +
            unreachable_code,
         132  +
            clippy::single_match,
         133  +
            clippy::match_single_binding,
         134  +
            clippy::diverging_sub_expression
         135  +
        )]
         136  +
        deserializer.read_struct(&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONINPUT_SCHEMA, &mut |member, deser| {
         137  +
            match member.member_index() {
         138  +
                Some(0) => { /* read from headers above */ }
         139  +
                Some(1) => {
         140  +
                    builder.request_token_arn = Some(deser.read_string(member)?);
         141  +
                }
         142  +
                _ => {}
         143  +
            }
         144  +
            Ok(())
         145  +
        })?;
  102    146   
        builder
  103    147   
            .build()
  104    148   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  105    149   
    }
  106    150   
}
  107    151   
impl DescribeMultiRegionAccessPointOperationInput {
  108    152   
    /// Creates a new builder-style object to manufacture [`DescribeMultiRegionAccessPointOperationInput`](crate::operation::describe_multi_region_access_point_operation::DescribeMultiRegionAccessPointOperationInput).
  109    153   
    pub fn builder() -> crate::operation::describe_multi_region_access_point_operation::builders::DescribeMultiRegionAccessPointOperationInputBuilder
  110    154   
    {
  111    155   
        crate::operation::describe_multi_region_access_point_operation::builders::DescribeMultiRegionAccessPointOperationInputBuilder::default()

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

@@ -1,1 +96,143 @@
   18     18   
    "com.amazonaws.s3control.synthetic",
   19     19   
    "DescribeMultiRegionAccessPointOperationOutput",
   20     20   
);
   21     21   
static DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_MEMBER_ASYNC_OPERATION: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   22     22   
    ::aws_smithy_schema::ShapeId::from_static(
   23     23   
        "com.amazonaws.s3control.synthetic#DescribeMultiRegionAccessPointOperationOutput$AsyncOperation",
   24     24   
        "com.amazonaws.s3control.synthetic",
   25     25   
        "DescribeMultiRegionAccessPointOperationOutput",
   26     26   
    ),
   27     27   
    ::aws_smithy_schema::ShapeType::Structure,
   28         -
    "async_operation",
          28  +
    "AsyncOperation",
   29     29   
    0,
   30     30   
);
          31  +
static DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_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 DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   32     39   
    DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_SCHEMA_ID,
   33     40   
    ::aws_smithy_schema::ShapeType::Structure,
   34         -
    &[&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_MEMBER_ASYNC_OPERATION],
          41  +
    &[
          42  +
        &DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_MEMBER_ASYNC_OPERATION,
          43  +
        &DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_MEMBER__REQUEST_ID,
          44  +
    ],
   35     45   
);
   36     46   
impl DescribeMultiRegionAccessPointOperationOutput {
   37     47   
    /// The schema for this shape.
   38     48   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_SCHEMA;
   39     49   
}
   40     50   
impl ::aws_smithy_schema::serde::SerializableStruct for DescribeMultiRegionAccessPointOperationOutput {
   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.async_operation {
   47     57   
            ser.write_struct(&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_MEMBER_ASYNC_OPERATION, val)?;
   48     58   
        }
   49     59   
        Ok(())
   50     60   
    }
   51     61   
}
   52     62   
impl DescribeMultiRegionAccessPointOperationOutput {
   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(&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_SCHEMA, (), |_, member, deser| {
          76  +
        deserializer.read_struct(&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_SCHEMA, &mut |member, deser| {
          77  +
            match member.member_index() {
          78  +
                Some(0) => {
          79  +
                    builder.async_operation = Some(crate::types::AsyncOperation::deserialize(deser)?);
          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 DescribeMultiRegionAccessPointOperationOutput {
          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(&DESCRIBEMULTIREGIONACCESSPOINTOPERATIONOUTPUT_SCHEMA, &mut |member, deser| {
   67    114   
            match member.member_index() {
   68    115   
                Some(0) => {
   69    116   
                    builder.async_operation = Some(crate::types::AsyncOperation::deserialize(deser)?);
   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/dissociate_access_grants_identity_center.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 `DissociateAccessGrantsIdentityCenter`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DissociateAccessGrantsIdentityCenter;
    6      6   
impl DissociateAccessGrantsIdentityCenter {
    7      7   
    /// Creates a new `DissociateAccessGrantsIdentityCenter`
    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::dissociate_access_grants_identity_center::DissociateAccessGrantsIdentityCenterInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::dissociate_access_grants_identity_center::DissociateAccessGrantsIdentityCenterOutput::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::dissociate_access_grants_identity_center::DissociateAccessGrantsIdentityCenterInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::dissociate_access_grants_identity_center::DissociateAccessGrantsIdentityCenterOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::dissociate_access_grants_identity_center::DissociateAccessGrantsIdentityCenterError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -124,130 +186,193 @@
  144    150   
                crate::operation::dissociate_access_grants_identity_center::DissociateAccessGrantsIdentityCenterError,
  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 DissociateAccessGrantsIdentityCenterResponseDeserializer;
  153    159   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DissociateAccessGrantsIdentityCenterResponseDeserializer {
  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_dissociate_access_grants_identity_center::de_dissociate_access_grants_identity_center_http_error(
  166    173   
                status, headers, body,

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

@@ -1,1 +105,131 @@
   17     17   
    "com.amazonaws.s3control.synthetic",
   18     18   
    "DissociateAccessGrantsIdentityCenterInput",
   19     19   
);
   20     20   
static DISSOCIATEACCESSGRANTSIDENTITYCENTERINPUT_MEMBER_ACCOUNT_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   21     21   
    ::aws_smithy_schema::ShapeId::from_static(
   22     22   
        "com.amazonaws.s3control.synthetic#DissociateAccessGrantsIdentityCenterInput$AccountId",
   23     23   
        "com.amazonaws.s3control.synthetic",
   24     24   
        "DissociateAccessGrantsIdentityCenterInput",
   25     25   
    ),
   26     26   
    ::aws_smithy_schema::ShapeType::String,
   27         -
    "account_id",
          27  +
    "AccountId",
   28     28   
    0,
   29     29   
)
   30     30   
.with_host_label()
   31     31   
.with_http_header("x-amz-account-id");
   32     32   
static DISSOCIATEACCESSGRANTSIDENTITYCENTERINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   33     33   
    DISSOCIATEACCESSGRANTSIDENTITYCENTERINPUT_SCHEMA_ID,
   34     34   
    ::aws_smithy_schema::ShapeType::Structure,
   35     35   
    &[&DISSOCIATEACCESSGRANTSIDENTITYCENTERINPUT_MEMBER_ACCOUNT_ID],
   36         -
);
          36  +
)
          37  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          38  +
    "DELETE",
          39  +
    "/v20180820/accessgrantsinstance/identitycenter",
          40  +
    None,
          41  +
));
   37     42   
impl DissociateAccessGrantsIdentityCenterInput {
   38     43   
    /// The schema for this shape.
   39     44   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DISSOCIATEACCESSGRANTSIDENTITYCENTERINPUT_SCHEMA;
   40     45   
}
   41     46   
impl ::aws_smithy_schema::serde::SerializableStruct for DissociateAccessGrantsIdentityCenterInput {
   42     47   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   43     48   
    fn serialize_members(
   44     49   
        &self,
   45     50   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   46     51   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   47     52   
        if let Some(ref val) = self.account_id {
   48     53   
            ser.write_string(&DISSOCIATEACCESSGRANTSIDENTITYCENTERINPUT_MEMBER_ACCOUNT_ID, val)?;
   49     54   
        }
   50     55   
        Ok(())
   51     56   
    }
   52     57   
}
   53     58   
impl DissociateAccessGrantsIdentityCenterInput {
   54     59   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   55         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   56         -
        deserializer: &mut D,
          60  +
    pub fn deserialize(
          61  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   57     62   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   58     63   
        #[allow(unused_variables, unused_mut)]
   59     64   
        let mut builder = Self::builder();
   60     65   
        #[allow(
   61     66   
            unused_variables,
   62     67   
            unreachable_code,
   63     68   
            clippy::single_match,
   64     69   
            clippy::match_single_binding,
   65     70   
            clippy::diverging_sub_expression
   66     71   
        )]
   67         -
        deserializer.read_struct(&DISSOCIATEACCESSGRANTSIDENTITYCENTERINPUT_SCHEMA, (), |_, member, deser| {
          72  +
        deserializer.read_struct(&DISSOCIATEACCESSGRANTSIDENTITYCENTERINPUT_SCHEMA, &mut |member, deser| {
   68     73   
            match member.member_index() {
   69     74   
                Some(0) => {
   70     75   
                    builder.account_id = Some(deser.read_string(member)?);
   71     76   
                }
   72     77   
                _ => {}
   73     78   
            }
   74     79   
            Ok(())
   75     80   
        })?;
          81  +
        builder.account_id = builder.account_id.or(Some(String::new()));
          82  +
        builder
          83  +
            .build()
          84  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
          85  +
    }
          86  +
}
          87  +
impl DissociateAccessGrantsIdentityCenterInput {
          88  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
          89  +
    /// Header-bound members are read directly from headers, avoiding runtime
          90  +
    /// member iteration overhead. Body members are read via the deserializer.
          91  +
    pub fn deserialize_with_response(
          92  +
        _deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          93  +
        headers: &::aws_smithy_runtime_api::http::Headers,
          94  +
        _status: u16,
          95  +
        _body: &[u8],
          96  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          97  +
        #[allow(unused_variables, unused_mut)]
          98  +
        let mut builder = Self::builder();
          99  +
        if let Some(val) = headers.get("x-amz-account-id") {
         100  +
            builder.account_id = Some(val.to_string());
         101  +
        }
   76    102   
        builder
   77    103   
            .build()
   78    104   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
   79    105   
    }
   80    106   
}
   81    107   
impl DissociateAccessGrantsIdentityCenterInput {
   82    108   
    /// Creates a new builder-style object to manufacture [`DissociateAccessGrantsIdentityCenterInput`](crate::operation::dissociate_access_grants_identity_center::DissociateAccessGrantsIdentityCenterInput).
   83    109   
    pub fn builder() -> crate::operation::dissociate_access_grants_identity_center::builders::DissociateAccessGrantsIdentityCenterInputBuilder {
   84    110   
        crate::operation::dissociate_access_grants_identity_center::builders::DissociateAccessGrantsIdentityCenterInputBuilder::default()
   85    111   
    }