AWS SDK

AWS SDK

rev. ec7b2441254af868911fccffe8d8dca83aff0045

Files changed:

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/start_resource_evaluation/_start_resource_evaluation_input.rs

@@ -29,29 +210,221 @@
   49     49   
    "com.amazonaws.configservice.synthetic",
   50     50   
    "StartResourceEvaluationInput",
   51     51   
);
   52     52   
static STARTRESOURCEEVALUATIONINPUT_MEMBER_RESOURCE_DETAILS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   53     53   
    ::aws_smithy_schema::ShapeId::from_static(
   54     54   
        "com.amazonaws.configservice.synthetic#StartResourceEvaluationInput$ResourceDetails",
   55     55   
        "com.amazonaws.configservice.synthetic",
   56     56   
        "StartResourceEvaluationInput",
   57     57   
    ),
   58     58   
    ::aws_smithy_schema::ShapeType::Structure,
   59         -
    "resource_details",
          59  +
    "ResourceDetails",
   60     60   
    0,
   61     61   
);
   62     62   
static STARTRESOURCEEVALUATIONINPUT_MEMBER_EVALUATION_CONTEXT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   63     63   
    ::aws_smithy_schema::ShapeId::from_static(
   64     64   
        "com.amazonaws.configservice.synthetic#StartResourceEvaluationInput$EvaluationContext",
   65     65   
        "com.amazonaws.configservice.synthetic",
   66     66   
        "StartResourceEvaluationInput",
   67     67   
    ),
   68     68   
    ::aws_smithy_schema::ShapeType::Structure,
   69         -
    "evaluation_context",
          69  +
    "EvaluationContext",
   70     70   
    1,
   71     71   
);
   72     72   
static STARTRESOURCEEVALUATIONINPUT_MEMBER_EVALUATION_MODE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   73     73   
    ::aws_smithy_schema::ShapeId::from_static(
   74     74   
        "com.amazonaws.configservice.synthetic#StartResourceEvaluationInput$EvaluationMode",
   75     75   
        "com.amazonaws.configservice.synthetic",
   76     76   
        "StartResourceEvaluationInput",
   77     77   
    ),
   78     78   
    ::aws_smithy_schema::ShapeType::String,
   79         -
    "evaluation_mode",
          79  +
    "EvaluationMode",
   80     80   
    2,
   81     81   
);
   82     82   
static STARTRESOURCEEVALUATIONINPUT_MEMBER_EVALUATION_TIMEOUT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   83     83   
    ::aws_smithy_schema::ShapeId::from_static(
   84     84   
        "com.amazonaws.configservice.synthetic#StartResourceEvaluationInput$EvaluationTimeout",
   85     85   
        "com.amazonaws.configservice.synthetic",
   86     86   
        "StartResourceEvaluationInput",
   87     87   
    ),
   88     88   
    ::aws_smithy_schema::ShapeType::Integer,
   89         -
    "evaluation_timeout",
          89  +
    "EvaluationTimeout",
   90     90   
    3,
   91     91   
);
   92     92   
static STARTRESOURCEEVALUATIONINPUT_MEMBER_CLIENT_TOKEN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   93     93   
    ::aws_smithy_schema::ShapeId::from_static(
   94     94   
        "com.amazonaws.configservice.synthetic#StartResourceEvaluationInput$ClientToken",
   95     95   
        "com.amazonaws.configservice.synthetic",
   96     96   
        "StartResourceEvaluationInput",
   97     97   
    ),
   98     98   
    ::aws_smithy_schema::ShapeType::String,
   99         -
    "client_token",
          99  +
    "ClientToken",
  100    100   
    4,
  101    101   
);
  102    102   
static STARTRESOURCEEVALUATIONINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
  103    103   
    STARTRESOURCEEVALUATIONINPUT_SCHEMA_ID,
  104    104   
    ::aws_smithy_schema::ShapeType::Structure,
  105    105   
    &[
  106    106   
        &STARTRESOURCEEVALUATIONINPUT_MEMBER_RESOURCE_DETAILS,
  107    107   
        &STARTRESOURCEEVALUATIONINPUT_MEMBER_EVALUATION_CONTEXT,
  108    108   
        &STARTRESOURCEEVALUATIONINPUT_MEMBER_EVALUATION_MODE,
  109    109   
        &STARTRESOURCEEVALUATIONINPUT_MEMBER_EVALUATION_TIMEOUT,
  110    110   
        &STARTRESOURCEEVALUATIONINPUT_MEMBER_CLIENT_TOKEN,
  111    111   
    ],
  112    112   
);
  113    113   
impl StartResourceEvaluationInput {
  114    114   
    /// The schema for this shape.
  115    115   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &STARTRESOURCEEVALUATIONINPUT_SCHEMA;
  116    116   
}
  117    117   
impl ::aws_smithy_schema::serde::SerializableStruct for StartResourceEvaluationInput {
  118    118   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  119    119   
    fn serialize_members(
  120    120   
        &self,
  121    121   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  122    122   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  123    123   
        if let Some(ref val) = self.resource_details {
  124    124   
            ser.write_struct(&STARTRESOURCEEVALUATIONINPUT_MEMBER_RESOURCE_DETAILS, val)?;
  125    125   
        }
  126    126   
        if let Some(ref val) = self.evaluation_context {
  127    127   
            ser.write_struct(&STARTRESOURCEEVALUATIONINPUT_MEMBER_EVALUATION_CONTEXT, val)?;
  128    128   
        }
  129    129   
        if let Some(ref val) = self.evaluation_mode {
  130    130   
            ser.write_string(&STARTRESOURCEEVALUATIONINPUT_MEMBER_EVALUATION_MODE, val.as_str())?;
  131    131   
        }
  132    132   
        if let Some(ref val) = self.evaluation_timeout {
  133    133   
            ser.write_integer(&STARTRESOURCEEVALUATIONINPUT_MEMBER_EVALUATION_TIMEOUT, *val)?;
  134    134   
        }
  135    135   
        if let Some(ref val) = self.client_token {
  136    136   
            ser.write_string(&STARTRESOURCEEVALUATIONINPUT_MEMBER_CLIENT_TOKEN, val)?;
  137    137   
        }
  138    138   
        Ok(())
  139    139   
    }
  140    140   
}
  141    141   
impl StartResourceEvaluationInput {
  142    142   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  143         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  144         -
        deserializer: &mut D,
         143  +
    pub fn deserialize(
         144  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  145    145   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  146    146   
        #[allow(unused_variables, unused_mut)]
  147    147   
        let mut builder = Self::builder();
  148    148   
        #[allow(
  149    149   
            unused_variables,
  150    150   
            unreachable_code,
  151    151   
            clippy::single_match,
  152    152   
            clippy::match_single_binding,
  153    153   
            clippy::diverging_sub_expression
  154    154   
        )]
  155         -
        deserializer.read_struct(&STARTRESOURCEEVALUATIONINPUT_SCHEMA, (), |_, member, deser| {
         155  +
        deserializer.read_struct(&STARTRESOURCEEVALUATIONINPUT_SCHEMA, &mut |member, deser| {
  156    156   
            match member.member_index() {
  157    157   
                Some(0) => {
  158    158   
                    builder.resource_details = Some(crate::types::ResourceDetails::deserialize(deser)?);
  159    159   
                }
  160    160   
                Some(1) => {
  161    161   
                    builder.evaluation_context = Some(crate::types::EvaluationContext::deserialize(deser)?);
  162    162   
                }
  163    163   
                Some(2) => {
  164    164   
                    builder.evaluation_mode = Some(crate::types::EvaluationMode::from(deser.read_string(member)?.as_str()));
  165    165   
                }
  166    166   
                Some(3) => {
  167    167   
                    builder.evaluation_timeout = Some(deser.read_integer(member)?);
  168    168   
                }
  169    169   
                Some(4) => {
  170    170   
                    builder.client_token = Some(deser.read_string(member)?);
  171    171   
                }
  172    172   
                _ => {}
  173    173   
            }
  174    174   
            Ok(())
  175    175   
        })?;
  176    176   
        builder
  177    177   
            .build()
  178    178   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  179    179   
    }
  180    180   
}
         181  +
impl StartResourceEvaluationInput {
         182  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         183  +
    pub fn deserialize_with_response(
         184  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         185  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         186  +
        _status: u16,
         187  +
        _body: &[u8],
         188  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         189  +
        Self::deserialize(deserializer)
         190  +
    }
         191  +
}
  181    192   
impl StartResourceEvaluationInput {
  182    193   
    /// Creates a new builder-style object to manufacture [`StartResourceEvaluationInput`](crate::operation::start_resource_evaluation::StartResourceEvaluationInput).
  183    194   
    pub fn builder() -> crate::operation::start_resource_evaluation::builders::StartResourceEvaluationInputBuilder {
  184    195   
        crate::operation::start_resource_evaluation::builders::StartResourceEvaluationInputBuilder::default()
  185    196   
    }
  186    197   
}
  187    198   
  188    199   
/// A builder for [`StartResourceEvaluationInput`](crate::operation::start_resource_evaluation::StartResourceEvaluationInput).
  189    200   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  190    201   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/start_resource_evaluation/_start_resource_evaluation_output.rs

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

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/stop_configuration_recorder.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 `StopConfigurationRecorder`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct StopConfigurationRecorder;
    6      6   
