AWS SDK

AWS SDK

rev. 96f5a1b4ad139d2f1ad1e8e40f300e1cd1ff574c

Files changed:

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/create_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 `CreateVPCAssociationAuthorization`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct CreateVPCAssociationAuthorization;
    6      6   
impl CreateVPCAssociationAuthorization {
    7      7   
    /// Creates a new `CreateVPCAssociationAuthorization`
    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::create_vpc_association_authorization::CreateVpcAssociationAuthorizationInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::create_vpc_association_authorization::CreateVpcAssociationAuthorizationOutput::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::create_vpc_association_authorization::CreateVpcAssociationAuthorizationInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::create_vpc_association_authorization::CreateVpcAssociationAuthorizationOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -129,135 +191,198 @@
  149    155   
                crate::operation::create_vpc_association_authorization::CreateVPCAssociationAuthorizationError,
  150    156   
            >::new());
  151    157   
  152    158   
        ::std::borrow::Cow::Owned(rcb)
  153    159   
    }
  154    160   
}
  155    161   
  156    162   
#[derive(Debug)]
  157    163   
struct CreateVPCAssociationAuthorizationResponseDeserializer;
  158    164   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for CreateVPCAssociationAuthorizationResponseDeserializer {
  159         -
    fn deserialize_nonstreaming(
         165  +
    fn deserialize_nonstreaming_with_config(
  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_create_vpc_association_authorization::de_create_vpc_association_authorization_http_error(
  171    178   
                status, headers, body,

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

@@ -4,4 +135,152 @@
   24     24   
    "com.amazonaws.route53.synthetic",
   25     25   
    "CreateVPCAssociationAuthorizationInput",
   26     26   
);
   27     27   
static CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_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#CreateVPCAssociationAuthorizationInput$HostedZoneId",
   30     30   
        "com.amazonaws.route53.synthetic",
   31     31   
        "CreateVPCAssociationAuthorizationInput",
   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 CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_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#CreateVPCAssociationAuthorizationInput$VPC",
   41     41   
        "com.amazonaws.route53.synthetic",
   42     42   
        "CreateVPCAssociationAuthorizationInput",
   43     43   
    ),
   44     44   
    ::aws_smithy_schema::ShapeType::Structure,
   45         -
    "vpc",
          45  +
    "VPC",
   46     46   
    1,
   47     47   
);
   48     48   
static CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   49     49   
    CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_SCHEMA_ID,
   50     50   
    ::aws_smithy_schema::ShapeType::Structure,
   51     51   
    &[
   52     52   
        &CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_MEMBER_HOSTED_ZONE_ID,
   53     53   
        &CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_MEMBER_VPC,
   54     54   
    ],
   55         -
);
          55  +
)
          56  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          57  +
    "POST",
          58  +
    "/2013-04-01/hostedzone/{HostedZoneId}/authorizevpcassociation",
          59  +
    None,
          60  +
));
   56     61   
impl CreateVpcAssociationAuthorizationInput {
   57     62   
    /// The schema for this shape.
   58     63   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_SCHEMA;
   59     64   
}
   60     65   
impl ::aws_smithy_schema::serde::SerializableStruct for CreateVpcAssociationAuthorizationInput {
   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(&CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_MEMBER_HOSTED_ZONE_ID, val)?;
   68     73   
        }
   69     74   
        if let Some(ref val) = self.vpc {
   70     75   
            ser.write_struct(&CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_MEMBER_VPC, val)?;
   71     76   
        }
   72     77   
        Ok(())
   73     78   
    }
   74     79   
}
   75     80   
