AWS SDK

AWS SDK

rev. e063993ca0ab793f44c575dbe707d50a5e3e2406

Files changed:

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_attribute/_describe_vpc_attribute_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_attribute/_describe_vpc_attribute_output.rs

@@ -16,16 +162,216 @@
   36     36   
    "com.amazonaws.ec2.synthetic",
   37     37   
    "DescribeVpcAttributeOutput",
   38     38   
);
   39     39   
static DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_ENABLE_DNS_HOSTNAMES: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   40     40   
    ::aws_smithy_schema::ShapeId::from_static(
   41     41   
        "com.amazonaws.ec2.synthetic#DescribeVpcAttributeOutput$EnableDnsHostnames",
   42     42   
        "com.amazonaws.ec2.synthetic",
   43     43   
        "DescribeVpcAttributeOutput",
   44     44   
    ),
   45     45   
    ::aws_smithy_schema::ShapeType::Structure,
   46         -
    "enable_dns_hostnames",
          46  +
    "EnableDnsHostnames",
   47     47   
    0,
   48     48   
)
   49     49   
.with_xml_name("enableDnsHostnames");
   50     50   
static DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_ENABLE_DNS_SUPPORT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   51     51   
    ::aws_smithy_schema::ShapeId::from_static(
   52     52   
        "com.amazonaws.ec2.synthetic#DescribeVpcAttributeOutput$EnableDnsSupport",
   53     53   
        "com.amazonaws.ec2.synthetic",
   54     54   
        "DescribeVpcAttributeOutput",
   55     55   
    ),
   56     56   
    ::aws_smithy_schema::ShapeType::Structure,
   57         -
    "enable_dns_support",
          57  +
    "EnableDnsSupport",
   58     58   
    1,
   59     59   
)
   60     60   
.with_xml_name("enableDnsSupport");
   61     61   
static DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_ENABLE_NETWORK_ADDRESS_USAGE_METRICS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   62     62   
    ::aws_smithy_schema::ShapeId::from_static(
   63     63   
        "com.amazonaws.ec2.synthetic#DescribeVpcAttributeOutput$EnableNetworkAddressUsageMetrics",
   64     64   
        "com.amazonaws.ec2.synthetic",
   65     65   
        "DescribeVpcAttributeOutput",
   66     66   
    ),
   67     67   
    ::aws_smithy_schema::ShapeType::Structure,
   68         -
    "enable_network_address_usage_metrics",
          68  +
    "EnableNetworkAddressUsageMetrics",
   69     69   
    2,
   70     70   
)
   71     71   
.with_xml_name("enableNetworkAddressUsageMetrics");
   72     72   
static DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_VPC_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   73     73   
    ::aws_smithy_schema::ShapeId::from_static(
   74     74   
        "com.amazonaws.ec2.synthetic#DescribeVpcAttributeOutput$VpcId",
   75     75   
        "com.amazonaws.ec2.synthetic",
   76     76   
        "DescribeVpcAttributeOutput",
   77     77   
    ),
   78     78   
    ::aws_smithy_schema::ShapeType::String,
   79         -
    "vpc_id",
          79  +
    "VpcId",
   80     80   
    3,
   81     81   
)
   82     82   
.with_xml_name("vpcId");
          83  +
static DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER__REQUEST_ID: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
          84  +
    ::aws_smithy_schema::ShapeId::from_static("synthetic#request_id", "synthetic", "request_id"),
          85  +
    ::aws_smithy_schema::ShapeType::String,
          86  +
    "request_id",
          87  +
    4,
          88  +
)
          89  +
.with_http_header("x-amzn-requestid");
   83     90   
static DESCRIBEVPCATTRIBUTEOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   84     91   
    DESCRIBEVPCATTRIBUTEOUTPUT_SCHEMA_ID,
   85     92   
    ::aws_smithy_schema::ShapeType::Structure,
   86     93   
    &[
   87     94   
        &DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_ENABLE_DNS_HOSTNAMES,
   88     95   
        &DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_ENABLE_DNS_SUPPORT,
   89     96   
        &DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_ENABLE_NETWORK_ADDRESS_USAGE_METRICS,
   90     97   
        &DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_VPC_ID,
          98  +
        &DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER__REQUEST_ID,
   91     99   
    ],
   92    100   
);
   93    101   
impl DescribeVpcAttributeOutput {
   94    102   
    /// The schema for this shape.
   95    103   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DESCRIBEVPCATTRIBUTEOUTPUT_SCHEMA;
   96    104   
}
   97    105   
impl ::aws_smithy_schema::serde::SerializableStruct for DescribeVpcAttributeOutput {
   98    106   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   99    107   
    fn serialize_members(
  100    108   
        &self,
  101    109   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  102    110   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  103    111   
        if let Some(ref val) = self.enable_dns_hostnames {
  104    112   
            ser.write_struct(&DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_ENABLE_DNS_HOSTNAMES, val)?;
  105    113   
        }
  106    114   
        if let Some(ref val) = self.enable_dns_support {
  107    115   
            ser.write_struct(&DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_ENABLE_DNS_SUPPORT, val)?;
  108    116   
        }
  109    117   
        if let Some(ref val) = self.enable_network_address_usage_metrics {
  110    118   
            ser.write_struct(&DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_ENABLE_NETWORK_ADDRESS_USAGE_METRICS, val)?;
  111    119   
        }
  112    120   
        if let Some(ref val) = self.vpc_id {
  113    121   
            ser.write_string(&DESCRIBEVPCATTRIBUTEOUTPUT_MEMBER_VPC_ID, val)?;
  114    122   
        }
  115    123   
        Ok(())
  116    124   
    }
  117    125   
}
  118    126   
