AWS SDK

AWS SDK

rev. ec7b2441254af868911fccffe8d8dca83aff0045

Files changed:

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/enable_hosted_zone_dnssec/_enable_hosted_zone_dnssec_output.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_account_limit.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 `GetAccountLimit`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct GetAccountLimit;
    6      6   
impl GetAccountLimit {
    7      7   
    /// Creates a new `GetAccountLimit`
    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::get_account_limit::GetAccountLimitInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::get_account_limit::GetAccountLimitOutput::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::get_account_limit::GetAccountLimitInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::get_account_limit::GetAccountLimitOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::get_account_limit::GetAccountLimitError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::get_account_limit::GetAccountLimitError,
  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 GetAccountLimitResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for GetAccountLimitResponseDeserializer {
  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_get_account_limit::de_get_account_limit_http_error(status, headers, body)
  160    165   
        } else {

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_account_limit/_get_account_limit_input.rs

@@ -22,22 +134,146 @@
   42     42   
    "com.amazonaws.route53.synthetic",
   43     43   
    "GetAccountLimitInput",
   44     44   
);
   45     45   
static GETACCOUNTLIMITINPUT_MEMBER_TYPE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   46     46   
    ::aws_smithy_schema::ShapeId::from_static(
   47     47   
        "com.amazonaws.route53.synthetic#GetAccountLimitInput$Type",
   48     48   
        "com.amazonaws.route53.synthetic",
   49     49   
        "GetAccountLimitInput",
   50     50   
    ),
   51     51   
    ::aws_smithy_schema::ShapeType::String,
   52         -
    "r##type",
          52  +
    "Type",
   53     53   
    0,
   54     54   
)
   55     55   
.with_http_label();
   56     56   
static GETACCOUNTLIMITINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   57     57   
    GETACCOUNTLIMITINPUT_SCHEMA_ID,
   58     58   
    ::aws_smithy_schema::ShapeType::Structure,
   59     59   
    &[&GETACCOUNTLIMITINPUT_MEMBER_TYPE],
   60         -
);
          60  +
)
          61  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("GET", "/2013-04-01/accountlimit/{Type}", None));
   61     62   
impl GetAccountLimitInput {
   62     63   
    /// The schema for this shape.
   63     64   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETACCOUNTLIMITINPUT_SCHEMA;
   64     65   
}
   65     66   
impl ::aws_smithy_schema::serde::SerializableStruct for GetAccountLimitInput {
   66     67   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   67     68   
    fn serialize_members(
   68     69   
        &self,
   69     70   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   70     71   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   71     72   
        if let Some(ref val) = self.r#type {
   72     73   
            ser.write_string(&GETACCOUNTLIMITINPUT_MEMBER_TYPE, val.as_str())?;
   73     74   
        }
   74     75   
        Ok(())
   75     76   
    }
   76     77   
}
   77     78   
impl GetAccountLimitInput {
   78     79   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   79         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   80         -
        deserializer: &mut D,
          80  +
    pub fn deserialize(
          81  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   81     82   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   82     83   
        #[allow(unused_variables, unused_mut)]
   83     84   
        let mut builder = Self::builder();
   84     85   
        #[allow(
   85     86   
            unused_variables,
   86     87   
            unreachable_code,
   87     88   
            clippy::single_match,
   88     89   
            clippy::match_single_binding,
   89     90   
            clippy::diverging_sub_expression
   90     91   
        )]
   91         -
        deserializer.read_struct(&GETACCOUNTLIMITINPUT_SCHEMA, (), |_, member, deser| {
          92  +
        deserializer.read_struct(&GETACCOUNTLIMITINPUT_SCHEMA, &mut |member, deser| {
   92     93   
            match member.member_index() {
   93     94   
                Some(0) => {
   94     95   
                    builder.r#type = Some(crate::types::AccountLimitType::from(deser.read_string(member)?.as_str()));
   95     96   
                }
   96     97   
                _ => {}
   97     98   
            }
   98     99   
            Ok(())
   99    100   
        })?;
  100    101   
        builder
  101    102   
            .build()
  102    103   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  103    104   
    }
  104    105   
}
         106  +
impl GetAccountLimitInput {
         107  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         108  +
    pub fn deserialize_with_response(
         109  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         110  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         111  +
        _status: u16,
         112  +
        _body: &[u8],
         113  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         114  +
        Self::deserialize(deserializer)
         115  +
    }
         116  +
}
  105    117   
impl GetAccountLimitInput {
  106    118   
    /// Creates a new builder-style object to manufacture [`GetAccountLimitInput`](crate::operation::get_account_limit::GetAccountLimitInput).
  107    119   
    pub fn builder() -> crate::operation::get_account_limit::builders::GetAccountLimitInputBuilder {
  108    120   
        crate::operation::get_account_limit::builders::GetAccountLimitInputBuilder::default()
  109    121   
    }
  110    122   
}
  111    123   
  112    124   
/// A builder for [`GetAccountLimitInput`](crate::operation::get_account_limit::GetAccountLimitInput).
  113    125   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  114    126   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_account_limit/_get_account_limit_output.rs

