AWS SDK

AWS SDK

rev. e063993ca0ab793f44c575dbe707d50a5e3e2406

Files changed:

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/disable_vpc_classic_link/_disable_vpc_classic_link_input.rs

@@ -3,3 +132,144 @@
   23     23   
    "com.amazonaws.ec2.synthetic",
   24     24   
    "DisableVpcClassicLinkInput",
   25     25   
);
   26     26   
static DISABLEVPCCLASSICLINKINPUT_MEMBER_DRY_RUN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   27     27   
    ::aws_smithy_schema::ShapeId::from_static(
   28     28   
        "com.amazonaws.ec2.synthetic#DisableVpcClassicLinkInput$DryRun",
   29     29   
        "com.amazonaws.ec2.synthetic",
   30     30   
        "DisableVpcClassicLinkInput",
   31     31   
    ),
   32     32   
    ::aws_smithy_schema::ShapeType::Boolean,
   33         -
    "dry_run",
          33  +
    "DryRun",
   34     34   
    0,
   35     35   
)
   36     36   
.with_xml_name("dryRun");
   37     37   
static DISABLEVPCCLASSICLINKINPUT_MEMBER_VPC_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   38     38   
    ::aws_smithy_schema::ShapeId::from_static(
   39     39   
        "com.amazonaws.ec2.synthetic#DisableVpcClassicLinkInput$VpcId",
   40     40   
        "com.amazonaws.ec2.synthetic",
   41     41   
        "DisableVpcClassicLinkInput",
   42     42   
    ),
   43     43   
    ::aws_smithy_schema::ShapeType::String,
   44         -
    "vpc_id",
          44  +
    "VpcId",
   45     45   
    1,
   46     46   
)
   47     47   
.with_xml_name("vpcId");
   48     48   
static DISABLEVPCCLASSICLINKINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   49     49   
    DISABLEVPCCLASSICLINKINPUT_SCHEMA_ID,
   50     50   
    ::aws_smithy_schema::ShapeType::Structure,
   51     51   
    &[&DISABLEVPCCLASSICLINKINPUT_MEMBER_DRY_RUN, &DISABLEVPCCLASSICLINKINPUT_MEMBER_VPC_ID],
   52     52   
);
   53     53   
impl DisableVpcClassicLinkInput {
   54     54   
    /// The schema for this shape.
   55     55   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DISABLEVPCCLASSICLINKINPUT_SCHEMA;
   56     56   
}
   57     57   
impl ::aws_smithy_schema::serde::SerializableStruct for DisableVpcClassicLinkInput {
   58     58   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   59     59   
    fn serialize_members(
   60     60   
        &self,
   61     61   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   62     62   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   63     63   
        if let Some(ref val) = self.dry_run {
   64     64   
            ser.write_boolean(&DISABLEVPCCLASSICLINKINPUT_MEMBER_DRY_RUN, *val)?;
   65     65   
        }
   66     66   
        if let Some(ref val) = self.vpc_id {
   67     67   
            ser.write_string(&DISABLEVPCCLASSICLINKINPUT_MEMBER_VPC_ID, val)?;
   68     68   
        }
   69     69   
        Ok(())
   70     70   
    }
   71     71   
}
   72     72   
impl DisableVpcClassicLinkInput {
   73     73   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   74         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   75         -
        deserializer: &mut D,
          74  +
    pub fn deserialize(
          75  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   76     76   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   77     77   
        #[allow(unused_variables, unused_mut)]
   78     78   
        let mut builder = Self::builder();
   79     79   
        #[allow(
   80     80   
            unused_variables,
   81     81   
            unreachable_code,
   82     82   
            clippy::single_match,
   83     83   
            clippy::match_single_binding,
   84     84   
            clippy::diverging_sub_expression
   85     85   
        )]
   86         -
        deserializer.read_struct(&DISABLEVPCCLASSICLINKINPUT_SCHEMA, (), |_, member, deser| {
          86  +
        deserializer.read_struct(&DISABLEVPCCLASSICLINKINPUT_SCHEMA, &mut |member, deser| {
   87     87   
            match member.member_index() {
   88     88   
                Some(0) => {
   89     89   
                    builder.dry_run = Some(deser.read_boolean(member)?);
   90     90   
                }
   91     91   
                Some(1) => {
   92     92   
                    builder.vpc_id = Some(deser.read_string(member)?);
   93     93   
                }
   94     94   
                _ => {}
   95     95   
            }
   96     96   
            Ok(())
   97     97   
        })?;
          98  +
        builder.vpc_id = builder.vpc_id.or(Some(String::new()));
   98     99   
        builder
   99    100   
            .build()
  100    101   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  101    102   
    }
  102    103   
}
         104  +
