AWS SDK

AWS SDK

rev. 163d4d6410694aaf071424777ecbecd050925f36

Files changed:

tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/src/operation/update_delivery_configuration.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 `UpdateDeliveryConfiguration`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct UpdateDeliveryConfiguration;
    6      6   
impl UpdateDeliveryConfiguration {
    7      7   
    /// Creates a new `UpdateDeliveryConfiguration`
    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::update_delivery_configuration::UpdateDeliveryConfigurationInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationOutput::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::update_delivery_configuration::UpdateDeliveryConfigurationInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -127,133 +253,420 @@
  147    153   
        ::std::borrow::Cow::Owned(rcb)
  148    154   
    }
  149    155   
}
  150    156   
  151    157   
#[derive(Debug)]
  152    158   
struct UpdateDeliveryConfigurationResponseDeserializer;
  153    159   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for UpdateDeliveryConfigurationResponseDeserializer {
  154    160   
    fn deserialize_nonstreaming(
  155    161   
        &self,
  156    162   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         163  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  157    164   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  158    165   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  159         -
        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_update_delivery_configuration::de_update_delivery_configuration_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::update_delivery_configuration::UpdateDeliveryConfigurationError::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  +
                "AccessDeniedException" => {
         194  +
                    crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError::AccessDeniedException({
         195  +
                        let mut tmp = match protocol
         196  +
                            .deserialize_response(response, crate::types::error::AccessDeniedException::SCHEMA, _cfg)
         197  +
                            .and_then(|mut deser| {
         198  +
                                crate::types::error::AccessDeniedException::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  +
                "ConflictException" => crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError::ConflictException({
         220  +
                    let mut tmp = match protocol
         221  +
                        .deserialize_response(response, crate::types::error::ConflictException::SCHEMA, _cfg)
         222  +
                        .and_then(|mut deser| {
         223  +
                            crate::types::error::ConflictException::deserialize_with_response(
         224  +
                                &mut *deser,
         225  +
                                response.headers(),
         226  +
                                response.status().into(),
         227  +
                                body,
         228  +
                            )
         229  +
                        }) {
         230  +
                        ::std::result::Result::Ok(val) => val,
         231  +
                        ::std::result::Result::Err(e) => {
         232  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         233  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         234  +
                            ))
         235  +
                        }
         236  +
                    };
         237  +
                    tmp.meta = generic;
         238  +
                    if tmp.message.is_none() {
         239  +
                        tmp.message = _error_message;
         240  +
                    }
         241  +
                    tmp
         242  +
                }),
         243  +
                "ResourceNotFoundException" => {
         244  +
                    crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError::ResourceNotFoundException({
         245  +
                        let mut tmp = match protocol
         246  +
                            .deserialize_response(response, crate::types::error::ResourceNotFoundException::SCHEMA, _cfg)
         247  +
                            .and_then(|mut deser| {
         248  +
                                crate::types::error::ResourceNotFoundException::deserialize_with_response(
         249  +
                                    &mut *deser,
         250  +
                                    response.headers(),
         251  +
                                    response.status().into(),
         252  +
                                    body,
         253  +
                                )
         254  +
                            }) {
         255  +
                            ::std::result::Result::Ok(val) => val,
         256  +
                            ::std::result::Result::Err(e) => {
         257  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         258  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         259  +
                                ))
         260  +
                            }
         261  +
                        };
         262  +
                        tmp.meta = generic;
         263  +
                        if tmp.message.is_none() {
         264  +
                            tmp.message = _error_message;
         265  +
                        }
         266  +
                        tmp
         267  +
                    })
         268  +
                }
         269  +
                "ServiceUnavailableException" => {
         270  +
                    crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError::ServiceUnavailableException({
         271  +
                        let mut tmp = match protocol
         272  +
                            .deserialize_response(response, crate::types::error::ServiceUnavailableException::SCHEMA, _cfg)
         273  +
                            .and_then(|mut deser| {
         274  +
                                crate::types::error::ServiceUnavailableException::deserialize_with_response(
         275  +
                                    &mut *deser,
         276  +
                                    response.headers(),
         277  +
                                    response.status().into(),
         278  +
                                    body,
         279  +
                                )
         280  +
                            }) {
         281  +
                            ::std::result::Result::Ok(val) => val,
         282  +
                            ::std::result::Result::Err(e) => {
         283  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         284  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         285  +
                                ))
         286  +
                            }
         287  +
                        };
         288  +
                        tmp.meta = generic;
         289  +
                        if tmp.message.is_none() {
         290  +
                            tmp.message = _error_message;
         291  +
                        }
         292  +
                        tmp
         293  +
                    })
         294  +
                }
         295  +
                "ThrottlingException" => crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError::ThrottlingException({
         296  +
                    let mut tmp = match protocol
         297  +
                        .deserialize_response(response, crate::types::error::ThrottlingException::SCHEMA, _cfg)
         298  +
                        .and_then(|mut deser| {
         299  +
                            crate::types::error::ThrottlingException::deserialize_with_response(
         300  +
                                &mut *deser,
         301  +
                                response.headers(),
         302  +
                                response.status().into(),
         303  +
                                body,
         304  +
                            )
         305  +
                        }) {
         306  +
                        ::std::result::Result::Ok(val) => val,
         307  +
                        ::std::result::Result::Err(e) => {
         308  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         309  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         310  +
                            ))
         311  +
                        }
         312  +
                    };
         313  +
                    tmp.meta = generic;
         314  +
                    if tmp.message.is_none() {
         315  +
                        tmp.message = _error_message;
         316  +
                    }
         317  +
                    tmp
         318  +
                }),
         319  +
                "ValidationException" => crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError::ValidationException({
         320  +
                    let mut tmp = match protocol
         321  +
                        .deserialize_response(response, crate::types::error::ValidationException::SCHEMA, _cfg)
         322  +
                        .and_then(|mut deser| {
         323  +
                            crate::types::error::ValidationException::deserialize_with_response(
         324  +
                                &mut *deser,
         325  +
                                response.headers(),
         326  +
                                response.status().into(),
         327  +
                                body,
         328  +
                            )
         329  +
                        }) {
         330  +
                        ::std::result::Result::Ok(val) => val,
         331  +
                        ::std::result::Result::Err(e) => {
         332  +
                            return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         333  +
                                ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         334  +
                            ))
         335  +
                        }
         336  +
                    };
         337  +
                    tmp.meta = generic;
         338  +
                    if tmp.message.is_none() {
         339  +
                        tmp.message = _error_message;
         340  +
                    }
         341  +
                    tmp
         342  +
                }),
         343  +
                _ => crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationError::generic(generic),
         344  +
            };
         345  +
            ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
         346  +
                ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
         347  +
            ))
  166    348   
        } else {
  167         -
            crate::protocol_serde::shape_update_delivery_configuration::de_update_delivery_configuration_http_response(status, headers, body)
  168         -
        };
  169         -
        crate::protocol_serde::type_erase_result(parse_result)
         349  +
            let protocol = _cfg
         350  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         351  +
                .expect("a SharedClientProtocol is required");
         352  +
            let mut deser = protocol
         353  +
                .deserialize_response(response, UpdateDeliveryConfiguration::OUTPUT_SCHEMA, _cfg)
         354  +
                .map_err(|e| {
         355  +
                    ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         356  +
                })?;
         357  +
            let body = response.body().bytes().expect("body loaded");
         358  +
            let output = crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationOutput::deserialize_with_response(
         359  +
                &mut *deser,
         360  +
                response.headers(),
         361  +
                response.status().into(),
         362  +
                body,
         363  +
            )
         364  +
            .map_err(|e| {
         365  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         366  +
            })?;
         367  +
            ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
         368  +
        }
  170    369   
    }
  171    370   
}
  172    371   