@@ -5,5 +117,168 @@
   25     25   
    "com.amazonaws.route53.synthetic",
   26     26   
    "GetAccountLimitOutput",
   27     27   
);
   28     28   
static GETACCOUNTLIMITOUTPUT_MEMBER_LIMIT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   29     29   
    ::aws_smithy_schema::ShapeId::from_static(
   30     30   
        "com.amazonaws.route53.synthetic#GetAccountLimitOutput$Limit",
   31     31   
        "com.amazonaws.route53.synthetic",
   32     32   
        "GetAccountLimitOutput",
   33     33   
    ),
   34     34   
    ::aws_smithy_schema::ShapeType::Structure,
   35         -
    "limit",
          35  +
    "Limit",
   36     36   
    0,
   37     37   
);
   38     38   
static GETACCOUNTLIMITOUTPUT_MEMBER_COUNT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   39     39   
    ::aws_smithy_schema::ShapeId::from_static(
   40     40   
        "com.amazonaws.route53.synthetic#GetAccountLimitOutput$Count",
   41     41   
        "com.amazonaws.route53.synthetic",
   42     42   
        "GetAccountLimitOutput",
   43     43   
    ),
   44     44   
    ::aws_smithy_schema::ShapeType::Long,
   45         -
    "count",
          45  +
    "Count",
   46     46   
    1,
   47     47   
);
          48  +
static GETACCOUNTLIMITOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          49  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          50  +
    ::aws_smithy_schema::ShapeType::String,
          51  +
    "request_id",
          52  +
    2,
          53  +
)
          54  +
.with_http_header("x-amzn-requestid");
   48     55   
static GETACCOUNTLIMITOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   49     56   
    GETACCOUNTLIMITOUTPUT_SCHEMA_ID,
   50     57   
    ::aws_smithy_schema::ShapeType::Structure,
   51         -
    &[&GETACCOUNTLIMITOUTPUT_MEMBER_LIMIT, &GETACCOUNTLIMITOUTPUT_MEMBER_COUNT],
          58  +
    &[
          59  +
        &GETACCOUNTLIMITOUTPUT_MEMBER_LIMIT,
          60  +
        &GETACCOUNTLIMITOUTPUT_MEMBER_COUNT,
          61  +
        &GETACCOUNTLIMITOUTPUT_MEMBER__REQUEST_ID,
          62  +
    ],
   52     63   
);
   53     64   
impl GetAccountLimitOutput {
   54     65   
    /// The schema for this shape.
   55     66   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETACCOUNTLIMITOUTPUT_SCHEMA;
   56     67   
}
   57     68   
impl ::aws_smithy_schema::serde::SerializableStruct for GetAccountLimitOutput {
   58     69   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   59     70   
    fn serialize_members(
   60     71   
        &self,
   61     72   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   62     73   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   63     74   
        if let Some(ref val) = self.limit {
   64     75   
            ser.write_struct(&GETACCOUNTLIMITOUTPUT_MEMBER_LIMIT, val)?;
   65     76   
        }
   66     77   
        {
   67     78   
            let val = &self.count;
   68     79   
            ser.write_long(&GETACCOUNTLIMITOUTPUT_MEMBER_COUNT, *val)?;
   69     80   
        }
   70     81   
        Ok(())
   71     82   
    }
   72     83   
}
   73     84   