impl DisableVpcClassicLinkInput {
         105  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         106  +
    pub fn deserialize_with_response(
         107  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         108  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         109  +
        _status: u16,
         110  +
        _body: &[u8],
         111  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         112  +
        Self::deserialize(deserializer)
         113  +
    }
         114  +
}
  103    115   
impl DisableVpcClassicLinkInput {
  104    116   
    /// Creates a new builder-style object to manufacture [`DisableVpcClassicLinkInput`](crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkInput).
  105    117   
    pub fn builder() -> crate::operation::disable_vpc_classic_link::builders::DisableVpcClassicLinkInputBuilder {
  106    118   
        crate::operation::disable_vpc_classic_link::builders::DisableVpcClassicLinkInputBuilder::default()
  107    119   
    }
  108    120   
}
  109    121   
  110    122   
/// A builder for [`DisableVpcClassicLinkInput`](crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkInput).
  111    123   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  112    124   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/disable_vpc_classic_link/_disable_vpc_classic_link_output.rs

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/disable_vpc_classic_link_dns_support/_disable_vpc_classic_link_dns_support_input.rs

@@ -1,1 +109,120 @@
   17     17   
    "com.amazonaws.ec2.synthetic",
   18     18   
    "DisableVpcClassicLinkDnsSupportInput",
   19     19   
);
   20     20   
static DISABLEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_VPC_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   21     21   
    ::aws_smithy_schema::ShapeId::from_static(
   22     22   
        "com.amazonaws.ec2.synthetic#DisableVpcClassicLinkDnsSupportInput$VpcId",
   23     23   
        "com.amazonaws.ec2.synthetic",
   24     24   
        "DisableVpcClassicLinkDnsSupportInput",
   25     25   
    ),
   26     26   
    ::aws_smithy_schema::ShapeType::String,
   27         -
    "vpc_id",
          27  +
    "VpcId",
   28     28   
    0,
   29     29   
)
   30     30   
.with_xml_name("VpcId");
   31     31   
static DISABLEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   32     32   
    DISABLEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA_ID,
   33     33   
    ::aws_smithy_schema::ShapeType::Structure,
   34     34   
    &[&DISABLEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_VPC_ID],
   35     35   
);
   36     36   
impl DisableVpcClassicLinkDnsSupportInput {
   37     37   
    /// The schema for this shape.
   38     38   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DISABLEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA;
   39     39   
}
   40     40   
impl ::aws_smithy_schema::serde::SerializableStruct for DisableVpcClassicLinkDnsSupportInput {
   41     41   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   42     42   
    fn serialize_members(
   43     43   
        &self,
   44     44   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   45     45   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   46     46   
        if let Some(ref val) = self.vpc_id {
   47     47   
            ser.write_string(&DISABLEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_VPC_ID, val)?;
   48     48   
        }
   49     49   
        Ok(())
   50     50   
    }
   51     51   
}
   52     52   
impl DisableVpcClassicLinkDnsSupportInput {
   53     53   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   54         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   55         -
        deserializer: &mut D,
          54  +
    pub fn deserialize(
          55  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   56     56   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   57     57   
        #[allow(unused_variables, unused_mut)]
   58     58   
        let mut builder = Self::builder();
   59     59   
        #[allow(
   60     60   
            unused_variables,
   61     61   
            unreachable_code,
   62     62   
            clippy::single_match,
   63     63   
            clippy::match_single_binding,
   64     64   
            clippy::diverging_sub_expression
   65     65   
        )]
   66         -
        deserializer.read_struct(&DISABLEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA, (), |_, member, deser| {
          66  +
        deserializer.read_struct(&DISABLEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA, &mut |member, deser| {
   67     67   
            match member.member_index() {
   68     68   
                Some(0) => {
   69     69   
                    builder.vpc_id = Some(deser.read_string(member)?);
   70     70   
                }
   71     71   
                _ => {}
   72     72   
            }
   73     73   
            Ok(())
   74     74   
        })?;
   75     75   
        builder
   76     76   
            .build()
   77     77   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
   78     78   
    }
   79     79   
}
          80  +
impl DisableVpcClassicLinkDnsSupportInput {
          81  +
    /// Deserializes this structure from a body deserializer and HTTP response.
          82  +
    pub fn deserialize_with_response(
          83  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          84  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
          85  +
        _status: u16,
          86  +
        _body: &[u8],
          87  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          88  +
        Self::deserialize(deserializer)
          89  +
    }
          90  +
}
   80     91   