#[derive(Debug)]
  173    372   
struct UpdateDeliveryConfigurationRequestSerializer;
  174    373   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for UpdateDeliveryConfigurationRequestSerializer {
  175    374   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  176    375   
    fn serialize_input(
  177    376   
        &self,
  178    377   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  179    378   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  180    379   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  181    380   
        let input = input
  182    381   
            .downcast::<crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationInput>()
  183    382   
            .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::update_delivery_configuration::UpdateDeliveryConfigurationInput,
  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::update_delivery_configuration::UpdateDeliveryConfigurationInput,
  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         -
                "Logs_20140328.UpdateDeliveryConfiguration",
  213         -
            );
  214         -
            builder
  215         -
        };
  216         -
        let body = ::aws_smithy_types::body::SdkBody::from(
  217         -
            crate::protocol_serde::shape_update_delivery_configuration::ser_update_delivery_configuration_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())
         383  +
        let protocol = _cfg
         384  +
            .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         385  +
            .expect("a SharedClientProtocol is required");
         386  +
        let mut request = protocol
         387  +
            .serialize_request(&input, UpdateDeliveryConfiguration::INPUT_SCHEMA, "", _cfg)
         388  +
            .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
         389  +
         390  +
        return ::std::result::Result::Ok(request);
  224    391   
    }
  225    392   
}
  226    393   
#[derive(Debug)]
  227    394   
struct UpdateDeliveryConfigurationEndpointParamsInterceptor;
  228    395   
  229    396   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for UpdateDeliveryConfigurationEndpointParamsInterceptor {
  230    397   
    fn name(&self) -> &'static str {
  231    398   
        "UpdateDeliveryConfigurationEndpointParamsInterceptor"
  232    399   
    }
  233    400   

tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/src/operation/update_delivery_configuration/_update_delivery_configuration_input.rs

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

tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/src/operation/update_delivery_configuration/_update_delivery_configuration_output.rs

@@ -1,1 +83,111 @@
    3      3   
#[non_exhaustive]
    4      4   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5      5   
pub struct UpdateDeliveryConfigurationOutput {
    6      6   
    _request_id: Option<String>,
    7      7   
}
    8      8   
static UPDATEDELIVERYCONFIGURATIONOUTPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static(
    9      9   
    "com.amazonaws.cloudwatchlogs.synthetic#UpdateDeliveryConfigurationOutput",
   10     10   
    "com.amazonaws.cloudwatchlogs.synthetic",
   11     11   
    "UpdateDeliveryConfigurationOutput",
   12     12   
);
          13  +
static UPDATEDELIVERYCONFIGURATIONOUTPUT_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");
   13     20   
static UPDATEDELIVERYCONFIGURATIONOUTPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   14     21   
    UPDATEDELIVERYCONFIGURATIONOUTPUT_SCHEMA_ID,
   15     22   
    ::aws_smithy_schema::ShapeType::Structure,
   16         -
    &[],
          23  +
    &[&UPDATEDELIVERYCONFIGURATIONOUTPUT_MEMBER__REQUEST_ID],
   17     24   
);
   18     25   
impl UpdateDeliveryConfigurationOutput {
   19     26   
    /// The schema for this shape.
   20     27   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &UPDATEDELIVERYCONFIGURATIONOUTPUT_SCHEMA;
   21     28   
}
   22     29   
impl ::aws_smithy_schema::serde::SerializableStruct for UpdateDeliveryConfigurationOutput {
   23     30   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
   24     31   
    fn serialize_members(
   25     32   
        &self,
   26     33   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
   27     34   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
   28     35   
        Ok(())
   29     36   
    }
   30     37   
}
   31     38   
impl UpdateDeliveryConfigurationOutput {
   32     39   
    /// Deserializes this structure from a [`ShapeDeserializer`].
   33         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
   34         -
        deserializer: &mut D,
          40  +
    pub fn deserialize(
          41  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
   35     42   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
   36     43   
        #[allow(unused_variables, unused_mut)]
   37     44   
        let mut builder = Self::builder();
   38     45   
        #[allow(
   39     46   
            unused_variables,
   40     47   
            unreachable_code,
   41     48   
            clippy::single_match,
   42     49   
            clippy::match_single_binding,
   43     50   
            clippy::diverging_sub_expression
   44     51   
        )]
   45         -
        deserializer.read_struct(&UPDATEDELIVERYCONFIGURATIONOUTPUT_SCHEMA, (), |_, member, deser| {
          52  +
        deserializer.read_struct(&UPDATEDELIVERYCONFIGURATIONOUTPUT_SCHEMA, &mut |member, deser| {
   46     53   
            match member.member_index() {
          54  +
                Some(0) => {
          55  +
                    builder._request_id = Some(deser.read_string(member)?);
          56  +
                }
   47     57   
                _ => {}
   48     58   
            }
   49     59   
            Ok(())
   50     60   
        })?;
   51     61   
        Ok(builder.build())
   52     62   
    }
   53     63   
}
          64  +
impl UpdateDeliveryConfigurationOutput {
          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  +
}
   54     82   
impl ::aws_types::request_id::RequestId for UpdateDeliveryConfigurationOutput {
   55     83   
    fn request_id(&self) -> Option<&str> {
   56     84   
        self._request_id.as_deref()
   57     85   
    }
   58     86   
}
   59     87   
impl UpdateDeliveryConfigurationOutput {
   60     88   
    /// Creates a new builder-style object to manufacture [`UpdateDeliveryConfigurationOutput`](crate::operation::update_delivery_configuration::UpdateDeliveryConfigurationOutput).
   61     89   
    pub fn builder() -> crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationOutputBuilder {
   62     90   
        crate::operation::update_delivery_configuration::builders::UpdateDeliveryConfigurationOutputBuilder::default()
   63     91   
    }

tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/src/operation/update_log_anomaly_detector.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 `UpdateLogAnomalyDetector`.
    3      3   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
    4      4   
#[non_exhaustive]
    5      5   
pub struct UpdateLogAnomalyDetector;
    6      6   
impl UpdateLogAnomalyDetector {
    7      7   
    /// Creates a new `UpdateLogAnomalyDetector`
    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::update_log_anomaly_detector::UpdateLogAnomalyDetectorInput::SCHEMA;
          14  +
    /// The schema for this operation's output shape.
          15  +
    pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema =
          16  +
        crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorOutput::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::update_log_anomaly_detector::UpdateLogAnomalyDetectorInput,
   14     20   
    ) -> ::std::result::Result<
   15     21   
        crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorOutput,
   16     22   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     23   
            crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorError,
   18     24   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     25   
        >,
   20     26   
    > {
@@ -127,133 +253,374 @@
  147    153   
        ::std::borrow::Cow::Owned(rcb)
  148    154   
    }
  149    155   
}
  150    156   
  151    157   
#[derive(Debug)]
  152    158   