impl GetAccountLimitOutput {
   74     85   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   75         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   76         -
        deserializer: &mut D,
          86  +
    pub fn deserialize(
          87  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   77     88   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   78     89   
        #[allow(unused_variables, unused_mut)]
   79     90   
        let mut builder = Self::builder();
   80     91   
        #[allow(
   81     92   
            unused_variables,
   82     93   
            unreachable_code,
   83     94   
            clippy::single_match,
   84     95   
            clippy::match_single_binding,
   85     96   
            clippy::diverging_sub_expression
   86     97   
        )]
   87         -
        deserializer.read_struct(&GETACCOUNTLIMITOUTPUT_SCHEMA, (), |_, member, deser| {
          98  +
        deserializer.read_struct(&GETACCOUNTLIMITOUTPUT_SCHEMA, &mut |member, deser| {
          99  +
            match member.member_index() {
         100  +
                Some(0) => {
         101  +
                    builder.limit = Some(crate::types::AccountLimit::deserialize(deser)?);
         102  +
                }
         103  +
                Some(1) => {
         104  +
                    builder.count = Some(deser.read_long(member)?);
         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 GetAccountLimitOutput {
         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(&GETACCOUNTLIMITOUTPUT_SCHEMA, &mut |member, deser| {
   88    139   
            match member.member_index() {
   89    140   
                Some(0) => {
   90    141   
                    builder.limit = Some(crate::types::AccountLimit::deserialize(deser)?);
   91    142   
                }
   92    143   
                Some(1) => {
   93    144   
                    builder.count = Some(deser.read_long(member)?);
   94    145   
                }
   95    146   
                _ => {}
   96    147   
            }
   97    148   
            Ok(())

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_change.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 `GetChange`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct GetChange;
    6      6   
impl GetChange {
    7      7   
    /// Creates a new `GetChange`
    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::get_change::GetChangeInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::get_change::GetChangeOutput::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::get_change::GetChangeInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::get_change::GetChangeOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::get_change::GetChangeError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::get_change::GetChangeError,
  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 GetChangeResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for GetChangeResponseDeserializer {
  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_get_change::de_get_change_http_error(status, headers, body)
  160    165   
        } else {

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_change/_get_change_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_change/_get_change_output.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_checker_ip_ranges.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 `GetCheckerIpRanges`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct GetCheckerIpRanges;
    6      6   
impl GetCheckerIpRanges {
    7      7   
    /// Creates a new `GetCheckerIpRanges`
    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::get_checker_ip_ranges::GetCheckerIpRangesInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::get_checker_ip_ranges::GetCheckerIpRangesOutput::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::get_checker_ip_ranges::GetCheckerIpRangesInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::get_checker_ip_ranges::GetCheckerIpRangesOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::get_checker_ip_ranges::GetCheckerIpRangesError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::get_checker_ip_ranges::GetCheckerIpRangesError,
  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 GetCheckerIpRangesResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for GetCheckerIpRangesResponseDeserializer {
  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_get_checker_ip_ranges::de_get_checker_ip_ranges_http_error(status, headers, body)
  160    165   
        } else {

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_checker_ip_ranges/_get_checker_ip_ranges_input.rs

@@ -1,1 +71,85 @@
    3      3   
/// <p>Empty request.</p>
    4      4   
#[non_exhaustive]
    5      5   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    6      6   
pub struct GetCheckerIpRangesInput {}
    7      7   
static GETCHECKERIPRANGESINPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
    8      8   
    "com.amazonaws.route53.synthetic#GetCheckerIpRangesInput",
    9      9   
    "com.amazonaws.route53.synthetic",
   10     10   
    "GetCheckerIpRangesInput",
   11     11   
);
   12     12   
static GETCHECKERIPRANGESINPUT_SCHEMA: ::aws_smithy_schema::Schema =
   13         -
    ::aws_smithy_schema::Schema::new_struct(GETCHECKERIPRANGESINPUT_SCHEMA_ID, ::aws_smithy_schema::ShapeType::Structure, &[]);
          13  +
    ::aws_smithy_schema::Schema::new_struct(GETCHECKERIPRANGESINPUT_SCHEMA_ID, ::aws_smithy_schema::ShapeType::Structure, &[])
          14  +
        .with_http(aws_smithy_schema::traits::HttpTrait::new("GET", "/2013-04-01/checkeripranges", None));
   14     15   
impl GetCheckerIpRangesInput {
   15     16   
    /// The schema for this shape.
   16     17   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETCHECKERIPRANGESINPUT_SCHEMA;
   17     18   
}
   18     19   
impl ::aws_smithy_schema::serde::SerializableStruct for GetCheckerIpRangesInput {
   19     20   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   20     21   
    fn serialize_members(
   21     22   
        &self,
   22     23   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   23     24   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   24     25   
        Ok(())
   25     26   
    }
   26     27   
}
   27     28   
impl GetCheckerIpRangesInput {
   28     29   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   29         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   30         -
        deserializer: &mut D,
          30  +
    pub fn deserialize(
          31  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   31     32   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   32     33   
        #[allow(unused_variables, unused_mut)]
   33     34   
        let mut builder = Self::builder();
   34     35   
        #[allow(
   35     36   
            unused_variables,
   36     37   
            unreachable_code,
   37     38   
            clippy::single_match,
   38     39   
            clippy::match_single_binding,
   39     40   
            clippy::diverging_sub_expression
   40     41   
        )]
   41         -
        deserializer.read_struct(&GETCHECKERIPRANGESINPUT_SCHEMA, (), |_, member, deser| {
          42  +
        deserializer.read_struct(&GETCHECKERIPRANGESINPUT_SCHEMA, &mut |member, deser| {
   42     43   
            match member.member_index() {
   43     44   
                _ => {}
   44     45   
            }
   45     46   
            Ok(())
   46     47   
        })?;
   47     48   
        builder
   48     49   
            .build()
   49     50   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
   50     51   
    }
   51     52   
}
          53  +
impl GetCheckerIpRangesInput {
          54  +
    /// Deserializes this structure from a body deserializer and HTTP response.
          55  +
    pub fn deserialize_with_response(
          56  +
        _deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
          57  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
          58  +
        _status: u16,
          59  +
        _body: &[u8],
          60  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
          61  +
        Self::builder()
          62  +
            .build()
          63  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
          64  +
    }
          65  +
}
   52     66   
impl GetCheckerIpRangesInput {
   53     67   
    /// Creates a new builder-style object to manufacture [`GetCheckerIpRangesInput`](crate::operation::get_checker_ip_ranges::GetCheckerIpRangesInput).
   54     68   
    pub fn builder() -> crate::operation::get_checker_ip_ranges::builders::GetCheckerIpRangesInputBuilder {
   55     69   
        crate::operation::get_checker_ip_ranges::builders::GetCheckerIpRangesInputBuilder::default()
   56     70   
    }
   57     71   
}
   58     72   
   59     73   
/// A builder for [`GetCheckerIpRangesInput`](crate::operation::get_checker_ip_ranges::GetCheckerIpRangesInput).
   60     74   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
   61     75   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_checker_ip_ranges/_get_checker_ip_ranges_output.rs

@@ -1,1 +121,161 @@
   20     20   
    "com.amazonaws.route53.synthetic",
   21     21   
    "GetCheckerIpRangesOutput",
   22     22   
);
   23     23   
static GETCHECKERIPRANGESOUTPUT_MEMBER_CHECKER_IP_RANGES: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   24     24   
    ::aws_smithy_schema::ShapeId::from_static(
   25     25   
        "com.amazonaws.route53.synthetic#GetCheckerIpRangesOutput$CheckerIpRanges",
   26     26   
        "com.amazonaws.route53.synthetic",
   27     27   
        "GetCheckerIpRangesOutput",
   28     28   
    ),
   29     29   
    ::aws_smithy_schema::ShapeType::List,
   30         -
    "checker_ip_ranges",
          30  +
    "CheckerIpRanges",
   31     31   
    0,
   32     32   
);
          33  +
static GETCHECKERIPRANGESOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          34  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          35  +
    ::aws_smithy_schema::ShapeType::String,
          36  +
    "request_id",
          37  +
    1,
          38  +
)
          39  +
.with_http_header("x-amzn-requestid");
   33     40   
static GETCHECKERIPRANGESOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   34     41   
    GETCHECKERIPRANGESOUTPUT_SCHEMA_ID,
   35     42   
    ::aws_smithy_schema::ShapeType::Structure,
   36         -
    &[&GETCHECKERIPRANGESOUTPUT_MEMBER_CHECKER_IP_RANGES],
          43  +
    &[
          44  +
        &GETCHECKERIPRANGESOUTPUT_MEMBER_CHECKER_IP_RANGES,
          45  +
        &GETCHECKERIPRANGESOUTPUT_MEMBER__REQUEST_ID,
          46  +
    ],
   37     47   
);
   38     48   
impl GetCheckerIpRangesOutput {
   39     49   
    /// The schema for this shape.
   40     50   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETCHECKERIPRANGESOUTPUT_SCHEMA;
   41     51   
}
   42     52   
impl ::aws_smithy_schema::serde::SerializableStruct for GetCheckerIpRangesOutput {
   43     53   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   44     54   
    fn serialize_members(
   45     55   
        &self,
   46     56   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   47     57   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   48     58   
        {
   49     59   
            let val = &self.checker_ip_ranges;
   50     60   
   51     61   
            ser.write_list(
   52     62   
                &GETCHECKERIPRANGESOUTPUT_MEMBER_CHECKER_IP_RANGES,
   53     63   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
   54     64   
                    for item in val {
   55     65   
                        ser.write_string(&aws_smithy_schema::prelude::STRING, item)?;
   56     66   
                    }
   57     67   
                    Ok(())
   58     68   
                },
   59     69   
            )?;
   60     70   
        }
   61     71   
        Ok(())
   62     72   
    }
   63     73   
}
   64     74   
impl GetCheckerIpRangesOutput {
   65     75   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   66         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   67         -
        deserializer: &mut D,
          76  +
    pub fn deserialize(
          77  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   68     78   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   69     79   
        #[allow(unused_variables, unused_mut)]
   70     80   
        let mut builder = Self::builder();
   71     81   
        #[allow(
   72     82   
            unused_variables,
   73     83   
            unreachable_code,
   74     84   
            clippy::single_match,
   75     85   
            clippy::match_single_binding,
   76     86   
            clippy::diverging_sub_expression
   77     87   
        )]
   78         -
        deserializer.read_struct(&GETCHECKERIPRANGESOUTPUT_SCHEMA, (), |_, member, deser| {
          88  +
        deserializer.read_struct(&GETCHECKERIPRANGESOUTPUT_SCHEMA, &mut |member, deser| {
   79     89   
            match member.member_index() {
   80     90   
                Some(0) => {
   81         -
                    builder.checker_ip_ranges = Some({
   82         -
                        let container = if let Some(cap) = deser.container_size() {
   83         -
                            Vec::with_capacity(cap)
   84         -
                        } else {
   85         -
                            Vec::new()
   86         -
                        };
   87         -
                        deser.read_list(member, container, |mut list, deser| {
   88         -
                            list.push(deser.read_string(member)?);
   89         -
                            Ok(list)
   90         -
                        })?
   91         -
                    });
          91  +
                    builder.checker_ip_ranges = Some(deser.read_string_list(member)?);
          92  +
                }
          93  +
                Some(1) => {
          94  +
                    builder._request_id = Some(deser.read_string(member)?);
          95  +
                }
          96  +
                _ => {}
          97  +
            }
          98  +
            Ok(())
          99  +
        })?;
         100  +
        builder.checker_ip_ranges = builder.checker_ip_ranges.or(Some(Vec::new()));
         101  +
        builder
         102  +
            .build()
         103  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         104  +
    }
         105  +
}
         106  +
impl GetCheckerIpRangesOutput {
         107  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         108  +
    /// Header-bound members are read directly from headers, avoiding runtime
         109  +
    /// member iteration overhead. Body members are read via the deserializer.
         110  +
    pub fn deserialize_with_response(
         111  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         112  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         113  +
        _status: u16,
         114  +
        _body: &[u8],
         115  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         116  +
        #[allow(unused_variables, unused_mut)]
         117  +
        let mut builder = Self::builder();
         118  +
        if let Some(val) = headers.get("x-amzn-requestid") {
         119  +
            builder._request_id = Some(val.to_string());
         120  +
        }
         121  +
        #[allow(
         122  +
            unused_variables,
         123  +
            unreachable_code,
         124  +
            clippy::single_match,
         125  +
            clippy::match_single_binding,
         126  +
            clippy::diverging_sub_expression
         127  +
        )]
         128  +
        deserializer.read_struct(&GETCHECKERIPRANGESOUTPUT_SCHEMA, &mut |member, deser| {
         129  +
            match member.member_index() {
         130  +
                Some(0) => {
         131  +
                    builder.checker_ip_ranges = Some(deser.read_string_list(member)?);
   92    132   
                }
   93    133   
                _ => {}
   94    134   
            }
   95    135   
            Ok(())
   96    136   
        })?;
   97    137   
        builder
   98    138   
            .build()
   99    139   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  100    140   
    }
  101    141   
}

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_dnssec.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 `GetDNSSEC`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct GetDNSSEC;
    6      6   
impl GetDNSSEC {
    7      7   
    /// Creates a new `GetDNSSEC`
    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::get_dnssec::GetDnssecInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::get_dnssec::GetDnssecOutput::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::get_dnssec::GetDnssecInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::get_dnssec::GetDnssecOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::get_dnssec::GetDNSSECError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::get_dnssec::GetDNSSECError,
  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 GetDNSSECResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for GetDNSSECResponseDeserializer {
  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_get_dnssec::de_get_dnssec_http_error(status, headers, body)
  160    165   
        } else {

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_dnssec/_get_dnssec_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_dnssec/_get_dnssec_output.rs

@@ -5,5 +141,199 @@
   25     25   
    "com.amazonaws.route53.synthetic",
   26     26   
    "GetDNSSECOutput",
   27     27   
);
   28     28   
static GETDNSSECOUTPUT_MEMBER_STATUS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   29     29   
    ::aws_smithy_schema::ShapeId::from_static(
   30     30   
        "com.amazonaws.route53.synthetic#GetDNSSECOutput$Status",
   31     31   
        "com.amazonaws.route53.synthetic",
   32     32   
        "GetDNSSECOutput",
   33     33   
    ),
   34     34   
    ::aws_smithy_schema::ShapeType::Structure,
   35         -
    "status",
          35  +
    "Status",
   36     36   
    0,
   37     37   
);
   38     38   
static GETDNSSECOUTPUT_MEMBER_KEY_SIGNING_KEYS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   39     39   
    ::aws_smithy_schema::ShapeId::from_static(
   40     40   
        "com.amazonaws.route53.synthetic#GetDNSSECOutput$KeySigningKeys",
   41     41   
        "com.amazonaws.route53.synthetic",
   42     42   
        "GetDNSSECOutput",
   43     43   
    ),
   44     44   
    ::aws_smithy_schema::ShapeType::List,
   45         -
    "key_signing_keys",
          45  +
    "KeySigningKeys",
   46     46   
    1,
   47     47   
);
          48  +
static GETDNSSECOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          49  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          50  +
    ::aws_smithy_schema::ShapeType::String,
          51  +
    "request_id",
          52  +
    2,
          53  +
)
          54  +
.with_http_header("x-amzn-requestid");
   48     55   
static GETDNSSECOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   49     56   
    GETDNSSECOUTPUT_SCHEMA_ID,
   50     57   
    ::aws_smithy_schema::ShapeType::Structure,
   51         -
    &[&GETDNSSECOUTPUT_MEMBER_STATUS, &GETDNSSECOUTPUT_MEMBER_KEY_SIGNING_KEYS],
          58  +
    &[
          59  +
        &GETDNSSECOUTPUT_MEMBER_STATUS,
          60  +
        &GETDNSSECOUTPUT_MEMBER_KEY_SIGNING_KEYS,
          61  +
        &GETDNSSECOUTPUT_MEMBER__REQUEST_ID,
          62  +
    ],
   52     63   
);
   53     64   
impl GetDnssecOutput {
   54     65   
    /// The schema for this shape.
   55     66   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETDNSSECOUTPUT_SCHEMA;
   56     67   
}
   57     68   
impl ::aws_smithy_schema::serde::SerializableStruct for GetDnssecOutput {
   58     69   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   59     70   
    fn serialize_members(
   60     71   
        &self,
   61     72   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   62     73   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   63     74   
        if let Some(ref val) = self.status {
   64     75   
            ser.write_struct(&GETDNSSECOUTPUT_MEMBER_STATUS, val)?;
   65     76   
        }
   66     77   
        {
   67     78   
            let val = &self.key_signing_keys;
   68     79   
   69     80   
            ser.write_list(
   70     81   
                &GETDNSSECOUTPUT_MEMBER_KEY_SIGNING_KEYS,
   71     82   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
   72     83   
                    for item in val {
   73     84   
                        ser.write_struct(crate::types::KeySigningKey::SCHEMA, item)?;
   74     85   
                    }
   75     86   
                    Ok(())
   76     87   
                },
   77     88   
            )?;
   78     89   
        }
   79     90   
        Ok(())
   80     91   
    }
   81     92   
}
   82     93   
impl GetDnssecOutput {
   83     94   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   84         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   85         -
        deserializer: &mut D,
          95  +
    pub fn deserialize(
          96  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   86     97   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   87     98   
        #[allow(unused_variables, unused_mut)]
   88     99   
        let mut builder = Self::builder();
   89    100   
        #[allow(
   90    101   
            unused_variables,
   91    102   
            unreachable_code,
   92    103   
            clippy::single_match,
   93    104   
            clippy::match_single_binding,
   94    105   
            clippy::diverging_sub_expression
   95    106   
        )]
   96         -
        deserializer.read_struct(&GETDNSSECOUTPUT_SCHEMA, (), |_, member, deser| {
         107  +
        deserializer.read_struct(&GETDNSSECOUTPUT_SCHEMA, &mut |member, deser| {
   97    108   
            match member.member_index() {
   98    109   
                Some(0) => {
   99    110   
                    builder.status = Some(crate::types::DnssecStatus::deserialize(deser)?);
  100    111   
                }
  101    112   
                Some(1) => {
  102    113   
                    builder.key_signing_keys = Some({
  103         -
                        let container = if let Some(cap) = deser.container_size() {
  104         -
                            Vec::with_capacity(cap)
  105         -
                        } else {
  106         -
                            Vec::new()
  107         -
                        };
  108         -
                        deser.read_list(member, container, |mut list, deser| {
  109         -
                            list.push(crate::types::KeySigningKey::deserialize(deser)?);
  110         -
                            Ok(list)
  111         -
                        })?
         114  +
                        let mut container = Vec::new();
         115  +
                        deser.read_list(member, &mut |deser| {
         116  +
                            container.push(crate::types::KeySigningKey::deserialize(deser)?);
         117  +
                            Ok(())
         118  +
                        })?;
         119  +
                        container
         120  +
                    });
         121  +
                }
         122  +
                Some(2) => {
         123  +
                    builder._request_id = Some(deser.read_string(member)?);
         124  +
                }
         125  +
                _ => {}
         126  +
            }
         127  +
            Ok(())
         128  +
        })?;
         129  +
        builder.key_signing_keys = builder.key_signing_keys.or(Some(Vec::new()));
         130  +
        builder
         131  +
            .build()
         132  +
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
         133  +
    }
         134  +
}
         135  +
impl GetDnssecOutput {
         136  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         137  +
    /// Header-bound members are read directly from headers, avoiding runtime
         138  +
    /// member iteration overhead. Body members are read via the deserializer.
         139  +
    pub fn deserialize_with_response(
         140  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         141  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         142  +
        _status: u16,
         143  +
        _body: &[u8],
         144  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         145  +
        #[allow(unused_variables, unused_mut)]
         146  +
        let mut builder = Self::builder();
         147  +
        if let Some(val) = headers.get("x-amzn-requestid") {
         148  +
            builder._request_id = Some(val.to_string());
         149  +
        }
         150  +
        #[allow(
         151  +
            unused_variables,
         152  +
            unreachable_code,
         153  +
            clippy::single_match,
         154  +
            clippy::match_single_binding,
         155  +
            clippy::diverging_sub_expression
         156  +
        )]
         157  +
        deserializer.read_struct(&GETDNSSECOUTPUT_SCHEMA, &mut |member, deser| {
         158  +
            match member.member_index() {
         159  +
                Some(0) => {
         160  +
                    builder.status = Some(crate::types::DnssecStatus::deserialize(deser)?);
         161  +
                }
         162  +
                Some(1) => {
         163  +
                    builder.key_signing_keys = Some({
         164  +
                        let mut container = Vec::new();
         165  +
                        deser.read_list(member, &mut |deser| {
         166  +
                            container.push(crate::types::KeySigningKey::deserialize(deser)?);
         167  +
                            Ok(())
         168  +
                        })?;
         169  +
                        container
  112    170   
                    });
  113    171   
                }
  114    172   
                _ => {}
  115    173   
            }
  116    174   
            Ok(())
  117    175   
        })?;
  118    176   
        builder
  119    177   
            .build()
  120    178   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  121    179   
    }

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_geo_location.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 `GetGeoLocation`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct GetGeoLocation;
    6      6   