impl DisableVpcClassicLinkDnsSupportInput {
   81     92   
    /// Creates a new builder-style object to manufacture [`DisableVpcClassicLinkDnsSupportInput`](crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportInput).
   82     93   
    pub fn builder() -> crate::operation::disable_vpc_classic_link_dns_support::builders::DisableVpcClassicLinkDnsSupportInputBuilder {
   83     94   
        crate::operation::disable_vpc_classic_link_dns_support::builders::DisableVpcClassicLinkDnsSupportInputBuilder::default()
   84     95   
    }
   85     96   
}
   86     97   
   87     98   
/// A builder for [`DisableVpcClassicLinkDnsSupportInput`](crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportInput).
   88     99   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
   89    100   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/disable_vpc_classic_link_dns_support/_disable_vpc_classic_link_dns_support_output.rs

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/disassociate_address/_disassociate_address_input.rs

@@ -9,9 +157,168 @@
   29     29   
    "com.amazonaws.ec2.synthetic",
   30     30   
    "DisassociateAddressInput",
   31     31   
);
   32     32   
static DISASSOCIATEADDRESSINPUT_MEMBER_ASSOCIATION_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   33     33   
    ::aws_smithy_schema::ShapeId::from_static(
   34     34   
        "com.amazonaws.ec2.synthetic#DisassociateAddressInput$AssociationId",
   35     35   
        "com.amazonaws.ec2.synthetic",
   36     36   
        "DisassociateAddressInput",
   37     37   
    ),
   38     38   
    ::aws_smithy_schema::ShapeType::String,
   39         -
    "association_id",
          39  +
    "AssociationId",
   40     40   
    0,
   41     41   
);
   42     42   
static DISASSOCIATEADDRESSINPUT_MEMBER_PUBLIC_IP: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   43     43   
    ::aws_smithy_schema::ShapeId::from_static(
   44     44   
        "com.amazonaws.ec2.synthetic#DisassociateAddressInput$PublicIp",
   45     45   
        "com.amazonaws.ec2.synthetic",
   46     46   
        "DisassociateAddressInput",
   47     47   
    ),
   48     48   
    ::aws_smithy_schema::ShapeType::String,
   49         -
    "public_ip",
          49  +
    "PublicIp",
   50     50   
    1,
   51     51   
);
   52     52   
static DISASSOCIATEADDRESSINPUT_MEMBER_DRY_RUN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   53     53   
    ::aws_smithy_schema::ShapeId::from_static(
   54     54   
        "com.amazonaws.ec2.synthetic#DisassociateAddressInput$DryRun",
   55     55   
        "com.amazonaws.ec2.synthetic",
   56     56   
        "DisassociateAddressInput",
   57     57   
    ),
   58     58   
    ::aws_smithy_schema::ShapeType::Boolean,
   59         -
    "dry_run",
          59  +
    "DryRun",
   60     60   
    2,
   61     61   
)
   62     62   
.with_xml_name("dryRun");
   63     63   
static DISASSOCIATEADDRESSINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   64     64   
    DISASSOCIATEADDRESSINPUT_SCHEMA_ID,
   65     65   
    ::aws_smithy_schema::ShapeType::Structure,
   66     66   
    &[
   67     67   
        &DISASSOCIATEADDRESSINPUT_MEMBER_ASSOCIATION_ID,
   68     68   
        &DISASSOCIATEADDRESSINPUT_MEMBER_PUBLIC_IP,
   69     69   
        &DISASSOCIATEADDRESSINPUT_MEMBER_DRY_RUN,
   70     70   
    ],
   71     71   
);
   72     72   
impl DisassociateAddressInput {
   73     73   
    /// The schema for this shape.
   74     74   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DISASSOCIATEADDRESSINPUT_SCHEMA;
   75     75   
}
   76     76   
impl ::aws_smithy_schema::serde::SerializableStruct for DisassociateAddressInput {
   77     77   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   78     78   
    fn serialize_members(
   79     79   
        &self,
   80     80   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   81     81   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   82     82   
        if let Some(ref val) = self.association_id {
   83     83   
            ser.write_string(&DISASSOCIATEADDRESSINPUT_MEMBER_ASSOCIATION_ID, val)?;
   84     84   
        }
   85     85   
        if let Some(ref val) = self.public_ip {
   86     86   
            ser.write_string(&DISASSOCIATEADDRESSINPUT_MEMBER_PUBLIC_IP, val)?;
   87     87   
        }
   88     88   
        if let Some(ref val) = self.dry_run {
   89     89   
            ser.write_boolean(&DISASSOCIATEADDRESSINPUT_MEMBER_DRY_RUN, *val)?;
   90     90   
        }
   91     91   
        Ok(())
   92     92   
    }
   93     93   
}
   94     94   