struct UpdateLogAnomalyDetectorResponseDeserializer;
  153    159   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for UpdateLogAnomalyDetectorResponseDeserializer {
  154    160   
    fn deserialize_nonstreaming(
  155    161   
        &self,
  156    162   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
         163  +
        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
  157    164   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  158    165   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  159         -
        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_update_log_anomaly_detector::de_update_log_anomaly_detector_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::update_log_anomaly_detector::UpdateLogAnomalyDetectorError::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  +
                "InvalidParameterException" => {
         194  +
                    crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorError::InvalidParameterException({
         195  +
                        let mut tmp = match protocol
         196  +
                            .deserialize_response(response, crate::types::error::InvalidParameterException::SCHEMA, _cfg)
         197  +
                            .and_then(|mut deser| {
         198  +
                                crate::types::error::InvalidParameterException::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  +
                "OperationAbortedException" => {
         220  +
                    crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorError::OperationAbortedException({
         221  +
                        let mut tmp = match protocol
         222  +
                            .deserialize_response(response, crate::types::error::OperationAbortedException::SCHEMA, _cfg)
         223  +
                            .and_then(|mut deser| {
         224  +
                                crate::types::error::OperationAbortedException::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  +
                "ResourceNotFoundException" => {
         246  +
                    crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorError::ResourceNotFoundException({
         247  +
                        let mut tmp = match protocol
         248  +
                            .deserialize_response(response, crate::types::error::ResourceNotFoundException::SCHEMA, _cfg)
         249  +
                            .and_then(|mut deser| {
         250  +
                                crate::types::error::ResourceNotFoundException::deserialize_with_response(
         251  +
                                    &mut *deser,
         252  +
                                    response.headers(),
         253  +
                                    response.status().into(),
         254  +
                                    body,
         255  +
                                )
         256  +
                            }) {
         257  +
                            ::std::result::Result::Ok(val) => val,
         258  +
                            ::std::result::Result::Err(e) => {
         259  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         260  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         261  +
                                ))
         262  +
                            }
         263  +
                        };
         264  +
                        tmp.meta = generic;
         265  +
                        if tmp.message.is_none() {
         266  +
                            tmp.message = _error_message;
         267  +
                        }
         268  +
                        tmp
         269  +
                    })
         270  +
                }
         271  +
                "ServiceUnavailableException" => {
         272  +
                    crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorError::ServiceUnavailableException({
         273  +
                        let mut tmp = match protocol
         274  +
                            .deserialize_response(response, crate::types::error::ServiceUnavailableException::SCHEMA, _cfg)
         275  +
                            .and_then(|mut deser| {
         276  +
                                crate::types::error::ServiceUnavailableException::deserialize_with_response(
         277  +
                                    &mut *deser,
         278  +
                                    response.headers(),
         279  +
                                    response.status().into(),
         280  +
                                    body,
         281  +
                                )
         282  +
                            }) {
         283  +
                            ::std::result::Result::Ok(val) => val,
         284  +
                            ::std::result::Result::Err(e) => {
         285  +
                                return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
         286  +
                                    ::aws_smithy_runtime_api::box_error::BoxError::from(e),
         287  +
                                ))
         288  +
                            }
         289  +
                        };
         290  +
                        tmp.meta = generic;
         291  +
                        if tmp.message.is_none() {
         292  +
                            tmp.message = _error_message;
         293  +
                        }
         294  +
                        tmp
         295  +
                    })
         296  +
                }
         297  +
                _ => crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorError::generic(generic),
         298  +
            };
         299  +
            ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
         300  +
                ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
         301  +
            ))
  166    302   
        } else {
  167         -
            crate::protocol_serde::shape_update_log_anomaly_detector::de_update_log_anomaly_detector_http_response(status, headers, body)
  168         -
        };
  169         -
        crate::protocol_serde::type_erase_result(parse_result)
         303  +
            let protocol = _cfg
         304  +
                .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         305  +
                .expect("a SharedClientProtocol is required");
         306  +
            let mut deser = protocol
         307  +
                .deserialize_response(response, UpdateLogAnomalyDetector::OUTPUT_SCHEMA, _cfg)
         308  +
                .map_err(|e| {
         309  +
                    ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         310  +
                })?;
         311  +
            let body = response.body().bytes().expect("body loaded");
         312  +
            let output = crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorOutput::deserialize_with_response(
         313  +
                &mut *deser,
         314  +
                response.headers(),
         315  +
                response.status().into(),
         316  +
                body,
         317  +
            )
         318  +
            .map_err(|e| {
         319  +
                ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
         320  +
            })?;
         321  +
            ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
         322  +
        }
  170    323   
    }
  171    324   
}
  172    325   
#[derive(Debug)]
  173    326   
struct UpdateLogAnomalyDetectorRequestSerializer;
  174    327   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for UpdateLogAnomalyDetectorRequestSerializer {
  175    328   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  176    329   
    fn serialize_input(
  177    330   
        &self,
  178    331   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  179    332   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  180    333   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  181    334   
        let input = input
  182    335   
            .downcast::<crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorInput>()
  183    336   
            .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::update_log_anomaly_detector::UpdateLogAnomalyDetectorInput,
  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::update_log_anomaly_detector::UpdateLogAnomalyDetectorInput,
  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         -
                "Logs_20140328.UpdateLogAnomalyDetector",
  213         -
            );
  214         -
            builder
  215         -
        };
  216         -
        let body = ::aws_smithy_types::body::SdkBody::from(
  217         -
            crate::protocol_serde::shape_update_log_anomaly_detector::ser_update_log_anomaly_detector_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())
         337  +
        let protocol = _cfg
         338  +
            .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
         339  +
            .expect("a SharedClientProtocol is required");
         340  +
        let mut request = protocol
         341  +
            .serialize_request(&input, UpdateLogAnomalyDetector::INPUT_SCHEMA, "", _cfg)
         342  +
            .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
         343  +
         344  +
        return ::std::result::Result::Ok(request);
  224    345   
    }
  225    346   
}
  226    347   
#[derive(Debug)]
  227    348   
struct UpdateLogAnomalyDetectorEndpointParamsInterceptor;
  228    349   
  229    350   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for UpdateLogAnomalyDetectorEndpointParamsInterceptor {
  230    351   
    fn name(&self) -> &'static str {
  231    352   
        "UpdateLogAnomalyDetectorEndpointParamsInterceptor"
  232    353   
    }
  233    354   

tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/src/operation/update_log_anomaly_detector/_update_log_anomaly_detector_input.rs

@@ -21,21 +202,215 @@
   41     41   
    "com.amazonaws.cloudwatchlogs.synthetic",
   42     42   
    "UpdateLogAnomalyDetectorInput",
   43     43   
);
   44     44   
static UPDATELOGANOMALYDETECTORINPUT_MEMBER_ANOMALY_DETECTOR_ARN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   45     45   
    ::aws_smithy_schema::ShapeId::from_static(
   46     46   
        "com.amazonaws.cloudwatchlogs.synthetic#UpdateLogAnomalyDetectorInput$anomalyDetectorArn",
   47     47   
        "com.amazonaws.cloudwatchlogs.synthetic",
   48     48   
        "UpdateLogAnomalyDetectorInput",
   49     49   
    ),
   50     50   
    ::aws_smithy_schema::ShapeType::String,
   51         -
    "anomaly_detector_arn",
          51  +
    "anomalyDetectorArn",
   52     52   
    0,
   53     53   
);
   54     54   
static UPDATELOGANOMALYDETECTORINPUT_MEMBER_EVALUATION_FREQUENCY: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   55     55   
    ::aws_smithy_schema::ShapeId::from_static(
   56     56   
        "com.amazonaws.cloudwatchlogs.synthetic#UpdateLogAnomalyDetectorInput$evaluationFrequency",
   57     57   
        "com.amazonaws.cloudwatchlogs.synthetic",
   58     58   
        "UpdateLogAnomalyDetectorInput",
   59     59   
    ),
   60     60   
    ::aws_smithy_schema::ShapeType::String,
   61         -
    "evaluation_frequency",
          61  +
    "evaluationFrequency",
   62     62   
    1,
   63     63   
);
   64     64   