impl GetGeoLocation {
    7      7   
    /// Creates a new `GetGeoLocation`
    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::get_geo_location::GetGeoLocationInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::get_geo_location::GetGeoLocationOutput::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::get_geo_location::GetGeoLocationInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::get_geo_location::GetGeoLocationOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::get_geo_location::GetGeoLocationError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::get_geo_location::GetGeoLocationError,
  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 GetGeoLocationResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for GetGeoLocationResponseDeserializer {
  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_get_geo_location::de_get_geo_location_http_error(status, headers, body)
  160    165   
        } else {

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_geo_location/_get_geo_location_input.rs

@@ -44,44 +194,206 @@
   64     64   
    "com.amazonaws.route53.synthetic",
   65     65   
    "GetGeoLocationInput",
   66     66   
);
   67     67   
static GETGEOLOCATIONINPUT_MEMBER_CONTINENT_CODE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   68     68   
    ::aws_smithy_schema::ShapeId::from_static(
   69     69   
        "com.amazonaws.route53.synthetic#GetGeoLocationInput$ContinentCode",
   70     70   
        "com.amazonaws.route53.synthetic",
   71     71   
        "GetGeoLocationInput",
   72     72   
    ),
   73     73   
    ::aws_smithy_schema::ShapeType::String,
   74         -
    "continent_code",
          74  +
    "ContinentCode",
   75     75   
    0,
   76     76   
)
   77     77   