impl DisassociateAddressInput {
   95     95   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   96         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   97         -
        deserializer: &mut D,
          96  +
    pub fn deserialize(
          97  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   98     98   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   99     99   
        #[allow(unused_variables, unused_mut)]
  100    100   
        let mut builder = Self::builder();
  101    101   
        #[allow(
  102    102   
            unused_variables,
  103    103   
            unreachable_code,
  104    104   
            clippy::single_match,
  105    105   
            clippy::match_single_binding,
  106    106   
            clippy::diverging_sub_expression
  107    107   
        )]
  108         -
        deserializer.read_struct(&DISASSOCIATEADDRESSINPUT_SCHEMA, (), |_, member, deser| {
         108  +
        deserializer.read_struct(&DISASSOCIATEADDRESSINPUT_SCHEMA, &mut |member, deser| {
  109    109   
            match member.member_index() {
  110    110   
                Some(0) => {
  111    111   
                    builder.association_id = Some(deser.read_string(member)?);
  112    112   
                }
  113    113   
                Some(1) => {
  114    114   
                    builder.public_ip = Some(deser.read_string(member)?);
  115    115   
                }
  116    116   
                Some(2) => {
  117    117   
                    builder.dry_run = Some(deser.read_boolean(member)?);
  118    118   
                }
  119    119   
                _ => {}
  120    120   
            }
  121    121   
            Ok(())
  122    122   
        })?;
  123    123   
        builder
  124    124   
            .build()
  125    125   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  126    126   
    }
  127    127   
}
         128  +
impl DisassociateAddressInput {
         129  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         130  +
    pub fn deserialize_with_response(
         131  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         132  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         133  +
        _status: u16,
         134  +
        _body: &[u8],
         135  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         136  +
        Self::deserialize(deserializer)
         137  +
    }
         138  +
}
  128    139   
impl DisassociateAddressInput {
  129    140   
    /// Creates a new builder-style object to manufacture [`DisassociateAddressInput`](crate::operation::disassociate_address::DisassociateAddressInput).
  130    141   
    pub fn builder() -> crate::operation::disassociate_address::builders::DisassociateAddressInputBuilder {
  131    142   
        crate::operation::disassociate_address::builders::DisassociateAddressInputBuilder::default()
  132    143   
    }
  133    144   
}
  134    145   
  135    146   
/// A builder for [`DisassociateAddressInput`](crate::operation::disassociate_address::DisassociateAddressInput).
  136    147   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  137    148   
#[non_exhaustive]

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/disassociate_capacity_reservation_billing_owner/_disassociate_capacity_reservation_billing_owner_input.rs

@@ -9,9 +161,174 @@
   29     29   
    "com.amazonaws.ec2.synthetic",
   30     30   
    "DisassociateCapacityReservationBillingOwnerInput",
   31     31   
);
   32     32   
static DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_MEMBER_DRY_RUN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   33     33   
    ::aws_smithy_schema::ShapeId::from_static(
   34     34   
        "com.amazonaws.ec2.synthetic#DisassociateCapacityReservationBillingOwnerInput$DryRun",
   35     35   
        "com.amazonaws.ec2.synthetic",
   36     36   
        "DisassociateCapacityReservationBillingOwnerInput",
   37     37   
    ),
   38     38   
    ::aws_smithy_schema::ShapeType::Boolean,
   39         -
    "dry_run",
          39  +
    "DryRun",
   40     40   
    0,
   41     41   
);
   42     42   
static DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_MEMBER_CAPACITY_RESERVATION_ID: ::aws_smithy_schema::Schema =
   43     43   
    ::aws_smithy_schema::Schema::new_member(
   44     44   
        ::aws_smithy_schema::ShapeId::from_static(
   45     45   
            "com.amazonaws.ec2.synthetic#DisassociateCapacityReservationBillingOwnerInput$CapacityReservationId",
   46     46   
            "com.amazonaws.ec2.synthetic",
   47     47   
            "DisassociateCapacityReservationBillingOwnerInput",
   48     48   
        ),
   49     49   
        ::aws_smithy_schema::ShapeType::String,
   50         -
        "capacity_reservation_id",
          50  +
        "CapacityReservationId",
   51     51   
        1,
   52     52   
    );
   53     53   
static DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_MEMBER_UNUSED_RESERVATION_BILLING_OWNER_ID: ::aws_smithy_schema::Schema =
   54     54   
    ::aws_smithy_schema::Schema::new_member(
   55     55   
        ::aws_smithy_schema::ShapeId::from_static(
   56     56   
            "com.amazonaws.ec2.synthetic#DisassociateCapacityReservationBillingOwnerInput$UnusedReservationBillingOwnerId",
   57     57   
            "com.amazonaws.ec2.synthetic",
   58     58   
            "DisassociateCapacityReservationBillingOwnerInput",
   59     59   
        ),
   60     60   
        ::aws_smithy_schema::ShapeType::String,
   61         -
        "unused_reservation_billing_owner_id",
          61  +
        "UnusedReservationBillingOwnerId",
   62     62   
        2,
   63     63   
    );
   64     64   
static DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   65     65   
    DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_SCHEMA_ID,
   66     66   
    ::aws_smithy_schema::ShapeType::Structure,
   67     67   
    &[
   68     68   
        &DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_MEMBER_DRY_RUN,
   69     69   
        &DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_MEMBER_CAPACITY_RESERVATION_ID,
   70     70   
        &DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_MEMBER_UNUSED_RESERVATION_BILLING_OWNER_ID,
   71     71   
    ],
   72     72   
);
   73     73   
impl DisassociateCapacityReservationBillingOwnerInput {
   74     74   
    /// The schema for this shape.
   75     75   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_SCHEMA;
   76     76   
}
   77     77   
impl ::aws_smithy_schema::serde::SerializableStruct for DisassociateCapacityReservationBillingOwnerInput {
   78     78   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   79     79   
    fn serialize_members(
   80     80   
        &self,
   81     81   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   82     82   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   83     83   
        if let Some(ref val) = self.dry_run {
   84     84   
            ser.write_boolean(&DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_MEMBER_DRY_RUN, *val)?;
   85     85   
        }
   86     86   
        if let Some(ref val) = self.capacity_reservation_id {
   87     87   
            ser.write_string(&DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_MEMBER_CAPACITY_RESERVATION_ID, val)?;
   88     88   
        }
   89     89   
        if let Some(ref val) = self.unused_reservation_billing_owner_id {
   90     90   
            ser.write_string(
   91     91   
                &DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_MEMBER_UNUSED_RESERVATION_BILLING_OWNER_ID,
   92     92   
                val,
   93     93   
            )?;
   94     94   
        }
   95     95   
        Ok(())
   96     96   
    }
   97     97   
}
   98     98   
impl DisassociateCapacityReservationBillingOwnerInput {
   99     99   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  100         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  101         -
        deserializer: &mut D,
         100  +
    pub fn deserialize(
         101  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  102    102   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  103    103   
        #[allow(unused_variables, unused_mut)]
  104    104   
        let mut builder = Self::builder();
  105    105   
        #[allow(
  106    106   
            unused_variables,
  107    107   
            unreachable_code,
  108    108   
            clippy::single_match,
  109    109   
            clippy::match_single_binding,
  110    110   
            clippy::diverging_sub_expression
  111    111   
        )]
  112         -
        deserializer.read_struct(&DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_SCHEMA, (), |_, member, deser| {
         112  +
        deserializer.read_struct(&DISASSOCIATECAPACITYRESERVATIONBILLINGOWNERINPUT_SCHEMA, &mut |member, deser| {
  113    113   
            match member.member_index() {
  114    114   
                Some(0) => {
  115    115   
                    builder.dry_run = Some(deser.read_boolean(member)?);
  116    116   
                }
  117    117   
                Some(1) => {
  118    118   
                    builder.capacity_reservation_id = Some(deser.read_string(member)?);
  119    119   
                }
  120    120   
                Some(2) => {
  121    121   
                    builder.unused_reservation_billing_owner_id = Some(deser.read_string(member)?);
  122    122   
                }
  123    123   
                _ => {}
  124    124   
            }
  125    125   
            Ok(())
  126    126   
        })?;
         127  +
        builder.capacity_reservation_id = builder.capacity_reservation_id.or(Some(String::new()));
         128  +
        builder.unused_reservation_billing_owner_id = builder.unused_reservation_billing_owner_id.or(Some(String::new()));
  127    129   
        builder
  128    130   
            .build()
  129    131   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  130    132   
    }
  131    133   
}
         134  +