impl StopConfigurationRecorder {
    7      7   
    /// Creates a new `StopConfigurationRecorder`
    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::stop_configuration_recorder::StopConfigurationRecorderInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::stop_configuration_recorder::StopConfigurationRecorderOutput::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::stop_configuration_recorder::StopConfigurationRecorderInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::stop_configuration_recorder::StopConfigurationRecorderOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::stop_configuration_recorder::StopConfigurationRecorderError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -124,130 +253,322 @@
  144    150   
                crate::operation::stop_configuration_recorder::StopConfigurationRecorderError,
  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 StopConfigurationRecorderResponseDeserializer;
  153    159   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for StopConfigurationRecorderResponseDeserializer {
  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         -
        let headers = response.headers();
  160         -
        let body = response.body().bytes().expect("body loaded");
  161    166   
        #[allow(unused_mut)]
  162    167   
        let mut force_error = false;
  163    168   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  164         -
        let parse_result = if !success && status != 200 || force_error {
  165         -
            crate::protocol_serde::shape_stop_configuration_recorder::de_stop_configuration_recorder_http_error(status, headers, body)
         169  +
        if !success && status != 200 || force_error {
         170  +
            let headers = response.headers();
         171  +
            let body = response.body().bytes().expect("body loaded");
         172  +
            #[allow(unused_mut)]
         173  +
            let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(status, headers, body).map_err(|e| {
         174  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         175  +
            })?;
         176  +
            generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, headers);
         177  +
            let generic = generic_builder.build();
         178  +
            let error_code = match generic.code() {
         179  +
                ::std::option::Option::Some(code) => code,
         180  +
                ::std::option::Option::None => {
         181  +
                    return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         182  +
                        ::aws_smithy_runtime_api::box_error::BoxError::from(
         183  +
                            crate::operation::stop_configuration_recorder::StopConfigurationRecorderError::unhandled(generic),
         184  +
                        ),
         185  +
                    ))
         186  +
                }
         187  +
            };
         188  +
            let _error_message = generic.message().map(|msg| msg.to_owned());
         189  +
            let protocol = _cfg
         190  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         191  +
                .expect("a SharedClientProtocol is required");
         192  +
            let err = match error_code {
         193  +
                "NoSuchConfigurationRecorderException" => {
         194  +
                    crate::operation::stop_configuration_recorder::StopConfigurationRecorderError::NoSuchConfigurationRecorderException({
         195  +
                        let mut tmp = match protocol
         196  +
                            .deserialize_response(response, crate::types::error::NoSuchConfigurationRecorderException::SCHEMA, _cfg)
         197  +
                            .and_then(|mut deser| {
         198  +
                                crate::types::error::NoSuchConfigurationRecorderException::deserialize_with_response(
         199  +
                                    &mut *deser,
         200  +
                                    response.headers(),
         201  +
                                    response.status().into(),
         202  +
                                    body,
         203  +
                                )
         204  +
                            }) {
         205  +
                            ::std::result::Result::Ok(val) => val,
         206  +
                            ::std::result::Result::Err(e) => {
         207  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         208  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         209  +
                                ))
         210  +
                            }
         211  +
                        };
         212  +
                        tmp.meta = generic;
         213  +
                        if tmp.message.is_none() {
         214  +
                            tmp.message = _error_message;
         215  +
                        }
         216  +
                        tmp
         217  +
                    })
         218  +
                }
         219  +
                "UnmodifiableEntityException" => {
         220  +
                    crate::operation::stop_configuration_recorder::StopConfigurationRecorderError::UnmodifiableEntityException({
         221  +
                        let mut tmp = match protocol
         222  +
                            .deserialize_response(response, crate::types::error::UnmodifiableEntityException::SCHEMA, _cfg)
         223  +
                            .and_then(|mut deser| {
         224  +
                                crate::types::error::UnmodifiableEntityException::deserialize_with_response(
         225  +
                                    &mut *deser,
         226  +
                                    response.headers(),
         227  +
                                    response.status().into(),
         228  +
                                    body,
         229  +
                                )
         230  +
                            }) {
         231  +
                            ::std::result::Result::Ok(val) => val,
         232  +
                            ::std::result::Result::Err(e) => {
         233  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         234  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         235  +
                                ))
         236  +
                            }
         237  +
                        };
         238  +
                        tmp.meta = generic;
         239  +
                        if tmp.message.is_none() {
         240  +
                            tmp.message = _error_message;
         241  +
                        }
         242  +
                        tmp
         243  +
                    })
         244  +
                }
         245  +
                _ => crate::operation::stop_configuration_recorder::StopConfigurationRecorderError::generic(generic),
         246  +
            };
         247  +
            ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
         248  +
                ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
         249  +
            ))
  166    250   
        } else {
  167         -
            crate::protocol_serde::shape_stop_configuration_recorder::de_stop_configuration_recorder_http_response(status, headers, body)
  168         -
        };
  169         -
        crate::protocol_serde::type_erase_result(parse_result)
         251  +
            let protocol = _cfg
         252  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         253  +
                .expect("a SharedClientProtocol is required");
         254  +
            let mut deser = protocol
         255  +
                .deserialize_response(response, StopConfigurationRecorder::OUTPUT_SCHEMA, _cfg)
         256  +
                .map_err(|e| {
         257  +
                    ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         258  +
                })?;
         259  +
            let body = response.body().bytes().expect("body loaded");
         260  +
            let output = crate::operation::stop_configuration_recorder::StopConfigurationRecorderOutput::deserialize_with_response(
         261  +
                &mut *deser,
         262  +
                response.headers(),
         263  +
                response.status().into(),
         264  +
                body,
         265  +
            )
         266  +
            .map_err(|e| {
         267  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         268  +
            })?;
         269  +
            ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
         270  +
        }
  170    271   
    }
  171    272   
}
  172    273   
#[derive(Debug)]
  173    274   
struct StopConfigurationRecorderRequestSerializer;
  174    275   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for StopConfigurationRecorderRequestSerializer {
  175    276   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  176    277   
    fn serialize_input(
  177    278   
        &self,
  178    279   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  179    280   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  180    281   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  181    282   
        let input = input
  182    283   
            .downcast::<crate::operation::stop_configuration_recorder::StopConfigurationRecorderInput>()
  183    284   
            .expect("correct type");
  184         -
        let _header_serialization_settings = _cfg
  185         -
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  186         -
            .cloned()
  187         -
            .unwrap_or_default();
  188         -
        let mut request_builder = {
  189         -
            #[allow(clippy::uninlined_format_args)]
  190         -
            fn uri_base(
  191         -
                _input: &crate::operation::stop_configuration_recorder::StopConfigurationRecorderInput,
  192         -
                output: &mut ::std::string::String,
  193         -
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  194         -
                use ::std::fmt::Write as _;
  195         -
                ::std::write!(output, "/").expect("formatting should succeed");
  196         -
                ::std::result::Result::Ok(())
  197         -
            }
  198         -
            #[allow(clippy::unnecessary_wraps)]
  199         -
            fn update_http_builder(
  200         -
                input: &crate::operation::stop_configuration_recorder::StopConfigurationRecorderInput,
  201         -
                builder: ::http_1x::request::Builder,
  202         -
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  203         -
                let mut uri = ::std::string::String::new();
  204         -
                uri_base(input, &mut uri)?;
  205         -
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  206         -
            }
  207         -
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  208         -
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  209         -
            builder = _header_serialization_settings.set_default_header(
  210         -
                builder,
  211         -
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  212         -
                "StarlingDoveService.StopConfigurationRecorder",
  213         -
            );
  214         -
            builder
  215         -
        };
  216         -
        let body = ::aws_smithy_types::body::SdkBody::from(
  217         -
            crate::protocol_serde::shape_stop_configuration_recorder::ser_stop_configuration_recorder_input(&input)?,
  218         -
        );
  219         -
        if let Some(content_length) = body.content_length() {
  220         -
            let content_length = content_length.to_string();
  221         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  222         -
        }
  223         -
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
         285  +
        let protocol = _cfg
         286  +
            .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         287  +
            .expect("a SharedClientProtocol is required");
         288  +
        let mut request = protocol
         289  +
            .serialize_request(&input, StopConfigurationRecorder::INPUT_SCHEMA, "", _cfg)
         290  +
            .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
         291  +
         292  +
        return ::std::result::Result::Ok(request);
  224    293   
    }
  225    294   
}
  226    295   
#[derive(Debug)]
  227    296   
struct StopConfigurationRecorderEndpointParamsInterceptor;
  228    297   
  229    298   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for StopConfigurationRecorderEndpointParamsInterceptor {
  230    299   
    fn name(&self) -> &'static str {
  231    300   
        "StopConfigurationRecorderEndpointParamsInterceptor"
  232    301   
    }
  233    302   

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/stop_configuration_recorder/_stop_configuration_recorder_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/stop_configuration_recorder/_stop_configuration_recorder_output.rs

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

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/tag_resource.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 `TagResource`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct TagResource;
    6      6   
impl TagResource {
    7      7   
    /// Creates a new `TagResource`
    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::tag_resource::TagResourceInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::tag_resource::TagResourceOutput::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::tag_resource::TagResourceInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::tag_resource::TagResourceOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::tag_resource::TagResourceError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +245,330 @@
  138    142   
                crate::operation::tag_resource::TagResourceError,
  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 TagResourceResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for TagResourceResponseDeserializer {
  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         -
        let headers = response.headers();
  154         -
        let body = response.body().bytes().expect("body loaded");
  155    158   
        #[allow(unused_mut)]
  156    159   
        let mut force_error = false;
  157    160   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  158         -
        let parse_result = if !success && status != 200 || force_error {
  159         -
            crate::protocol_serde::shape_tag_resource::de_tag_resource_http_error(status, headers, body)
         161  +
        if !success && status != 200 || force_error {
         162  +
            let headers = response.headers();
         163  +
            let body = response.body().bytes().expect("body loaded");
         164  +
            #[allow(unused_mut)]
         165  +
            let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(status, headers, body).map_err(|e| {
         166  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         167  +
            })?;
         168  +
            generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, headers);
         169  +
            let generic = generic_builder.build();
         170  +
            let error_code = match generic.code() {
         171  +
                ::std::option::Option::Some(code) => code,
         172  +
                ::std::option::Option::None => {
         173  +
                    return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         174  +
                        ::aws_smithy_runtime_api::box_error::BoxError::from(crate::operation::tag_resource::TagResourceError::unhandled(generic)),
         175  +
                    ))
         176  +
                }
         177  +
            };
         178  +
            let _error_message = generic.message().map(|msg| msg.to_owned());
         179  +
            let protocol = _cfg
         180  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         181  +
                .expect("a SharedClientProtocol is required");
         182  +
            let err = match error_code {
         183  +
                "ResourceNotFoundException" => crate::operation::tag_resource::TagResourceError::ResourceNotFoundException({
         184  +
                    let mut tmp = match protocol
         185  +
                        .deserialize_response(response, crate::types::error::ResourceNotFoundException::SCHEMA, _cfg)
         186  +
                        .and_then(|mut deser| {
         187  +
                            crate::types::error::ResourceNotFoundException::deserialize_with_response(
         188  +
                                &mut *deser,
         189  +
                                response.headers(),
         190  +
                                response.status().into(),
         191  +
                                body,
         192  +
                            )
         193  +
                        }) {
         194  +
                        ::std::result::Result::Ok(val) => val,
         195  +
                        ::std::result::Result::Err(e) => {
         196  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         197  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         198  +
                            ))
         199  +
                        }
         200  +
                    };
         201  +
                    tmp.meta = generic;
         202  +
                    if tmp.message.is_none() {
         203  +
                        tmp.message = _error_message;
         204  +
                    }
         205  +
                    tmp
         206  +
                }),
         207  +
                "TooManyTagsException" => crate::operation::tag_resource::TagResourceError::TooManyTagsException({
         208  +
                    let mut tmp = match protocol
         209  +
                        .deserialize_response(response, crate::types::error::TooManyTagsException::SCHEMA, _cfg)
         210  +
                        .and_then(|mut deser| {
         211  +
                            crate::types::error::TooManyTagsException::deserialize_with_response(
         212  +
                                &mut *deser,
         213  +
                                response.headers(),
         214  +
                                response.status().into(),
         215  +
                                body,
         216  +
                            )
         217  +
                        }) {
         218  +
                        ::std::result::Result::Ok(val) => val,
         219  +
                        ::std::result::Result::Err(e) => {
         220  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         221  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         222  +
                            ))
         223  +
                        }
         224  +
                    };
         225  +
                    tmp.meta = generic;
         226  +
                    if tmp.message.is_none() {
         227  +
                        tmp.message = _error_message;
         228  +
                    }
         229  +
                    tmp
         230  +
                }),
         231  +
                "ValidationException" => crate::operation::tag_resource::TagResourceError::ValidationException({
         232  +
                    let mut tmp = match protocol
         233  +
                        .deserialize_response(response, crate::types::error::ValidationException::SCHEMA, _cfg)
         234  +
                        .and_then(|mut deser| {
         235  +
                            crate::types::error::ValidationException::deserialize_with_response(
         236  +
                                &mut *deser,
         237  +
                                response.headers(),
         238  +
                                response.status().into(),
         239  +
                                body,
         240  +
                            )
         241  +
                        }) {
         242  +
                        ::std::result::Result::Ok(val) => val,
         243  +
                        ::std::result::Result::Err(e) => {
         244  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         245  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         246  +
                            ))
         247  +
                        }
         248  +
                    };
         249  +
                    tmp.meta = generic;
         250  +
                    if tmp.message.is_none() {
         251  +
                        tmp.message = _error_message;
         252  +
                    }
         253  +
                    tmp
         254  +
                }),
         255  +
                _ => crate::operation::tag_resource::TagResourceError::generic(generic),
         256  +
            };
         257  +
            ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
         258  +
                ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
         259  +
            ))
  160    260   
        } else {
  161         -
            crate::protocol_serde::shape_tag_resource::de_tag_resource_http_response(status, headers, body)
  162         -
        };
  163         -
        crate::protocol_serde::type_erase_result(parse_result)
         261  +
            let protocol = _cfg
         262  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         263  +
                .expect("a SharedClientProtocol is required");
         264  +
            let mut deser = protocol.deserialize_response(response, TagResource::OUTPUT_SCHEMA, _cfg).map_err(|e| {
         265  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         266  +
            })?;
         267  +
            let body = response.body().bytes().expect("body loaded");
         268  +
            let output = crate::operation::tag_resource::TagResourceOutput::deserialize_with_response(
         269  +
                &mut *deser,
         270  +
                response.headers(),
         271  +
                response.status().into(),
         272  +
                body,
         273  +
            )
         274  +
            .map_err(|e| {
         275  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         276  +
            })?;
         277  +
            ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
         278  +
        }
  164    279   
    }
  165    280   
}
  166    281   