impl CreateVpcAssociationAuthorizationInput {
   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(&CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_SCHEMA, (), |_, member, deser| {
          94  +
        deserializer.read_struct(&CREATEVPCASSOCIATIONAUTHORIZATIONINPUT_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 CreateVpcAssociationAuthorizationInput {
         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 CreateVpcAssociationAuthorizationInput {
  107    124   
    /// Creates a new builder-style object to manufacture [`CreateVpcAssociationAuthorizationInput`](crate::operation::create_vpc_association_authorization::CreateVpcAssociationAuthorizationInput).
  108    125   
    pub fn builder() -> crate::operation::create_vpc_association_authorization::builders::CreateVpcAssociationAuthorizationInputBuilder {
  109    126   
        crate::operation::create_vpc_association_authorization::builders::CreateVpcAssociationAuthorizationInputBuilder::default()
  110    127   
    }
  111    128   
}
  112    129   
  113    130   
/// A builder for [`CreateVpcAssociationAuthorizationInput`](crate::operation::create_vpc_association_authorization::CreateVpcAssociationAuthorizationInput).
  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/create_vpc_association_authorization/_create_vpc_association_authorization_output.rs

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/deactivate_key_signing_key.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 `DeactivateKeySigningKey`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeactivateKeySigningKey;
    6      6   
impl DeactivateKeySigningKey {
    7      7   
    /// Creates a new `DeactivateKeySigningKey`
    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::deactivate_key_signing_key::DeactivateKeySigningKeyInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          15  +
        crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyOutput::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::deactivate_key_signing_key::DeactivateKeySigningKeyInput,
   14     19   
    ) -> ::std::result::Result<
   15     20   
        crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyOutput,
   16     21   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     22   
            crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError,
   18     23   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     24   
        >,
   20     25   
    > {
@@ -121,126 +183,189 @@
  141    146   
                crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyError,
  142    147   
            >::new());
  143    148   
  144    149   
        ::std::borrow::Cow::Owned(rcb)
  145    150   
    }
  146    151   
}
  147    152   
  148    153   
#[derive(Debug)]
  149    154   
struct DeactivateKeySigningKeyResponseDeserializer;
  150    155   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeactivateKeySigningKeyResponseDeserializer {
  151         -
    fn deserialize_nonstreaming(
         156  +
    fn deserialize_nonstreaming_with_config(
  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_deactivate_key_signing_key::de_deactivate_key_signing_key_http_error(status, headers, body)
  163    169   
        } else {

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

@@ -3,3 +135,153 @@
   23     23   
    "com.amazonaws.route53.synthetic",
   24     24   
    "DeactivateKeySigningKeyInput",
   25     25   
);
   26     26   
static DEACTIVATEKEYSIGNINGKEYINPUT_MEMBER_HOSTED_ZONE_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   27     27   
    ::aws_smithy_schema::ShapeId::from_static(
   28     28   
        "com.amazonaws.route53.synthetic#DeactivateKeySigningKeyInput$HostedZoneId",
   29     29   
        "com.amazonaws.route53.synthetic",
   30     30   
        "DeactivateKeySigningKeyInput",
   31     31   
    ),
   32     32   
    ::aws_smithy_schema::ShapeType::String,
   33         -
    "hosted_zone_id",
          33  +
    "HostedZoneId",
   34     34   
    0,
   35     35   
)
   36     36   
.with_http_label();
   37     37   
static DEACTIVATEKEYSIGNINGKEYINPUT_MEMBER_NAME: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   38     38   
    ::aws_smithy_schema::ShapeId::from_static(
   39     39   
        "com.amazonaws.route53.synthetic#DeactivateKeySigningKeyInput$Name",
   40     40   
        "com.amazonaws.route53.synthetic",
   41     41   
        "DeactivateKeySigningKeyInput",
   42     42   
    ),
   43     43   
    ::aws_smithy_schema::ShapeType::String,
   44         -
    "name",
          44  +
    "Name",
   45     45   
    1,
   46     46   
)
   47     47   
.with_http_label();
   48     48   
static DEACTIVATEKEYSIGNINGKEYINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   49     49   
    DEACTIVATEKEYSIGNINGKEYINPUT_SCHEMA_ID,
   50     50   
    ::aws_smithy_schema::ShapeType::Structure,
   51     51   
    &[
   52     52   
        &DEACTIVATEKEYSIGNINGKEYINPUT_MEMBER_HOSTED_ZONE_ID,
   53     53   
        &DEACTIVATEKEYSIGNINGKEYINPUT_MEMBER_NAME,
   54     54   
    ],
   55         -
);
          55  +
)
          56  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          57  +
    "POST",
          58  +
    "/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/deactivate",
          59  +
    None,
          60  +
));
   56     61   