impl DisassociateCapacityReservationBillingOwnerInput {
         135  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         136  +
    pub fn deserialize_with_response(
         137  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         138  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         139  +
        _status: u16,
         140  +
        _body: &[u8],
         141  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         142  +
        Self::deserialize(deserializer)
         143  +
    }
         144  +
}
  132    145   
impl DisassociateCapacityReservationBillingOwnerInput {
  133    146   
    /// Creates a new builder-style object to manufacture [`DisassociateCapacityReservationBillingOwnerInput`](crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerInput).
  134    147   
    pub fn builder(
  135    148   
    ) -> crate::operation::disassociate_capacity_reservation_billing_owner::builders::DisassociateCapacityReservationBillingOwnerInputBuilder {
  136    149   
        crate::operation::disassociate_capacity_reservation_billing_owner::builders::DisassociateCapacityReservationBillingOwnerInputBuilder::default(
  137    150   
        )
  138    151   
    }
  139    152   
}
  140    153   
  141    154   
/// A builder for [`DisassociateCapacityReservationBillingOwnerInput`](crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerInput).

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/disassociate_capacity_reservation_billing_owner/_disassociate_capacity_reservation_billing_owner_output.rs

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/disassociate_client_vpn_target_network/_disassociate_client_vpn_target_network_input.rs

@@ -9,9 +156,169 @@
   29     29   
    "com.amazonaws.ec2.synthetic",
   30     30   
    "DisassociateClientVpnTargetNetworkInput",
   31     31   
);
   32     32   
static DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_MEMBER_CLIENT_VPN_ENDPOINT_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   33     33   
    ::aws_smithy_schema::ShapeId::from_static(
   34     34   
        "com.amazonaws.ec2.synthetic#DisassociateClientVpnTargetNetworkInput$ClientVpnEndpointId",
   35     35   
        "com.amazonaws.ec2.synthetic",
   36     36   
        "DisassociateClientVpnTargetNetworkInput",
   37     37   
    ),
   38     38   
    ::aws_smithy_schema::ShapeType::String,
   39         -
    "client_vpn_endpoint_id",
          39  +
    "ClientVpnEndpointId",
   40     40   
    0,
   41     41   
);
   42     42   
static DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_MEMBER_ASSOCIATION_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   43     43   
    ::aws_smithy_schema::ShapeId::from_static(
   44     44   
        "com.amazonaws.ec2.synthetic#DisassociateClientVpnTargetNetworkInput$AssociationId",
   45     45   
        "com.amazonaws.ec2.synthetic",
   46     46   
        "DisassociateClientVpnTargetNetworkInput",
   47     47   
    ),
   48     48   
    ::aws_smithy_schema::ShapeType::String,
   49         -
    "association_id",
          49  +
    "AssociationId",
   50     50   
    1,
   51     51   
);
   52     52   
static DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_MEMBER_DRY_RUN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   53     53   
    ::aws_smithy_schema::ShapeId::from_static(
   54     54   
        "com.amazonaws.ec2.synthetic#DisassociateClientVpnTargetNetworkInput$DryRun",
   55     55   
        "com.amazonaws.ec2.synthetic",
   56     56   
        "DisassociateClientVpnTargetNetworkInput",
   57     57   
    ),
   58     58   
    ::aws_smithy_schema::ShapeType::Boolean,
   59         -
    "dry_run",
          59  +
    "DryRun",
   60     60   
    2,
   61     61   
);
   62     62   
static DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   63     63   
    DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_SCHEMA_ID,
   64     64   
    ::aws_smithy_schema::ShapeType::Structure,
   65     65   
    &[
   66     66   
        &DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_MEMBER_CLIENT_VPN_ENDPOINT_ID,
   67     67   
        &DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_MEMBER_ASSOCIATION_ID,
   68     68   
        &DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_MEMBER_DRY_RUN,
   69     69   
    ],
   70     70   
);
   71     71   
impl DisassociateClientVpnTargetNetworkInput {
   72     72   
    /// The schema for this shape.
   73     73   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_SCHEMA;
   74     74   
}
   75     75   
impl ::aws_smithy_schema::serde::SerializableStruct for DisassociateClientVpnTargetNetworkInput {
   76     76   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   77     77   
    fn serialize_members(
   78     78   
        &self,
   79     79   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   80     80   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   81     81   
        if let Some(ref val) = self.client_vpn_endpoint_id {
   82     82   
            ser.write_string(&DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_MEMBER_CLIENT_VPN_ENDPOINT_ID, val)?;
   83     83   
        }
   84     84   
        if let Some(ref val) = self.association_id {
   85     85   
            ser.write_string(&DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_MEMBER_ASSOCIATION_ID, val)?;
   86     86   
        }
   87     87   
        if let Some(ref val) = self.dry_run {
   88     88   
            ser.write_boolean(&DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_MEMBER_DRY_RUN, *val)?;
   89     89   
        }
   90     90   
        Ok(())
   91     91   
    }
   92     92   
}
   93     93   
