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 DescribeExport {
|
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("DescribeExport");
|
91 102 |
|
92 103 | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
|
93 104 | DescribeExportRequestSerializer,
|
94 105 | ));
|
95 106 | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
|
96 107 | DescribeExportResponseDeserializer,
|
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 | "DescribeExport",
|
105 116 | "DynamoDB",
|
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("DescribeExport")
|
117 128 | .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
|
118 129 | .with_interceptor(DescribeExportEndpointParamsInterceptor)
|
119 130 | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
|
120 131 | crate::operation::describe_export::DescribeExportError,
|
121 132 | >::new())
|
122 133 | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
|
123 134 | crate::operation::describe_export::DescribeExportError,
|
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 DescribeExportResponseDeserializer;
|
132 144 | impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DescribeExportResponseDeserializer {
|
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_describe_export::de_describe_export_http_error(status, headers, body)
|
145 157 | } else {
|
146 158 | crate::protocol_serde::shape_describe_export::de_describe_export_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 DescribeExportRequestSerializer;
|
153 166 | impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for DescribeExportRequestSerializer {
|
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
|
161 174 | .downcast::<crate::operation::describe_export::DescribeExportInput>()
|
162 175 | .expect("correct type");
|
163 176 | let _header_serialization_settings = _cfg
|
164 177 | .load::<crate::serialization_settings::HeaderSerializationSettings>()
|
165 178 | .cloned()
|
166 179 | .unwrap_or_default();
|
167 180 | let mut request_builder = {
|
168 181 | fn uri_base(
|
169 182 | _input: &crate::operation::describe_export::DescribeExportInput,
|
170 183 | output: &mut ::std::string::String,
|
171 184 | ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
|
172 185 | use ::std::fmt::Write as _;
|
173 186 | ::std::write!(output, "/").expect("formatting should succeed");
|
174 187 | ::std::result::Result::Ok(())
|
175 188 | }
|
176 189 | #[allow(clippy::unnecessary_wraps)]
|
177 190 | fn update_http_builder(
|
178 191 | input: &crate::operation::describe_export::DescribeExportInput,
|
179 192 | builder: ::http::request::Builder,
|
180 193 | ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
|
181 194 | let mut uri = ::std::string::String::new();
|
182 195 | uri_base(input, &mut uri)?;
|
183 196 | ::std::result::Result::Ok(builder.method("POST").uri(uri))
|
184 197 | }
|
185 198 | let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
|
186 199 | builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.0");
|
187 200 | builder = _header_serialization_settings.set_default_header(
|
188 201 | builder,
|
189 202 | ::http::header::HeaderName::from_static("x-amz-target"),
|
190 203 | "DynamoDB_20120810.DescribeExport",
|
191 204 | );
|
192 205 | builder
|
193 206 | };
|
194 207 | let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_describe_export::ser_describe_export_input(&input)?);
|
195 208 | if let Some(content_length) = body.content_length() {
|
196 209 | let content_length = content_length.to_string();
|
197 210 | request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
|
198 211 | }
|
199 212 | ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
|
200 213 | }
|
201 214 | }
|
215 + | /* EndpointParamsInterceptorGenerator.kt:86 */
|
202 216 | #[derive(Debug)]
|
203 217 | struct DescribeExportEndpointParamsInterceptor;
|
204 218 |
|
205 219 | impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeExportEndpointParamsInterceptor {
|
206 220 | fn name(&self) -> &'static str {
|
207 221 | "DescribeExportEndpointParamsInterceptor"
|
208 222 | }
|
209 223 |
|
210 224 | fn read_before_execution(
|
211 225 | &self,
|
212 226 | context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
|
213 227 | '_,
|
214 228 | ::aws_smithy_runtime_api::client::interceptors::context::Input,
|
215 229 | ::aws_smithy_runtime_api::client::interceptors::context::Output,
|
216 230 | ::aws_smithy_runtime_api::client::interceptors::context::Error,
|
217 231 | >,
|
218 232 | cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
|
219 233 | ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
|
220 234 | let _input = context
|
221 235 | .input()
|
222 236 | .downcast_ref::<DescribeExportInput>()
|
223 237 | .ok_or("failed to downcast to DescribeExportInput")?;
|
224 238 |
|
225 239 | let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
|
226 240 | ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
|
227 241 | })?;
|
228 242 | cfg.interceptor_state()
|
229 243 | .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
|
230 244 | ::std::result::Result::Ok(())
|
231 245 | }
|
232 246 | }
|
233 247 |
|
234 248 | // The get_* functions below are generated from JMESPath expressions in the
|
235 249 | // operationContextParams trait. They target the operation's input shape.
|
236 250 |
|
251 + | /* OperationErrorGenerator.kt:79 */
|
237 252 | /// Error type for the `DescribeExportError` operation.
|
253 + | /* RustType.kt:516 */
|
238 254 | #[non_exhaustive]
|
255 + | /* RustType.kt:516 */
|
239 256 | #[derive(::std::fmt::Debug)]
|
240 - | pub enum DescribeExportError {
|
241 - | /// <p>The specified export was not found.</p>
|
257 + | pub /* OperationErrorGenerator.kt:81 */ enum DescribeExportError {
|
258 + | /// /* OperationErrorGenerator.kt:83 */<p>The specified export was not found.</p>
|
259 + | /* OperationErrorGenerator.kt:86 */
|
242 260 | ExportNotFoundError(crate::types::error::ExportNotFoundError),
|
243 - | /// <p>An error occurred on the server side.</p>
|
261 + | /// /* OperationErrorGenerator.kt:83 */<p>An error occurred on the server side.</p>
|
262 + | /* OperationErrorGenerator.kt:86 */
|
244 263 | InternalServerError(crate::types::error::InternalServerError),
|
245 - | /// <p>There is no limit to the number of daily on-demand backups that can be taken.</p>
|
264 + | /// /* OperationErrorGenerator.kt:83 */<p>There is no limit to the number of daily on-demand backups that can be taken.</p>
|
246 265 | /// <p>Up to 50 simultaneous table operations are allowed per account. These operations include <code>CreateTable</code>, <code>UpdateTable</code>, <code>DeleteTable</code>,<code>UpdateTimeToLive</code>, <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>.</p>
|
247 266 | /// <p>The only exception is when you are creating a table with one or more secondary indexes. You can have up to 25 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily reduce the number of concurrent operations.</p>
|
248 267 | /// <p>There is a soft account quota of 256 tables.</p>
|
268 + | /* OperationErrorGenerator.kt:86 */
|
249 269 | LimitExceededError(crate::types::error::LimitExceededError),
|
270 + | /* OperationErrorGenerator.kt:88 */
|
250 271 | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
251 272 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
252 273 | variable wildcard pattern and check `.code()`:
|
253 274 | \
|
254 275 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
255 276 | \
|
256 277 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-DescribeExportError) for what information is available for the error.")]
|
257 278 | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
279 + | /* OperationErrorGenerator.kt:81 */
|
258 280 | }
|
281 + | /* OperationErrorGenerator.kt:218 */
|
259 282 | impl DescribeExportError {
|
283 + | /* OperationErrorGenerator.kt:219 */
|
260 284 | /// Creates the `DescribeExportError::Unhandled` variant from any error type.
|
261 285 | pub fn unhandled(
|
262 286 | err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
|
263 287 | ) -> Self {
|
264 288 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
265 289 | source: err.into(),
|
266 290 | meta: ::std::default::Default::default(),
|
267 291 | })
|
268 292 | }
|
269 293 |
|
270 294 | /// Creates the `DescribeExportError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
|
271 295 | pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
|
272 296 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
273 297 | source: err.clone().into(),
|
274 298 | meta: err,
|
275 299 | })
|
276 300 | }
|
277 - | ///
|
301 + | /// /* OperationErrorGenerator.kt:236 */
|
278 302 | /// Returns error metadata, which includes the error code, message,
|
279 303 | /// request ID, and potentially additional information.
|
280 304 | ///
|
305 + | /* OperationErrorGenerator.kt:242 */
|
281 306 | pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
307 + | /* OperationErrorGenerator.kt:243 */
|
282 308 | match self {
|
309 + | /* OperationErrorGenerator.kt:246 */
|
283 310 | Self::ExportNotFoundError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
311 + | /* OperationErrorGenerator.kt:246 */
|
284 312 | Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
313 + | /* OperationErrorGenerator.kt:246 */
|
285 314 | Self::LimitExceededError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
286 - | Self::Unhandled(e) => &e.meta,
|
315 + | /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
|
316 + | /* OperationErrorGenerator.kt:243 */
|
287 317 | }
|
318 + | /* OperationErrorGenerator.kt:242 */
|
288 319 | }
|
320 + | /* OperationErrorGenerator.kt:257 */
|
289 321 | /// Returns `true` if the error kind is `DescribeExportError::ExportNotFoundError`.
|
322 + | /* OperationErrorGenerator.kt:258 */
|
290 323 | pub fn is_export_not_found_error(&self) -> bool {
|
324 + | /* OperationErrorGenerator.kt:259 */
|
291 325 | matches!(self, Self::ExportNotFoundError(_))
|
326 + | /* OperationErrorGenerator.kt:258 */
|
292 327 | }
|
328 + | /* OperationErrorGenerator.kt:257 */
|
293 329 | /// Returns `true` if the error kind is `DescribeExportError::InternalServerError`.
|
330 + | /* OperationErrorGenerator.kt:258 */
|
294 331 | pub fn is_internal_server_error(&self) -> bool {
|
332 + | /* OperationErrorGenerator.kt:259 */
|
295 333 | matches!(self, Self::InternalServerError(_))
|
334 + | /* OperationErrorGenerator.kt:258 */
|
296 335 | }
|
336 + | /* OperationErrorGenerator.kt:257 */
|
297 337 | /// Returns `true` if the error kind is `DescribeExportError::LimitExceededError`.
|
338 + | /* OperationErrorGenerator.kt:258 */
|
298 339 | pub fn is_limit_exceeded_error(&self) -> bool {
|
340 + | /* OperationErrorGenerator.kt:259 */
|
299 341 | matches!(self, Self::LimitExceededError(_))
|
342 + | /* OperationErrorGenerator.kt:258 */
|
300 343 | }
|
344 + | /* OperationErrorGenerator.kt:218 */
|
301 345 | }
|
346 + | /* OperationErrorGenerator.kt:269 */
|
302 347 | impl ::std::error::Error for DescribeExportError {
|
348 + | /* OperationErrorGenerator.kt:270 */
|
303 349 | fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
350 + | /* OperationErrorGenerator.kt:318 */
|
304 351 | match self {
|
305 - | Self::ExportNotFoundError(_inner) => ::std::option::Option::Some(_inner),
|
306 - | Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner),
|
307 - | Self::LimitExceededError(_inner) => ::std::option::Option::Some(_inner),
|
308 - | Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
|
352 + | /* OperationErrorGenerator.kt:321 */
|
353 + | Self::ExportNotFoundError(_inner) =>
|
354 + | /* OperationErrorGenerator.kt:283 */
|
355 + | {
|
356 + | ::std::option::Option::Some(_inner)
|
357 + | }
|
358 + | ,
|
359 + | /* OperationErrorGenerator.kt:321 */
|
360 + | Self::InternalServerError(_inner) =>
|
361 + | /* OperationErrorGenerator.kt:283 */
|
362 + | {
|
363 + | ::std::option::Option::Some(_inner)
|
364 + | }
|
365 + | ,
|
366 + | /* OperationErrorGenerator.kt:321 */
|
367 + | Self::LimitExceededError(_inner) =>
|
368 + | /* OperationErrorGenerator.kt:283 */
|
369 + | {
|
370 + | ::std::option::Option::Some(_inner)
|
371 + | }
|
372 + | ,
|
373 + | /* OperationErrorGenerator.kt:326 */
|
374 + | Self::Unhandled(_inner) => {
|
375 + | /* OperationErrorGenerator.kt:279 */
|
376 + | ::std::option::Option::Some(&*_inner.source)
|
377 + | /* OperationErrorGenerator.kt:326 */
|
378 + | } /* OperationErrorGenerator.kt:318 */
|
309 379 | }
|
380 + | /* OperationErrorGenerator.kt:270 */
|
310 381 | }
|
382 + | /* OperationErrorGenerator.kt:269 */
|
311 383 | }
|
384 + | /* OperationErrorGenerator.kt:133 */
|
312 385 | impl ::std::fmt::Display for DescribeExportError {
|
386 + | /* OperationErrorGenerator.kt:134 */
|
313 387 | fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
388 + | /* OperationErrorGenerator.kt:318 */
|
314 389 | match self {
|
315 - | Self::ExportNotFoundError(_inner) => _inner.fmt(f),
|
316 - | Self::InternalServerError(_inner) => _inner.fmt(f),
|
317 - | Self::LimitExceededError(_inner) => _inner.fmt(f),
|
390 + | /* OperationErrorGenerator.kt:321 */
|
391 + | Self::ExportNotFoundError(_inner) =>
|
392 + | /* OperationErrorGenerator.kt:151 */
|
393 + | {
|
394 + | _inner.fmt(f)
|
395 + | }
|
396 + | ,
|
397 + | /* OperationErrorGenerator.kt:321 */
|
398 + | Self::InternalServerError(_inner) =>
|
399 + | /* OperationErrorGenerator.kt:151 */
|
400 + | {
|
401 + | _inner.fmt(f)
|
402 + | }
|
403 + | ,
|
404 + | /* OperationErrorGenerator.kt:321 */
|
405 + | Self::LimitExceededError(_inner) =>
|
406 + | /* OperationErrorGenerator.kt:151 */
|
407 + | {
|
408 + | _inner.fmt(f)
|
409 + | }
|
410 + | ,
|
411 + | /* OperationErrorGenerator.kt:326 */
|
318 412 | Self::Unhandled(_inner) => {
|
413 + | /* OperationErrorGenerator.kt:139 */
|
319 414 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
320 415 | write!(f, "unhandled error ({code})")
|
321 416 | } else {
|
322 417 | f.write_str("unhandled error")
|
323 418 | }
|
419 + | /* OperationErrorGenerator.kt:326 */
|
420 + | } /* OperationErrorGenerator.kt:318 */
|
324 421 | }
|
422 + | /* OperationErrorGenerator.kt:134 */
|
325 423 | }
|
326 - | }
|
424 + | /* OperationErrorGenerator.kt:133 */
|
327 425 | }
|
426 + | /* OperationErrorGenerator.kt:182 */
|
328 427 | impl ::aws_smithy_types::retry::ProvideErrorKind for DescribeExportError {
|
428 + | /* OperationErrorGenerator.kt:186 */
|
329 429 | fn code(&self) -> ::std::option::Option<&str> {
|
430 + | /* OperationErrorGenerator.kt:187 */
|
330 431 | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
|
432 + | /* OperationErrorGenerator.kt:186 */
|
331 433 | }
|
434 + | /* OperationErrorGenerator.kt:190 */
|
332 435 | fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
|
436 + | /* OperationErrorGenerator.kt:197 */
|
333 437 | ::std::option::Option::None
|
438 + | /* OperationErrorGenerator.kt:190 */
|
334 439 | }
|
440 + | /* OperationErrorGenerator.kt:182 */
|
335 441 | }
|
442 + | /* OperationErrorGenerator.kt:163 */
|
336 443 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DescribeExportError {
|
444 + | /* OperationErrorGenerator.kt:164 */
|
337 445 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
446 + | /* OperationErrorGenerator.kt:318 */
|
338 447 | match self {
|
339 - | Self::ExportNotFoundError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
340 - | Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
341 - | Self::LimitExceededError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
342 - | Self::Unhandled(_inner) => &_inner.meta,
|
448 + | /* OperationErrorGenerator.kt:321 */
|
449 + | Self::ExportNotFoundError(_inner) =>
|
450 + | /* OperationErrorGenerator.kt:169 */
|
451 + | {
|
452 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
453 + | }
|
454 + | ,
|
455 + | /* OperationErrorGenerator.kt:321 */
|
456 + | Self::InternalServerError(_inner) =>
|
457 + | /* OperationErrorGenerator.kt:169 */
|
458 + | {
|
459 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
460 + | }
|
461 + | ,
|
462 + | /* OperationErrorGenerator.kt:321 */
|
463 + | Self::LimitExceededError(_inner) =>
|
464 + | /* OperationErrorGenerator.kt:169 */
|
465 + | {
|
466 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
467 + | }
|
468 + | ,
|
469 + | /* OperationErrorGenerator.kt:326 */
|
470 + | Self::Unhandled(_inner) => {
|
471 + | /* OperationErrorGenerator.kt:168 */
|
472 + | &_inner.meta
|
473 + | /* OperationErrorGenerator.kt:326 */
|
474 + | } /* OperationErrorGenerator.kt:318 */
|
343 475 | }
|
476 + | /* OperationErrorGenerator.kt:164 */
|
344 477 | }
|
478 + | /* OperationErrorGenerator.kt:163 */
|
345 479 | }
|
480 + | /* OperationErrorGenerator.kt:109 */
|
346 481 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for DescribeExportError {
|
482 + | /* OperationErrorGenerator.kt:110 */
|
347 483 | fn create_unhandled_error(
|
348 484 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
349 485 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
350 486 | ) -> Self {
|
487 + | /* OperationErrorGenerator.kt:121 */
|
351 488 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
352 489 | source,
|
353 490 | meta: meta.unwrap_or_default(),
|
354 491 | })
|
492 + | /* OperationErrorGenerator.kt:110 */
|
355 493 | }
|
494 + | /* OperationErrorGenerator.kt:109 */
|
356 495 | }
|
357 496 |
|
497 + | /* CodegenDelegator.kt:255 */
|
358 498 | pub use crate::operation::describe_export::_describe_export_output::DescribeExportOutput;
|
359 499 |
|
500 + | /* CodegenDelegator.kt:255 */
|
360 501 | pub use crate::operation::describe_export::_describe_export_input::DescribeExportInput;
|
361 502 |
|
503 + | /* RustModule.kt:172 */
|
362 504 | mod _describe_export_input;
|
363 505 |
|
506 + | /* RustModule.kt:172 */
|
364 507 | mod _describe_export_output;
|
365 508 |
|
366 - | /// Builders
|
509 + | /// /* CodegenDelegator.kt:51 */Builders
|
367 510 | pub mod builders;
|