impl DescribeVpcAttributeOutput {
  119    127   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  120         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  121         -
        deserializer: &mut D,
         128  +
    pub fn deserialize(
         129  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  122    130   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  123    131   
        #[allow(unused_variables, unused_mut)]
  124    132   
        let mut builder = Self::builder();
  125    133   
        #[allow(
  126    134   
            unused_variables,
  127    135   
            unreachable_code,
  128    136   
            clippy::single_match,
  129    137   
            clippy::match_single_binding,
  130    138   
            clippy::diverging_sub_expression
  131    139   
        )]
  132         -
        deserializer.read_struct(&DESCRIBEVPCATTRIBUTEOUTPUT_SCHEMA, (), |_, member, deser| {
         140  +
        deserializer.read_struct(&DESCRIBEVPCATTRIBUTEOUTPUT_SCHEMA, &mut |member, deser| {
         141  +
            match member.member_index() {
         142  +
                Some(0) => {
         143  +
                    builder.enable_dns_hostnames = Some(crate::types::AttributeBooleanValue::deserialize(deser)?);
         144  +
                }
         145  +
                Some(1) => {
         146  +
                    builder.enable_dns_support = Some(crate::types::AttributeBooleanValue::deserialize(deser)?);
         147  +
                }
         148  +
                Some(2) => {
         149  +
                    builder.enable_network_address_usage_metrics = Some(crate::types::AttributeBooleanValue::deserialize(deser)?);
         150  +
                }
         151  +
                Some(3) => {
         152  +
                    builder.vpc_id = Some(deser.read_string(member)?);
         153  +
                }
         154  +
                Some(4) => {
         155  +
                    builder._request_id = Some(deser.read_string(member)?);
         156  +
                }
         157  +
                _ => {}
         158  +
            }
         159  +
            Ok(())
         160  +
        })?;
         161  +
        Ok(builder.build())
         162  +
    }
         163  +
}
         164  +
impl DescribeVpcAttributeOutput {
         165  +
    /// Deserializes this structure from a body deserializer and HTTP response headers.
         166  +
    /// Header-bound members are read directly from headers, avoiding runtime
         167  +
    /// member iteration overhead. Body members are read via the deserializer.
         168  +
    pub fn deserialize_with_response(
         169  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         170  +
        headers: &::aws_smithy_runtime_api::http::Headers,
         171  +
        _status: u16,
         172  +
        _body: &[u8],
         173  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         174  +
        #[allow(unused_variables, unused_mut)]
         175  +
        let mut builder = Self::builder();
         176  +
        if let Some(val) = headers.get("x-amzn-requestid") {
         177  +
            builder._request_id = Some(val.to_string());
         178  +
        }
         179  +
        #[allow(
         180  +
            unused_variables,
         181  +
            unreachable_code,
         182  +
            clippy::single_match,
         183  +
            clippy::match_single_binding,
         184  +
            clippy::diverging_sub_expression
         185  +
        )]
         186  +
        deserializer.read_struct(&DESCRIBEVPCATTRIBUTEOUTPUT_SCHEMA, &mut |member, deser| {
  133    187   
            match member.member_index() {
  134    188   
                Some(0) => {
  135    189   
                    builder.enable_dns_hostnames = Some(crate::types::AttributeBooleanValue::deserialize(deser)?);
  136    190   
                }
  137    191   
                Some(1) => {
  138    192   
                    builder.enable_dns_support = Some(crate::types::AttributeBooleanValue::deserialize(deser)?);
  139    193   
                }
  140    194   
                Some(2) => {
  141    195   
                    builder.enable_network_address_usage_metrics = Some(crate::types::AttributeBooleanValue::deserialize(deser)?);
  142    196   
                }

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_block_public_access_exclusions/_describe_vpc_block_public_access_exclusions_input.rs

@@ -53,53 +272,270 @@
   73     73   
    "com.amazonaws.ec2.synthetic",
   74     74   
    "DescribeVpcBlockPublicAccessExclusionsInput",
   75     75   
);
   76     76   
static DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_DRY_RUN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   77     77   
    ::aws_smithy_schema::ShapeId::from_static(
   78     78   
        "com.amazonaws.ec2.synthetic#DescribeVpcBlockPublicAccessExclusionsInput$DryRun",
   79     79   
        "com.amazonaws.ec2.synthetic",
   80     80   
        "DescribeVpcBlockPublicAccessExclusionsInput",
   81     81   
    ),
   82     82   
    ::aws_smithy_schema::ShapeType::Boolean,
   83         -
    "dry_run",
          83  +
    "DryRun",
   84     84   
    0,
   85     85   
);
   86     86   
static DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_FILTERS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   87     87   
    ::aws_smithy_schema::ShapeId::from_static(
   88     88   
        "com.amazonaws.ec2.synthetic#DescribeVpcBlockPublicAccessExclusionsInput$Filters",
   89     89   
        "com.amazonaws.ec2.synthetic",
   90     90   
        "DescribeVpcBlockPublicAccessExclusionsInput",
   91     91   
    ),
   92     92   
    ::aws_smithy_schema::ShapeType::List,
   93         -
    "filters",
          93  +
    "Filters",
   94     94   
    1,
   95     95   
)
   96     96   
.with_xml_name("Filter");
   97     97   
static DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_EXCLUSION_IDS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   98     98   
    ::aws_smithy_schema::ShapeId::from_static(
   99     99   
        "com.amazonaws.ec2.synthetic#DescribeVpcBlockPublicAccessExclusionsInput$ExclusionIds",
  100    100   
        "com.amazonaws.ec2.synthetic",
  101    101   
        "DescribeVpcBlockPublicAccessExclusionsInput",
  102    102   
    ),
  103    103   
    ::aws_smithy_schema::ShapeType::List,
  104         -
    "exclusion_ids",
         104  +
    "ExclusionIds",
  105    105   
    2,
  106    106   
)
  107    107   