.with_http_query("continentcode");
   78     78   
static GETGEOLOCATIONINPUT_MEMBER_COUNTRY_CODE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   79     79   
    ::aws_smithy_schema::ShapeId::from_static(
   80     80   
        "com.amazonaws.route53.synthetic#GetGeoLocationInput$CountryCode",
   81     81   
        "com.amazonaws.route53.synthetic",
   82     82   
        "GetGeoLocationInput",
   83     83   
    ),
   84     84   
    ::aws_smithy_schema::ShapeType::String,
   85         -
    "country_code",
          85  +
    "CountryCode",
   86     86   
    1,
   87     87   
)
   88     88   
.with_http_query("countrycode");
   89     89   
static GETGEOLOCATIONINPUT_MEMBER_SUBDIVISION_CODE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   90     90   
    ::aws_smithy_schema::ShapeId::from_static(
   91     91   
        "com.amazonaws.route53.synthetic#GetGeoLocationInput$SubdivisionCode",
   92     92   
        "com.amazonaws.route53.synthetic",
   93     93   
        "GetGeoLocationInput",
   94     94   
    ),
   95     95   
    ::aws_smithy_schema::ShapeType::String,
   96         -
    "subdivision_code",
          96  +
    "SubdivisionCode",
   97     97   
    2,
   98     98   
)
   99     99   