impl DisassociateClientVpnTargetNetworkInput {
   94     94   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   95         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   96         -
        deserializer: &mut D,
          95  +
    pub fn deserialize(
          96  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   97     97   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   98     98   
        #[allow(unused_variables, unused_mut)]
   99     99   
        let mut builder = Self::builder();
  100    100   
        #[allow(
  101    101   
            unused_variables,
  102    102   
            unreachable_code,
  103    103   
            clippy::single_match,
  104    104   
            clippy::match_single_binding,
  105    105   
            clippy::diverging_sub_expression
  106    106   
        )]
  107         -
        deserializer.read_struct(&DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_SCHEMA, (), |_, member, deser| {
         107  +
        deserializer.read_struct(&DISASSOCIATECLIENTVPNTARGETNETWORKINPUT_SCHEMA, &mut |member, deser| {
  108    108   
            match member.member_index() {
  109    109   
                Some(0) => {
  110    110   
                    builder.client_vpn_endpoint_id = Some(deser.read_string(member)?);
  111    111   
                }
  112    112   
                Some(1) => {
  113    113   
                    builder.association_id = Some(deser.read_string(member)?);
  114    114   
                }
  115    115   
                Some(2) => {
  116    116   
                    builder.dry_run = Some(deser.read_boolean(member)?);
  117    117   
                }
  118    118   
                _ => {}
  119    119   
            }
  120    120   
            Ok(())
  121    121   
        })?;
         122  +
        builder.client_vpn_endpoint_id = builder.client_vpn_endpoint_id.or(Some(String::new()));
         123  +
        builder.association_id = builder.association_id.or(Some(String::new()));
  122    124   
        builder
  123    125   
            .build()
  124    126   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  125    127   
    }
  126    128   
}
         129  +
impl DisassociateClientVpnTargetNetworkInput {
         130  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         131  +
    pub fn deserialize_with_response(
         132  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         133  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         134  +
        _status: u16,
         135  +
        _body: &[u8],
         136  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         137  +
        Self::deserialize(deserializer)
         138  +
    }
         139  +
}
  127    140   
impl DisassociateClientVpnTargetNetworkInput {
  128    141   
    /// Creates a new builder-style object to manufacture [`DisassociateClientVpnTargetNetworkInput`](crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkInput).
  129    142   
    pub fn builder() -> crate::operation::disassociate_client_vpn_target_network::builders::DisassociateClientVpnTargetNetworkInputBuilder {
  130    143   
        crate::operation::disassociate_client_vpn_target_network::builders::DisassociateClientVpnTargetNetworkInputBuilder::default()
  131    144   
    }
  132    145   
}
  133    146   
  134    147   
/// A builder for [`DisassociateClientVpnTargetNetworkInput`](crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkInput).
  135    148   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  136    149   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/disassociate_client_vpn_target_network/_disassociate_client_vpn_target_network_output.rs

@@ -4,4 +120,168 @@
   24     24   
    "com.amazonaws.ec2.synthetic",
   25     25   
    "DisassociateClientVpnTargetNetworkOutput",
   26     26   
);
   27     27   
static DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_MEMBER_ASSOCIATION_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   28     28   
    ::aws_smithy_schema::ShapeId::from_static(
   29     29   
        "com.amazonaws.ec2.synthetic#DisassociateClientVpnTargetNetworkOutput$AssociationId",
   30     30   
        "com.amazonaws.ec2.synthetic",
   31     31   
        "DisassociateClientVpnTargetNetworkOutput",
   32     32   
    ),
   33     33   
    ::aws_smithy_schema::ShapeType::String,
   34         -
    "association_id",
          34  +
    "AssociationId",
   35     35   
    0,
   36     36   
)
   37     37   
.with_xml_name("associationId");
   38     38   
static DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_MEMBER_STATUS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   39     39   
    ::aws_smithy_schema::ShapeId::from_static(
   40     40   
        "com.amazonaws.ec2.synthetic#DisassociateClientVpnTargetNetworkOutput$Status",
   41     41   
        "com.amazonaws.ec2.synthetic",
   42     42   
        "DisassociateClientVpnTargetNetworkOutput",
   43     43   
    ),
   44     44   
    ::aws_smithy_schema::ShapeType::Structure,
   45         -
    "status",
          45  +
    "Status",
   46     46   
    1,
   47     47   
)
   48     48   