#[derive(Debug)]
  167    282   
struct TagResourceRequestSerializer;
  168    283   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for TagResourceRequestSerializer {
  169    284   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  170    285   
    fn serialize_input(
  171    286   
        &self,
  172    287   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  173    288   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  174    289   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  175    290   
        let input = input
  176    291   
            .downcast::<crate::operation::tag_resource::TagResourceInput>()
  177    292   
            .expect("correct type");
  178         -
        let _header_serialization_settings = _cfg
  179         -
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  180         -
            .cloned()
  181         -
            .unwrap_or_default();
  182         -
        let mut request_builder = {
  183         -
            #[allow(clippy::uninlined_format_args)]
  184         -
            fn uri_base(
  185         -
                _input: &crate::operation::tag_resource::TagResourceInput,
  186         -
                output: &mut ::std::string::String,
  187         -
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  188         -
                use ::std::fmt::Write as _;
  189         -
                ::std::write!(output, "/").expect("formatting should succeed");
  190         -
                ::std::result::Result::Ok(())
  191         -
            }
  192         -
            #[allow(clippy::unnecessary_wraps)]
  193         -
            fn update_http_builder(
  194         -
                input: &crate::operation::tag_resource::TagResourceInput,
  195         -
                builder: ::http_1x::request::Builder,
  196         -
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  197         -
                let mut uri = ::std::string::String::new();
  198         -
                uri_base(input, &mut uri)?;
  199         -
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  200         -
            }
  201         -
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  202         -
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  203         -
            builder = _header_serialization_settings.set_default_header(
  204         -
                builder,
  205         -
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  206         -
                "StarlingDoveService.TagResource",
  207         -
            );
  208         -
            builder
  209         -
        };
  210         -
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_tag_resource::ser_tag_resource_input(&input)?);
  211         -
        if let Some(content_length) = body.content_length() {
  212         -
            let content_length = content_length.to_string();
  213         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  214         -
        }
  215         -
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
         293  +
        let protocol = _cfg
         294  +
            .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         295  +
            .expect("a SharedClientProtocol is required");
         296  +
        let mut request = protocol
         297  +
            .serialize_request(&input, TagResource::INPUT_SCHEMA, "", _cfg)
         298  +
            .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
         299  +
         300  +
        return ::std::result::Result::Ok(request);
  216    301   
    }
  217    302   
}
  218    303   
#[derive(Debug)]
  219    304   
struct TagResourceEndpointParamsInterceptor;
  220    305   
  221    306   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for TagResourceEndpointParamsInterceptor {
  222    307   
    fn name(&self) -> &'static str {
  223    308   
        "TagResourceEndpointParamsInterceptor"
  224    309   
    }
  225    310   

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/tag_resource/_tag_resource_input.rs

@@ -41,41 +186,196 @@
   61     61   
    "com.amazonaws.configservice.synthetic",
   62     62   
    "TagResourceInput",
   63     63   
);
   64     64   
static TAGRESOURCEINPUT_MEMBER_RESOURCE_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   65     65   
    ::aws_smithy_schema::ShapeId::from_static(
   66     66   
        "com.amazonaws.configservice.synthetic#TagResourceInput$ResourceArn",
   67     67   
        "com.amazonaws.configservice.synthetic",
   68     68   
        "TagResourceInput",
   69     69   
    ),
   70     70   
    ::aws_smithy_schema::ShapeType::String,
   71         -
    "resource_arn",
          71  +
    "ResourceArn",
   72     72   
    0,
   73     73   
);
   74     74   
static TAGRESOURCEINPUT_MEMBER_TAGS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   75     75   
    ::aws_smithy_schema::ShapeId::from_static(
   76     76   
        "com.amazonaws.configservice.synthetic#TagResourceInput$Tags",
   77     77   
        "com.amazonaws.configservice.synthetic",
   78     78   
        "TagResourceInput",
   79     79   
    ),
   80     80   
    ::aws_smithy_schema::ShapeType::List,
   81         -
    "tags",
          81  +
    "Tags",
   82     82   
    1,
   83     83   
);
   84     84   
static TAGRESOURCEINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   85     85   
    TAGRESOURCEINPUT_SCHEMA_ID,
   86     86   
    ::aws_smithy_schema::ShapeType::Structure,
   87     87   
    &[&TAGRESOURCEINPUT_MEMBER_RESOURCE_ARN, &TAGRESOURCEINPUT_MEMBER_TAGS],
   88     88   
);
   89     89   
impl TagResourceInput {
   90     90   
    /// The schema for this shape.
   91     91   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &TAGRESOURCEINPUT_SCHEMA;
   92     92   
}
   93     93   
impl ::aws_smithy_schema::serde::SerializableStruct for TagResourceInput {
   94     94   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   95     95   
    fn serialize_members(
   96     96   
        &self,
   97     97   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   98     98   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   99     99   
        if let Some(ref val) = self.resource_arn {
  100    100   
            ser.write_string(&TAGRESOURCEINPUT_MEMBER_RESOURCE_ARN, val)?;
  101    101   
        }
  102    102   
        if let Some(ref val) = self.tags {
  103    103   
            ser.write_list(
  104    104   
                &TAGRESOURCEINPUT_MEMBER_TAGS,
  105    105   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
  106    106   
                    for item in val {
  107    107   
                        ser.write_struct(crate::types::Tag::SCHEMA, item)?;
  108    108   
                    }
  109    109   
                    Ok(())
  110    110   
                },
  111    111   
            )?;
  112    112   
        }
  113    113   
        Ok(())
  114    114   
    }
  115    115   
}
  116    116   
impl TagResourceInput {
  117    117   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  118         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  119         -
        deserializer: &mut D,
         118  +
    pub fn deserialize(
         119  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  120    120   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  121    121   
        #[allow(unused_variables, unused_mut)]
  122    122   
        let mut builder = Self::builder();
  123    123   
        #[allow(
  124    124   
            unused_variables,
  125    125   
            unreachable_code,
  126    126   
            clippy::single_match,
  127    127   
            clippy::match_single_binding,
  128    128   
            clippy::diverging_sub_expression
  129    129   
        )]
  130         -
        deserializer.read_struct(&TAGRESOURCEINPUT_SCHEMA, (), |_, member, deser| {
         130  +
        deserializer.read_struct(&TAGRESOURCEINPUT_SCHEMA, &mut |member, deser| {
  131    131   
            match member.member_index() {
  132    132   
                Some(0) => {
  133    133   
                    builder.resource_arn = Some(deser.read_string(member)?);
  134    134   
                }
  135    135   
                Some(1) => {
  136    136   
                    builder.tags = Some({
  137         -
                        let container = if let Some(cap) = deser.container_size() {
  138         -
                            Vec::with_capacity(cap)
  139         -
                        } else {
  140         -
                            Vec::new()
  141         -
                        };
  142         -
                        deser.read_list(member, container, |mut list, deser| {
  143         -
                            list.push(crate::types::Tag::deserialize(deser)?);
  144         -
                            Ok(list)
  145         -
                        })?
         137  +
                        let mut container = Vec::new();
         138  +
                        deser.read_list(member, &mut |deser| {
         139  +
                            container.push(crate::types::Tag::deserialize(deser)?);
         140  +
                            Ok(())
         141  +
                        })?;
         142  +
                        container
  146    143   
                    });
  147    144   
                }
  148    145   
                _ => {}
  149    146   
            }
  150    147   
            Ok(())
  151    148   
        })?;
         149  +
        builder.resource_arn = builder.resource_arn.or(Some(String::new()));
         150  +
        builder.tags = builder.tags.or(Some(Vec::new()));
  152    151   
        builder
  153    152   
            .build()
  154    153   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  155    154   
    }
  156    155   
}
         156  +