.with_xml_name("ExclusionId");
  108    108   
static DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_NEXT_TOKEN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  109    109   
    ::aws_smithy_schema::ShapeId::from_static(
  110    110   
        "com.amazonaws.ec2.synthetic#DescribeVpcBlockPublicAccessExclusionsInput$NextToken",
  111    111   
        "com.amazonaws.ec2.synthetic",
  112    112   
        "DescribeVpcBlockPublicAccessExclusionsInput",
  113    113   
    ),
  114    114   
    ::aws_smithy_schema::ShapeType::String,
  115         -
    "next_token",
         115  +
    "NextToken",
  116    116   
    3,
  117    117   
);
  118    118   
static DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_MAX_RESULTS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  119    119   
    ::aws_smithy_schema::ShapeId::from_static(
  120    120   
        "com.amazonaws.ec2.synthetic#DescribeVpcBlockPublicAccessExclusionsInput$MaxResults",
  121    121   
        "com.amazonaws.ec2.synthetic",
  122    122   
        "DescribeVpcBlockPublicAccessExclusionsInput",
  123    123   
    ),
  124    124   
    ::aws_smithy_schema::ShapeType::Integer,
  125         -
    "max_results",
         125  +
    "MaxResults",
  126    126   
    4,
  127    127   
);
  128    128   
static DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
  129    129   
    DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_SCHEMA_ID,
  130    130   
    ::aws_smithy_schema::ShapeType::Structure,
  131    131   
    &[
  132    132   
        &DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_DRY_RUN,
  133    133   
        &DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_FILTERS,
  134    134   
        &DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_EXCLUSION_IDS,
  135    135   
        &DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_NEXT_TOKEN,
  136    136   
        &DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_MAX_RESULTS,
  137    137   
    ],
  138    138   
);
  139    139   
impl DescribeVpcBlockPublicAccessExclusionsInput {
  140    140   
    /// The schema for this shape.
  141    141   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_SCHEMA;
  142    142   
}
  143    143   
impl ::aws_smithy_schema::serde::SerializableStruct for DescribeVpcBlockPublicAccessExclusionsInput {
  144    144   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  145    145   
    fn serialize_members(
  146    146   
        &self,
  147    147   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  148    148   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  149    149   
        if let Some(ref val) = self.dry_run {
  150    150   
            ser.write_boolean(&DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_DRY_RUN, *val)?;
  151    151   
        }
  152    152   
        if let Some(ref val) = self.filters {
  153    153   
            ser.write_list(
  154    154   
                &DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_FILTERS,
  155    155   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
  156    156   
                    for item in val {
  157    157   
                        ser.write_struct(crate::types::Filter::SCHEMA, item)?;
  158    158   
                    }
  159    159   
                    Ok(())
  160    160   
                },
  161    161   
            )?;
  162    162   
        }
  163    163   
        if let Some(ref val) = self.exclusion_ids {
  164    164   
            ser.write_list(
  165    165   
                &DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_EXCLUSION_IDS,
  166    166   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
  167    167   
                    for item in val {
  168    168   
                        ser.write_string(&aws_smithy_schema::prelude::STRING, item)?;
  169    169   
                    }
  170    170   
                    Ok(())
  171    171   
                },
  172    172   
            )?;
  173    173   
        }
  174    174   
        if let Some(ref val) = self.next_token {
  175    175   
            ser.write_string(&DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_NEXT_TOKEN, val)?;
  176    176   
        }
  177    177   
        if let Some(ref val) = self.max_results {
  178    178   
            ser.write_integer(&DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_MEMBER_MAX_RESULTS, *val)?;
  179    179   
        }
  180    180   
        Ok(())
  181    181   
    }
  182    182   
}
  183    183   
impl DescribeVpcBlockPublicAccessExclusionsInput {
  184    184   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  185         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  186         -
        deserializer: &mut D,
         185  +
    pub fn deserialize(
         186  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  187    187   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  188    188   
        #[allow(unused_variables, unused_mut)]
  189    189   
        let mut builder = Self::builder();
  190    190   
        #[allow(
  191    191   
            unused_variables,
  192    192   
            unreachable_code,
  193    193   
            clippy::single_match,
  194    194   
            clippy::match_single_binding,
  195    195   
            clippy::diverging_sub_expression
  196    196   
        )]
  197         -
        deserializer.read_struct(&DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_SCHEMA, (), |_, member, deser| {
         197  +
        deserializer.read_struct(&DESCRIBEVPCBLOCKPUBLICACCESSEXCLUSIONSINPUT_SCHEMA, &mut |member, deser| {
  198    198   
            match member.member_index() {
  199    199   
                Some(0) => {
  200    200   
                    builder.dry_run = Some(deser.read_boolean(member)?);
  201    201   
                }
  202    202   
                Some(1) => {
  203    203   
                    builder.filters = Some({
  204         -
                        let container = if let Some(cap) = deser.container_size() {
  205         -
                            Vec::with_capacity(cap)
  206         -
                        } else {
  207         -
                            Vec::new()
  208         -
                        };
  209         -
                        deser.read_list(member, container, |mut list, deser| {
  210         -
                            list.push(crate::types::Filter::deserialize(deser)?);
  211         -
                            Ok(list)
  212         -
                        })?
         204  +
                        let mut container = Vec::new();
         205  +
                        deser.read_list(member, &mut |deser| {
         206  +
                            container.push(crate::types::Filter::deserialize(deser)?);
         207  +
                            Ok(())
         208  +
                        })?;
         209  +
                        container
  213    210   
                    });
  214    211   
                }
  215    212   
                Some(2) => {
  216         -
                    builder.exclusion_ids = Some({
  217         -
                        let container = if let Some(cap) = deser.container_size() {
  218         -
                            Vec::with_capacity(cap)
  219         -
                        } else {
  220         -
                            Vec::new()
  221         -
                        };
  222         -
                        deser.read_list(member, container, |mut list, deser| {
  223         -
                            list.push(deser.read_string(member)?);
  224         -
                            Ok(list)
  225         -
                        })?
  226         -
                    });
         213  +
                    builder.exclusion_ids = Some(deser.read_string_list(member)?);
  227    214   
                }
  228    215   
                Some(3) => {
  229    216   
                    builder.next_token = Some(deser.read_string(member)?);
  230    217   
                }
  231    218   
                Some(4) => {
  232    219   
                    builder.max_results = Some(deser.read_integer(member)?);
  233    220   
                }
  234    221   
                _ => {}
  235    222   
            }
  236    223   
            Ok(())
  237    224   
        })?;
  238    225   
        builder
  239    226   
            .build()
  240    227   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  241    228   
    }
  242    229   
}
         230  +