.with_http_query("subdivisioncode");
  100    100   
static GETGEOLOCATIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
  101    101   
    GETGEOLOCATIONINPUT_SCHEMA_ID,
  102    102   
    ::aws_smithy_schema::ShapeType::Structure,
  103    103   
    &[
  104    104   
        &GETGEOLOCATIONINPUT_MEMBER_CONTINENT_CODE,
  105    105   
        &GETGEOLOCATIONINPUT_MEMBER_COUNTRY_CODE,
  106    106   
        &GETGEOLOCATIONINPUT_MEMBER_SUBDIVISION_CODE,
  107    107   
    ],
  108         -
);
         108  +
)
         109  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("GET", "/2013-04-01/geolocation", None));
  109    110   
impl GetGeoLocationInput {
  110    111   
    /// The schema for this shape.
  111    112   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETGEOLOCATIONINPUT_SCHEMA;
  112    113   
}
  113    114   
impl ::aws_smithy_schema::serde::SerializableStruct for GetGeoLocationInput {
  114    115   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  115    116   
    fn serialize_members(
  116    117   
        &self,
  117    118   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  118    119   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  119    120   
        if let Some(ref val) = self.continent_code {
  120    121   
            ser.write_string(&GETGEOLOCATIONINPUT_MEMBER_CONTINENT_CODE, val)?;
  121    122   
        }
  122    123   
        if let Some(ref val) = self.country_code {
  123    124   
            ser.write_string(&GETGEOLOCATIONINPUT_MEMBER_COUNTRY_CODE, val)?;
  124    125   
        }
  125    126   
        if let Some(ref val) = self.subdivision_code {
  126    127   
            ser.write_string(&GETGEOLOCATIONINPUT_MEMBER_SUBDIVISION_CODE, val)?;
  127    128   
        }
  128    129   
        Ok(())
  129    130   
    }
  130    131   
}
  131    132   
