83 92 | runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
|
84 93 | }
|
85 94 | runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
|
86 95 | config_override,
|
87 96 | client_config.config.clone(),
|
88 97 | &client_config.runtime_components,
|
89 98 | ));
|
90 99 | }
|
91 100 | runtime_plugins
|
92 101 | }
|
102 + | /* OperationGenerator.kt:85 */
|
93 103 | }
|
104 + | /* OperationRuntimePluginGenerator.kt:55 */
|
94 105 | impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for EscapedStringValues {
|
95 106 | fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
|
96 107 | let mut cfg = ::aws_smithy_types::config_bag::Layer::new("EscapedStringValues");
|
97 108 |
|
98 109 | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
|
99 110 | EscapedStringValuesRequestSerializer,
|
100 111 | ));
|
101 112 | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
|
102 113 | EscapedStringValuesResponseDeserializer,
|
103 114 | ));
|
104 115 |
|
105 116 | cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
|
106 117 | ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
|
107 118 | ));
|
108 119 |
|
109 120 | cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
|
110 121 | "EscapedStringValues",
|
111 122 | "Rest Json Protocol",
|
112 123 | ));
|
113 124 |
|
114 125 | ::std::option::Option::Some(cfg.freeze())
|
115 126 | }
|
116 127 |
|
117 128 | fn runtime_components(
|
118 129 | &self,
|
119 130 | _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
|
120 131 | ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
|
121 132 | #[allow(unused_mut)]
|
122 133 | let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("EscapedStringValues")
|
123 134 | .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
|
124 135 | .with_interceptor(EscapedStringValuesEndpointParamsInterceptor)
|
125 136 | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
|
126 137 | crate::operation::escaped_string_values::EscapedStringValuesError,
|
127 138 | >::new())
|
128 139 | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
|
129 140 | crate::operation::escaped_string_values::EscapedStringValuesError,
|
130 141 | >::new());
|
131 142 |
|
132 143 | ::std::borrow::Cow::Owned(rcb)
|
133 144 | }
|
134 145 | }
|
135 146 |
|
147 + | /* ResponseDeserializerGenerator.kt:64 */
|
136 148 | #[derive(Debug)]
|
137 149 | struct EscapedStringValuesResponseDeserializer;
|
138 150 | impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for EscapedStringValuesResponseDeserializer {
|
139 151 | fn deserialize_nonstreaming(
|
140 152 | &self,
|
141 153 | response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
142 154 | ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
|
143 155 | let (success, status) = (response.status().is_success(), response.status().as_u16());
|
144 156 | let headers = response.headers();
|
145 157 | let body = response.body().bytes().expect("body loaded");
|
146 158 | #[allow(unused_mut)]
|
147 159 | let mut force_error = false;
|
148 160 |
|
149 161 | let parse_result = if !success && status != 200 || force_error {
|
150 162 | crate::protocol_serde::shape_escaped_string_values::de_escaped_string_values_http_error(status, headers, body)
|
151 163 | } else {
|
152 164 | crate::protocol_serde::shape_escaped_string_values::de_escaped_string_values_http_response(status, headers, body)
|
153 165 | };
|
154 166 | crate::protocol_serde::type_erase_result(parse_result)
|
155 167 | }
|
156 168 | }
|
169 + | /* RequestSerializerGenerator.kt:67 */
|
157 170 | #[derive(Debug)]
|
158 171 | struct EscapedStringValuesRequestSerializer;
|
159 172 | impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for EscapedStringValuesRequestSerializer {
|
160 173 | #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
|
161 174 | fn serialize_input(
|
162 175 | &self,
|
163 176 | input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
|
164 177 | _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
|
165 178 | ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
|
166 179 | let input = input
|
167 180 | .downcast::<crate::operation::escaped_string_values::EscapedStringValuesInput>()
|
168 181 | .expect("correct type");
|
169 182 | let _header_serialization_settings = _cfg
|
170 183 | .load::<crate::serialization_settings::HeaderSerializationSettings>()
|
171 184 | .cloned()
|
172 185 | .unwrap_or_default();
|
173 186 | let mut request_builder = {
|
174 187 | fn uri_base(
|
175 188 | _input: &crate::operation::escaped_string_values::EscapedStringValuesInput,
|
176 189 | output: &mut ::std::string::String,
|
177 190 | ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
|
178 191 | use ::std::fmt::Write as _;
|
179 192 | ::std::write!(output, "/escaped-string-values").expect("formatting should succeed");
|
180 193 | ::std::result::Result::Ok(())
|
181 194 | }
|
182 195 | #[allow(clippy::unnecessary_wraps)]
|
183 196 | fn update_http_builder(
|
184 197 | input: &crate::operation::escaped_string_values::EscapedStringValuesInput,
|
185 198 | builder: ::http::request::Builder,
|
186 199 | ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
|
187 200 | let mut uri = ::std::string::String::new();
|
188 201 | uri_base(input, &mut uri)?;
|
189 202 | ::std::result::Result::Ok(builder.method("POST").uri(uri))
|
190 203 | }
|
191 204 | let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
|
192 205 | builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
|
193 206 | builder
|
194 207 | };
|
195 208 | let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_escaped_string_values::ser_escaped_string_values_input(
|
196 209 | &input,
|
197 210 | )?);
|
198 211 | if let Some(content_length) = body.content_length() {
|
199 212 | let content_length = content_length.to_string();
|
200 213 | request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
|
201 214 | }
|
202 215 | ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
|
203 216 | }
|
204 217 | }
|
218 + | /* EndpointParamsInterceptorGenerator.kt:86 */
|
205 219 | #[derive(Debug)]
|
206 220 | struct EscapedStringValuesEndpointParamsInterceptor;
|
207 221 |
|
208 222 | impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EscapedStringValuesEndpointParamsInterceptor {
|
209 223 | fn name(&self) -> &'static str {
|
210 224 | "EscapedStringValuesEndpointParamsInterceptor"
|
211 225 | }
|
212 226 |
|
213 227 | fn read_before_execution(
|
214 228 | &self,
|
215 229 | context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
|
216 230 | '_,
|
217 231 | ::aws_smithy_runtime_api::client::interceptors::context::Input,
|
218 232 | ::aws_smithy_runtime_api::client::interceptors::context::Output,
|
219 233 | ::aws_smithy_runtime_api::client::interceptors::context::Error,
|
220 234 | >,
|
221 235 | cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
|
222 236 | ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
|
223 237 | let _input = context
|
224 238 | .input()
|
225 239 | .downcast_ref::<EscapedStringValuesInput>()
|
226 240 | .ok_or("failed to downcast to EscapedStringValuesInput")?;
|
227 241 |
|
228 242 | let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
|
229 243 | ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
|
230 244 | })?;
|
231 245 | cfg.interceptor_state()
|
232 246 | .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
|
233 247 | ::std::result::Result::Ok(())
|
234 248 | }
|
235 249 | }
|
236 250 |
|
237 251 | // The get_* functions below are generated from JMESPath expressions in the
|
238 252 | // operationContextParams trait. They target the operation's input shape.
|
239 253 |
|
254 + | /* RustType.kt:516 */
|
240 255 | #[allow(unreachable_code, unused_variables)]
|
256 + | /* RustType.kt:516 */
|
241 257 | #[cfg(test)]
|
258 + | /* ProtocolTestGenerator.kt:98 */
|
242 259 | mod escaped_string_values_test {
|
243 260 |
|
244 261 | /// Test ID: EscapedStringValuesRequest
|
245 262 | #[::tokio::test]
|
246 263 | #[::tracing_test::traced_test]
|
247 264 | async fn escaped_string_values_request_request() {
|
248 265 | let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
|
249 266 | let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
|
250 267 |
|
251 268 | let client = crate::Client::from_conf(config_builder.http_client(http_client).build());
|
356 373 | });
|
357 374 | let parsed = parsed.expect_err("should be error response");
|
358 375 | let parsed: &crate::operation::escaped_string_values::EscapedStringValuesError =
|
359 376 | parsed.as_operation_error().expect("operation error").downcast_ref().unwrap();
|
360 377 | if let crate::operation::escaped_string_values::EscapedStringValuesError::ExtraError(parsed) = parsed {
|
361 378 | ::pretty_assertions::assert_eq!(parsed.message, expected_output.message, "Unexpected value for `message`");
|
362 379 | } else {
|
363 380 | panic!("wrong variant: Got: {:?}. Expected: {:?}", parsed, expected_output);
|
364 381 | }
|
365 382 | }
|
383 + |
|
384 + | /* ProtocolTestGenerator.kt:98 */
|
366 385 | }
|
367 386 |
|
387 + | /* OperationErrorGenerator.kt:79 */
|
368 388 | /// Error type for the `EscapedStringValuesError` operation.
|
389 + | /* RustType.kt:516 */
|
369 390 | #[non_exhaustive]
|
391 + | /* RustType.kt:516 */
|
370 392 | #[derive(::std::fmt::Debug)]
|
371 - | pub enum EscapedStringValuesError {
|
372 - | /// A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
|
393 + | pub /* OperationErrorGenerator.kt:81 */ enum EscapedStringValuesError {
|
394 + | /// /* OperationErrorGenerator.kt:83 */A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
|
395 + | /* OperationErrorGenerator.kt:86 */
|
373 396 | ValidationError(crate::types::error::ValidationError),
|
397 + | /* OperationErrorGenerator.kt:83 */
|
374 398 | #[allow(missing_docs)] // documentation missing in model
|
399 + | /* OperationErrorGenerator.kt:86 */
|
375 400 | ExtraError(crate::types::error::ExtraError),
|
401 + | /* OperationErrorGenerator.kt:88 */
|
376 402 | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
377 403 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
378 404 | variable wildcard pattern and check `.code()`:
|
379 405 | \
|
380 406 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
381 407 | \
|
382 408 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-EscapedStringValuesError) for what information is available for the error.")]
|
383 409 | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
410 + | /* OperationErrorGenerator.kt:81 */
|
384 411 | }
|
412 + | /* OperationErrorGenerator.kt:218 */
|
385 413 | impl EscapedStringValuesError {
|
414 + | /* OperationErrorGenerator.kt:219 */
|
386 415 | /// Creates the `EscapedStringValuesError::Unhandled` variant from any error type.
|
387 416 | pub fn unhandled(
|
388 417 | err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
|
389 418 | ) -> Self {
|
390 419 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
391 420 | source: err.into(),
|
392 421 | meta: ::std::default::Default::default(),
|
393 422 | })
|
394 423 | }
|
395 424 |
|
396 425 | /// Creates the `EscapedStringValuesError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
|
397 426 | pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
|
398 427 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
399 428 | source: err.clone().into(),
|
400 429 | meta: err,
|
401 430 | })
|
402 431 | }
|
403 - | ///
|
432 + | /// /* OperationErrorGenerator.kt:236 */
|
404 433 | /// Returns error metadata, which includes the error code, message,
|
405 434 | /// request ID, and potentially additional information.
|
406 435 | ///
|
436 + | /* OperationErrorGenerator.kt:242 */
|
407 437 | pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
438 + | /* OperationErrorGenerator.kt:243 */
|
408 439 | match self {
|
409 - | Self::ValidationError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
410 - | Self::ExtraError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
411 - | Self::Unhandled(e) => &e.meta,
|
440 + | /* OperationErrorGenerator.kt:246 */ Self::ValidationError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
441 + | /* OperationErrorGenerator.kt:246 */ Self::ExtraError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
442 + | /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
|
443 + | /* OperationErrorGenerator.kt:243 */
|
412 444 | }
|
445 + | /* OperationErrorGenerator.kt:242 */
|
413 446 | }
|
447 + | /* OperationErrorGenerator.kt:257 */
|
414 448 | /// Returns `true` if the error kind is `EscapedStringValuesError::ValidationError`.
|
449 + | /* OperationErrorGenerator.kt:258 */
|
415 450 | pub fn is_validation_error(&self) -> bool {
|
451 + | /* OperationErrorGenerator.kt:259 */
|
416 452 | matches!(self, Self::ValidationError(_))
|
453 + | /* OperationErrorGenerator.kt:258 */
|
417 454 | }
|
455 + | /* OperationErrorGenerator.kt:257 */
|
418 456 | /// Returns `true` if the error kind is `EscapedStringValuesError::ExtraError`.
|
457 + | /* OperationErrorGenerator.kt:258 */
|
419 458 | pub fn is_extra_error(&self) -> bool {
|
459 + | /* OperationErrorGenerator.kt:259 */
|
420 460 | matches!(self, Self::ExtraError(_))
|
461 + | /* OperationErrorGenerator.kt:258 */
|
421 462 | }
|
463 + | /* OperationErrorGenerator.kt:218 */
|
422 464 | }
|
465 + | /* OperationErrorGenerator.kt:269 */
|
423 466 | impl ::std::error::Error for EscapedStringValuesError {
|
467 + | /* OperationErrorGenerator.kt:270 */
|
424 468 | fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
469 + | /* OperationErrorGenerator.kt:318 */
|
425 470 | match self {
|
426 - | Self::ValidationError(_inner) => ::std::option::Option::Some(_inner),
|
427 - | Self::ExtraError(_inner) => ::std::option::Option::Some(_inner),
|
428 - | Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
|
471 + | /* OperationErrorGenerator.kt:321 */
|
472 + | Self::ValidationError(_inner) =>
|
473 + | /* OperationErrorGenerator.kt:283 */
|
474 + | {
|
475 + | ::std::option::Option::Some(_inner)
|
476 + | }
|
477 + | ,
|
478 + | /* OperationErrorGenerator.kt:321 */
|
479 + | Self::ExtraError(_inner) =>
|
480 + | /* OperationErrorGenerator.kt:283 */
|
481 + | {
|
482 + | ::std::option::Option::Some(_inner)
|
483 + | }
|
484 + | ,
|
485 + | /* OperationErrorGenerator.kt:326 */
|
486 + | Self::Unhandled(_inner) => {
|
487 + | /* OperationErrorGenerator.kt:279 */
|
488 + | ::std::option::Option::Some(&*_inner.source)
|
489 + | /* OperationErrorGenerator.kt:326 */
|
490 + | } /* OperationErrorGenerator.kt:318 */
|
429 491 | }
|
492 + | /* OperationErrorGenerator.kt:270 */
|
430 493 | }
|
494 + | /* OperationErrorGenerator.kt:269 */
|
431 495 | }
|
496 + | /* OperationErrorGenerator.kt:133 */
|
432 497 | impl ::std::fmt::Display for EscapedStringValuesError {
|
498 + | /* OperationErrorGenerator.kt:134 */
|
433 499 | fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
500 + | /* OperationErrorGenerator.kt:318 */
|
434 501 | match self {
|
435 - | Self::ValidationError(_inner) => _inner.fmt(f),
|
436 - | Self::ExtraError(_inner) => _inner.fmt(f),
|
502 + | /* OperationErrorGenerator.kt:321 */
|
503 + | Self::ValidationError(_inner) =>
|
504 + | /* OperationErrorGenerator.kt:151 */
|
505 + | {
|
506 + | _inner.fmt(f)
|
507 + | }
|
508 + | ,
|
509 + | /* OperationErrorGenerator.kt:321 */
|
510 + | Self::ExtraError(_inner) =>
|
511 + | /* OperationErrorGenerator.kt:151 */
|
512 + | {
|
513 + | _inner.fmt(f)
|
514 + | }
|
515 + | ,
|
516 + | /* OperationErrorGenerator.kt:326 */
|
437 517 | Self::Unhandled(_inner) => {
|
518 + | /* OperationErrorGenerator.kt:139 */
|
438 519 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
439 520 | write!(f, "unhandled error ({code})")
|
440 521 | } else {
|
441 522 | f.write_str("unhandled error")
|
442 523 | }
|
524 + | /* OperationErrorGenerator.kt:326 */
|
525 + | } /* OperationErrorGenerator.kt:318 */
|
443 526 | }
|
527 + | /* OperationErrorGenerator.kt:134 */
|
444 528 | }
|
445 - | }
|
529 + | /* OperationErrorGenerator.kt:133 */
|
446 530 | }
|
531 + | /* OperationErrorGenerator.kt:182 */
|
447 532 | impl ::aws_smithy_types::retry::ProvideErrorKind for EscapedStringValuesError {
|
533 + | /* OperationErrorGenerator.kt:186 */
|
448 534 | fn code(&self) -> ::std::option::Option<&str> {
|
535 + | /* OperationErrorGenerator.kt:187 */
|
449 536 | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
|
537 + | /* OperationErrorGenerator.kt:186 */
|
450 538 | }
|
539 + | /* OperationErrorGenerator.kt:190 */
|
451 540 | fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
|
541 + | /* OperationErrorGenerator.kt:197 */
|
452 542 | ::std::option::Option::None
|
543 + | /* OperationErrorGenerator.kt:190 */
|
453 544 | }
|
545 + | /* OperationErrorGenerator.kt:182 */
|
454 546 | }
|
547 + | /* OperationErrorGenerator.kt:163 */
|
455 548 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for EscapedStringValuesError {
|
549 + | /* OperationErrorGenerator.kt:164 */
|
456 550 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
551 + | /* OperationErrorGenerator.kt:318 */
|
457 552 | match self {
|
458 - | Self::ValidationError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
459 - | Self::ExtraError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
460 - | Self::Unhandled(_inner) => &_inner.meta,
|
553 + | /* OperationErrorGenerator.kt:321 */
|
554 + | Self::ValidationError(_inner) =>
|
555 + | /* OperationErrorGenerator.kt:169 */
|
556 + | {
|
557 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
558 + | }
|
559 + | ,
|
560 + | /* OperationErrorGenerator.kt:321 */
|
561 + | Self::ExtraError(_inner) =>
|
562 + | /* OperationErrorGenerator.kt:169 */
|
563 + | {
|
564 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
565 + | }
|
566 + | ,
|
567 + | /* OperationErrorGenerator.kt:326 */
|
568 + | Self::Unhandled(_inner) => {
|
569 + | /* OperationErrorGenerator.kt:168 */
|
570 + | &_inner.meta
|
571 + | /* OperationErrorGenerator.kt:326 */
|
572 + | } /* OperationErrorGenerator.kt:318 */
|
461 573 | }
|
574 + | /* OperationErrorGenerator.kt:164 */
|
462 575 | }
|
576 + | /* OperationErrorGenerator.kt:163 */
|
463 577 | }
|
578 + | /* OperationErrorGenerator.kt:109 */
|
464 579 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for EscapedStringValuesError {
|
580 + | /* OperationErrorGenerator.kt:110 */
|
465 581 | fn create_unhandled_error(
|
466 582 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
467 583 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
468 584 | ) -> Self {
|
585 + | /* OperationErrorGenerator.kt:121 */
|
469 586 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
470 587 | source,
|
471 588 | meta: meta.unwrap_or_default(),
|
472 589 | })
|
590 + | /* OperationErrorGenerator.kt:110 */
|
473 591 | }
|
592 + | /* OperationErrorGenerator.kt:109 */
|
474 593 | }
|
475 594 |
|
595 + | /* CodegenDelegator.kt:255 */
|
476 596 | pub use crate::operation::escaped_string_values::_escaped_string_values_output::EscapedStringValuesOutput;
|
477 597 |
|
598 + | /* CodegenDelegator.kt:255 */
|
478 599 | pub use crate::operation::escaped_string_values::_escaped_string_values_input::EscapedStringValuesInput;
|
479 600 |
|
601 + | /* RustModule.kt:172 */
|
480 602 | mod _escaped_string_values_input;
|
481 603 |
|
604 + | /* RustModule.kt:172 */
|
482 605 | mod _escaped_string_values_output;
|
483 606 |
|
484 - | /// Builders
|
607 + | /// /* CodegenDelegator.kt:51 */Builders
|
485 608 | pub mod builders;
|