impl DescribeVpcBlockPublicAccessExclusionsInput {
         231  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         232  +
    pub fn deserialize_with_response(
         233  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         234  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         235  +
        _status: u16,
         236  +
        _body: &[u8],
         237  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         238  +
        Self::deserialize(deserializer)
         239  +
    }
         240  +
}
  243    241   
impl DescribeVpcBlockPublicAccessExclusionsInput {
  244    242   
    /// Creates a new builder-style object to manufacture [`DescribeVpcBlockPublicAccessExclusionsInput`](crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsInput).
  245    243   
    pub fn builder() -> crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsInputBuilder {
  246    244   
        crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsInputBuilder::default()
  247    245   
    }
  248    246   
}
  249    247   
  250    248   
/// A builder for [`DescribeVpcBlockPublicAccessExclusionsInput`](crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsInput).
  251    249   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  252    250   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_block_public_access_exclusions/_describe_vpc_block_public_access_exclusions_output.rs

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_block_public_access_options/_describe_vpc_block_public_access_options_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_block_public_access_options/_describe_vpc_block_public_access_options_output.rs

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

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

@@ -1,1 +40,44 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
/// Orchestration and serialization glue logic for `DescribeVpcClassicLink`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct DescribeVpcClassicLink;
    6      6   
impl DescribeVpcClassicLink {
    7      7   
    /// Creates a new `DescribeVpcClassicLink`
    8      8   
    pub fn new() -> Self {
    9      9   
        Self
   10     10   
    }
          11  +
    /// The schema for this operation's input shape.
          12  +
    pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkOutput::SCHEMA;
   11     15   
    pub(crate) async fn orchestrate(
   12     16   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     17   
        input: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +180,185 @@
  138    142   
                crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError,
  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 DescribeVpcClassicLinkResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DescribeVpcClassicLinkResponseDeserializer {
  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_describe_vpc_classic_link::de_describe_vpc_classic_link_http_error(status, headers, body)
  160    165   
        } else {

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_classic_link/_describe_vpc_classic_link_input.rs

@@ -29,29 +215,213 @@
   49     49   
    "com.amazonaws.ec2.synthetic",
   50     50   
    "DescribeVpcClassicLinkInput",
   51     51   
);
   52     52   
static DESCRIBEVPCCLASSICLINKINPUT_MEMBER_DRY_RUN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   53     53   
    ::aws_smithy_schema::ShapeId::from_static(
   54     54   
        "com.amazonaws.ec2.synthetic#DescribeVpcClassicLinkInput$DryRun",
   55     55   
        "com.amazonaws.ec2.synthetic",
   56     56   
        "DescribeVpcClassicLinkInput",
   57     57   
    ),
   58     58   
    ::aws_smithy_schema::ShapeType::Boolean,
   59         -
    "dry_run",
          59  +
    "DryRun",
   60     60   
    0,
   61     61   
)
   62     62   
.with_xml_name("dryRun");
   63     63   
static DESCRIBEVPCCLASSICLINKINPUT_MEMBER_VPC_IDS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   64     64   
    ::aws_smithy_schema::ShapeId::from_static(
   65     65   
        "com.amazonaws.ec2.synthetic#DescribeVpcClassicLinkInput$VpcIds",
   66     66   
        "com.amazonaws.ec2.synthetic",
   67     67   
        "DescribeVpcClassicLinkInput",
   68     68   
    ),
   69     69   
    ::aws_smithy_schema::ShapeType::List,
   70         -
    "vpc_ids",
          70  +
    "VpcIds",
   71     71   
    1,
   72     72   
)
   73     73   
.with_xml_name("VpcId");
   74     74   
static DESCRIBEVPCCLASSICLINKINPUT_MEMBER_FILTERS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   75     75   
    ::aws_smithy_schema::ShapeId::from_static(
   76     76   
        "com.amazonaws.ec2.synthetic#DescribeVpcClassicLinkInput$Filters",
   77     77   
        "com.amazonaws.ec2.synthetic",
   78     78   
        "DescribeVpcClassicLinkInput",
   79     79   
    ),
   80     80   
    ::aws_smithy_schema::ShapeType::List,
   81         -
    "filters",
          81  +
    "Filters",
   82     82   
    2,
   83     83   
)
   84     84   
.with_xml_name("Filter");
   85     85   
static DESCRIBEVPCCLASSICLINKINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   86     86   
    DESCRIBEVPCCLASSICLINKINPUT_SCHEMA_ID,
   87     87   
    ::aws_smithy_schema::ShapeType::Structure,
   88     88   
    &[
   89     89   
        &DESCRIBEVPCCLASSICLINKINPUT_MEMBER_DRY_RUN,
   90     90   
        &DESCRIBEVPCCLASSICLINKINPUT_MEMBER_VPC_IDS,
   91     91   
        &DESCRIBEVPCCLASSICLINKINPUT_MEMBER_FILTERS,
   92     92   
    ],
   93     93   
);
   94     94   
impl DescribeVpcClassicLinkInput {
   95     95   
    /// The schema for this shape.
   96     96   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DESCRIBEVPCCLASSICLINKINPUT_SCHEMA;
   97     97   
}
   98     98   
impl ::aws_smithy_schema::serde::SerializableStruct for DescribeVpcClassicLinkInput {
   99     99   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  100    100   
    fn serialize_members(
  101    101   
        &self,
  102    102   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  103    103   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  104    104   
        if let Some(ref val) = self.dry_run {
  105    105   
            ser.write_boolean(&DESCRIBEVPCCLASSICLINKINPUT_MEMBER_DRY_RUN, *val)?;
  106    106   
        }
  107    107   
        if let Some(ref val) = self.vpc_ids {
  108    108   
            ser.write_list(
  109    109   
                &DESCRIBEVPCCLASSICLINKINPUT_MEMBER_VPC_IDS,
  110    110   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
  111    111   
                    for item in val {
  112    112   
                        ser.write_string(&aws_smithy_schema::prelude::STRING, item)?;
  113    113   
                    }
  114    114   
                    Ok(())
  115    115   
                },
  116    116   
            )?;
  117    117   
        }
  118    118   
        if let Some(ref val) = self.filters {
  119    119   
            ser.write_list(
  120    120   
                &DESCRIBEVPCCLASSICLINKINPUT_MEMBER_FILTERS,
  121    121   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
  122    122   
                    for item in val {
  123    123   
                        ser.write_struct(crate::types::Filter::SCHEMA, item)?;
  124    124   
                    }
  125    125   
                    Ok(())
  126    126   
                },
  127    127   
            )?;
  128    128   
        }
  129    129   
        Ok(())
  130    130   
    }
  131    131   
}
  132    132   
impl DescribeVpcClassicLinkInput {
  133    133   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  134         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  135         -
        deserializer: &mut D,
         134  +
    pub fn deserialize(
         135  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  136    136   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  137    137   
        #[allow(unused_variables, unused_mut)]
  138    138   
        let mut builder = Self::builder();
  139    139   
        #[allow(
  140    140   
            unused_variables,
  141    141   
            unreachable_code,
  142    142   
            clippy::single_match,
  143    143   
            clippy::match_single_binding,
  144    144   
            clippy::diverging_sub_expression
  145    145   
        )]
  146         -
        deserializer.read_struct(&DESCRIBEVPCCLASSICLINKINPUT_SCHEMA, (), |_, member, deser| {
         146  +
        deserializer.read_struct(&DESCRIBEVPCCLASSICLINKINPUT_SCHEMA, &mut |member, deser| {
  147    147   
            match member.member_index() {
  148    148   
                Some(0) => {
  149    149   
                    builder.dry_run = Some(deser.read_boolean(member)?);
  150    150   
                }
  151    151   
                Some(1) => {
  152         -
                    builder.vpc_ids = Some({
  153         -
                        let container = if let Some(cap) = deser.container_size() {
  154         -
                            Vec::with_capacity(cap)
  155         -
                        } else {
  156         -
                            Vec::new()
  157         -
                        };
  158         -
                        deser.read_list(member, container, |mut list, deser| {
  159         -
                            list.push(deser.read_string(member)?);
  160         -
                            Ok(list)
  161         -
                        })?
  162         -
                    });
         152  +
                    builder.vpc_ids = Some(deser.read_string_list(member)?);
  163    153   
                }
  164    154   
                Some(2) => {
  165    155   
                    builder.filters = Some({
  166         -
                        let container = if let Some(cap) = deser.container_size() {
  167         -
                            Vec::with_capacity(cap)
  168         -
                        } else {
  169         -
                            Vec::new()
  170         -
                        };
  171         -
                        deser.read_list(member, container, |mut list, deser| {
  172         -
                            list.push(crate::types::Filter::deserialize(deser)?);
  173         -
                            Ok(list)
  174         -
                        })?
         156  +
                        let mut container = Vec::new();
         157  +
                        deser.read_list(member, &mut |deser| {
         158  +
                            container.push(crate::types::Filter::deserialize(deser)?);
         159  +
                            Ok(())
         160  +
                        })?;
         161  +
                        container
  175    162   
                    });
  176    163   
                }
  177    164   
                _ => {}
  178    165   
            }
  179    166   
            Ok(())
  180    167   
        })?;
  181    168   
        builder
  182    169   
            .build()
  183    170   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  184    171   
    }
  185    172   
}
         173  +
impl DescribeVpcClassicLinkInput {
         174  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         175  +
    pub fn deserialize_with_response(
         176  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         177  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         178  +
        _status: u16,
         179  +
        _body: &[u8],
         180  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         181  +
        Self::deserialize(deserializer)
         182  +
    }
         183  +
}
  186    184   
impl DescribeVpcClassicLinkInput {
  187    185   
    /// Creates a new builder-style object to manufacture [`DescribeVpcClassicLinkInput`](crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkInput).
  188    186   
    pub fn builder() -> crate::operation::describe_vpc_classic_link::builders::DescribeVpcClassicLinkInputBuilder {
  189    187   
        crate::operation::describe_vpc_classic_link::builders::DescribeVpcClassicLinkInputBuilder::default()
  190    188   
    }
  191    189   
}
  192    190   
  193    191   