static UPDATELOGANOMALYDETECTORINPUT_MEMBER_FILTER_PATTERN: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   65     65   
    ::aws_smithy_schema::ShapeId::from_static(
   66     66   
        "com.amazonaws.cloudwatchlogs.synthetic#UpdateLogAnomalyDetectorInput$filterPattern",
   67     67   
        "com.amazonaws.cloudwatchlogs.synthetic",
   68     68   
        "UpdateLogAnomalyDetectorInput",
   69     69   
    ),
   70     70   
    ::aws_smithy_schema::ShapeType::String,
   71         -
    "filter_pattern",
          71  +
    "filterPattern",
   72     72   
    2,
   73     73   
);
   74     74   
static UPDATELOGANOMALYDETECTORINPUT_MEMBER_ANOMALY_VISIBILITY_TIME: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   75     75   
    ::aws_smithy_schema::ShapeId::from_static(
   76     76   
        "com.amazonaws.cloudwatchlogs.synthetic#UpdateLogAnomalyDetectorInput$anomalyVisibilityTime",
   77     77   
        "com.amazonaws.cloudwatchlogs.synthetic",
   78     78   
        "UpdateLogAnomalyDetectorInput",
   79     79   
    ),
   80     80   
    ::aws_smithy_schema::ShapeType::Long,
   81         -
    "anomaly_visibility_time",
          81  +
    "anomalyVisibilityTime",
   82     82   
    3,
   83     83   
);
   84     84   
static UPDATELOGANOMALYDETECTORINPUT_MEMBER_ENABLED: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
   85     85   
    ::aws_smithy_schema::ShapeId::from_static(
   86     86   
        "com.amazonaws.cloudwatchlogs.synthetic#UpdateLogAnomalyDetectorInput$enabled",
   87     87   
        "com.amazonaws.cloudwatchlogs.synthetic",
   88     88   
        "UpdateLogAnomalyDetectorInput",
   89     89   
    ),
   90     90   
    ::aws_smithy_schema::ShapeType::Boolean,
   91     91   
    "enabled",
   92     92   
    4,
   93     93   
);
   94     94   
static UPDATELOGANOMALYDETECTORINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
   95     95   
    UPDATELOGANOMALYDETECTORINPUT_SCHEMA_ID,
   96     96   
    ::aws_smithy_schema::ShapeType::Structure,
   97     97   
    &[
   98     98   
        &UPDATELOGANOMALYDETECTORINPUT_MEMBER_ANOMALY_DETECTOR_ARN,
   99     99   
        &UPDATELOGANOMALYDETECTORINPUT_MEMBER_EVALUATION_FREQUENCY,
  100    100   
        &UPDATELOGANOMALYDETECTORINPUT_MEMBER_FILTER_PATTERN,
  101    101   
        &UPDATELOGANOMALYDETECTORINPUT_MEMBER_ANOMALY_VISIBILITY_TIME,
  102    102   
        &UPDATELOGANOMALYDETECTORINPUT_MEMBER_ENABLED,
  103    103   
    ],
  104    104   
);
  105    105   
impl UpdateLogAnomalyDetectorInput {
  106    106   
    /// The schema for this shape.
  107    107   
    pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &UPDATELOGANOMALYDETECTORINPUT_SCHEMA;
  108    108   
}
  109    109   
impl ::aws_smithy_schema::serde::SerializableStruct for UpdateLogAnomalyDetectorInput {
  110    110   
    #[allow(unused_variables, clippy::diverging_sub_expression)]
  111    111   
    fn serialize_members(
  112    112   
        &self,
  113    113   
        ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer,
  114    114   
    ) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
  115    115   
        if let Some(ref val) = self.anomaly_detector_arn {
  116    116   
            ser.write_string(&UPDATELOGANOMALYDETECTORINPUT_MEMBER_ANOMALY_DETECTOR_ARN, val)?;
  117    117   
        }
  118    118   
        if let Some(ref val) = self.evaluation_frequency {
  119    119   
            ser.write_string(&UPDATELOGANOMALYDETECTORINPUT_MEMBER_EVALUATION_FREQUENCY, val.as_str())?;
  120    120   
        }
  121    121   
        if let Some(ref val) = self.filter_pattern {
  122    122   
            ser.write_string(&UPDATELOGANOMALYDETECTORINPUT_MEMBER_FILTER_PATTERN, val)?;
  123    123   
        }
  124    124   
        if let Some(ref val) = self.anomaly_visibility_time {
  125    125   
            ser.write_long(&UPDATELOGANOMALYDETECTORINPUT_MEMBER_ANOMALY_VISIBILITY_TIME, *val)?;
  126    126   
        }
  127    127   
        if let Some(ref val) = self.enabled {
  128    128   
            ser.write_boolean(&UPDATELOGANOMALYDETECTORINPUT_MEMBER_ENABLED, *val)?;
  129    129   
        }
  130    130   
        Ok(())
  131    131   
    }
  132    132   
}
  133    133   
impl UpdateLogAnomalyDetectorInput {
  134    134   
    /// Deserializes this structure from a [`ShapeDeserializer`].
  135         -
    pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
  136         -
        deserializer: &mut D,
         135  +
    pub fn deserialize(
         136  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
  137    137   
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
  138    138   
        #[allow(unused_variables, unused_mut)]
  139    139   
        let mut builder = Self::builder();
  140    140   
        #[allow(
  141    141   
            unused_variables,
  142    142   
            unreachable_code,
  143    143   
            clippy::single_match,
  144    144   
            clippy::match_single_binding,
  145    145   
            clippy::diverging_sub_expression
  146    146   
        )]
  147         -
        deserializer.read_struct(&UPDATELOGANOMALYDETECTORINPUT_SCHEMA, (), |_, member, deser| {
         147  +
        deserializer.read_struct(&UPDATELOGANOMALYDETECTORINPUT_SCHEMA, &mut |member, deser| {
  148    148   
            match member.member_index() {
  149    149   
                Some(0) => {
  150    150   
                    builder.anomaly_detector_arn = Some(deser.read_string(member)?);
  151    151   
                }
  152    152   
                Some(1) => {
  153    153   
                    builder.evaluation_frequency = Some(crate::types::EvaluationFrequency::from(deser.read_string(member)?.as_str()));
  154    154   
                }
  155    155   
                Some(2) => {
  156    156   
                    builder.filter_pattern = Some(deser.read_string(member)?);
  157    157   
                }
  158    158   
                Some(3) => {
  159    159   
                    builder.anomaly_visibility_time = Some(deser.read_long(member)?);
  160    160   
                }
  161    161   
                Some(4) => {
  162    162   
                    builder.enabled = Some(deser.read_boolean(member)?);
  163    163   
                }
  164    164   
                _ => {}
  165    165   
            }
  166    166   
            Ok(())
  167    167   
        })?;
         168  +
        builder.anomaly_detector_arn = builder.anomaly_detector_arn.or(Some(String::new()));
         169  +
        builder.enabled = builder.enabled.or(Some(false));
  168    170   
        builder
  169    171   
            .build()
  170    172   
            .map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
  171    173   
    }
  172    174   
}
         175  +
impl UpdateLogAnomalyDetectorInput {
         176  +
    /// Deserializes this structure from a body deserializer and HTTP response.
         177  +
    pub fn deserialize_with_response(
         178  +
        deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
         179  +
        _headers: &::aws_smithy_runtime_api::http::Headers,
         180  +
        _status: u16,
         181  +
        _body: &[u8],
         182  +
    ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
         183  +
        Self::deserialize(deserializer)
         184  +
    }
         185  +
}
  173    186   