impl TagResourceInput {
         157  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         158  +
    pub fn deserialize_with_response(
         159  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         160  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         161  +
        _status: u16,
         162  +
        _body: &[u8],
         163  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         164  +
        Self::deserialize(deserializer)
         165  +
    }
         166  +
}
  157    167   
impl TagResourceInput {
  158    168   
    /// Creates a new builder-style object to manufacture [`TagResourceInput`](crate::operation::tag_resource::TagResourceInput).
  159    169   
    pub fn builder() -> crate::operation::tag_resource::builders::TagResourceInputBuilder {
  160    170   
        crate::operation::tag_resource::builders::TagResourceInputBuilder::default()
  161    171   
    }
  162    172   
}
  163    173   
  164    174   
/// A builder for [`TagResourceInput`](crate::operation::tag_resource::TagResourceInput).
  165    175   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  166    176   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/tag_resource/_tag_resource_output.rs

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

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/untag_resource.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 `UntagResource`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct UntagResource;
    6      6   
impl UntagResource {
    7      7   
    /// Creates a new `UntagResource`
    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::untag_resource::UntagResourceInput::SCHEMA;
          13  +
    /// The schema for this operation's output shape.
          14  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::untag_resource::UntagResourceOutput::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::untag_resource::UntagResourceInput,
   14     18   
    ) -> ::std::result::Result<
   15     19   
        crate::operation::untag_resource::UntagResourceOutput,
   16     20   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     21   
            crate::operation::untag_resource::UntagResourceError,
   18     22   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     23   
        >,
   20     24   
    > {
@@ -118,122 +245,306 @@
  138    142   
                crate::operation::untag_resource::UntagResourceError,
  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 UntagResourceResponseDeserializer;
  147    151   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for UntagResourceResponseDeserializer {
  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         -
        let headers = response.headers();
  154         -
        let body = response.body().bytes().expect("body loaded");
  155    158   
        #[allow(unused_mut)]
  156    159   
        let mut force_error = false;
  157    160   
        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
  158         -
        let parse_result = if !success && status != 200 || force_error {
  159         -
            crate::protocol_serde::shape_untag_resource::de_untag_resource_http_error(status, headers, body)
         161  +
        if !success && status != 200 || force_error {
         162  +
            let headers = response.headers();
         163  +
            let body = response.body().bytes().expect("body loaded");
         164  +
            #[allow(unused_mut)]
         165  +
            let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(status, headers, body).map_err(|e| {
         166  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         167  +
            })?;
         168  +
            generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, headers);
         169  +
            let generic = generic_builder.build();
         170  +
            let error_code = match generic.code() {
         171  +
                ::std::option::Option::Some(code) => code,
         172  +
                ::std::option::Option::None => {
         173  +
                    return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         174  +
                        ::aws_smithy_runtime_api::box_error::BoxError::from(crate::operation::untag_resource::UntagResourceError::unhandled(generic)),
         175  +
                    ))
         176  +
                }
         177  +
            };
         178  +
            let _error_message = generic.message().map(|msg| msg.to_owned());
         179  +
            let protocol = _cfg
         180  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         181  +
                .expect("a SharedClientProtocol is required");
         182  +
            let err = match error_code {
         183  +
                "ResourceNotFoundException" => crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException({
         184  +
                    let mut tmp = match protocol
         185  +
                        .deserialize_response(response, crate::types::error::ResourceNotFoundException::SCHEMA, _cfg)
         186  +
                        .and_then(|mut deser| {
         187  +
                            crate::types::error::ResourceNotFoundException::deserialize_with_response(
         188  +
                                &mut *deser,
         189  +
                                response.headers(),
         190  +
                                response.status().into(),
         191  +
                                body,
         192  +
                            )
         193  +
                        }) {
         194  +
                        ::std::result::Result::Ok(val) => val,
         195  +
                        ::std::result::Result::Err(e) => {
         196  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         197  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         198  +
                            ))
         199  +
                        }
         200  +
                    };
         201  +
                    tmp.meta = generic;
         202  +
                    if tmp.message.is_none() {
         203  +
                        tmp.message = _error_message;
         204  +
                    }
         205  +
                    tmp
         206  +
                }),
         207  +
                "ValidationException" => crate::operation::untag_resource::UntagResourceError::ValidationException({
         208  +
                    let mut tmp = match protocol
         209  +
                        .deserialize_response(response, crate::types::error::ValidationException::SCHEMA, _cfg)
         210  +
                        .and_then(|mut deser| {
         211  +
                            crate::types::error::ValidationException::deserialize_with_response(
         212  +
                                &mut *deser,
         213  +
                                response.headers(),
         214  +
                                response.status().into(),
         215  +
                                body,
         216  +
                            )
         217  +
                        }) {
         218  +
                        ::std::result::Result::Ok(val) => val,
         219  +
                        ::std::result::Result::Err(e) => {
         220  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         221  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         222  +
                            ))
         223  +
                        }
         224  +
                    };
         225  +
                    tmp.meta = generic;
         226  +
                    if tmp.message.is_none() {
         227  +
                        tmp.message = _error_message;
         228  +
                    }
         229  +
                    tmp
         230  +
                }),
         231  +
                _ => crate::operation::untag_resource::UntagResourceError::generic(generic),
         232  +
            };
         233  +
            ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
         234  +
                ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
         235  +
            ))
  160    236   
        } else {
  161         -
            crate::protocol_serde::shape_untag_resource::de_untag_resource_http_response(status, headers, body)
  162         -
        };
  163         -
        crate::protocol_serde::type_erase_result(parse_result)
         237  +
            let protocol = _cfg
         238  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         239  +
                .expect("a SharedClientProtocol is required");
         240  +
            let mut deser = protocol.deserialize_response(response, UntagResource::OUTPUT_SCHEMA, _cfg).map_err(|e| {
         241  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         242  +
            })?;
         243  +
            let body = response.body().bytes().expect("body loaded");
         244  +
            let output = crate::operation::untag_resource::UntagResourceOutput::deserialize_with_response(
         245  +
                &mut *deser,
         246  +
                response.headers(),
         247  +
                response.status().into(),
         248  +
                body,
         249  +
            )
         250  +
            .map_err(|e| {
         251  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         252  +
            })?;
         253  +
            ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
         254  +
        }
  164    255   
    }
  165    256   
}
  166    257   
#[derive(Debug)]
  167    258   
struct UntagResourceRequestSerializer;
  168    259   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for UntagResourceRequestSerializer {
  169    260   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  170    261   
    fn serialize_input(
  171    262   
        &self,
  172    263   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  173    264   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  174    265   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  175    266   
        let input = input
  176    267   
            .downcast::<crate::operation::untag_resource::UntagResourceInput>()
  177    268   
            .expect("correct type");
  178         -
        let _header_serialization_settings = _cfg
  179         -
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  180         -
            .cloned()
  181         -
            .unwrap_or_default();
  182         -
        let mut request_builder = {
  183         -
            #[allow(clippy::uninlined_format_args)]
  184         -
            fn uri_base(
  185         -
                _input: &crate::operation::untag_resource::UntagResourceInput,
  186         -
                output: &mut ::std::string::String,
  187         -
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  188         -
                use ::std::fmt::Write as _;
  189         -
                ::std::write!(output, "/").expect("formatting should succeed");
  190         -
                ::std::result::Result::Ok(())
  191         -
            }
  192         -
            #[allow(clippy::unnecessary_wraps)]
  193         -
            fn update_http_builder(
  194         -
                input: &crate::operation::untag_resource::UntagResourceInput,
  195         -
                builder: ::http_1x::request::Builder,
  196         -
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  197         -
                let mut uri = ::std::string::String::new();
  198         -
                uri_base(input, &mut uri)?;
  199         -
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  200         -
            }
  201         -
            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
  202         -
            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/x-amz-json-1.1");
  203         -
            builder = _header_serialization_settings.set_default_header(
  204         -
                builder,
  205         -
                ::http_1x::header::HeaderName::from_static("x-amz-target"),
  206         -
                "StarlingDoveService.UntagResource",
  207         -
            );
  208         -
            builder
  209         -
        };
  210         -
        let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_untag_resource::ser_untag_resource_input(&input)?);
  211         -
        if let Some(content_length) = body.content_length() {
  212         -
            let content_length = content_length.to_string();
  213         -
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
  214         -
        }
  215         -
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
         269  +
        let protocol = _cfg
         270  +
            .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         271  +
            .expect("a SharedClientProtocol is required");
         272  +
        let mut request = protocol
         273  +
            .serialize_request(&input, UntagResource::INPUT_SCHEMA, "", _cfg)
         274  +
            .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
         275  +
         276  +
        return ::std::result::Result::Ok(request);
  216    277   
    }
  217    278   
}
  218    279   
#[derive(Debug)]
  219    280   
struct UntagResourceEndpointParamsInterceptor;
  220    281   
  221    282   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for UntagResourceEndpointParamsInterceptor {
  222    283   
    fn name(&self) -> &'static str {
  223    284   
        "UntagResourceEndpointParamsInterceptor"
  224    285   
    }
  225    286   

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/untag_resource/_untag_resource_input.rs

@@ -41,41 +186,189 @@
   61     61   
    "com.amazonaws.configservice.synthetic",
   62     62   
    "UntagResourceInput",
   63     63   
);
   64     64   
static UNTAGRESOURCEINPUT_MEMBER_RESOURCE_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   65     65   
    ::aws_smithy_schema::ShapeId::from_static(
   66     66   
        "com.amazonaws.configservice.synthetic#UntagResourceInput$ResourceArn",
   67     67   
        "com.amazonaws.configservice.synthetic",
   68     68   
        "UntagResourceInput",
   69     69   
    ),
   70     70   
    ::aws_smithy_schema::ShapeType::String,
   71         -
    "resource_arn",
          71  +
    "ResourceArn",
   72     72   
    0,
   73     73   
);
   74     74   
static UNTAGRESOURCEINPUT_MEMBER_TAG_KEYS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   75     75   
    ::aws_smithy_schema::ShapeId::from_static(
   76     76   
        "com.amazonaws.configservice.synthetic#UntagResourceInput$TagKeys",
   77     77   
        "com.amazonaws.configservice.synthetic",
   78     78   
        "UntagResourceInput",
   79     79   
    ),
   80     80   
    ::aws_smithy_schema::ShapeType::List,
   81         -
    "tag_keys",
          81  +
    "TagKeys",
   82     82   
    1,
   83     83   
);
   84     84   
static UNTAGRESOURCEINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   85     85   
    UNTAGRESOURCEINPUT_SCHEMA_ID,
   86     86   
    ::aws_smithy_schema::ShapeType::Structure,
   87     87   
    &[&UNTAGRESOURCEINPUT_MEMBER_RESOURCE_ARN, &UNTAGRESOURCEINPUT_MEMBER_TAG_KEYS],
   88     88   
);
   89     89   
impl UntagResourceInput {
   90     90   
    /// The schema for this shape.
   91     91   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &UNTAGRESOURCEINPUT_SCHEMA;
   92     92   
}
   93     93   
impl ::aws_smithy_schema::serde::SerializableStruct for UntagResourceInput {
   94     94   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   95     95   
    fn serialize_members(
   96     96   
        &self,
   97     97   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   98     98   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   99     99   
        if let Some(ref val) = self.resource_arn {
  100    100   
            ser.write_string(&UNTAGRESOURCEINPUT_MEMBER_RESOURCE_ARN, val)?;
  101    101   
        }
  102    102   
        if let Some(ref val) = self.tag_keys {
  103    103   
            ser.write_list(
  104    104   
                &UNTAGRESOURCEINPUT_MEMBER_TAG_KEYS,
  105    105   
                &|ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer| {
  106    106   
                    for item in val {
  107    107   
                        ser.write_string(&aws_smithy_schema::prelude::STRING, item)?;
  108    108   
                    }
  109    109   
                    Ok(())
  110    110   
                },
  111    111   
            )?;
  112    112   
        }
  113    113   
        Ok(())
  114    114   
    }
  115    115   
}
  116    116   
impl UntagResourceInput {
  117    117   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  118         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  119         -
        deserializer: &mut D,
         118  +
    pub fn deserialize(
         119  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  120    120   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  121    121   
        #[allow(unused_variables, unused_mut)]
  122    122   
        let mut builder = Self::builder();
  123    123   
        #[allow(
  124    124   
            unused_variables,
  125    125   
            unreachable_code,
  126    126   
            clippy::single_match,
  127    127   
            clippy::match_single_binding,
  128    128   
            clippy::diverging_sub_expression
  129    129   
        )]
  130         -
        deserializer.read_struct(&UNTAGRESOURCEINPUT_SCHEMA, (), |_, member, deser| {
         130  +
        deserializer.read_struct(&UNTAGRESOURCEINPUT_SCHEMA, &mut |member, deser| {
  131    131   
            match member.member_index() {
  132    132   
                Some(0) => {
  133    133   
                    builder.resource_arn = Some(deser.read_string(member)?);
  134    134   
                }
  135    135   
                Some(1) => {
  136         -
                    builder.tag_keys = Some({
  137         -
                        let container = if let Some(cap) = deser.container_size() {
  138         -
                            Vec::with_capacity(cap)
  139         -
                        } else {
  140         -
                            Vec::new()
  141         -
                        };
  142         -
                        deser.read_list(member, container, |mut list, deser| {
  143         -
                            list.push(deser.read_string(member)?);
  144         -
                            Ok(list)
  145         -
                        })?
  146         -
                    });
         136  +
                    builder.tag_keys = Some(deser.read_string_list(member)?);
  147    137   
                }
  148    138   
                _ => {}
  149    139   
            }
  150    140   
            Ok(())
  151    141   
        })?;
         142  +
        builder.resource_arn = builder.resource_arn.or(Some(String::new()));
         143  +
        builder.tag_keys = builder.tag_keys.or(Some(Vec::new()));
  152    144   
        builder
  153    145   
            .build()
  154    146   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  155    147   
    }
  156    148   
}
         149  +
impl UntagResourceInput {
         150  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         151  +
    pub fn deserialize_with_response(
         152  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         153  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         154  +
        _status: u16,
         155  +
        _body: &[u8],
         156  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         157  +
        Self::deserialize(deserializer)
         158  +
    }
         159  +
}
  157    160   
impl UntagResourceInput {
  158    161   
    /// Creates a new builder-style object to manufacture [`UntagResourceInput`](crate::operation::untag_resource::UntagResourceInput).
  159    162   
    pub fn builder() -> crate::operation::untag_resource::builders::UntagResourceInputBuilder {
  160    163   
        crate::operation::untag_resource::builders::UntagResourceInputBuilder::default()
  161    164   
    }
  162    165   
}
  163    166   
  164    167   
/// A builder for [`UntagResourceInput`](crate::operation::untag_resource::UntagResourceInput).
  165    168   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  166    169   
#[non_exhaustive]

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/untag_resource/_untag_resource_output.rs

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

tmp-codegen-diff/aws-sdk/sdk/config/src/protocol_serde.rs

@@ -1,1 +910,0 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub(crate) fn type_erase_result<O, E>(
    3         -
    result: ::std::result::Result<O, E>,
    4         -
) -> ::std::result::Result<
    5         -
    ::aws_smithy_runtime_api::client::interceptors::context::Output,
    6         -
    ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError<::aws_smithy_runtime_api::client::interceptors::context::Error>,
    7         -
>
    8         -
where
    9         -
    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
   10         -
    E: ::std::error::Error + std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
   11         -
{
   12         -
    result
   13         -
        .map(|output| ::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
   14         -
        .map_err(|error| ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(error))
   15         -
        .map_err(::std::convert::Into::into)
   16         -
}
   17         -
   18      2   
pub fn parse_http_error_metadata(
   19      3   
    _response_status: u16,
   20      4   
    response_headers: &::aws_smithy_runtime_api::http::Headers,
   21      5   
    response_body: &[u8],
   22      6   
) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
   23      7   
    crate::json_errors::parse_error_metadata(response_body, response_headers)
   24      8   
}
   25         -
   26         -
pub(crate) mod shape_associate_resource_types;
   27         -
   28         -
pub(crate) mod shape_batch_get_aggregate_resource_config;
   29         -
   30         -
pub(crate) mod shape_batch_get_resource_config;
   31         -
   32         -
pub(crate) mod shape_delete_aggregation_authorization;
   33         -
   34         -
pub(crate) mod shape_delete_config_rule;
   35         -
   36         -
pub(crate) mod shape_delete_configuration_aggregator;
   37         -
   38         -
pub(crate) mod shape_delete_configuration_recorder;
   39         -
   40         -
pub(crate) mod shape_delete_conformance_pack;
   41         -
   42         -
pub(crate) mod shape_delete_delivery_channel;
   43         -
   44         -
pub(crate) mod shape_delete_evaluation_results;
   45         -
   46         -
pub(crate) mod shape_delete_organization_config_rule;
   47         -
   48         -
pub(crate) mod shape_delete_organization_conformance_pack;
   49         -
   50         -
pub(crate) mod shape_delete_pending_aggregation_request;
   51         -
   52         -
pub(crate) mod shape_delete_remediation_configuration;
   53         -
   54         -
pub(crate) mod shape_delete_remediation_exceptions;
   55         -
   56         -
pub(crate) mod shape_delete_resource_config;
   57         -
   58         -
pub(crate) mod shape_delete_retention_configuration;
   59         -
   60         -
pub(crate) mod shape_delete_service_linked_configuration_recorder;
   61         -
   62         -
pub(crate) mod shape_delete_stored_query;
   63         -
   64         -
pub(crate) mod shape_deliver_config_snapshot;
   65         -
   66         -
pub(crate) mod shape_describe_aggregate_compliance_by_config_rules;
   67         -
   68         -
pub(crate) mod shape_describe_aggregate_compliance_by_conformance_packs;
   69         -
   70         -
pub(crate) mod shape_describe_aggregation_authorizations;
   71         -
   72         -
pub(crate) mod shape_describe_compliance_by_config_rule;
   73         -
   74         -
pub(crate) mod shape_describe_compliance_by_resource;
   75         -
   76         -
pub(crate) mod shape_describe_config_rule_evaluation_status;
   77         -
   78         -
pub(crate) mod shape_describe_config_rules;
   79         -
   80         -
pub(crate) mod shape_describe_configuration_aggregator_sources_status;
   81         -
   82         -
pub(crate) mod shape_describe_configuration_aggregators;
   83         -
   84         -
pub(crate) mod shape_describe_configuration_recorder_status;
   85         -
   86         -
pub(crate) mod shape_describe_configuration_recorders;
   87         -
   88         -
pub(crate) mod shape_describe_conformance_pack_compliance;
   89         -
   90         -
pub(crate) mod shape_describe_conformance_pack_status;
   91         -
   92         -
pub(crate) mod shape_describe_conformance_packs;
   93         -
   94         -
pub(crate) mod shape_describe_delivery_channel_status;
   95         -
   96         -
pub(crate) mod shape_describe_delivery_channels;
   97         -
   98         -
pub(crate) mod shape_describe_organization_config_rule_statuses;
   99         -
  100         -
pub(crate) mod shape_describe_organization_config_rules;
  101         -
  102         -
pub(crate) mod shape_describe_organization_conformance_pack_statuses;
  103         -
  104         -
pub(crate) mod shape_describe_organization_conformance_packs;
  105         -
  106         -
pub(crate) mod shape_describe_pending_aggregation_requests;
  107         -
  108         -
pub(crate) mod shape_describe_remediation_configurations;
  109         -
  110         -
pub(crate) mod shape_describe_remediation_exceptions;
  111         -
  112         -
pub(crate) mod shape_describe_remediation_execution_status;
  113         -
  114         -
pub(crate) mod shape_describe_retention_configurations;
  115         -
  116         -
pub(crate) mod shape_disassociate_resource_types;
  117         -
  118         -
pub(crate) mod shape_get_aggregate_compliance_details_by_config_rule;
  119         -
  120         -
pub(crate) mod shape_get_aggregate_config_rule_compliance_summary;
  121         -
  122         -
pub(crate) mod shape_get_aggregate_conformance_pack_compliance_summary;
  123         -
  124         -
pub(crate) mod shape_get_aggregate_discovered_resource_counts;
  125         -
  126         -
pub(crate) mod shape_get_aggregate_resource_config;
  127         -
  128         -
pub(crate) mod shape_get_compliance_details_by_config_rule;
  129         -
  130         -
pub(crate) mod shape_get_compliance_details_by_resource;
  131         -
  132         -
pub(crate) mod shape_get_compliance_summary_by_config_rule;
  133         -
  134         -
pub(crate) mod shape_get_compliance_summary_by_resource_type;
  135         -
  136         -
pub(crate) mod shape_get_conformance_pack_compliance_details;
  137         -
  138         -
pub(crate) mod shape_get_conformance_pack_compliance_summary;
  139         -
  140         -
pub(crate) mod shape_get_custom_rule_policy;
  141         -
  142         -
pub(crate) mod shape_get_discovered_resource_counts;
  143         -
  144         -