/// A builder for [`DescribeVpcClassicLinkInput`](crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkInput).
  194    192   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  195    193   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_classic_link/_describe_vpc_classic_link_output.rs

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

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_classic_link_dns_support/_describe_vpc_classic_link_dns_support_input.rs

@@ -11,11 +179,180 @@
   31     31   
    "com.amazonaws.ec2.synthetic",
   32     32   
    "DescribeVpcClassicLinkDnsSupportInput",
   33     33   
);
   34     34   
static DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_VPC_IDS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   35     35   
    ::aws_smithy_schema::ShapeId::from_static(
   36     36   
        "com.amazonaws.ec2.synthetic#DescribeVpcClassicLinkDnsSupportInput$VpcIds",
   37     37   
        "com.amazonaws.ec2.synthetic",
   38     38   
        "DescribeVpcClassicLinkDnsSupportInput",
   39     39   
    ),
   40     40   
    ::aws_smithy_schema::ShapeType::List,
   41         -
    "vpc_ids",
          41  +
    "VpcIds",
   42     42   
    0,
   43     43   
)
   44     44   
.with_xml_name("VpcIds");
   45     45   
static DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_MAX_RESULTS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   46     46   
    ::aws_smithy_schema::ShapeId::from_static(
   47     47   
        "com.amazonaws.ec2.synthetic#DescribeVpcClassicLinkDnsSupportInput$MaxResults",
   48     48   
        "com.amazonaws.ec2.synthetic",
   49     49   
        "DescribeVpcClassicLinkDnsSupportInput",
   50     50   
    ),
   51     51   
    ::aws_smithy_schema::ShapeType::Integer,
   52         -
    "max_results",
          52  +
    "MaxResults",
   53     53   
    1,
   54     54   
)
   55     55   
.with_xml_name("maxResults");
   56     56   
static DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_NEXT_TOKEN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   57     57   
    ::aws_smithy_schema::ShapeId::from_static(
   58     58   
        "com.amazonaws.ec2.synthetic#DescribeVpcClassicLinkDnsSupportInput$NextToken",
   59     59   
        "com.amazonaws.ec2.synthetic",
   60     60   
        "DescribeVpcClassicLinkDnsSupportInput",
   61     61   
    ),
   62     62   
    ::aws_smithy_schema::ShapeType::String,
   63         -
    "next_token",
          63  +
    "NextToken",
   64     64   
    2,
   65     65   
)
   66     66   
.with_xml_name("nextToken");
   67     67   
static DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   68     68   
    DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA_ID,
   69     69   
    ::aws_smithy_schema::ShapeType::Structure,
   70     70   
    &[
   71     71   
        &DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_VPC_IDS,
   72     72   
        &DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_MAX_RESULTS,
   73     73   
        &DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_NEXT_TOKEN,
   74     74   
    ],
   75     75   
);
   76     76   
impl DescribeVpcClassicLinkDnsSupportInput {
   77     77   
    /// The schema for this shape.
   78     78   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA;
   79     79   
}
   80     80   
impl ::aws_smithy_schema::serde::SerializableStruct for DescribeVpcClassicLinkDnsSupportInput {
   81     81   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   82     82   
    fn serialize_members(
   83     83   
        &self,
   84     84   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   85     85   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   86     86   
        if let Some(ref val) = self.vpc_ids {
   87     87   
            ser.write_list(
   88     88   
                &DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_VPC_IDS,
   89     89   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
   90     90   
                    for item in val {
   91     91   
                        ser.write_string(&aws_smithy_schema::prelude::STRING, item)?;
   92     92   
                    }
   93     93   
                    Ok(())
   94     94   
                },
   95     95   
            )?;
   96     96   
        }
   97     97   
        if let Some(ref val) = self.max_results {
   98     98   
            ser.write_integer(&DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_MAX_RESULTS, *val)?;
   99     99   
        }
  100    100   
        if let Some(ref val) = self.next_token {
  101    101   
            ser.write_string(&DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_MEMBER_NEXT_TOKEN, val)?;
  102    102   
        }
  103    103   
        Ok(())
  104    104   
    }
  105    105   
}
  106    106   
impl DescribeVpcClassicLinkDnsSupportInput {
  107    107   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  108         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  109         -
        deserializer: &mut D,
         108  +
    pub fn deserialize(
         109  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  110    110   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  111    111   
        #[allow(unused_variables, unused_mut)]
  112    112   
        let mut builder = Self::builder();
  113    113   
        #[allow(
  114    114   
            unused_variables,
  115    115   
            unreachable_code,
  116    116   
            clippy::single_match,
  117    117   
            clippy::match_single_binding,
  118    118   
            clippy::diverging_sub_expression
  119    119   
        )]
  120         -
        deserializer.read_struct(&DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA, (), |_, member, deser| {
         120  +
        deserializer.read_struct(&DESCRIBEVPCCLASSICLINKDNSSUPPORTINPUT_SCHEMA, &mut |member, deser| {
  121    121   
            match member.member_index() {
  122    122   
                Some(0) => {
  123         -
                    builder.vpc_ids = Some({
  124         -
                        let container = if let Some(cap) = deser.container_size() {
  125         -
                            Vec::with_capacity(cap)
  126         -
                        } else {
  127         -
                            Vec::new()
  128         -
                        };
  129         -
                        deser.read_list(member, container, |mut list, deser| {
  130         -
                            list.push(deser.read_string(member)?);
  131         -
                            Ok(list)
  132         -
                        })?
  133         -
                    });
         123  +
                    builder.vpc_ids = Some(deser.read_string_list(member)?);
  134    124   
                }
  135    125   
                Some(1) => {
  136    126   
                    builder.max_results = Some(deser.read_integer(member)?);
  137    127   
                }
  138    128   
                Some(2) => {
  139    129   
                    builder.next_token = Some(deser.read_string(member)?);
  140    130   
                }
  141    131   
                _ => {}
  142    132   
            }
  143    133   
            Ok(())
  144    134   
        })?;
  145    135   
        builder
  146    136   
            .build()
  147    137   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  148    138   
    }
  149    139   
}
         140  +