.with_xml_name("status");
          49  +
static DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          50  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          51  +
    ::aws_smithy_schema::ShapeType::String,
          52  +
    "request_id",
          53  +
    2,
          54  +
)
          55  +
.with_http_header("x-amzn-requestid");
   49     56   
static DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   50     57   
    DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_SCHEMA_ID,
   51     58   
    ::aws_smithy_schema::ShapeType::Structure,
   52     59   
    &[
   53     60   
        &DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_MEMBER_ASSOCIATION_ID,
   54     61   
        &DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_MEMBER_STATUS,
          62  +
        &DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_MEMBER__REQUEST_ID,
   55     63   
    ],
   56     64   
);
   57     65   
impl DisassociateClientVpnTargetNetworkOutput {
   58     66   
    /// The schema for this shape.
   59     67   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_SCHEMA;
   60     68   
}
   61     69   
impl ::aws_smithy_schema::serde::SerializableStruct for DisassociateClientVpnTargetNetworkOutput {
   62     70   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   63     71   
    fn serialize_members(
   64     72   
        &self,
   65     73   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   66     74   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   67     75   
        if let Some(ref val) = self.association_id {
   68     76   
            ser.write_string(&DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_MEMBER_ASSOCIATION_ID, val)?;
   69     77   
        }
   70     78   
        if let Some(ref val) = self.status {
   71     79   
            ser.write_struct(&DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_MEMBER_STATUS, val)?;
   72     80   
        }
   73     81   
        Ok(())
   74     82   
    }
   75     83   
}
   76     84   
impl DisassociateClientVpnTargetNetworkOutput {
   77     85   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   78         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   79         -
        deserializer: &mut D,
          86  +
    pub fn deserialize(
          87  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   80     88   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   81     89   
        #[allow(unused_variables, unused_mut)]
   82     90   
        let mut builder = Self::builder();
   83     91   
        #[allow(
   84     92   
            unused_variables,
   85     93   
            unreachable_code,
   86     94   
            clippy::single_match,
   87     95   
            clippy::match_single_binding,
   88     96   
            clippy::diverging_sub_expression
   89     97   
        )]
   90         -
        deserializer.read_struct(&DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_SCHEMA, (), |_, member, deser| {
          98  +
        deserializer.read_struct(&DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_SCHEMA, &mut |member, deser| {
          99  +
            match member.member_index() {
         100  +
                Some(0) => {
         101  +
                    builder.association_id = Some(deser.read_string(member)?);
         102  +
                }
         103  +
                Some(1) => {
         104  +
                    builder.status = Some(crate::types::AssociationStatus::deserialize(deser)?);
         105  +
                }
         106  +
                Some(2) => {
         107  +
                    builder._request_id = Some(deser.read_string(member)?);
         108  +
                }
         109  +
                _ => {}
         110  +
            }
         111  +
            Ok(())
         112  +
        })?;
         113  +
        Ok(builder.build())
         114  +
    }
         115  +
}
         116  +
impl DisassociateClientVpnTargetNetworkOutput {
         117  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         118  +
    /// Header-bound members are read directly from headers, avoiding runtime
         119  +
    /// member iteration overhead. Body members are read via the deserializer.
         120  +
    pub fn deserialize_with_response(
         121  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         122  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         123  +
        _status: u16,
         124  +
        _body: &[u8],
         125  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         126  +
        #[allow(unused_variables, unused_mut)]
         127  +
        let mut builder = Self::builder();
         128  +
        if let Some(val) = headers.get("x-amzn-requestid") {
         129  +
            builder._request_id = Some(val.to_string());
         130  +
        }
         131  +
        #[allow(
         132  +
            unused_variables,
         133  +
            unreachable_code,
         134  +
            clippy::single_match,
         135  +
            clippy::match_single_binding,
         136  +
            clippy::diverging_sub_expression
         137  +
        )]
         138  +
        deserializer.read_struct(&DISASSOCIATECLIENTVPNTARGETNETWORKOUTPUT_SCHEMA, &mut |member, deser| {
   91    139   
            match member.member_index() {
   92    140   
                Some(0) => {
   93    141   
                    builder.association_id = Some(deser.read_string(member)?);
   94    142   
                }
   95    143   
                Some(1) => {
   96    144   
                    builder.status = Some(crate::types::AssociationStatus::deserialize(deser)?);
   97    145   
                }
   98    146   
                _ => {}
   99    147   
            }
  100    148   
            Ok(())