pub(crate) mod shape_get_organization_config_rule_detailed_status;
  145         -
  146         -
pub(crate) mod shape_get_organization_conformance_pack_detailed_status;
  147         -
  148         -
pub(crate) mod shape_get_organization_custom_rule_policy;
  149         -
  150         -
pub(crate) mod shape_get_resource_config_history;
  151         -
  152         -
pub(crate) mod shape_get_resource_evaluation_summary;
  153         -
  154         -
pub(crate) mod shape_get_stored_query;
  155         -
  156         -
pub(crate) mod shape_list_aggregate_discovered_resources;
  157         -
  158         -
pub(crate) mod shape_list_configuration_recorders;
  159         -
  160         -
pub(crate) mod shape_list_conformance_pack_compliance_scores;
  161         -
  162         -
pub(crate) mod shape_list_discovered_resources;
  163         -
  164         -
pub(crate) mod shape_list_resource_evaluations;
  165         -
  166         -
pub(crate) mod shape_list_stored_queries;
  167         -
  168         -
pub(crate) mod shape_list_tags_for_resource;
  169         -
  170         -
pub(crate) mod shape_put_aggregation_authorization;
  171         -
  172         -
pub(crate) mod shape_put_config_rule;
  173         -
  174         -
pub(crate) mod shape_put_configuration_aggregator;
  175         -
  176         -
pub(crate) mod shape_put_configuration_recorder;
  177         -
  178         -
pub(crate) mod shape_put_conformance_pack;
  179         -
  180         -
pub(crate) mod shape_put_delivery_channel;
  181         -
  182         -
pub(crate) mod shape_put_evaluations;
  183         -
  184         -
pub(crate) mod shape_put_external_evaluation;
  185         -
  186         -
pub(crate) mod shape_put_organization_config_rule;
  187         -
  188         -
pub(crate) mod shape_put_organization_conformance_pack;
  189         -
  190         -
pub(crate) mod shape_put_remediation_configurations;
  191         -
  192         -
pub(crate) mod shape_put_remediation_exceptions;
  193         -
  194         -
pub(crate) mod shape_put_resource_config;
  195         -
  196         -
pub(crate) mod shape_put_retention_configuration;
  197         -
  198         -
pub(crate) mod shape_put_service_linked_configuration_recorder;
  199         -
  200         -
pub(crate) mod shape_put_stored_query;
  201         -
  202         -
pub(crate) mod shape_select_aggregate_resource_config;
  203         -
  204         -
pub(crate) mod shape_select_resource_config;
  205         -
  206         -
pub(crate) mod shape_start_config_rules_evaluation;
  207         -
  208         -
pub(crate) mod shape_start_configuration_recorder;
  209         -
  210         -
pub(crate) mod shape_start_remediation_execution;
  211         -
  212         -
pub(crate) mod shape_start_resource_evaluation;
  213         -
  214         -
pub(crate) mod shape_stop_configuration_recorder;
  215         -
  216         -
pub(crate) mod shape_tag_resource;
  217         -
  218         -
pub(crate) mod shape_untag_resource;
  219         -
  220         -
pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
  221         -
    if data.is_empty() {
  222         -
        b"{}"
  223         -
    } else {
  224         -
        data
  225         -
    }
  226         -
}
  227         -
  228         -
pub(crate) mod shape_associate_resource_types_input;
  229         -
  230         -
pub(crate) mod shape_batch_get_aggregate_resource_config_input;
  231         -
  232         -
pub(crate) mod shape_batch_get_resource_config_input;
  233         -
  234         -
pub(crate) mod shape_conflict_exception;
  235         -
  236         -
pub(crate) mod shape_conformance_pack_template_validation_exception;
  237         -
  238         -
pub(crate) mod shape_delete_aggregation_authorization_input;
  239         -
  240         -
pub(crate) mod shape_delete_config_rule_input;
  241         -
  242         -
pub(crate) mod shape_delete_configuration_aggregator_input;
  243         -
  244         -
pub(crate) mod shape_delete_configuration_recorder_input;
  245         -
  246         -
pub(crate) mod shape_delete_conformance_pack_input;
  247         -
  248         -
pub(crate) mod shape_delete_delivery_channel_input;
  249         -
  250         -
pub(crate) mod shape_delete_evaluation_results_input;
  251         -
  252         -
pub(crate) mod shape_delete_organization_config_rule_input;
  253         -
  254         -
pub(crate) mod shape_delete_organization_conformance_pack_input;
  255         -
  256         -
pub(crate) mod shape_delete_pending_aggregation_request_input;
  257         -
  258         -
pub(crate) mod shape_delete_remediation_configuration_input;
  259         -
  260         -
pub(crate) mod shape_delete_remediation_exceptions_input;
  261         -
  262         -
pub(crate) mod shape_delete_resource_config_input;
  263         -
  264         -
pub(crate) mod shape_delete_retention_configuration_input;
  265         -
  266         -
pub(crate) mod shape_delete_service_linked_configuration_recorder_input;
  267         -
  268         -
pub(crate) mod shape_delete_stored_query_input;
  269         -
  270         -
pub(crate) mod shape_deliver_config_snapshot_input;
  271         -
  272         -
pub(crate) mod shape_describe_aggregate_compliance_by_config_rules_input;
  273         -
  274         -
pub(crate) mod shape_describe_aggregate_compliance_by_conformance_packs_input;
  275         -
  276         -
pub(crate) mod shape_describe_aggregation_authorizations_input;
  277         -
  278         -
pub(crate) mod shape_describe_compliance_by_config_rule_input;
  279         -
  280         -
pub(crate) mod shape_describe_compliance_by_resource_input;
  281         -
  282         -
pub(crate) mod shape_describe_config_rule_evaluation_status_input;
  283         -
  284         -
pub(crate) mod shape_describe_config_rules_input;
  285         -
  286         -
pub(crate) mod shape_describe_configuration_aggregator_sources_status_input;
  287         -
  288         -
pub(crate) mod shape_describe_configuration_aggregators_input;
  289         -
  290         -
pub(crate) mod shape_describe_configuration_recorder_status_input;
  291         -
  292         -
pub(crate) mod shape_describe_configuration_recorders_input;
  293         -
  294         -
pub(crate) mod shape_describe_conformance_pack_compliance_input;
  295         -
  296         -
pub(crate) mod shape_describe_conformance_pack_status_input;
  297         -
  298         -
pub(crate) mod shape_describe_conformance_packs_input;
  299         -
  300         -
pub(crate) mod shape_describe_delivery_channel_status_input;
  301         -
  302         -
pub(crate) mod shape_describe_delivery_channels_input;
  303         -
  304         -
pub(crate) mod shape_describe_organization_config_rule_statuses_input;
  305         -
  306         -
pub(crate) mod shape_describe_organization_config_rules_input;
  307         -
  308         -
pub(crate) mod shape_describe_organization_conformance_pack_statuses_input;
  309         -
  310         -
pub(crate) mod shape_describe_organization_conformance_packs_input;
  311         -
  312         -
pub(crate) mod shape_describe_pending_aggregation_requests_input;
  313         -
  314         -
pub(crate) mod shape_describe_remediation_configurations_input;
  315         -
  316         -
pub(crate) mod shape_describe_remediation_exceptions_input;
  317         -
  318         -
pub(crate) mod shape_describe_remediation_execution_status_input;
  319         -
  320         -
pub(crate) mod shape_describe_retention_configurations_input;
  321         -
  322         -
pub(crate) mod shape_disassociate_resource_types_input;
  323         -
  324         -
pub(crate) mod shape_get_aggregate_compliance_details_by_config_rule_input;
  325         -
  326         -
pub(crate) mod shape_get_aggregate_config_rule_compliance_summary_input;
  327         -
  328         -
pub(crate) mod shape_get_aggregate_conformance_pack_compliance_summary_input;
  329         -
  330         -
pub(crate) mod shape_get_aggregate_discovered_resource_counts_input;
  331         -
  332         -
pub(crate) mod shape_get_aggregate_resource_config_input;
  333         -
  334         -
pub(crate) mod shape_get_compliance_details_by_config_rule_input;
  335         -
  336         -
pub(crate) mod shape_get_compliance_details_by_resource_input;
  337         -
  338         -
pub(crate) mod shape_get_compliance_summary_by_resource_type_input;
  339         -
  340         -
pub(crate) mod shape_get_conformance_pack_compliance_details_input;
  341         -
  342         -
pub(crate) mod shape_get_conformance_pack_compliance_summary_input;
  343         -
  344         -
pub(crate) mod shape_get_custom_rule_policy_input;
  345         -
  346         -
pub(crate) mod shape_get_discovered_resource_counts_input;
  347         -
  348         -
pub(crate) mod shape_get_organization_config_rule_detailed_status_input;
  349         -
  350         -
pub(crate) mod shape_get_organization_conformance_pack_detailed_status_input;
  351         -
  352         -
pub(crate) mod shape_get_organization_custom_rule_policy_input;
  353         -
  354         -
pub(crate) mod shape_get_resource_config_history_input;
  355         -
  356         -
pub(crate) mod shape_get_resource_evaluation_summary_input;
  357         -
  358         -
pub(crate) mod shape_get_stored_query_input;
  359         -
  360         -
pub(crate) mod shape_idempotent_parameter_mismatch;
  361         -
  362         -
pub(crate) mod shape_insufficient_delivery_policy_exception;
  363         -
  364         -
pub(crate) mod shape_insufficient_permissions_exception;
  365         -
  366         -
pub(crate) mod shape_invalid_configuration_recorder_name_exception;
  367         -
  368         -
pub(crate) mod shape_invalid_delivery_channel_name_exception;
  369         -
  370         -
pub(crate) mod shape_invalid_expression_exception;
  371         -
  372         -
pub(crate) mod shape_invalid_limit_exception;
  373         -
  374         -
pub(crate) mod shape_invalid_next_token_exception;
  375         -
  376         -
pub(crate) mod shape_invalid_parameter_value_exception;
  377         -
  378         -
pub(crate) mod shape_invalid_recording_group_exception;
  379         -
  380         -
pub(crate) mod shape_invalid_result_token_exception;
  381         -
  382         -
pub(crate) mod shape_invalid_role_exception;
  383         -
  384         -
pub(crate) mod shape_invalid_s3_key_prefix_exception;
  385         -
  386         -
pub(crate) mod shape_invalid_s3_kms_key_arn_exception;
  387         -
  388         -
pub(crate) mod shape_invalid_sns_topic_arn_exception;
  389         -
  390         -
pub(crate) mod shape_invalid_time_range_exception;
  391         -
  392         -