impl DescribeVpcClassicLinkDnsSupportInput {
         141  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         142  +
    pub fn deserialize_with_response(
         143  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         144  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         145  +
        _status: u16,
         146  +
        _body: &[u8],
         147  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         148  +
        Self::deserialize(deserializer)
         149  +
    }
         150  +
}
  150    151   
impl DescribeVpcClassicLinkDnsSupportInput {
  151    152   
    /// Creates a new builder-style object to manufacture [`DescribeVpcClassicLinkDnsSupportInput`](crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportInput).
  152    153   
    pub fn builder() -> crate::operation::describe_vpc_classic_link_dns_support::builders::DescribeVpcClassicLinkDnsSupportInputBuilder {
  153    154   
        crate::operation::describe_vpc_classic_link_dns_support::builders::DescribeVpcClassicLinkDnsSupportInputBuilder::default()
  154    155   
    }
  155    156   
}
  156    157   
  157    158   
/// A builder for [`DescribeVpcClassicLinkDnsSupportInput`](crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportInput).
  158    159   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  159    160   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_classic_link_dns_support/_describe_vpc_classic_link_dns_support_output.rs

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

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/describe_vpc_endpoint_associations/_describe_vpc_endpoint_associations_input.rs

@@ -53,53 +272,270 @@
   73     73   
    "com.amazonaws.ec2.synthetic",
   74     74   
    "DescribeVpcEndpointAssociationsInput",
   75     75   
);
   76     76   
static DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_DRY_RUN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   77     77   
    ::aws_smithy_schema::ShapeId::from_static(
   78     78   
        "com.amazonaws.ec2.synthetic#DescribeVpcEndpointAssociationsInput$DryRun",
   79     79   
        "com.amazonaws.ec2.synthetic",
   80     80   
        "DescribeVpcEndpointAssociationsInput",
   81     81   
    ),
   82     82   
    ::aws_smithy_schema::ShapeType::Boolean,
   83         -
    "dry_run",
          83  +
    "DryRun",
   84     84   
    0,
   85     85   
);
   86     86   
static DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_VPC_ENDPOINT_IDS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   87     87   
    ::aws_smithy_schema::ShapeId::from_static(
   88     88   
        "com.amazonaws.ec2.synthetic#DescribeVpcEndpointAssociationsInput$VpcEndpointIds",
   89     89   
        "com.amazonaws.ec2.synthetic",
   90     90   
        "DescribeVpcEndpointAssociationsInput",
   91     91   
    ),
   92     92   
    ::aws_smithy_schema::ShapeType::List,
   93         -
    "vpc_endpoint_ids",
          93  +
    "VpcEndpointIds",
   94     94   
    1,
   95     95   
)
   96     96   
.with_xml_name("VpcEndpointId");
   97     97   
static DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_FILTERS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   98     98   
    ::aws_smithy_schema::ShapeId::from_static(
   99     99   
        "com.amazonaws.ec2.synthetic#DescribeVpcEndpointAssociationsInput$Filters",
  100    100   
        "com.amazonaws.ec2.synthetic",
  101    101   
        "DescribeVpcEndpointAssociationsInput",
  102    102   
    ),
  103    103   
    ::aws_smithy_schema::ShapeType::List,
  104         -
    "filters",
         104  +
    "Filters",
  105    105   
    2,
  106    106   
)
  107    107   
.with_xml_name("Filter");
  108    108   
static DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_MAX_RESULTS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  109    109   
    ::aws_smithy_schema::ShapeId::from_static(
  110    110   
        "com.amazonaws.ec2.synthetic#DescribeVpcEndpointAssociationsInput$MaxResults",
  111    111   
        "com.amazonaws.ec2.synthetic",
  112    112   
        "DescribeVpcEndpointAssociationsInput",
  113    113   
    ),
  114    114   
    ::aws_smithy_schema::ShapeType::Integer,
  115         -
    "max_results",
         115  +
    "MaxResults",
  116    116   
    3,
  117    117   
);
  118    118   
static DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_NEXT_TOKEN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
  119    119   
    ::aws_smithy_schema::ShapeId::from_static(
  120    120   
        "com.amazonaws.ec2.synthetic#DescribeVpcEndpointAssociationsInput$NextToken",
  121    121   
        "com.amazonaws.ec2.synthetic",
  122    122   
        "DescribeVpcEndpointAssociationsInput",
  123    123   
    ),
  124    124   
    ::aws_smithy_schema::ShapeType::String,
  125         -
    "next_token",
         125  +
    "NextToken",
  126    126   
    4,
  127    127   
);
  128    128   
static DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
  129    129   
    DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_SCHEMA_ID,
  130    130   
    ::aws_smithy_schema::ShapeType::Structure,
  131    131   
    &[
  132    132   
        &DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_DRY_RUN,
  133    133   
        &DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_VPC_ENDPOINT_IDS,
  134    134   
        &DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_FILTERS,
  135    135   
        &DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_MAX_RESULTS,
  136    136   
        &DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_NEXT_TOKEN,
  137    137   
    ],
  138    138   
);
  139    139   
impl DescribeVpcEndpointAssociationsInput {
  140    140   
    /// The schema for this shape.
  141    141   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_SCHEMA;
  142    142   
}
  143    143   