impl DeactivateKeySigningKeyInput {
   57     62   
    /// The schema for this shape.
   58     63   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DEACTIVATEKEYSIGNINGKEYINPUT_SCHEMA;
   59     64   
}
   60     65   
impl ::aws_smithy_schema::serde::SerializableStruct for DeactivateKeySigningKeyInput {
   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(&DEACTIVATEKEYSIGNINGKEYINPUT_MEMBER_HOSTED_ZONE_ID, val)?;
   68     73   
        }
   69     74   
        if let Some(ref val) = self.name {
   70     75   
            ser.write_string(&DEACTIVATEKEYSIGNINGKEYINPUT_MEMBER_NAME, val)?;
   71     76   
        }
   72     77   
        Ok(())
   73     78   
    }
   74     79   
}
   75     80   
impl DeactivateKeySigningKeyInput {
   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(&DEACTIVATEKEYSIGNINGKEYINPUT_SCHEMA, (), |_, member, deser| {
          94  +
        deserializer.read_struct(&DEACTIVATEKEYSIGNINGKEYINPUT_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.name = Some(deser.read_string(member)?);
   96    101   
                }
   97    102   
                _ => {}
   98    103   
            }
   99    104   
            Ok(())
  100    105   
        })?;
         106  +
        builder.hosted_zone_id = builder.hosted_zone_id.or(Some(String::new()));
         107  +
        builder.name = builder.name.or(Some(String::new()));
  101    108   
        builder
  102    109   
            .build()
  103    110   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  104    111   
    }
  105    112   
}
         113  +
impl DeactivateKeySigningKeyInput {
         114  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         115  +
    pub fn deserialize_with_response(
         116  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         117  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         118  +
        _status: u16,
         119  +
        _body: &[u8],
         120  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         121  +
        Self::deserialize(deserializer)
         122  +
    }
         123  +
}
  106    124   
impl DeactivateKeySigningKeyInput {
  107    125   
    /// Creates a new builder-style object to manufacture [`DeactivateKeySigningKeyInput`](crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyInput).
  108    126   
    pub fn builder() -> crate::operation::deactivate_key_signing_key::builders::DeactivateKeySigningKeyInputBuilder {
  109    127   
        crate::operation::deactivate_key_signing_key::builders::DeactivateKeySigningKeyInputBuilder::default()
  110    128   
    }
  111    129   
}
  112    130   
  113    131   
/// A builder for [`DeactivateKeySigningKeyInput`](crate::operation::deactivate_key_signing_key::DeactivateKeySigningKeyInput).
  114    132   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  115    133   
#[non_exhaustive]

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

@@ -1,1 +96,143 @@
   18     18   
    "com.amazonaws.route53.synthetic",
   19     19   
    "DeactivateKeySigningKeyOutput",
   20     20   
);
   21     21   
static DEACTIVATEKEYSIGNINGKEYOUTPUT_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#DeactivateKeySigningKeyOutput$ChangeInfo",
   24     24   
        "com.amazonaws.route53.synthetic",
   25     25   
        "DeactivateKeySigningKeyOutput",
   26     26   
    ),
   27     27   
    ::aws_smithy_schema::ShapeType::Structure,
   28         -
    "change_info",
          28  +
    "ChangeInfo",
   29     29   
    0,
   30     30   
);
          31  +
static DEACTIVATEKEYSIGNINGKEYOUTPUT_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 DEACTIVATEKEYSIGNINGKEYOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   32     39   
    DEACTIVATEKEYSIGNINGKEYOUTPUT_SCHEMA_ID,
   33     40   
    ::aws_smithy_schema::ShapeType::Structure,
   34         -
    &[&DEACTIVATEKEYSIGNINGKEYOUTPUT_MEMBER_CHANGE_INFO],
          41  +
    &[
          42  +
        &DEACTIVATEKEYSIGNINGKEYOUTPUT_MEMBER_CHANGE_INFO,
          43  +
        &DEACTIVATEKEYSIGNINGKEYOUTPUT_MEMBER__REQUEST_ID,
          44  +
    ],
   35     45   
);
   36     46   