impl UpdateLogAnomalyDetectorInput {
  174    187   
    /// Creates a new builder-style object to manufacture [`UpdateLogAnomalyDetectorInput`](crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorInput).
  175    188   
    pub fn builder() -> crate::operation::update_log_anomaly_detector::builders::UpdateLogAnomalyDetectorInputBuilder {
  176    189   
        crate::operation::update_log_anomaly_detector::builders::UpdateLogAnomalyDetectorInputBuilder::default()
  177    190   
    }
  178    191   
}
  179    192   
  180    193   
/// A builder for [`UpdateLogAnomalyDetectorInput`](crate::operation::update_log_anomaly_detector::UpdateLogAnomalyDetectorInput).
  181    194   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
  182    195   
#[non_exhaustive]

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

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

@@ -1,1 +762,68 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
pub fn parse_http_error_metadata(
           3  +
    _response_status: u16,
           4  +
    response_headers: &::aws_smithy_runtime_api::http::Headers,
           5  +
    response_body: &[u8],
           6  +
) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
           7  +
    crate::json_errors::parse_error_metadata(response_body, response_headers)
           8  +
}
           9  +
    2     10   
pub(crate) fn type_erase_result<O, E>(
    3     11   
    result: ::std::result::Result<O, E>,
    4     12   
) -> ::std::result::Result<
    5     13   
    ::aws_smithy_runtime_api::client::interceptors::context::Output,
    6     14   
    ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError<::aws_smithy_runtime_api::client::interceptors::context::Error>,
    7     15   
>
    8     16   
where
    9     17   
    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
   10     18   
    E: ::std::error::Error + std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
   11     19   
{
   12     20   
    result
   13     21   
        .map(|output| ::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
   14     22   
        .map_err(|error| ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(error))
   15     23   
        .map_err(::std::convert::Into::into)
   16     24   
}
   17     25   
   18         -
pub fn parse_http_error_metadata(
   19         -
    _response_status: u16,
   20         -
    response_headers: &::aws_smithy_runtime_api::http::Headers,
   21         -
    response_body: &[u8],
   22         -
) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
   23         -
    crate::json_errors::parse_error_metadata(response_body, response_headers)
   24         -
}
   25         -
   26         -
pub(crate) mod shape_associate_kms_key;
   27         -
   28         -
pub(crate) mod shape_cancel_export_task;
   29         -
   30         -
pub(crate) mod shape_create_delivery;
   31         -
   32         -
pub(crate) mod shape_create_export_task;
   33         -
   34         -
pub(crate) mod shape_create_log_anomaly_detector;
   35         -
   36         -
pub(crate) mod shape_create_log_group;
   37         -
   38         -
pub(crate) mod shape_create_log_stream;
   39         -
   40         -
pub(crate) mod shape_delete_account_policy;
   41         -
   42         -
pub(crate) mod shape_delete_data_protection_policy;
   43         -
   44         -
pub(crate) mod shape_delete_delivery;
   45         -
   46         -
pub(crate) mod shape_delete_delivery_destination;
   47         -
   48         -
pub(crate) mod shape_delete_delivery_destination_policy;
   49         -
   50         -
pub(crate) mod shape_delete_delivery_source;
   51         -
   52         -
pub(crate) mod shape_delete_destination;
   53         -
   54         -
pub(crate) mod shape_delete_index_policy;
   55         -
   56         -
pub(crate) mod shape_delete_integration;
   57         -
   58         -
pub(crate) mod shape_delete_log_anomaly_detector;
   59         -
   60         -
pub(crate) mod shape_delete_log_group;
   61         -
   62         -
pub(crate) mod shape_delete_log_stream;
   63         -
   64         -
pub(crate) mod shape_delete_metric_filter;
   65         -
   66         -
pub(crate) mod shape_delete_query_definition;
   67         -
   68         -
pub(crate) mod shape_delete_resource_policy;
   69         -
   70         -
pub(crate) mod shape_delete_retention_policy;
   71         -
   72         -
pub(crate) mod shape_delete_subscription_filter;
   73         -
   74         -
pub(crate) mod shape_delete_transformer;
   75         -
   76         -
pub(crate) mod shape_describe_account_policies;
   77         -
   78         -
pub(crate) mod shape_describe_configuration_templates;
   79         -
   80         -
pub(crate) mod shape_describe_deliveries;
   81         -
   82         -
pub(crate) mod shape_describe_delivery_destinations;
   83         -
   84         -
pub(crate) mod shape_describe_delivery_sources;
   85         -
   86         -
pub(crate) mod shape_describe_destinations;
   87         -
   88         -
pub(crate) mod shape_describe_export_tasks;
   89         -
   90         -
pub(crate) mod shape_describe_field_indexes;
   91         -
   92         -
pub(crate) mod shape_describe_index_policies;
   93         -
   94         -
pub(crate) mod shape_describe_log_groups;
   95         -
   96         -
pub(crate) mod shape_describe_log_streams;
   97         -
   98         -
pub(crate) mod shape_describe_metric_filters;
   99         -
  100         -
pub(crate) mod shape_describe_queries;
  101         -
  102         -
pub(crate) mod shape_describe_query_definitions;
  103         -
  104         -
pub(crate) mod shape_describe_resource_policies;
  105         -
  106         -
pub(crate) mod shape_describe_subscription_filters;
  107         -
  108         -
pub(crate) mod shape_disassociate_kms_key;
  109         -
  110         -
pub(crate) mod shape_filter_log_events;
  111         -
  112         -
pub(crate) mod shape_get_data_protection_policy;
  113         -
  114         -
pub(crate) mod shape_get_delivery;
  115         -
  116         -
pub(crate) mod shape_get_delivery_destination;
  117         -
  118         -
pub(crate) mod shape_get_delivery_destination_policy;
  119         -
  120         -
pub(crate) mod shape_get_delivery_source;
  121         -
  122         -
pub(crate) mod shape_get_integration;
  123         -
  124         -
pub(crate) mod shape_get_log_anomaly_detector;
  125         -
  126         -
pub(crate) mod shape_get_log_events;
  127         -
  128         -
pub(crate) mod shape_get_log_group_fields;
  129         -
  130     26   
pub(crate) mod shape_get_log_object;
  131     27   
  132         -
pub(crate) mod shape_get_log_record;
  133         -
  134         -
pub(crate) mod shape_get_query_results;
  135         -
  136         -
pub(crate) mod shape_get_transformer;
  137         -
  138         -
pub(crate) mod shape_list_anomalies;
  139         -
  140         -
pub(crate) mod shape_list_integrations;
  141         -
  142         -
pub(crate) mod shape_list_log_anomaly_detectors;
  143         -
  144         -
pub(crate) mod shape_list_log_groups;
  145         -
  146         -
pub(crate) mod shape_list_log_groups_for_query;
  147         -
  148         -
pub(crate) mod shape_list_tags_for_resource;
  149         -
  150         -
pub(crate) mod shape_list_tags_log_group;
  151         -
  152         -
pub(crate) mod shape_put_account_policy;
  153         -
  154         -
pub(crate) mod shape_put_data_protection_policy;
  155         -
  156         -
pub(crate) mod shape_put_delivery_destination;
  157         -
  158         -
pub(crate) mod shape_put_delivery_destination_policy;
  159         -
  160         -
pub(crate) mod shape_put_delivery_source;
  161         -
  162         -
pub(crate) mod shape_put_destination;
  163         -
  164         -
pub(crate) mod shape_put_destination_policy;
  165         -
  166         -