pub(crate) mod shape_last_delivery_channel_delete_failed_exception;
  393         -
  394         -
pub(crate) mod shape_limit_exceeded_exception;
  395         -
  396         -
pub(crate) mod shape_list_aggregate_discovered_resources_input;
  397         -
  398         -
pub(crate) mod shape_list_configuration_recorders_input;
  399         -
  400         -
pub(crate) mod shape_list_conformance_pack_compliance_scores_input;
  401         -
  402         -
pub(crate) mod shape_list_discovered_resources_input;
  403         -
  404         -
pub(crate) mod shape_list_resource_evaluations_input;
  405         -
  406         -
pub(crate) mod shape_list_stored_queries_input;
  407         -
  408         -
pub(crate) mod shape_list_tags_for_resource_input;
  409         -
  410         -
pub(crate) mod shape_max_active_resources_exceeded_exception;
  411         -
  412         -
pub(crate) mod shape_max_number_of_config_rules_exceeded_exception;
  413         -
  414         -
pub(crate) mod shape_max_number_of_configuration_recorders_exceeded_exception;
  415         -
  416         -
pub(crate) mod shape_max_number_of_conformance_packs_exceeded_exception;
  417         -
  418         -
pub(crate) mod shape_max_number_of_delivery_channels_exceeded_exception;
  419         -
  420         -
pub(crate) mod shape_max_number_of_organization_config_rules_exceeded_exception;
  421         -
  422         -
pub(crate) mod shape_max_number_of_organization_conformance_packs_exceeded_exception;
  423         -
  424         -
pub(crate) mod shape_max_number_of_retention_configurations_exceeded_exception;
  425         -
  426         -
pub(crate) mod shape_no_available_configuration_recorder_exception;
  427         -
  428         -
pub(crate) mod shape_no_available_delivery_channel_exception;
  429         -
  430         -
pub(crate) mod shape_no_available_organization_exception;
  431         -
  432         -
pub(crate) mod shape_no_running_configuration_recorder_exception;
  433         -
  434         -
pub(crate) mod shape_no_such_bucket_exception;
  435         -
  436         -
pub(crate) mod shape_no_such_config_rule_exception;
  437         -
  438         -
pub(crate) mod shape_no_such_config_rule_in_conformance_pack_exception;
  439         -
  440         -
pub(crate) mod shape_no_such_configuration_aggregator_exception;
  441         -
  442         -
pub(crate) mod shape_no_such_configuration_recorder_exception;
  443         -
  444         -
pub(crate) mod shape_no_such_conformance_pack_exception;
  445         -
  446         -
pub(crate) mod shape_no_such_delivery_channel_exception;
  447         -
  448         -
pub(crate) mod shape_no_such_organization_config_rule_exception;
  449         -
  450         -
pub(crate) mod shape_no_such_organization_conformance_pack_exception;
  451         -
  452         -
pub(crate) mod shape_no_such_remediation_configuration_exception;
  453         -
  454         -
pub(crate) mod shape_no_such_remediation_exception_exception;
  455         -
  456         -
pub(crate) mod shape_no_such_retention_configuration_exception;
  457         -
  458         -
pub(crate) mod shape_organization_access_denied_exception;
  459         -
  460         -
pub(crate) mod shape_organization_all_features_not_enabled_exception;
  461         -
  462         -
pub(crate) mod shape_organization_conformance_pack_template_validation_exception;
  463         -
  464         -
pub(crate) mod shape_oversized_configuration_item_exception;
  465         -
  466         -
pub(crate) mod shape_put_aggregation_authorization_input;
  467         -
  468         -
pub(crate) mod shape_put_config_rule_input;
  469         -
  470         -
pub(crate) mod shape_put_configuration_aggregator_input;
  471         -
  472         -
pub(crate) mod shape_put_configuration_recorder_input;
  473         -
  474         -
pub(crate) mod shape_put_conformance_pack_input;
  475         -
  476         -
pub(crate) mod shape_put_delivery_channel_input;
  477         -
  478         -
pub(crate) mod shape_put_evaluations_input;
  479         -
  480         -
pub(crate) mod shape_put_external_evaluation_input;
  481         -
  482         -
pub(crate) mod shape_put_organization_config_rule_input;
  483         -
  484         -
pub(crate) mod shape_put_organization_conformance_pack_input;
  485         -
  486         -
pub(crate) mod shape_put_remediation_configurations_input;
  487         -
  488         -
pub(crate) mod shape_put_remediation_exceptions_input;
  489         -
  490         -
pub(crate) mod shape_put_resource_config_input;
  491         -
  492         -
pub(crate) mod shape_put_retention_configuration_input;
  493         -
  494         -
pub(crate) mod shape_put_service_linked_configuration_recorder_input;
  495         -
  496         -
pub(crate) mod shape_put_stored_query_input;
  497         -
  498         -
pub(crate) mod shape_remediation_in_progress_exception;
  499         -
  500         -
pub(crate) mod shape_resource_concurrent_modification_exception;
  501         -
  502         -
pub(crate) mod shape_resource_in_use_exception;
  503         -
  504         -
pub(crate) mod shape_resource_not_discovered_exception;
  505         -
  506         -
pub(crate) mod shape_resource_not_found_exception;
  507         -
  508         -
pub(crate) mod shape_select_aggregate_resource_config_input;
  509         -
  510         -
pub(crate) mod shape_select_resource_config_input;
  511         -
  512         -
pub(crate) mod shape_start_config_rules_evaluation_input;
  513         -
  514         -
pub(crate) mod shape_start_configuration_recorder_input;
  515         -
  516         -
pub(crate) mod shape_start_remediation_execution_input;
  517         -
  518         -
pub(crate) mod shape_start_resource_evaluation_input;
  519         -
  520         -
pub(crate) mod shape_stop_configuration_recorder_input;
  521         -
  522         -
pub(crate) mod shape_tag_resource_input;
  523         -
  524         -
pub(crate) mod shape_too_many_tags_exception;
  525         -
  526         -
pub(crate) mod shape_unmodifiable_entity_exception;
  527         -
  528         -
pub(crate) mod shape_untag_resource_input;
  529         -
  530         -
pub(crate) mod shape_validation_exception;
  531         -
  532         -
pub(crate) mod shape_account_aggregation_source;
  533         -
  534         -
pub(crate) mod shape_aggregate_compliance_by_config_rule_list;
  535         -
  536         -
pub(crate) mod shape_aggregate_compliance_by_conformance_pack_list;
  537         -
  538         -
pub(crate) mod shape_aggregate_compliance_count_list;
  539         -
  540         -
pub(crate) mod shape_aggregate_conformance_pack_compliance_filters;
  541         -
  542         -
pub(crate) mod shape_aggregate_conformance_pack_compliance_summary_filters;
  543         -
  544         -
pub(crate) mod shape_aggregate_conformance_pack_compliance_summary_list;
  545         -
  546         -
pub(crate) mod shape_aggregate_evaluation_result_list;
  547         -
  548         -
pub(crate) mod shape_aggregate_resource_identifier;
  549         -
  550         -
pub(crate) mod shape_aggregated_source_status_list;
  551         -
  552         -
pub(crate) mod shape_aggregation_authorization;
  553         -
  554         -
pub(crate) mod shape_aggregation_authorization_list;
  555         -
  556         -
pub(crate) mod shape_aggregator_filters;
  557         -
  558         -
pub(crate) mod shape_base_configuration_items;
  559         -
  560         -
pub(crate) mod shape_compliance_by_config_rules;
  561         -
  562         -
pub(crate) mod shape_compliance_by_resources;
  563         -
  564         -
pub(crate) mod shape_compliance_summaries_by_resource_type;
  565         -
  566         -
pub(crate) mod shape_compliance_summary;
  567         -
  568         -
pub(crate) mod shape_config_rule;
  569         -
  570         -
pub(crate) mod shape_config_rule_compliance_filters;
  571         -
  572         -
pub(crate) mod shape_config_rule_compliance_summary_filters;
  573         -
  574         -
pub(crate) mod shape_config_rule_evaluation_status_list;
  575         -
  576         -
pub(crate) mod shape_config_rules;
  577         -
  578         -
pub(crate) mod shape_configuration_aggregator;
  579         -
  580         -
pub(crate) mod shape_configuration_aggregator_list;
  581         -
  582         -
pub(crate) mod shape_configuration_item;
  583         -
  584         -
pub(crate) mod shape_configuration_item_list;
  585         -
  586         -
pub(crate) mod shape_configuration_recorder;
  587         -
  588         -
pub(crate) mod shape_configuration_recorder_filter;
  589         -
  590         -
pub(crate) mod shape_configuration_recorder_list;
  591         -
  592         -
pub(crate) mod shape_configuration_recorder_status_list;
  593         -
  594         -
pub(crate) mod shape_configuration_recorder_summaries;
  595         -
  596         -
pub(crate) mod shape_conformance_pack_compliance_filters;
  597         -
  598         -
pub(crate) mod shape_conformance_pack_compliance_scores;
  599         -
  600         -
pub(crate) mod shape_conformance_pack_compliance_scores_filters;
  601         -
  602         -
pub(crate) mod shape_conformance_pack_compliance_summary_list;
  603         -
  604         -
pub(crate) mod shape_conformance_pack_detail_list;
  605         -
  606         -
pub(crate) mod shape_conformance_pack_evaluation_filters;
  607         -
  608         -
pub(crate) mod shape_conformance_pack_input_parameter;
  609         -
  610         -
pub(crate) mod shape_conformance_pack_rule_compliance_list;
  611         -
  612         -
pub(crate) mod shape_conformance_pack_rule_evaluation_results_list;
  613         -
  614         -
pub(crate) mod shape_conformance_pack_status_details_list;
  615         -
  616         -
pub(crate) mod shape_delivery_channel;
  617         -
  618         -
pub(crate) mod shape_delivery_channel_list;
  619         -
  620         -
pub(crate) mod shape_delivery_channel_status_list;
  621         -
  622         -
pub(crate) mod shape_describe_config_rules_filters;
  623         -
  624         -
pub(crate) mod shape_discovered_resource_identifier_list;
  625         -
  626         -
pub(crate) mod shape_evaluation;
  627         -
  628         -
pub(crate) mod shape_evaluation_context;
  629         -
  630         -
pub(crate) mod shape_evaluation_results;
  631         -
  632         -
pub(crate) mod shape_evaluation_status;
  633         -
  634         -
pub(crate) mod shape_evaluations;
  635         -
  636         -
pub(crate) mod shape_external_evaluation;
  637         -
  638         -
pub(crate) mod shape_failed_delete_remediation_exceptions_batches;
  639         -
  640         -