impl ::aws_smithy_schema::serde::SerializableStruct for DescribeVpcEndpointAssociationsInput {
  144    144   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  145    145   
    fn serialize_members(
  146    146   
        &self,
  147    147   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  148    148   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  149    149   
        if let Some(ref val) = self.dry_run {
  150    150   
            ser.write_boolean(&DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_DRY_RUN, *val)?;
  151    151   
        }
  152    152   
        if let Some(ref val) = self.vpc_endpoint_ids {
  153    153   
            ser.write_list(
  154    154   
                &DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_VPC_ENDPOINT_IDS,
  155    155   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
  156    156   
                    for item in val {
  157    157   
                        ser.write_string(&aws_smithy_schema::prelude::STRING, item)?;
  158    158   
                    }
  159    159   
                    Ok(())
  160    160   
                },
  161    161   
            )?;
  162    162   
        }
  163    163   
        if let Some(ref val) = self.filters {
  164    164   
            ser.write_list(
  165    165   
                &DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_FILTERS,
  166    166   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
  167    167   
                    for item in val {
  168    168   
                        ser.write_struct(crate::types::Filter::SCHEMA, item)?;
  169    169   
                    }
  170    170   
                    Ok(())
  171    171   
                },
  172    172   
            )?;
  173    173   
        }
  174    174   
        if let Some(ref val) = self.max_results {
  175    175   
            ser.write_integer(&DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_MAX_RESULTS, *val)?;
  176    176   
        }
  177    177   
        if let Some(ref val) = self.next_token {
  178    178   
            ser.write_string(&DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_MEMBER_NEXT_TOKEN, val)?;
  179    179   
        }
  180    180   
        Ok(())
  181    181   
    }
  182    182   
}
  183    183   
impl DescribeVpcEndpointAssociationsInput {
  184    184   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  185         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  186         -
        deserializer: &mut D,
         185  +
    pub fn deserialize(
         186  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  187    187   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  188    188   
        #[allow(unused_variables, unused_mut)]
  189    189   
        let mut builder = Self::builder();
  190    190   
        #[allow(
  191    191   
            unused_variables,
  192    192   
            unreachable_code,
  193    193   
            clippy::single_match,
  194    194   
            clippy::match_single_binding,
  195    195   
            clippy::diverging_sub_expression
  196    196   
        )]
  197         -
        deserializer.read_struct(&DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_SCHEMA, (), |_, member, deser| {
         197  +
        deserializer.read_struct(&DESCRIBEVPCENDPOINTASSOCIATIONSINPUT_SCHEMA, &mut |member, deser| {
  198    198   
            match member.member_index() {
  199    199   
                Some(0) => {
  200    200   
                    builder.dry_run = Some(deser.read_boolean(member)?);
  201    201   
                }
  202    202   
                Some(1) => {
  203         -
                    builder.vpc_endpoint_ids = Some({
  204         -
                        let container = if let Some(cap) = deser.container_size() {
  205         -
                            Vec::with_capacity(cap)
  206         -
                        } else {
  207         -
                            Vec::new()
  208         -
                        };
  209         -
                        deser.read_list(member, container, |mut list, deser| {
  210         -
                            list.push(deser.read_string(member)?);
  211         -
                            Ok(list)
  212         -
                        })?
  213         -
                    });
         203  +
                    builder.vpc_endpoint_ids = Some(deser.read_string_list(member)?);
  214    204   
                }
  215    205   
                Some(2) => {
  216    206   
                    builder.filters = Some({
  217         -
                        let container = if let Some(cap) = deser.container_size() {
  218         -
                            Vec::with_capacity(cap)
  219         -
                        } else {
  220         -
                            Vec::new()
  221         -
                        };
  222         -
                        deser.read_list(member, container, |mut list, deser| {
  223         -
                            list.push(crate::types::Filter::deserialize(deser)?);
  224         -
                            Ok(list)
  225         -
                        })?
         207  +
                        let mut container = Vec::new();
         208  +
                        deser.read_list(member, &mut |deser| {
         209  +
                            container.push(crate::types::Filter::deserialize(deser)?);
         210  +
                            Ok(())
         211  +
                        })?;
         212  +
                        container
  226    213   
                    });
  227    214   
                }
  228    215   
                Some(3) => {
  229    216   
                    builder.max_results = Some(deser.read_integer(member)?);
  230    217   
                }
  231    218   
                Some(4) => {
  232    219   
                    builder.next_token = Some(deser.read_string(member)?);
  233    220   
                }
  234    221   
                _ => {}
  235    222   
            }
  236    223   
            Ok(())
  237    224   
        })?;
  238    225   
        builder
  239    226   
            .build()
  240    227   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  241    228   
    }
  242    229   
}
         230  +
impl DescribeVpcEndpointAssociationsInput {
         231  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         232  +
    pub fn deserialize_with_response(
         233  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         234  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         235  +
        _status: u16,
         236  +
        _body: &[u8],
         237  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         238  +
        Self::deserialize(deserializer)
         239  +
    }
         240  +
}
  243    241   
impl DescribeVpcEndpointAssociationsInput {
  244    242   
    /// Creates a new builder-style object to manufacture [`DescribeVpcEndpointAssociationsInput`](crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsInput).
  245    243   
    pub fn builder() -> crate::operation::describe_vpc_endpoint_associations::builders::DescribeVpcEndpointAssociationsInputBuilder {
  246    244   
        crate::operation::describe_vpc_endpoint_associations::builders::DescribeVpcEndpointAssociationsInputBuilder::default()
  247    245   
    }
  248    246   
}
  249    247   
  250    248   
/// A builder for [`DescribeVpcEndpointAssociationsInput`](crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsInput).
  251    249   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  252    250   
#[non_exhaustive]