pub(crate) mod shape_put_index_policy;
  167         -
  168         -
pub(crate) mod shape_put_integration;
  169         -
  170         -
pub(crate) mod shape_put_log_events;
  171         -
  172         -
pub(crate) mod shape_put_metric_filter;
  173         -
  174         -
pub(crate) mod shape_put_query_definition;
  175         -
  176         -
pub(crate) mod shape_put_resource_policy;
  177         -
  178         -
pub(crate) mod shape_put_retention_policy;
  179         -
  180         -
pub(crate) mod shape_put_subscription_filter;
  181         -
  182         -
pub(crate) mod shape_put_transformer;
  183         -
  184     28   
pub(crate) mod shape_start_live_tail;
  185     29   
  186         -
pub(crate) mod shape_start_query;
  187         -
  188         -
pub(crate) mod shape_stop_query;
  189         -
  190         -
pub(crate) mod shape_tag_log_group;
  191         -
  192         -
pub(crate) mod shape_tag_resource;
  193         -
  194         -
pub(crate) mod shape_test_metric_filter;
  195         -
  196         -
pub(crate) mod shape_test_transformer;
  197         -
  198         -
pub(crate) mod shape_untag_log_group;
  199         -
  200         -
pub(crate) mod shape_untag_resource;
  201         -
  202         -
pub(crate) mod shape_update_anomaly;
  203         -
  204         -
pub(crate) mod shape_update_delivery_configuration;
  205         -
  206         -
pub(crate) mod shape_update_log_anomaly_detector;
  207         -
  208         -
pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
  209         -
    if data.is_empty() {
  210         -
        b"{}"
  211         -
    } else {
  212         -
        data
  213         -
    }
  214         -
}
  215         -
  216         -
pub(crate) mod shape_access_denied_exception;
  217         -
  218         -
pub(crate) mod shape_associate_kms_key_input;
  219         -
  220         -
pub(crate) mod shape_cancel_export_task_input;
  221         -
  222         -
pub(crate) mod shape_conflict_exception;
  223         -
  224         -
pub(crate) mod shape_create_delivery_input;
  225         -
  226         -
pub(crate) mod shape_create_export_task_input;
  227         -
  228         -
pub(crate) mod shape_create_log_anomaly_detector_input;
  229         -
  230         -
pub(crate) mod shape_create_log_group_input;
  231         -
  232         -
pub(crate) mod shape_create_log_stream_input;
  233         -
  234         -
pub(crate) mod shape_data_already_accepted_exception;
  235         -
  236         -
pub(crate) mod shape_delete_account_policy_input;
  237         -
  238         -
pub(crate) mod shape_delete_data_protection_policy_input;
  239         -
  240         -
pub(crate) mod shape_delete_delivery_destination_input;
  241         -
  242         -
pub(crate) mod shape_delete_delivery_destination_policy_input;
  243         -
  244         -
pub(crate) mod shape_delete_delivery_input;
  245         -
  246         -
pub(crate) mod shape_delete_delivery_source_input;
  247         -
  248         -
pub(crate) mod shape_delete_destination_input;
  249         -
  250         -
pub(crate) mod shape_delete_index_policy_input;
  251         -
  252         -
pub(crate) mod shape_delete_integration_input;
  253         -
  254         -
pub(crate) mod shape_delete_log_anomaly_detector_input;
  255         -
  256         -
pub(crate) mod shape_delete_log_group_input;
  257         -
  258         -
pub(crate) mod shape_delete_log_stream_input;
  259         -
  260         -
pub(crate) mod shape_delete_metric_filter_input;
  261         -
  262         -
pub(crate) mod shape_delete_query_definition_input;
  263         -
  264         -
pub(crate) mod shape_delete_resource_policy_input;
  265         -
  266         -
pub(crate) mod shape_delete_retention_policy_input;
  267         -
  268         -
pub(crate) mod shape_delete_subscription_filter_input;
  269         -
  270         -
pub(crate) mod shape_delete_transformer_input;
  271         -
  272         -
pub(crate) mod shape_describe_account_policies_input;
  273         -
  274         -
pub(crate) mod shape_describe_configuration_templates_input;
  275         -
  276         -
pub(crate) mod shape_describe_deliveries_input;
  277         -
  278         -
pub(crate) mod shape_describe_delivery_destinations_input;
  279         -
  280         -
pub(crate) mod shape_describe_delivery_sources_input;
  281         -
  282         -
pub(crate) mod shape_describe_destinations_input;
  283         -
  284         -
pub(crate) mod shape_describe_export_tasks_input;
  285         -
  286         -
pub(crate) mod shape_describe_field_indexes_input;
  287         -
  288         -
pub(crate) mod shape_describe_index_policies_input;
  289         -
  290         -
pub(crate) mod shape_describe_log_groups_input;
  291         -
  292         -
pub(crate) mod shape_describe_log_streams_input;
  293         -
  294         -
pub(crate) mod shape_describe_metric_filters_input;
  295         -
  296         -
pub(crate) mod shape_describe_queries_input;
  297         -
  298         -
pub(crate) mod shape_describe_query_definitions_input;
  299         -
  300         -
pub(crate) mod shape_describe_resource_policies_input;
  301         -
  302         -
pub(crate) mod shape_describe_subscription_filters_input;
  303         -
  304         -
pub(crate) mod shape_disassociate_kms_key_input;
  305         -
  306         -
pub(crate) mod shape_filter_log_events_input;
  307         -
  308         -
pub(crate) mod shape_get_data_protection_policy_input;
  309         -
  310         -
pub(crate) mod shape_get_delivery_destination_input;
  311         -
  312         -
pub(crate) mod shape_get_delivery_destination_policy_input;
  313         -
  314         -
pub(crate) mod shape_get_delivery_input;
  315         -
  316         -
pub(crate) mod shape_get_delivery_source_input;
  317         -
  318         -
pub(crate) mod shape_get_integration_input;
  319         -
  320         -
pub(crate) mod shape_get_log_anomaly_detector_input;
  321         -
  322         -
pub(crate) mod shape_get_log_events_input;
  323         -
  324         -
pub(crate) mod shape_get_log_group_fields_input;
  325         -
  326         -
pub(crate) mod shape_get_log_object_input;
  327         -
  328     30   
pub(crate) mod shape_get_log_object_output;
  329     31   
  330         -
pub(crate) mod shape_get_log_record_input;
  331         -
  332         -
pub(crate) mod shape_get_query_results_input;
  333         -
  334         -
pub(crate) mod shape_get_transformer_input;
  335         -
  336         -
pub(crate) mod shape_internal_streaming_exception;
  337         -
  338         -
pub(crate) mod shape_invalid_operation_exception;
  339         -
  340         -
pub(crate) mod shape_invalid_parameter_exception;
  341         -
  342         -
pub(crate) mod shape_invalid_sequence_token_exception;
  343         -
  344         -
pub(crate) mod shape_limit_exceeded_exception;
  345         -
  346         -
pub(crate) mod shape_list_anomalies_input;
  347         -
  348         -
pub(crate) mod shape_list_integrations_input;
  349         -
  350         -
pub(crate) mod shape_list_log_anomaly_detectors_input;
  351         -
  352         -
pub(crate) mod shape_list_log_groups_for_query_input;
  353         -
  354         -
pub(crate) mod shape_list_log_groups_input;
  355         -
  356         -
pub(crate) mod shape_list_tags_for_resource_input;
  357         -
  358         -
pub(crate) mod shape_list_tags_log_group_input;
  359         -
  360         -
pub(crate) mod shape_malformed_query_exception;
  361         -
  362         -
