AWS SDK

AWS SDK

rev. 163d4d6410694aaf071424777ecbecd050925f36 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/delete_traffic_policy/_delete_traffic_policy_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/delete_traffic_policy/_delete_traffic_policy_output.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/delete_traffic_policy_instance.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 `DeleteTrafficPolicyInstance`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteTrafficPolicyInstance;
    6      6   
impl DeleteTrafficPolicyInstance {
    7      7   
    /// Creates a new `DeleteTrafficPolicyInstance`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          13  +
        crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceOutput::SCHEMA;
   11     17   
    pub(crate) async fn orchestrate(
   12     18   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     19   
        input: crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::delete_traffic_policy_instance::DeleteTrafficPolicyInstanceError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -127,133 +186,193 @@
  147    153   
        ::std::borrow::Cow::Owned(rcb)
  148    154   
    }
  149    155   
}
  150    156   
  151    157   
#[derive(Debug)]
  152    158   
struct DeleteTrafficPolicyInstanceResponseDeserializer;
  153    159   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteTrafficPolicyInstanceResponseDeserializer {
  154    160   
    fn deserialize_nonstreaming(
  155    161   
        &self,
  156    162   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         163  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  157    164   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  158    165   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  159    166   
        let headers = response.headers();
  160    167   
        let body = response.body().bytes().expect("body loaded");
  161    168   
        #[allow(unused_mut)]
  162    169   
        let mut force_error = false;
  163    170   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  164    171   
        let parse_result = if !success && status != 200 || force_error {
  165    172   
            crate::protocol_serde::shape_delete_traffic_policy_instance::de_delete_traffic_policy_instance_http_error(status, headers, body)
  166    173   
        } else {

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/delete_traffic_policy_instance/_delete_traffic_policy_instance_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/delete_traffic_policy_instance/_delete_traffic_policy_instance_output.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/delete_vpc_association_authorization.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 `DeleteVPCAssociationAuthorization`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteVPCAssociationAuthorization;
    6      6   
impl DeleteVPCAssociationAuthorization {
    7      7   
    /// Creates a new `DeleteVPCAssociationAuthorization`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          13  +
        crate::operation::delete_vpc_association_authorization::DeleteVpcAssociationAuthorizationInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::delete_vpc_association_authorization::DeleteVpcAssociationAuthorizationOutput::SCHEMA;
   11     17   
    pub(crate) async fn orchestrate(
   12     18   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     19   
        input: crate::operation::delete_vpc_association_authorization::DeleteVpcAssociationAuthorizationInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::delete_vpc_association_authorization::DeleteVpcAssociationAuthorizationOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::delete_vpc_association_authorization::DeleteVPCAssociationAuthorizationError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -132,138 +191,198 @@
  152    158   
        ::std::borrow::Cow::Owned(rcb)
  153    159   
    }
  154    160   
}
  155    161   
  156    162   
#[derive(Debug)]
  157    163   
struct DeleteVPCAssociationAuthorizationResponseDeserializer;
  158    164   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteVPCAssociationAuthorizationResponseDeserializer {
  159    165   
    fn deserialize_nonstreaming(
  160    166   
        &self,
  161    167   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         168  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  162    169   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  163    170   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  164    171   
        let headers = response.headers();
  165    172   
        let body = response.body().bytes().expect("body loaded");
  166    173   
        #[allow(unused_mut)]
  167    174   
        let mut force_error = false;
  168    175   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  169    176   
        let parse_result = if !success && status != 200 || force_error {
  170    177   
            crate::protocol_serde::shape_delete_vpc_association_authorization::de_delete_vpc_association_authorization_http_error(
  171    178   
                status, headers, body,

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/delete_vpc_association_authorization/_delete_vpc_association_authorization_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/delete_vpc_association_authorization/_delete_vpc_association_authorization_output.rs

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

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

@@ -1,1 +40,45 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
/// Orchestration and serialization glue logic for `DisableHostedZoneDNSSEC`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DisableHostedZoneDNSSEC;
    6      6   
impl DisableHostedZoneDNSSEC {
    7      7   
    /// Creates a new `DisableHostedZoneDNSSEC`
    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_hosted_zone_dnssec::DisableHostedZoneDnssecInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          15  +
        crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDnssecOutput::SCHEMA;
   11     16   
    pub(crate) async fn orchestrate(
   12     17   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     18   
        input: crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDnssecInput,
   14     19   
    ) -> ::std::result::Result<
   15     20   
        crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDnssecOutput,
   16     21   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     22   
            crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDNSSECError,
   18     23   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     24   
        >,
   20     25   
    > {
@@ -124,129 +183,189 @@
  144    149   
        ::std::borrow::Cow::Owned(rcb)
  145    150   
    }
  146    151   
}
  147    152   
  148    153   
#[derive(Debug)]
  149    154   
struct DisableHostedZoneDNSSECResponseDeserializer;
  150    155   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DisableHostedZoneDNSSECResponseDeserializer {
  151    156   
    fn deserialize_nonstreaming(
  152    157   
        &self,
  153    158   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         159  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  154    160   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  155    161   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  156    162   
        let headers = response.headers();
  157    163   
        let body = response.body().bytes().expect("body loaded");
  158    164   
        #[allow(unused_mut)]
  159    165   
        let mut force_error = false;
  160    166   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  161    167   
        let parse_result = if !success && status != 200 || force_error {
  162    168   
            crate::protocol_serde::shape_disable_hosted_zone_dnssec::de_disable_hosted_zone_dnssec_http_error(status, headers, body)
  163    169   
        } else {

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/disable_hosted_zone_dnssec/_disable_hosted_zone_dnssec_input.rs

@@ -1,1 +109,126 @@
   17     17   
    "com.amazonaws.route53.synthetic",
   18     18   
    "DisableHostedZoneDNSSECInput",
   19     19   
);
   20     20   
static DISABLEHOSTEDZONEDNSSECINPUT_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#DisableHostedZoneDNSSECInput$HostedZoneId",
   23     23   
        "com.amazonaws.route53.synthetic",
   24     24   
        "DisableHostedZoneDNSSECInput",
   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 DISABLEHOSTEDZONEDNSSECINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   32     32   
    DISABLEHOSTEDZONEDNSSECINPUT_SCHEMA_ID,
   33     33   
    ::aws_smithy_schema::ShapeType::Structure,
   34     34   
    &[&DISABLEHOSTEDZONEDNSSECINPUT_MEMBER_HOSTED_ZONE_ID],
   35         -
);
          35  +
)
          36  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          37  +
    "POST",
          38  +
    "/2013-04-01/hostedzone/{HostedZoneId}/disable-dnssec",
          39  +
    None,
          40  +
));
   36     41   
impl DisableHostedZoneDnssecInput {
   37     42   
    /// The schema for this shape.
   38     43   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DISABLEHOSTEDZONEDNSSECINPUT_SCHEMA;
   39     44   
}
   40     45   
impl ::aws_smithy_schema::serde::SerializableStruct for DisableHostedZoneDnssecInput {
   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(&DISABLEHOSTEDZONEDNSSECINPUT_MEMBER_HOSTED_ZONE_ID, val)?;
   48     53   
        }
   49     54   
        Ok(())
   50     55   
    }
   51     56   
}
   52     57   
impl DisableHostedZoneDnssecInput {
   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(&DISABLEHOSTEDZONEDNSSECINPUT_SCHEMA, (), |_, member, deser| {
          71  +
        deserializer.read_struct(&DISABLEHOSTEDZONEDNSSECINPUT_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 DisableHostedZoneDnssecInput {
          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 DisableHostedZoneDnssecInput {
   81     98   
    /// Creates a new builder-style object to manufacture [`DisableHostedZoneDnssecInput`](crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDnssecInput).
   82     99   
    pub fn builder() -> crate::operation::disable_hosted_zone_dnssec::builders::DisableHostedZoneDnssecInputBuilder {
   83    100   
        crate::operation::disable_hosted_zone_dnssec::builders::DisableHostedZoneDnssecInputBuilder::default()
   84    101   
    }
   85    102   
}
   86    103   
   87    104   
/// A builder for [`DisableHostedZoneDnssecInput`](crate::operation::disable_hosted_zone_dnssec::DisableHostedZoneDnssecInput).
   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/disable_hosted_zone_dnssec/_disable_hosted_zone_dnssec_output.rs

@@ -1,1 +96,143 @@
   18     18   
    "com.amazonaws.route53.synthetic",
   19     19   
    "DisableHostedZoneDNSSECOutput",
   20     20   
);
   21     21   
static DISABLEHOSTEDZONEDNSSECOUTPUT_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#DisableHostedZoneDNSSECOutput$ChangeInfo",
   24     24   
        "com.amazonaws.route53.synthetic",
   25     25   
        "DisableHostedZoneDNSSECOutput",
   26     26   
    ),
   27     27   
    ::aws_smithy_schema::ShapeType::Structure,
   28         -
    "change_info",
          28  +
    "ChangeInfo",
   29     29   
    0,
   30     30   
);
          31  +
static DISABLEHOSTEDZONEDNSSECOUTPUT_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 DISABLEHOSTEDZONEDNSSECOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   32     39   
    DISABLEHOSTEDZONEDNSSECOUTPUT_SCHEMA_ID,
   33     40   
    ::aws_smithy_schema::ShapeType::Structure,
   34         -
    &[&DISABLEHOSTEDZONEDNSSECOUTPUT_MEMBER_CHANGE_INFO],
          41  +
    &[
          42  +
        &DISABLEHOSTEDZONEDNSSECOUTPUT_MEMBER_CHANGE_INFO,
          43  +
        &DISABLEHOSTEDZONEDNSSECOUTPUT_MEMBER__REQUEST_ID,
          44  +
    ],
   35     45   
);
   36     46   
impl DisableHostedZoneDnssecOutput {
   37     47   
    /// The schema for this shape.
   38     48   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DISABLEHOSTEDZONEDNSSECOUTPUT_SCHEMA;
   39     49   
}
   40     50   
impl ::aws_smithy_schema::serde::SerializableStruct for DisableHostedZoneDnssecOutput {
   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(&DISABLEHOSTEDZONEDNSSECOUTPUT_MEMBER_CHANGE_INFO, val)?;
   48     58   
        }
   49     59   
        Ok(())
   50     60   
    }
   51     61   
}
   52     62   
impl DisableHostedZoneDnssecOutput {
   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(&DISABLEHOSTEDZONEDNSSECOUTPUT_SCHEMA, (), |_, member, deser| {
          76  +
        deserializer.read_struct(&DISABLEHOSTEDZONEDNSSECOUTPUT_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 DisableHostedZoneDnssecOutput {
          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(&DISABLEHOSTEDZONEDNSSECOUTPUT_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/disassociate_vpc_from_hosted_zone.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 `DisassociateVPCFromHostedZone`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DisassociateVPCFromHostedZone;
    6      6   
impl DisassociateVPCFromHostedZone {
    7      7   
    /// Creates a new `DisassociateVPCFromHostedZone`
    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_vpc_from_hosted_zone::DisassociateVpcFromHostedZoneInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVpcFromHostedZoneOutput::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_vpc_from_hosted_zone::DisassociateVpcFromHostedZoneInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVpcFromHostedZoneOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::disassociate_vpc_from_hosted_zone::DisassociateVPCFromHostedZoneError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -130,136 +189,196 @@
  150    156   
        ::std::borrow::Cow::Owned(rcb)
  151    157   
    }
  152    158   
}
  153    159   
  154    160   
#[derive(Debug)]
  155    161   
struct DisassociateVPCFromHostedZoneResponseDeserializer;
  156    162   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DisassociateVPCFromHostedZoneResponseDeserializer {
  157    163   
    fn deserialize_nonstreaming(
  158    164   
        &self,
  159    165   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         166  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  160    167   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  161    168   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  162    169   
        let headers = response.headers();
  163    170   
        let body = response.body().bytes().expect("body loaded");
  164    171   
        #[allow(unused_mut)]
  165    172   
        let mut force_error = false;
  166    173   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  167    174   
        let parse_result = if !success && status != 200 || force_error {
  168    175   
            crate::protocol_serde::shape_disassociate_vpc_from_hosted_zone::de_disassociate_vpc_from_hosted_zone_http_error(status, headers, body)
  169    176   
        } else {

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/disassociate_vpc_from_hosted_zone/_disassociate_vpc_from_hosted_zone_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/disassociate_vpc_from_hosted_zone/_disassociate_vpc_from_hosted_zone_output.rs

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

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

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

@@ -1,1 +109,126 @@
   17     17   
    "com.amazonaws.route53.synthetic",
   18     18   
    "EnableHostedZoneDNSSECInput",
   19     19   
);
   20     20   
static ENABLEHOSTEDZONEDNSSECINPUT_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#EnableHostedZoneDNSSECInput$HostedZoneId",
   23     23   
        "com.amazonaws.route53.synthetic",
   24     24   
        "EnableHostedZoneDNSSECInput",
   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 ENABLEHOSTEDZONEDNSSECINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   32     32   
    ENABLEHOSTEDZONEDNSSECINPUT_SCHEMA_ID,
   33     33   
    ::aws_smithy_schema::ShapeType::Structure,
   34     34   
    &[&ENABLEHOSTEDZONEDNSSECINPUT_MEMBER_HOSTED_ZONE_ID],
   35         -
);
          35  +
)
          36  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          37  +
    "POST",
          38  +
    "/2013-04-01/hostedzone/{HostedZoneId}/enable-dnssec",
          39  +
    None,
          40  +
));
   36     41   
impl EnableHostedZoneDnssecInput {
   37     42   
    /// The schema for this shape.
   38     43   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &ENABLEHOSTEDZONEDNSSECINPUT_SCHEMA;
   39     44   
}
   40     45   
impl ::aws_smithy_schema::serde::SerializableStruct for EnableHostedZoneDnssecInput {
   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(&ENABLEHOSTEDZONEDNSSECINPUT_MEMBER_HOSTED_ZONE_ID, val)?;
   48     53   
        }
   49     54   
        Ok(())
   50     55   
    }
   51     56   
}
   52     57   
impl EnableHostedZoneDnssecInput {
   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(&ENABLEHOSTEDZONEDNSSECINPUT_SCHEMA, (), |_, member, deser| {
          71  +
        deserializer.read_struct(&ENABLEHOSTEDZONEDNSSECINPUT_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 EnableHostedZoneDnssecInput {
          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 EnableHostedZoneDnssecInput {
   81     98   
    /// Creates a new builder-style object to manufacture [`EnableHostedZoneDnssecInput`](crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDnssecInput).
   82     99   
    pub fn builder() -> crate::operation::enable_hosted_zone_dnssec::builders::EnableHostedZoneDnssecInputBuilder {
   83    100   
        crate::operation::enable_hosted_zone_dnssec::builders::EnableHostedZoneDnssecInputBuilder::default()
   84    101   
    }
   85    102   
}
   86    103   
   87    104   
/// A builder for [`EnableHostedZoneDnssecInput`](crate::operation::enable_hosted_zone_dnssec::EnableHostedZoneDnssecInput).
   88    105   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
   89    106   
#[non_exhaustive]