impl DeactivateKeySigningKeyOutput {
   37     47   
    /// The schema for this shape.
   38     48   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DEACTIVATEKEYSIGNINGKEYOUTPUT_SCHEMA;
   39     49   
}
   40     50   
impl ::aws_smithy_schema::serde::SerializableStruct for DeactivateKeySigningKeyOutput {
   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(&DEACTIVATEKEYSIGNINGKEYOUTPUT_MEMBER_CHANGE_INFO, val)?;
   48     58   
        }
   49     59   
        Ok(())
   50     60   
    }
   51     61   
}
   52     62   
impl DeactivateKeySigningKeyOutput {
   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(&DEACTIVATEKEYSIGNINGKEYOUTPUT_SCHEMA, (), |_, member, deser| {
          76  +
        deserializer.read_struct(&DEACTIVATEKEYSIGNINGKEYOUTPUT_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 DeactivateKeySigningKeyOutput {
          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(&DEACTIVATEKEYSIGNINGKEYOUTPUT_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/delete_cidr_collection.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 `DeleteCidrCollection`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteCidrCollection;
    6      6   
impl DeleteCidrCollection {
    7      7   
    /// Creates a new `DeleteCidrCollection`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_cidr_collection::DeleteCidrCollectionInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_cidr_collection::DeleteCidrCollectionOutput::SCHEMA;
   11     15   
    pub(crate) async fn orchestrate(
   12     16   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     17   
        input: crate::operation::delete_cidr_collection::DeleteCidrCollectionInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::delete_cidr_collection::DeleteCidrCollectionOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::delete_cidr_collection::DeleteCidrCollectionError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::delete_cidr_collection::DeleteCidrCollectionError,
  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 DeleteCidrCollectionResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteCidrCollectionResponseDeserializer {
  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_delete_cidr_collection::de_delete_cidr_collection_http_error(status, headers, body)
  160    165   
        } else {

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

@@ -1,1 +109,126 @@
   17     17   
    "com.amazonaws.route53.synthetic",
   18     18   
    "DeleteCidrCollectionInput",
   19     19   
);
   20     20   
static DELETECIDRCOLLECTIONINPUT_MEMBER_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#DeleteCidrCollectionInput$Id",
   23     23   
        "com.amazonaws.route53.synthetic",
   24     24   
        "DeleteCidrCollectionInput",
   25     25   
    ),
   26     26   
    ::aws_smithy_schema::ShapeType::String,
   27         -
    "id",
          27  +
    "Id",
   28     28   
    0,
   29     29   
)
   30     30   
.with_http_label();
   31     31   
static DELETECIDRCOLLECTIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   32     32   
    DELETECIDRCOLLECTIONINPUT_SCHEMA_ID,
   33     33   
    ::aws_smithy_schema::ShapeType::Structure,
   34     34   
    &[&DELETECIDRCOLLECTIONINPUT_MEMBER_ID],
   35         -
);
          35  +
)
          36  +
.with_http(aws_smithy_schema::traits::HttpTrait::new(
          37  +
    "DELETE",
          38  +
    "/2013-04-01/cidrcollection/{Id}",
          39  +
    None,
          40  +
));
   36     41   
impl DeleteCidrCollectionInput {
   37     42   
    /// The schema for this shape.
   38     43   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETECIDRCOLLECTIONINPUT_SCHEMA;
   39     44   
}
   40     45   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteCidrCollectionInput {
   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.id {
   47     52   
            ser.write_string(&DELETECIDRCOLLECTIONINPUT_MEMBER_ID, val)?;
   48     53   
        }
   49     54   
        Ok(())
   50     55   
    }
   51     56   
}
   52     57   
impl DeleteCidrCollectionInput {
   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(&DELETECIDRCOLLECTIONINPUT_SCHEMA, (), |_, member, deser| {
          71  +
        deserializer.read_struct(&DELETECIDRCOLLECTIONINPUT_SCHEMA, &mut |member, deser| {
   67     72   
            match member.member_index() {
   68     73   
                Some(0) => {
   69     74   
                    builder.id = Some(deser.read_string(member)?);
   70     75   
                }
   71     76   
                _ => {}
   72     77   
            }
   73     78   
            Ok(())
   74     79   
        })?;
          80  +
        builder.id = builder.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 DeleteCidrCollectionInput {
          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 DeleteCidrCollectionInput {
   81     98   
    /// Creates a new builder-style object to manufacture [`DeleteCidrCollectionInput`](crate::operation::delete_cidr_collection::DeleteCidrCollectionInput).
   82     99   
    pub fn builder() -> crate::operation::delete_cidr_collection::builders::DeleteCidrCollectionInputBuilder {
   83    100   
        crate::operation::delete_cidr_collection::builders::DeleteCidrCollectionInputBuilder::default()
   84    101   
    }
   85    102   
}
   86    103   
   87    104   
/// A builder for [`DeleteCidrCollectionInput`](crate::operation::delete_cidr_collection::DeleteCidrCollectionInput).
   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/delete_cidr_collection/_delete_cidr_collection_output.rs

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

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

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

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

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

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/delete_hosted_zone.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 `DeleteHostedZone`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteHostedZone;
    6      6   
impl DeleteHostedZone {
    7      7   
    /// Creates a new `DeleteHostedZone`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_hosted_zone::DeleteHostedZoneInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_hosted_zone::DeleteHostedZoneOutput::SCHEMA;
   11     15   
    pub(crate) async fn orchestrate(
   12     16   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     17   
        input: crate::operation::delete_hosted_zone::DeleteHostedZoneInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::delete_hosted_zone::DeleteHostedZoneOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::delete_hosted_zone::DeleteHostedZoneError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -121,125 +183,188 @@
  141    145   
                crate::operation::delete_hosted_zone::DeleteHostedZoneError,
  142    146   
            >::new());
  143    147   
  144    148   
        ::std::borrow::Cow::Owned(rcb)
  145    149   
    }
  146    150   
}
  147    151   
  148    152   
#[derive(Debug)]
  149    153   
struct DeleteHostedZoneResponseDeserializer;
  150    154   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteHostedZoneResponseDeserializer {
  151         -
    fn deserialize_nonstreaming(
         155  +
    fn deserialize_nonstreaming_with_config(
  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_delete_hosted_zone::de_delete_hosted_zone_http_error(status, headers, body)
  163    168   
        } else {

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

@@ -1,1 +110,123 @@
   18     18   
    "com.amazonaws.route53.synthetic",
   19     19   
    "DeleteHostedZoneInput",
   20     20   
);
   21     21   
static DELETEHOSTEDZONEINPUT_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#DeleteHostedZoneInput$Id",
   24     24   
        "com.amazonaws.route53.synthetic",
   25     25   
        "DeleteHostedZoneInput",
   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 DELETEHOSTEDZONEINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   33     33   
    DELETEHOSTEDZONEINPUT_SCHEMA_ID,
   34     34   
    ::aws_smithy_schema::ShapeType::Structure,
   35     35   
    &[&DELETEHOSTEDZONEINPUT_MEMBER_ID],
   36         -
);
          36  +
)
          37  +
.with_http(aws_smithy_schema::traits::HttpTrait::new("DELETE", "/2013-04-01/hostedzone/{Id}", None));
   37     38   
impl DeleteHostedZoneInput {
   38     39   
    /// The schema for this shape.
   39     40   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEHOSTEDZONEINPUT_SCHEMA;
   40     41   
}
   41     42   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteHostedZoneInput {
   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(&DELETEHOSTEDZONEINPUT_MEMBER_ID, val)?;
   49     50   
        }
   50     51   
        Ok(())
   51     52   
    }
   52     53   
}
   53     54   
impl DeleteHostedZoneInput {
   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(&DELETEHOSTEDZONEINPUT_SCHEMA, (), |_, member, deser| {
          68  +
        deserializer.read_struct(&DELETEHOSTEDZONEINPUT_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 DeleteHostedZoneInput {
          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 DeleteHostedZoneInput {
   82     95   
    /// Creates a new builder-style object to manufacture [`DeleteHostedZoneInput`](crate::operation::delete_hosted_zone::DeleteHostedZoneInput).
   83     96   
    pub fn builder() -> crate::operation::delete_hosted_zone::builders::DeleteHostedZoneInputBuilder {
   84     97   
        crate::operation::delete_hosted_zone::builders::DeleteHostedZoneInputBuilder::default()
   85     98   
    }
   86     99   
}
   87    100   
   88    101   
/// A builder for [`DeleteHostedZoneInput`](crate::operation::delete_hosted_zone::DeleteHostedZoneInput).
   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/delete_hosted_zone/_delete_hosted_zone_output.rs

@@ -1,1 +97,141 @@
   19     19   
    "com.amazonaws.route53.synthetic",
   20     20   
    "DeleteHostedZoneOutput",
   21     21   
);
   22     22   
static DELETEHOSTEDZONEOUTPUT_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#DeleteHostedZoneOutput$ChangeInfo",
   25     25   
        "com.amazonaws.route53.synthetic",
   26     26   
        "DeleteHostedZoneOutput",
   27     27   
    ),
   28     28   
    ::aws_smithy_schema::ShapeType::Structure,
   29         -
    "change_info",
          29  +
    "ChangeInfo",
   30     30   
    0,
   31     31   
);
          32  +
static DELETEHOSTEDZONEOUTPUT_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 DELETEHOSTEDZONEOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   33     40   
    DELETEHOSTEDZONEOUTPUT_SCHEMA_ID,
   34     41   
    ::aws_smithy_schema::ShapeType::Structure,
   35         -
    &[&DELETEHOSTEDZONEOUTPUT_MEMBER_CHANGE_INFO],
          42  +
    &[&DELETEHOSTEDZONEOUTPUT_MEMBER_CHANGE_INFO, &DELETEHOSTEDZONEOUTPUT_MEMBER__REQUEST_ID],
   36     43   
);
   37     44   
impl DeleteHostedZoneOutput {
   38     45   
    /// The schema for this shape.
   39     46   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DELETEHOSTEDZONEOUTPUT_SCHEMA;
   40     47   
}
   41     48   
impl ::aws_smithy_schema::serde::SerializableStruct for DeleteHostedZoneOutput {
   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(&DELETEHOSTEDZONEOUTPUT_MEMBER_CHANGE_INFO, val)?;
   49     56   
        }
   50     57   
        Ok(())
   51     58   
    }
   52     59   
}
   53     60   
impl DeleteHostedZoneOutput {
   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(&DELETEHOSTEDZONEOUTPUT_SCHEMA, (), |_, member, deser| {
          74  +
        deserializer.read_struct(&DELETEHOSTEDZONEOUTPUT_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 DeleteHostedZoneOutput {
          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(&DELETEHOSTEDZONEOUTPUT_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/delete_key_signing_key.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 `DeleteKeySigningKey`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DeleteKeySigningKey;
    6      6   
impl DeleteKeySigningKey {
    7      7   
    /// Creates a new `DeleteKeySigningKey`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_key_signing_key::DeleteKeySigningKeyInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::delete_key_signing_key::DeleteKeySigningKeyOutput::SCHEMA;
   11     15   
    pub(crate) async fn orchestrate(
   12     16   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     17   
        input: crate::operation::delete_key_signing_key::DeleteKeySigningKeyInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::delete_key_signing_key::DeleteKeySigningKeyOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::delete_key_signing_key::DeleteKeySigningKeyError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -121,125 +183,188 @@
  141    145   
                crate::operation::delete_key_signing_key::DeleteKeySigningKeyError,
  142    146   
            >::new());
  143    147   
  144    148   
        ::std::borrow::Cow::Owned(rcb)
  145    149   
    }
  146    150   
}
  147    151   
  148    152   
#[derive(Debug)]
  149    153   
struct DeleteKeySigningKeyResponseDeserializer;
  150    154   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DeleteKeySigningKeyResponseDeserializer {
  151         -
    fn deserialize_nonstreaming(
         155  +
    fn deserialize_nonstreaming_with_config(
  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_delete_key_signing_key::de_delete_key_signing_key_http_error(status, headers, body)
  163    168   
        } else {