pub(crate) mod shape_operation_aborted_exception;
  363         -
  364         -
pub(crate) mod shape_put_account_policy_input;
  365         -
  366         -
pub(crate) mod shape_put_data_protection_policy_input;
  367         -
  368         -
pub(crate) mod shape_put_delivery_destination_input;
  369         -
  370         -
pub(crate) mod shape_put_delivery_destination_policy_input;
  371         -
  372         -
pub(crate) mod shape_put_delivery_source_input;
  373         -
  374         -
pub(crate) mod shape_put_destination_input;
  375         -
  376         -
pub(crate) mod shape_put_destination_policy_input;
  377         -
  378         -
pub(crate) mod shape_put_index_policy_input;
  379         -
  380         -
pub(crate) mod shape_put_integration_input;
  381         -
  382         -
pub(crate) mod shape_put_log_events_input;
  383         -
  384         -
pub(crate) mod shape_put_metric_filter_input;
  385         -
  386         -
pub(crate) mod shape_put_query_definition_input;
  387         -
  388         -
pub(crate) mod shape_put_resource_policy_input;
  389         -
  390         -
pub(crate) mod shape_put_retention_policy_input;
  391         -
  392         -
pub(crate) mod shape_put_subscription_filter_input;
  393         -
  394         -
pub(crate) mod shape_put_transformer_input;
  395         -
  396         -
pub(crate) mod shape_resource_already_exists_exception;
  397         -
  398         -
pub(crate) mod shape_resource_not_found_exception;
  399         -
  400         -
pub(crate) mod shape_service_quota_exceeded_exception;
  401         -
  402         -
pub(crate) mod shape_service_unavailable_exception;
  403         -
  404         -
pub(crate) mod shape_session_streaming_exception;
  405         -
  406         -
pub(crate) mod shape_session_timeout_exception;
  407         -
  408         -
pub(crate) mod shape_start_live_tail_input;
  409         -
  410     32   
pub(crate) mod shape_start_live_tail_output;
  411     33   
  412         -
pub(crate) mod shape_start_query_input;
  413         -
  414         -
pub(crate) mod shape_stop_query_input;
  415         -
  416         -
pub(crate) mod shape_tag_log_group_input;
  417         -
  418         -
pub(crate) mod shape_tag_resource_input;
  419         -
  420         -
pub(crate) mod shape_test_metric_filter_input;
  421         -
  422         -
pub(crate) mod shape_test_transformer_input;
  423         -
  424         -
pub(crate) mod shape_throttling_exception;
  425         -
  426         -
pub(crate) mod shape_too_many_tags_exception;
  427         -
  428         -
pub(crate) mod shape_unrecognized_client_exception;
  429         -
  430         -
pub(crate) mod shape_untag_log_group_input;
  431         -
  432         -
pub(crate) mod shape_untag_resource_input;
  433         -
  434         -
pub(crate) mod shape_update_anomaly_input;
  435         -
  436         -
pub(crate) mod shape_update_delivery_configuration_input;
  437         -
  438         -
pub(crate) mod shape_update_log_anomaly_detector_input;
  439         -
  440         -
pub(crate) mod shape_validation_exception;
  441         -
  442     34   
pub fn parse_event_stream_error_metadata(
  443     35   
    payload: &::bytes::Bytes,
  444     36   
) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
  445     37   
    crate::json_errors::parse_error_metadata(payload, &::aws_smithy_runtime_api::http::Headers::new())
  446     38   
}
  447     39   
  448         -
pub(crate) mod shape_account_policies;
  449         -
  450         -
pub(crate) mod shape_account_policy;
  451         -
  452         -
pub(crate) mod shape_anomalies;
  453         -
  454         -
pub(crate) mod shape_anomaly_detectors;
  455         -
  456         -
pub(crate) mod shape_configuration_templates;
  457         -
  458         -
pub(crate) mod shape_deliveries;
  459         -
  460         -
pub(crate) mod shape_delivery;
  461         -
  462         -
pub(crate) mod shape_delivery_destination;
  463         -
  464         -
pub(crate) mod shape_delivery_destination_configuration;
  465         -
  466         -
pub(crate) mod shape_delivery_destinations;
  467         -
  468         -
pub(crate) mod shape_delivery_source;
  469         -
  470         -
pub(crate) mod shape_delivery_sources;
  471         -
  472         -
pub(crate) mod shape_destination;
  473         -
  474         -
pub(crate) mod shape_destinations;
  475         -
  476         -
pub(crate) mod shape_entity;
  477         -
  478         -
pub(crate) mod shape_export_tasks;
  479         -
  480         -
pub(crate) mod shape_field_indexes;
  481         -
  482         -
pub(crate) mod shape_filtered_log_events;
  483         -
  484         -
pub(crate) mod shape_index_policies;
  485         -
  486         -
pub(crate) mod shape_index_policy;
  487         -
  488         -
pub(crate) mod shape_input_log_event;
  489         -
  490         -
pub(crate) mod shape_integration_details;
  491         -
  492         -
pub(crate) mod shape_integration_summaries;
  493         -
  494         -
pub(crate) mod shape_log_group_arn_list;
  495         -
  496         -
pub(crate) mod shape_log_group_field_list;
  497         -
  498         -
pub(crate) mod shape_log_group_identifiers;
  499         -
  500         -
pub(crate) mod shape_log_group_summaries;
  501         -
  502         -
pub(crate) mod shape_log_groups;
  503         -
  504         -
pub(crate) mod shape_log_record;
  505         -
  506         -
pub(crate) mod shape_log_streams;
  507         -
  508         -
pub(crate) mod shape_metric_filter_matches;
  509         -
  510         -
pub(crate) mod shape_metric_filters;
  511         -
  512         -
pub(crate) mod shape_metric_transformation;
  513         -
  514         -
pub(crate) mod shape_output_log_events;
  515         -
  516         -
pub(crate) mod shape_policy;
  517         -
  518         -
pub(crate) mod shape_processor;
  519         -
  520         -
pub(crate) mod shape_processors;
  521         -
  522         -
pub(crate) mod shape_query_compile_error;
  523         -
  524         -
pub(crate) mod shape_query_definition_list;
  525         -
  526         -
pub(crate) mod shape_query_info_list;
  527         -
  528         -
pub(crate) mod shape_query_results;
  529         -
  530         -
pub(crate) mod shape_query_statistics;
  531         -
  532         -
pub(crate) mod shape_rejected_entity_info;
  533         -
  534         -
pub(crate) mod shape_rejected_log_events_info;
  535         -
  536         -
pub(crate) mod shape_resource_config;
  537         -
  538         -
pub(crate) mod shape_resource_policies;
  539         -
  540         -
pub(crate) mod shape_resource_policy;
  541         -
  542         -
pub(crate) mod shape_s3_delivery_configuration;
  543         -
  544         -
pub(crate) mod shape_searched_log_streams;
  545         -
  546         -
pub(crate) mod shape_subscription_filters;
  547         -
  548         -
pub(crate) mod shape_suppression_period;
  549         -
  550         -
pub(crate) mod shape_tags;
  551         -
  552         -
pub(crate) mod shape_transformed_logs;
  553         -
  554         -
pub(crate) mod shape_add_keys;
  555         -
  556         -
pub(crate) mod shape_anomaly;
  557         -
  558         -
pub(crate) mod shape_anomaly_detector;
  559         -
  560         -
pub(crate) mod shape_configuration_template;
  561         -
  562         -
pub(crate) mod shape_copy_value;
  563         -
  564         -
pub(crate) mod shape_csv;
  565         -
  566         -