impl GetGeoLocationInput {
  132    133   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  133         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  134         -
        deserializer: &mut D,
         134  +
    pub fn deserialize(
         135  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  135    136   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  136    137   
        #[allow(unused_variables, unused_mut)]
  137    138   
        let mut builder = Self::builder();
  138    139   
        #[allow(
  139    140   
            unused_variables,
  140    141   
            unreachable_code,
  141    142   
            clippy::single_match,
  142    143   
            clippy::match_single_binding,
  143    144   
            clippy::diverging_sub_expression
  144    145   
        )]
  145         -
        deserializer.read_struct(&GETGEOLOCATIONINPUT_SCHEMA, (), |_, member, deser| {
         146  +
        deserializer.read_struct(&GETGEOLOCATIONINPUT_SCHEMA, &mut |member, deser| {
  146    147   
            match member.member_index() {
  147    148   
                Some(0) => {
  148    149   
                    builder.continent_code = Some(deser.read_string(member)?);
  149    150   
                }
  150    151   
                Some(1) => {
  151    152   
                    builder.country_code = Some(deser.read_string(member)?);
  152    153   
                }
  153    154   
                Some(2) => {
  154    155   
                    builder.subdivision_code = Some(deser.read_string(member)?);
  155    156   
                }
  156    157   
                _ => {}
  157    158   
            }
  158    159   
            Ok(())
  159    160   
        })?;
  160    161   
        builder
  161    162   
            .build()
  162    163   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  163    164   
    }
  164    165   
}
         166  +
