77 86 | runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
|
78 87 | }
|
79 88 | runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
|
80 89 | config_override,
|
81 90 | client_config.config.clone(),
|
82 91 | &client_config.runtime_components,
|
83 92 | ));
|
84 93 | }
|
85 94 | runtime_plugins
|
86 95 | }
|
96 + | /* OperationGenerator.kt:85 */
|
87 97 | }
|
98 + | /* OperationRuntimePluginGenerator.kt:55 */
|
88 99 | impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for GetStorage {
|
89 100 | fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
|
90 101 | let mut cfg = ::aws_smithy_types::config_bag::Layer::new("GetStorage");
|
91 102 |
|
92 103 | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
|
93 104 | GetStorageRequestSerializer,
|
94 105 | ));
|
95 106 | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
|
96 107 | GetStorageResponseDeserializer,
|
97 108 | ));
|
98 109 |
|
99 110 | cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
|
100 111 | ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
|
101 112 | ));
|
102 113 |
|
103 114 | cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
|
104 115 | "GetStorage",
|
105 116 | "PokemonService",
|
106 117 | ));
|
107 118 |
|
108 119 | ::std::option::Option::Some(cfg.freeze())
|
109 120 | }
|
110 121 |
|
111 122 | fn runtime_components(
|
112 123 | &self,
|
113 124 | _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
|
114 125 | ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
|
115 126 | #[allow(unused_mut)]
|
116 127 | let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("GetStorage")
|
117 128 | .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
|
118 129 | .with_interceptor(GetStorageEndpointParamsInterceptor)
|
119 130 | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
|
120 131 | crate::operation::get_storage::GetStorageError,
|
121 132 | >::new())
|
122 133 | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
|
123 134 | crate::operation::get_storage::GetStorageError,
|
124 135 | >::new());
|
125 136 |
|
126 137 | ::std::borrow::Cow::Owned(rcb)
|
127 138 | }
|
128 139 | }
|
129 140 |
|
141 + | /* ResponseDeserializerGenerator.kt:64 */
|
130 142 | #[derive(Debug)]
|
131 143 | struct GetStorageResponseDeserializer;
|
132 144 | impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for GetStorageResponseDeserializer {
|
133 145 | fn deserialize_nonstreaming(
|
134 146 | &self,
|
135 147 | response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
136 148 | ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
|
137 149 | let (success, status) = (response.status().is_success(), response.status().as_u16());
|
138 150 | let headers = response.headers();
|
139 151 | let body = response.body().bytes().expect("body loaded");
|
140 152 | #[allow(unused_mut)]
|
141 153 | let mut force_error = false;
|
142 154 |
|
143 155 | let parse_result = if !success && status != 200 || force_error {
|
144 156 | crate::protocol_serde::shape_get_storage::de_get_storage_http_error(status, headers, body)
|
145 157 | } else {
|
146 158 | crate::protocol_serde::shape_get_storage::de_get_storage_http_response(status, headers, body)
|
147 159 | };
|
148 160 | crate::protocol_serde::type_erase_result(parse_result)
|
149 161 | }
|
150 162 | }
|
163 + | /* RequestSerializerGenerator.kt:67 */
|
151 164 | #[derive(Debug)]
|
152 165 | struct GetStorageRequestSerializer;
|
153 166 | impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for GetStorageRequestSerializer {
|
154 167 | #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
|
155 168 | fn serialize_input(
|
156 169 | &self,
|
157 170 | input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
|
158 171 | _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
|
159 172 | ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
|
160 173 | let input = input.downcast::<crate::operation::get_storage::GetStorageInput>().expect("correct type");
|
161 174 | let _header_serialization_settings = _cfg
|
162 175 | .load::<crate::serialization_settings::HeaderSerializationSettings>()
|
163 176 | .cloned()
|
164 177 | .unwrap_or_default();
|
165 178 | let mut request_builder = {
|
166 179 | fn uri_base(
|
167 180 | _input: &crate::operation::get_storage::GetStorageInput,
|
168 181 | output: &mut ::std::string::String,
|
169 182 | ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
|
170 183 | use ::std::fmt::Write as _;
|
171 184 | let input_1 = &_input.user;
|
172 185 | let input_1 = input_1
|
173 186 | .as_ref()
|
174 187 | .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("user", "cannot be empty or unset"))?;
|
175 188 | let user = ::aws_smithy_http::label::fmt_string(input_1, ::aws_smithy_http::label::EncodingStrategy::Default);
|
176 189 | if user.is_empty() {
|
177 190 | return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
|
178 191 | "user",
|
179 192 | "cannot be empty or unset",
|
180 193 | ));
|
181 194 | }
|
182 195 | ::std::write!(output, "/pokedex/{user}", user = user).expect("formatting should succeed");
|
183 196 | ::std::result::Result::Ok(())
|
184 197 | }
|
185 198 | #[allow(clippy::unnecessary_wraps)]
|
186 199 | fn update_http_builder(
|
187 200 | input: &crate::operation::get_storage::GetStorageInput,
|
188 201 | builder: ::http::request::Builder,
|
189 202 | ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
|
190 203 | let mut uri = ::std::string::String::new();
|
191 204 | uri_base(input, &mut uri)?;
|
192 205 | let builder = crate::protocol_serde::shape_get_storage::ser_get_storage_headers(input, builder)?;
|
193 206 | ::std::result::Result::Ok(builder.method("GET").uri(uri))
|
194 207 | }
|
195 208 | let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
|
196 209 | builder
|
197 210 | };
|
198 211 | let body = ::aws_smithy_types::body::SdkBody::from("");
|
199 212 |
|
200 213 | ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
|
201 214 | }
|
202 215 | }
|
216 + | /* EndpointParamsInterceptorGenerator.kt:86 */
|
203 217 | #[derive(Debug)]
|
204 218 | struct GetStorageEndpointParamsInterceptor;
|
205 219 |
|
206 220 | impl ::aws_smithy_runtime_api::client::interceptors::Intercept for GetStorageEndpointParamsInterceptor {
|
207 221 | fn name(&self) -> &'static str {
|
208 222 | "GetStorageEndpointParamsInterceptor"
|
209 223 | }
|
210 224 |
|
211 225 | fn read_before_execution(
|
212 226 | &self,
|
213 227 | context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
|
214 228 | '_,
|
215 229 | ::aws_smithy_runtime_api::client::interceptors::context::Input,
|
216 230 | ::aws_smithy_runtime_api::client::interceptors::context::Output,
|
217 231 | ::aws_smithy_runtime_api::client::interceptors::context::Error,
|
218 232 | >,
|
219 233 | cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
|
220 234 | ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
|
221 235 | let _input = context
|
222 236 | .input()
|
223 237 | .downcast_ref::<GetStorageInput>()
|
224 238 | .ok_or("failed to downcast to GetStorageInput")?;
|
225 239 |
|
226 240 | let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
|
227 241 | ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
|
228 242 | })?;
|
229 243 | cfg.interceptor_state()
|
230 244 | .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
|
231 245 | ::std::result::Result::Ok(())
|
232 246 | }
|
233 247 | }
|
234 248 |
|
235 249 | // The get_* functions below are generated from JMESPath expressions in the
|
236 250 | // operationContextParams trait. They target the operation's input shape.
|
237 251 |
|
252 + | /* OperationErrorGenerator.kt:79 */
|
238 253 | /// Error type for the `GetStorageError` operation.
|
254 + | /* RustType.kt:516 */
|
239 255 | #[non_exhaustive]
|
256 + | /* RustType.kt:516 */
|
240 257 | #[derive(::std::fmt::Debug)]
|
241 - | pub enum GetStorageError {
|
242 - | /// 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.
|
258 + | pub /* OperationErrorGenerator.kt:81 */ enum GetStorageError {
|
259 + | /// /* 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.
|
260 + | /* OperationErrorGenerator.kt:86 */
|
243 261 | ValidationError(crate::types::error::ValidationError),
|
244 - | /// Not authorized to access Pokémon storage.
|
262 + | /// /* OperationErrorGenerator.kt:83 */Not authorized to access Pokémon storage.
|
263 + | /* OperationErrorGenerator.kt:86 */
|
245 264 | StorageAccessNotAuthorized(crate::types::error::StorageAccessNotAuthorized),
|
265 + | /* OperationErrorGenerator.kt:83 */
|
246 266 | #[allow(missing_docs)] // documentation missing in model
|
267 + | /* OperationErrorGenerator.kt:86 */
|
247 268 | ResourceNotFoundError(crate::types::error::ResourceNotFoundError),
|
269 + | /* OperationErrorGenerator.kt:88 */
|
248 270 | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
249 271 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
250 272 | variable wildcard pattern and check `.code()`:
|
251 273 | \
|
252 274 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
253 275 | \
|
254 276 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-GetStorageError) for what information is available for the error.")]
|
255 277 | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
278 + | /* OperationErrorGenerator.kt:81 */
|
256 279 | }
|
280 + | /* OperationErrorGenerator.kt:218 */
|
257 281 | impl GetStorageError {
|
282 + | /* OperationErrorGenerator.kt:219 */
|
258 283 | /// Creates the `GetStorageError::Unhandled` variant from any error type.
|
259 284 | pub fn unhandled(
|
260 285 | err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
|
261 286 | ) -> Self {
|
262 287 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
263 288 | source: err.into(),
|
264 289 | meta: ::std::default::Default::default(),
|
265 290 | })
|
266 291 | }
|
267 292 |
|
268 293 | /// Creates the `GetStorageError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
|
269 294 | pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
|
270 295 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
271 296 | source: err.clone().into(),
|
272 297 | meta: err,
|
273 298 | })
|
274 299 | }
|
275 - | ///
|
300 + | /// /* OperationErrorGenerator.kt:236 */
|
276 301 | /// Returns error metadata, which includes the error code, message,
|
277 302 | /// request ID, and potentially additional information.
|
278 303 | ///
|
304 + | /* OperationErrorGenerator.kt:242 */
|
279 305 | pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
306 + | /* OperationErrorGenerator.kt:243 */
|
280 307 | match self {
|
281 - | Self::ValidationError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
308 + | /* OperationErrorGenerator.kt:246 */ Self::ValidationError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
309 + | /* OperationErrorGenerator.kt:246 */
|
282 310 | Self::StorageAccessNotAuthorized(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
311 + | /* OperationErrorGenerator.kt:246 */
|
283 312 | Self::ResourceNotFoundError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
284 - | Self::Unhandled(e) => &e.meta,
|
313 + | /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
|
314 + | /* OperationErrorGenerator.kt:243 */
|
285 315 | }
|
316 + | /* OperationErrorGenerator.kt:242 */
|
286 317 | }
|
318 + | /* OperationErrorGenerator.kt:257 */
|
287 319 | /// Returns `true` if the error kind is `GetStorageError::ValidationError`.
|
320 + | /* OperationErrorGenerator.kt:258 */
|
288 321 | pub fn is_validation_error(&self) -> bool {
|
322 + | /* OperationErrorGenerator.kt:259 */
|
289 323 | matches!(self, Self::ValidationError(_))
|
324 + | /* OperationErrorGenerator.kt:258 */
|
290 325 | }
|
326 + | /* OperationErrorGenerator.kt:257 */
|
291 327 | /// Returns `true` if the error kind is `GetStorageError::StorageAccessNotAuthorized`.
|
328 + | /* OperationErrorGenerator.kt:258 */
|
292 329 | pub fn is_storage_access_not_authorized(&self) -> bool {
|
330 + | /* OperationErrorGenerator.kt:259 */
|
293 331 | matches!(self, Self::StorageAccessNotAuthorized(_))
|
332 + | /* OperationErrorGenerator.kt:258 */
|
294 333 | }
|
334 + | /* OperationErrorGenerator.kt:257 */
|
295 335 | /// Returns `true` if the error kind is `GetStorageError::ResourceNotFoundError`.
|
336 + | /* OperationErrorGenerator.kt:258 */
|
296 337 | pub fn is_resource_not_found_error(&self) -> bool {
|
338 + | /* OperationErrorGenerator.kt:259 */
|
297 339 | matches!(self, Self::ResourceNotFoundError(_))
|
340 + | /* OperationErrorGenerator.kt:258 */
|
298 341 | }
|
342 + | /* OperationErrorGenerator.kt:218 */
|
299 343 | }
|
344 + | /* OperationErrorGenerator.kt:269 */
|
300 345 | impl ::std::error::Error for GetStorageError {
|
346 + | /* OperationErrorGenerator.kt:270 */
|
301 347 | fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
348 + | /* OperationErrorGenerator.kt:318 */
|
302 349 | match self {
|
303 - | Self::ValidationError(_inner) => ::std::option::Option::Some(_inner),
|
304 - | Self::StorageAccessNotAuthorized(_inner) => ::std::option::Option::Some(_inner),
|
305 - | Self::ResourceNotFoundError(_inner) => ::std::option::Option::Some(_inner),
|
306 - | Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
|
350 + | /* OperationErrorGenerator.kt:321 */
|
351 + | Self::ValidationError(_inner) =>
|
352 + | /* OperationErrorGenerator.kt:283 */
|
353 + | {
|
354 + | ::std::option::Option::Some(_inner)
|
355 + | }
|
356 + | ,
|
357 + | /* OperationErrorGenerator.kt:321 */
|
358 + | Self::StorageAccessNotAuthorized(_inner) =>
|
359 + | /* OperationErrorGenerator.kt:283 */
|
360 + | {
|
361 + | ::std::option::Option::Some(_inner)
|
362 + | }
|
363 + | ,
|
364 + | /* OperationErrorGenerator.kt:321 */
|
365 + | Self::ResourceNotFoundError(_inner) =>
|
366 + | /* OperationErrorGenerator.kt:283 */
|
367 + | {
|
368 + | ::std::option::Option::Some(_inner)
|
369 + | }
|
370 + | ,
|
371 + | /* OperationErrorGenerator.kt:326 */
|
372 + | Self::Unhandled(_inner) => {
|
373 + | /* OperationErrorGenerator.kt:279 */
|
374 + | ::std::option::Option::Some(&*_inner.source)
|
375 + | /* OperationErrorGenerator.kt:326 */
|
376 + | } /* OperationErrorGenerator.kt:318 */
|
307 377 | }
|
378 + | /* OperationErrorGenerator.kt:270 */
|
308 379 | }
|
380 + | /* OperationErrorGenerator.kt:269 */
|
309 381 | }
|
382 + | /* OperationErrorGenerator.kt:133 */
|
310 383 | impl ::std::fmt::Display for GetStorageError {
|
384 + | /* OperationErrorGenerator.kt:134 */
|
311 385 | fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
386 + | /* OperationErrorGenerator.kt:318 */
|
312 387 | match self {
|
313 - | Self::ValidationError(_inner) => _inner.fmt(f),
|
314 - | Self::StorageAccessNotAuthorized(_inner) => _inner.fmt(f),
|
315 - | Self::ResourceNotFoundError(_inner) => _inner.fmt(f),
|
388 + | /* OperationErrorGenerator.kt:321 */
|
389 + | Self::ValidationError(_inner) =>
|
390 + | /* OperationErrorGenerator.kt:151 */
|
391 + | {
|
392 + | _inner.fmt(f)
|
393 + | }
|
394 + | ,
|
395 + | /* OperationErrorGenerator.kt:321 */
|
396 + | Self::StorageAccessNotAuthorized(_inner) =>
|
397 + | /* OperationErrorGenerator.kt:151 */
|
398 + | {
|
399 + | _inner.fmt(f)
|
400 + | }
|
401 + | ,
|
402 + | /* OperationErrorGenerator.kt:321 */
|
403 + | Self::ResourceNotFoundError(_inner) =>
|
404 + | /* OperationErrorGenerator.kt:151 */
|
405 + | {
|
406 + | _inner.fmt(f)
|
407 + | }
|
408 + | ,
|
409 + | /* OperationErrorGenerator.kt:326 */
|
316 410 | Self::Unhandled(_inner) => {
|
411 + | /* OperationErrorGenerator.kt:139 */
|
317 412 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
318 413 | write!(f, "unhandled error ({code})")
|
319 414 | } else {
|
320 415 | f.write_str("unhandled error")
|
321 416 | }
|
417 + | /* OperationErrorGenerator.kt:326 */
|
418 + | } /* OperationErrorGenerator.kt:318 */
|
322 419 | }
|
420 + | /* OperationErrorGenerator.kt:134 */
|
323 421 | }
|
324 - | }
|
422 + | /* OperationErrorGenerator.kt:133 */
|
325 423 | }
|
424 + | /* OperationErrorGenerator.kt:182 */
|
326 425 | impl ::aws_smithy_types::retry::ProvideErrorKind for GetStorageError {
|
426 + | /* OperationErrorGenerator.kt:186 */
|
327 427 | fn code(&self) -> ::std::option::Option<&str> {
|
428 + | /* OperationErrorGenerator.kt:187 */
|
328 429 | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
|
430 + | /* OperationErrorGenerator.kt:186 */
|
329 431 | }
|
432 + | /* OperationErrorGenerator.kt:190 */
|
330 433 | fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
|
434 + | /* OperationErrorGenerator.kt:197 */
|
331 435 | ::std::option::Option::None
|
436 + | /* OperationErrorGenerator.kt:190 */
|
332 437 | }
|
438 + | /* OperationErrorGenerator.kt:182 */
|
333 439 | }
|
440 + | /* OperationErrorGenerator.kt:163 */
|
334 441 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for GetStorageError {
|
442 + | /* OperationErrorGenerator.kt:164 */
|
335 443 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
444 + | /* OperationErrorGenerator.kt:318 */
|
336 445 | match self {
|
337 - | Self::ValidationError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
338 - | Self::StorageAccessNotAuthorized(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
339 - | Self::ResourceNotFoundError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
340 - | Self::Unhandled(_inner) => &_inner.meta,
|
446 + | /* OperationErrorGenerator.kt:321 */
|
447 + | Self::ValidationError(_inner) =>
|
448 + | /* OperationErrorGenerator.kt:169 */
|
449 + | {
|
450 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
451 + | }
|
452 + | ,
|
453 + | /* OperationErrorGenerator.kt:321 */
|
454 + | Self::StorageAccessNotAuthorized(_inner) =>
|
455 + | /* OperationErrorGenerator.kt:169 */
|
456 + | {
|
457 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
458 + | }
|
459 + | ,
|
460 + | /* OperationErrorGenerator.kt:321 */
|
461 + | Self::ResourceNotFoundError(_inner) =>
|
462 + | /* OperationErrorGenerator.kt:169 */
|
463 + | {
|
464 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
465 + | }
|
466 + | ,
|
467 + | /* OperationErrorGenerator.kt:326 */
|
468 + | Self::Unhandled(_inner) => {
|
469 + | /* OperationErrorGenerator.kt:168 */
|
470 + | &_inner.meta
|
471 + | /* OperationErrorGenerator.kt:326 */
|
472 + | } /* OperationErrorGenerator.kt:318 */
|
341 473 | }
|
474 + | /* OperationErrorGenerator.kt:164 */
|
342 475 | }
|
476 + | /* OperationErrorGenerator.kt:163 */
|
343 477 | }
|
478 + | /* OperationErrorGenerator.kt:109 */
|
344 479 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for GetStorageError {
|
480 + | /* OperationErrorGenerator.kt:110 */
|
345 481 | fn create_unhandled_error(
|
346 482 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
347 483 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
348 484 | ) -> Self {
|
485 + | /* OperationErrorGenerator.kt:121 */
|
349 486 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
350 487 | source,
|
351 488 | meta: meta.unwrap_or_default(),
|
352 489 | })
|
490 + | /* OperationErrorGenerator.kt:110 */
|
353 491 | }
|
492 + | /* OperationErrorGenerator.kt:109 */
|
354 493 | }
|
355 494 |
|
495 + | /* CodegenDelegator.kt:255 */
|
356 496 | pub use crate::operation::get_storage::_get_storage_output::GetStorageOutput;
|
357 497 |
|
498 + | /* CodegenDelegator.kt:255 */
|
358 499 | pub use crate::operation::get_storage::_get_storage_input::GetStorageInput;
|
359 500 |
|
501 + | /* RustModule.kt:172 */
|
360 502 | mod _get_storage_input;
|
361 503 |
|
504 + | /* RustModule.kt:172 */
|
362 505 | mod _get_storage_output;
|
363 506 |
|
364 - | /// Builders
|
507 + | /// /* CodegenDelegator.kt:51 */Builders
|
365 508 | pub mod builders;
|