pub(crate) mod shape_failed_remediation_batches;
  641         -
  642         -
pub(crate) mod shape_failed_remediation_exception_batches;
  643         -
  644         -
pub(crate) mod shape_grouped_resource_count_list;
  645         -
  646         -
pub(crate) mod shape_organization_aggregation_source;
  647         -
  648         -
pub(crate) mod shape_organization_config_rule_detailed_status;
  649         -
  650         -
pub(crate) mod shape_organization_config_rule_statuses;
  651         -
  652         -
pub(crate) mod shape_organization_config_rules;
  653         -
  654         -
pub(crate) mod shape_organization_conformance_pack_detailed_statuses;
  655         -
  656         -
pub(crate) mod shape_organization_conformance_pack_statuses;
  657         -
  658         -
pub(crate) mod shape_organization_conformance_packs;
  659         -
  660         -
pub(crate) mod shape_organization_custom_policy_rule_metadata;
  661         -
  662         -
pub(crate) mod shape_organization_custom_rule_metadata;
  663         -
  664         -
pub(crate) mod shape_organization_managed_rule_metadata;
  665         -
  666         -
pub(crate) mod shape_organization_resource_detailed_status_filters;
  667         -
  668         -
pub(crate) mod shape_pending_aggregation_request_list;
  669         -
  670         -
pub(crate) mod shape_query_info;
  671         -
  672         -
pub(crate) mod shape_remediation_configuration;
  673         -
  674         -
pub(crate) mod shape_remediation_configurations;
  675         -
  676         -
pub(crate) mod shape_remediation_exception_resource_key;
  677         -
  678         -
pub(crate) mod shape_remediation_exceptions;
  679         -
  680         -
pub(crate) mod shape_remediation_execution_statuses;
  681         -
  682         -
pub(crate) mod shape_resource_count_filters;
  683         -
  684         -
pub(crate) mod shape_resource_counts;
  685         -
  686         -
pub(crate) mod shape_resource_details;
  687         -
  688         -
pub(crate) mod shape_resource_evaluation_filters;
  689         -
  690         -
pub(crate) mod shape_resource_evaluations;
  691         -
  692         -
pub(crate) mod shape_resource_filters;
  693         -
  694         -
pub(crate) mod shape_resource_identifier_list;
  695         -
  696         -
pub(crate) mod shape_resource_key;
  697         -
  698         -
pub(crate) mod shape_resource_keys;
  699         -
  700         -
pub(crate) mod shape_results;
  701         -
  702         -
pub(crate) mod shape_retention_configuration;
  703         -
  704         -
pub(crate) mod shape_retention_configuration_list;
  705         -
  706         -
pub(crate) mod shape_status_detail_filters;
  707         -
  708         -
pub(crate) mod shape_stored_query;
  709         -
  710         -
pub(crate) mod shape_stored_query_metadata_list;
  711         -
  712         -
pub(crate) mod shape_tag;
  713         -
  714         -
pub(crate) mod shape_tag_list;
  715         -
  716         -
pub(crate) mod shape_template_ssm_document_details;
  717         -
  718         -
pub(crate) mod shape_unprocessed_resource_identifier_list;
  719         -
  720         -
pub(crate) mod shape_account_aggregation_source_list;
  721         -
  722         -
pub(crate) mod shape_aggregate_compliance_by_config_rule;
  723         -
  724         -
pub(crate) mod shape_aggregate_compliance_by_conformance_pack;
  725         -
  726         -
pub(crate) mod shape_aggregate_compliance_count;
  727         -
  728         -
pub(crate) mod shape_aggregate_conformance_pack_compliance_summary;
  729         -
  730         -
pub(crate) mod shape_aggregate_evaluation_result;
  731         -
  732         -
pub(crate) mod shape_aggregated_source_status;
  733         -
  734         -
pub(crate) mod shape_aggregator_filter_resource_type;
  735         -
  736         -
pub(crate) mod shape_aggregator_filter_service_principal;
  737         -
  738         -
pub(crate) mod shape_base_configuration_item;
  739         -
  740         -
pub(crate) mod shape_compliance_by_config_rule;
  741         -
  742         -
pub(crate) mod shape_compliance_by_resource;
  743         -
  744         -
pub(crate) mod shape_compliance_contributor_count;
  745         -
  746         -
pub(crate) mod shape_compliance_summary_by_resource_type;
  747         -
  748         -
pub(crate) mod shape_config_rule_evaluation_status;
  749         -
  750         -
pub(crate) mod shape_config_snapshot_delivery_properties;
  751         -
  752         -
pub(crate) mod shape_configuration_recorder_status;
  753         -
  754         -
pub(crate) mod shape_configuration_recorder_summary;
  755         -
  756         -
pub(crate) mod shape_conformance_pack_compliance_score;
  757         -
  758         -
pub(crate) mod shape_conformance_pack_compliance_summary;
  759         -
  760         -
pub(crate) mod shape_conformance_pack_detail;
  761         -
  762         -
pub(crate) mod shape_conformance_pack_evaluation_result;
  763         -
  764         -
pub(crate) mod shape_conformance_pack_rule_compliance;
  765         -
  766         -
pub(crate) mod shape_conformance_pack_status_detail;
  767         -
  768         -
pub(crate) mod shape_delivery_channel_status;
  769         -
  770         -
pub(crate) mod shape_evaluation_mode_configuration;
  771         -
  772         -
pub(crate) mod shape_evaluation_result;
  773         -
  774         -
pub(crate) mod shape_execution_controls;
  775         -
  776         -
pub(crate) mod shape_failed_delete_remediation_exceptions_batch;
  777         -
  778         -
pub(crate) mod shape_failed_remediation_batch;
  779         -
  780         -
pub(crate) mod shape_failed_remediation_exception_batch;
  781         -
  782         -
pub(crate) mod shape_field_info_list;
  783         -
  784         -
pub(crate) mod shape_grouped_resource_count;
  785         -
  786         -
pub(crate) mod shape_member_account_status;
  787         -
  788         -
pub(crate) mod shape_organization_config_rule;
  789         -
  790         -
pub(crate) mod shape_organization_config_rule_status;
  791         -
  792         -
pub(crate) mod shape_organization_conformance_pack;
  793         -
  794         -
pub(crate) mod shape_organization_conformance_pack_detailed_status;
  795         -
  796         -
pub(crate) mod shape_organization_conformance_pack_status;
  797         -
  798         -
pub(crate) mod shape_pending_aggregation_request;
  799         -
  800         -
pub(crate) mod shape_recording_group;
  801         -
  802         -
pub(crate) mod shape_recording_mode;
  803         -
  804         -
pub(crate) mod shape_related_event_list;
  805         -
  806         -
pub(crate) mod shape_relationship_list;
  807         -
  808         -
pub(crate) mod shape_remediation_exception;
  809         -
  810         -
pub(crate) mod shape_remediation_execution_status;
  811         -
  812         -
pub(crate) mod shape_remediation_parameter_value;
  813         -
  814         -
pub(crate) mod shape_resource_count;
  815         -
  816         -
pub(crate) mod shape_resource_evaluation;
  817         -
  818         -
pub(crate) mod shape_resource_identifier;
  819         -
  820         -
pub(crate) mod shape_scope;
  821         -
  822         -
pub(crate) mod shape_source;
  823         -
  824         -
pub(crate) mod shape_stored_query_metadata;
  825         -
  826         -
pub(crate) mod shape_supplementary_configuration;
  827         -
  828         -
pub(crate) mod shape_tags;
  829         -
  830         -
pub(crate) mod shape_time_window;
  831         -
  832         -
pub(crate) mod shape_aggregate_conformance_pack_compliance;
  833         -
  834         -
pub(crate) mod shape_aggregate_conformance_pack_compliance_count;
  835         -
  836         -
pub(crate) mod shape_aggregator_region_list;
  837         -
  838         -
pub(crate) mod shape_compliance;
  839         -
  840         -
pub(crate) mod shape_config_export_delivery_info;
  841         -
  842         -
pub(crate) mod shape_config_stream_delivery_info;
  843         -
  844         -
pub(crate) mod shape_conformance_pack_input_parameters;
  845         -
  846         -
pub(crate) mod shape_controls_list;
  847         -
  848         -
pub(crate) mod shape_custom_policy_details;
  849         -
  850         -
pub(crate) mod shape_evaluation_modes;
  851         -
  852         -
pub(crate) mod shape_evaluation_result_identifier;
  853         -
  854         -
pub(crate) mod shape_excluded_accounts;
  855         -
  856         -
pub(crate) mod shape_exclusion_by_resource_types;
  857         -
  858         -
pub(crate) mod shape_field_info;
  859         -
  860         -
pub(crate) mod shape_organization_custom_policy_rule_metadata_no_policy;
  861         -
  862         -
pub(crate) mod shape_recording_mode_override;
  863         -
  864         -
pub(crate) mod shape_recording_mode_overrides;
  865         -
  866         -
pub(crate) mod shape_recording_strategy;
  867         -
  868         -
pub(crate) mod shape_relationship;
  869         -
  870         -
pub(crate) mod shape_remediation_exception_resource_keys;
  871         -
  872         -
pub(crate) mod shape_remediation_execution_steps;
  873         -
  874         -
pub(crate) mod shape_remediation_parameters;
  875         -
  876         -
pub(crate) mod shape_resource_type_list;
  877         -
  878         -
pub(crate) mod shape_resource_value;
  879         -
  880         -
pub(crate) mod shape_source_detail;
  881         -
  882         -
pub(crate) mod shape_ssm_controls;
  883         -
  884         -
pub(crate) mod shape_static_value;
  885         -
  886         -
pub(crate) mod shape_account_aggregation_source_account_list;
  887         -
  888         -
pub(crate) mod shape_compliance_resource_types;
  889         -
  890         -
pub(crate) mod shape_debug_log_delivery_accounts;
  891         -
  892         -
pub(crate) mod shape_evaluation_result_qualifier;
  893         -
  894         -
pub(crate) mod shape_organization_config_rule_trigger_type_no_sns;
  895         -
  896         -
pub(crate) mod shape_organization_config_rule_trigger_types;
  897         -
  898         -
pub(crate) mod shape_remediation_execution_step;
  899         -
  900         -
pub(crate) mod shape_resource_type_value_list;
  901         -
  902         -
pub(crate) mod shape_resource_types_scope;
  903         -
  904         -
pub(crate) mod shape_service_principal_value_list;
  905         -
  906         -
pub(crate) mod shape_source_details;
  907         -
  908         -
pub(crate) mod shape_recording_mode_resource_types_list;
  909         -
  910         -
pub(crate) mod shape_static_parameter_values;