impl GetGeoLocationInput {
         167  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         168  +
    pub fn deserialize_with_response(
         169  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         170  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         171  +
        _status: u16,
         172  +
        _body: &[u8],
         173  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         174  +
        Self::deserialize(deserializer)
         175  +
    }
         176  +
}
  165    177   
impl GetGeoLocationInput {
  166    178   
    /// Creates a new builder-style object to manufacture [`GetGeoLocationInput`](crate::operation::get_geo_location::GetGeoLocationInput).
  167    179   
    pub fn builder() -> crate::operation::get_geo_location::builders::GetGeoLocationInputBuilder {
  168    180   
        crate::operation::get_geo_location::builders::GetGeoLocationInputBuilder::default()
  169    181   
    }
  170    182   
}
  171    183   
  172    184   
/// A builder for [`GetGeoLocationInput`](crate::operation::get_geo_location::GetGeoLocationInput).
  173    185   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  174    186   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_geo_location/_get_geo_location_output.rs

@@ -1,1 +97,144 @@
   19     19   
    "com.amazonaws.route53.synthetic",
   20     20   
    "GetGeoLocationOutput",
   21     21   
);
   22     22   
static GETGEOLOCATIONOUTPUT_MEMBER_GEO_LOCATION_DETAILS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   23     23   
    ::aws_smithy_schema::ShapeId::from_static(
   24     24   
        "com.amazonaws.route53.synthetic#GetGeoLocationOutput$GeoLocationDetails",
   25     25   
        "com.amazonaws.route53.synthetic",
   26     26   
        "GetGeoLocationOutput",
   27     27   
    ),
   28     28   
    ::aws_smithy_schema::ShapeType::Structure,
   29         -
    "geo_location_details",
          29  +
    "GeoLocationDetails",
   30     30   
    0,
   31     31   
);
          32  +
static GETGEOLOCATIONOUTPUT_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 GETGEOLOCATIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   33     40   
    GETGEOLOCATIONOUTPUT_SCHEMA_ID,
   34     41   
    ::aws_smithy_schema::ShapeType::Structure,
   35         -
    &[&GETGEOLOCATIONOUTPUT_MEMBER_GEO_LOCATION_DETAILS],
          42  +
    &[
          43  +
        &GETGEOLOCATIONOUTPUT_MEMBER_GEO_LOCATION_DETAILS,
          44  +
        &GETGEOLOCATIONOUTPUT_MEMBER__REQUEST_ID,
          45  +
    ],
   36     46   
);
   37     47   
impl GetGeoLocationOutput {
   38     48   
    /// The schema for this shape.
   39     49   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &GETGEOLOCATIONOUTPUT_SCHEMA;
   40     50   
}
   41     51   
impl ::aws_smithy_schema::serde::SerializableStruct for GetGeoLocationOutput {
   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.geo_location_details {
   48     58   
            ser.write_struct(&GETGEOLOCATIONOUTPUT_MEMBER_GEO_LOCATION_DETAILS, val)?;
   49     59   
        }
   50     60   
        Ok(())
   51     61   
    }
   52     62   
}
   53     63   
impl GetGeoLocationOutput {
   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(&GETGEOLOCATIONOUTPUT_SCHEMA, (), |_, member, deser| {
          77  +
        deserializer.read_struct(&GETGEOLOCATIONOUTPUT_SCHEMA, &mut |member, deser| {
          78  +
            match member.member_index() {
          79  +
                Some(0) => {
          80  +
                    builder.geo_location_details = Some(crate::types::GeoLocationDetails::deserialize(deser)?);
          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 GetGeoLocationOutput {
          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(&GETGEOLOCATIONOUTPUT_SCHEMA, &mut |member, deser| {
   68    115   
            match member.member_index() {
   69    116   
                Some(0) => {
   70    117   
                    builder.geo_location_details = Some(crate::types::GeoLocationDetails::deserialize(deser)?);
   71    118   
                }
   72    119   
                _ => {}
   73    120   
            }
   74    121   
            Ok(())
   75    122   
        })?;
   76    123   
        Ok(builder.build())
   77    124   
    }