pub(crate) mod shape_date_time_converter;
  567         -
  568         -
pub(crate) mod shape_delete_keys;
  569         -
  570         -
pub(crate) mod shape_export_task;
  571         -
  572         -
pub(crate) mod shape_field_index;
          40  +
pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
          41  +
    if data.is_empty() {
          42  +
        b"{}"
          43  +
    } else {
          44  +
        data
          45  +
    }
          46  +
}
  573     47   
  574     48   
pub(crate) mod shape_fields_data;
  575     49   
  576         -
pub(crate) mod shape_filtered_log_event;
  577         -
  578         -
pub(crate) mod shape_grok;
  579         -
  580         -
pub(crate) mod shape_integration_summary;
  581         -
  582         -
pub(crate) mod shape_list_to_map;
          50  +
pub(crate) mod shape_internal_streaming_exception;
  583     51   
  584     52   
pub(crate) mod shape_live_tail_session_start;
  585     53   
  586     54   
pub(crate) mod shape_live_tail_session_update;
  587     55   
  588         -
pub(crate) mod shape_log_group;
  589         -
  590         -
pub(crate) mod shape_log_group_field;
  591         -
  592         -
pub(crate) mod shape_log_group_summary;
  593         -
  594         -
pub(crate) mod shape_log_stream;
  595         -
  596         -
pub(crate) mod shape_lower_case_string;
  597         -
  598         -
pub(crate) mod shape_metric_filter;
  599         -
  600         -
pub(crate) mod shape_metric_filter_match_record;
  601         -
  602         -
pub(crate) mod shape_move_keys;
  603         -
  604         -
pub(crate) mod shape_open_search_integration_details;
  605         -
  606         -
pub(crate) mod shape_open_search_resource_config;
  607         -
  608         -
pub(crate) mod shape_output_log_event;
  609         -
  610         -
pub(crate) mod shape_parse_cloudfront;
  611         -
  612         -
pub(crate) mod shape_parse_json;
  613         -
  614         -
pub(crate) mod shape_parse_key_value;
  615         -
  616         -
pub(crate) mod shape_parse_postgres;
  617         -
  618         -
pub(crate) mod shape_parse_route53;
  619         -
  620         -
pub(crate) mod shape_parse_to_ocsf;
  621         -
  622         -
pub(crate) mod shape_parse_vpc;
  623         -
  624         -
pub(crate) mod shape_parse_waf;
  625         -
  626         -
pub(crate) mod shape_query_compile_error_location;
  627         -
  628         -
pub(crate) mod shape_query_definition;
  629         -
  630         -
pub(crate) mod shape_query_info;
  631         -
  632         -
pub(crate) mod shape_record_fields;
  633         -
  634         -
pub(crate) mod shape_rename_keys;
  635         -
  636         -
pub(crate) mod shape_resource_arns;
  637         -
  638         -
pub(crate) mod shape_result_rows;
  639         -
  640         -
pub(crate) mod shape_searched_log_stream;
  641         -
  642         -
pub(crate) mod shape_split_string;
  643         -
  644         -
pub(crate) mod shape_subscription_filter;
  645         -
  646         -
pub(crate) mod shape_substitute_string;
  647         -
  648         -
pub(crate) mod shape_transformed_log_record;
  649         -
  650         -
pub(crate) mod shape_trim_string;
  651         -
  652         -
pub(crate) mod shape_type_converter;
  653         -
  654         -
pub(crate) mod shape_upper_case_string;
  655         -
  656         -
pub(crate) mod shape_add_key_entry;
  657         -
  658         -
pub(crate) mod shape_allowed_field_delimiters;
  659         -
  660         -
pub(crate) mod shape_allowed_fields;
  661         -
  662         -
pub(crate) mod shape_configuration_template_delivery_config_values;
  663         -
  664         -
pub(crate) mod shape_copy_value_entry;
  665         -
  666         -
pub(crate) mod shape_emit_system_fields;
  667         -
  668         -
pub(crate) mod shape_export_task_execution_info;
  669         -
  670         -
pub(crate) mod shape_export_task_status;
  671         -
  672         -
pub(crate) mod shape_extracted_values;
  673         -
  674         -
pub(crate) mod shape_histogram;
  675         -
  676         -
pub(crate) mod shape_inherited_properties;
  677         -
  678         -
pub(crate) mod shape_log_group_names;
  679         -
  680         -
pub(crate) mod shape_log_samples;
  681         -
  682         -
pub(crate) mod shape_metric_transformations;
  683         -
  684         -
pub(crate) mod shape_move_key_entry;
  685         -
  686         -
pub(crate) mod shape_open_search_application;
  687         -
  688         -
pub(crate) mod shape_open_search_collection;
  689         -
  690         -
pub(crate) mod shape_open_search_data_access_policy;
  691         -
  692         -
pub(crate) mod shape_open_search_data_source;
  693         -
  694         -
pub(crate) mod shape_open_search_encryption_policy;
  695         -
  696         -
pub(crate) mod shape_open_search_lifecycle_policy;
  697         -
  698         -
pub(crate) mod shape_open_search_network_policy;
  699         -
  700         -
pub(crate) mod shape_open_search_workspace;
  701         -
  702         -
pub(crate) mod shape_output_formats;
  703         -
  704         -
pub(crate) mod shape_pattern_tokens;
  705         -
  706         -
pub(crate) mod shape_rename_key_entry;
  707         -
  708         -
pub(crate) mod shape_result_field;
  709         -
  710         -
pub(crate) mod shape_split_string_entry;
  711         -
  712         -
pub(crate) mod shape_substitute_string_entry;
  713         -
  714         -
pub(crate) mod shape_type_converter_entry;
  715         -
  716         -
pub(crate) mod shape_add_key_entries;
  717         -
  718         -
pub(crate) mod shape_columns;
  719         -
  720         -
pub(crate) mod shape_copy_value_entries;
          56  +
pub(crate) mod shape_session_streaming_exception;
  721     57   
  722         -
pub(crate) mod shape_delete_with_keys;
          58  +
pub(crate) mod shape_session_timeout_exception;
  723     59   
  724     60   
pub(crate) mod shape_input_log_stream_names;
  725     61   
  726     62   
pub(crate) mod shape_live_tail_session_metadata;
  727     63   
  728     64   
pub(crate) mod shape_live_tail_session_results;
  729     65   
  730         -
pub(crate) mod shape_log_event;
  731         -
  732         -
pub(crate) mod shape_lower_case_string_with_keys;
  733         -
  734         -
pub(crate) mod shape_match_patterns;
  735         -
  736         -
pub(crate) mod shape_move_key_entries;
  737         -
  738         -
pub(crate) mod shape_open_search_resource_status;
  739         -
  740         -
pub(crate) mod shape_pattern_token;
  741         -
  742         -
pub(crate) mod shape_record_field;
  743         -
  744         -
pub(crate) mod shape_rename_key_entries;
  745         -
  746         -
pub(crate) mod shape_split_string_entries;
  747         -
  748     66   
pub(crate) mod shape_start_live_tail_log_group_identifiers;
  749     67   
  750         -
pub(crate) mod shape_substitute_string_entries;
  751         -
  752         -
pub(crate) mod shape_trim_string_with_keys;
  753         -
  754         -
pub(crate) mod shape_type_converter_entries;
  755         -
  756         -
pub(crate) mod shape_upper_case_string_with_keys;
  757         -
  758         -
pub(crate) mod shape_dimensions;
  759         -
  760         -
pub(crate) mod shape_enumerations;
  761         -
  762     68   
pub(crate) mod shape_live_tail_session_log_event;