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 DescribeTimeToLive {
|
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("DescribeTimeToLive");
|
91 102 |
|
92 103 | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
|
93 104 | DescribeTimeToLiveRequestSerializer,
|
94 105 | ));
|
95 106 | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
|
96 107 | DescribeTimeToLiveResponseDeserializer,
|
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 | "DescribeTimeToLive",
|
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("DescribeTimeToLive")
|
117 128 | .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
|
118 129 | .with_interceptor(DescribeTimeToLiveEndpointParamsInterceptor)
|
119 130 | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
|
120 131 | crate::operation::describe_time_to_live::DescribeTimeToLiveError,
|
121 132 | >::new())
|
122 133 | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
|
123 134 | crate::operation::describe_time_to_live::DescribeTimeToLiveError,
|
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 DescribeTimeToLiveResponseDeserializer;
|
132 144 | impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DescribeTimeToLiveResponseDeserializer {
|
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_time_to_live::de_describe_time_to_live_http_error(status, headers, body)
|
145 157 | } else {
|
146 158 | crate::protocol_serde::shape_describe_time_to_live::de_describe_time_to_live_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 DescribeTimeToLiveRequestSerializer;
|
153 166 | impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for DescribeTimeToLiveRequestSerializer {
|
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_time_to_live::DescribeTimeToLiveInput>()
|
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_time_to_live::DescribeTimeToLiveInput,
|
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_time_to_live::DescribeTimeToLiveInput,
|
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.DescribeTimeToLive",
|
191 204 | );
|
192 205 | builder
|
193 206 | };
|
194 207 | let body = ::aws_smithy_types::body::SdkBody::from(crate::protocol_serde::shape_describe_time_to_live::ser_describe_time_to_live_input(
|
195 208 | &input,
|
196 209 | )?);
|
197 210 | if let Some(content_length) = body.content_length() {
|
198 211 | let content_length = content_length.to_string();
|
199 212 | request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
|
200 213 | }
|
201 214 | ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
|
202 215 | }
|
203 216 | }
|
217 + | /* EndpointParamsInterceptorGenerator.kt:86 */
|
204 218 | #[derive(Debug)]
|
205 219 | struct DescribeTimeToLiveEndpointParamsInterceptor;
|
206 220 |
|
207 221 | impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeTimeToLiveEndpointParamsInterceptor {
|
208 222 | fn name(&self) -> &'static str {
|
209 223 | "DescribeTimeToLiveEndpointParamsInterceptor"
|
210 224 | }
|
211 225 |
|
212 226 | fn read_before_execution(
|
213 227 | &self,
|
214 228 | context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
|
215 229 | '_,
|
216 230 | ::aws_smithy_runtime_api::client::interceptors::context::Input,
|
217 231 | ::aws_smithy_runtime_api::client::interceptors::context::Output,
|
218 232 | ::aws_smithy_runtime_api::client::interceptors::context::Error,
|
219 233 | >,
|
220 234 | cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
|
221 235 | ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
|
222 236 | let _input = context
|
223 237 | .input()
|
224 238 | .downcast_ref::<DescribeTimeToLiveInput>()
|
225 239 | .ok_or("failed to downcast to DescribeTimeToLiveInput")?;
|
226 240 |
|
227 241 | let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
|
228 242 | ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
|
229 243 | })?;
|
230 244 | cfg.interceptor_state()
|
231 245 | .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
|
232 246 | ::std::result::Result::Ok(())
|
233 247 | }
|
234 248 | }
|
235 249 |
|
236 250 | // The get_* functions below are generated from JMESPath expressions in the
|
237 251 | // operationContextParams trait. They target the operation's input shape.
|
238 252 |
|
253 + | /* OperationErrorGenerator.kt:79 */
|
239 254 | /// Error type for the `DescribeTimeToLiveError` operation.
|
255 + | /* RustType.kt:516 */
|
240 256 | #[non_exhaustive]
|
257 + | /* RustType.kt:516 */
|
241 258 | #[derive(::std::fmt::Debug)]
|
242 - | pub enum DescribeTimeToLiveError {
|
243 - | /// <p>An error occurred on the server side.</p>
|
259 + | pub /* OperationErrorGenerator.kt:81 */ enum DescribeTimeToLiveError {
|
260 + | /// /* OperationErrorGenerator.kt:83 */<p>An error occurred on the server side.</p>
|
261 + | /* OperationErrorGenerator.kt:86 */
|
244 262 | InternalServerError(crate::types::error::InternalServerError),
|
263 + | /* OperationErrorGenerator.kt:83 */
|
245 264 | #[allow(missing_docs)] // documentation missing in model
|
265 + | /* OperationErrorGenerator.kt:86 */
|
246 266 | InvalidEndpointError(crate::types::error::InvalidEndpointError),
|
247 - | /// <p>The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
267 + | /// /* OperationErrorGenerator.kt:83 */<p>The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
268 + | /* OperationErrorGenerator.kt:86 */
|
248 269 | ResourceNotFoundError(crate::types::error::ResourceNotFoundError),
|
270 + | /* OperationErrorGenerator.kt:88 */
|
249 271 | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
250 272 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
251 273 | variable wildcard pattern and check `.code()`:
|
252 274 | \
|
253 275 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
254 276 | \
|
255 277 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-DescribeTimeToLiveError) for what information is available for the error.")]
|
256 278 | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
279 + | /* OperationErrorGenerator.kt:81 */
|
257 280 | }
|
281 + | /* OperationErrorGenerator.kt:218 */
|
258 282 | impl DescribeTimeToLiveError {
|
283 + | /* OperationErrorGenerator.kt:219 */
|
259 284 | /// Creates the `DescribeTimeToLiveError::Unhandled` variant from any error type.
|
260 285 | pub fn unhandled(
|
261 286 | err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
|
262 287 | ) -> Self {
|
263 288 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
264 289 | source: err.into(),
|
265 290 | meta: ::std::default::Default::default(),
|
266 291 | })
|
267 292 | }
|
268 293 |
|
269 294 | /// Creates the `DescribeTimeToLiveError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
|
270 295 | pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
|
271 296 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
272 297 | source: err.clone().into(),
|
273 298 | meta: err,
|
274 299 | })
|
275 300 | }
|
276 - | ///
|
301 + | /// /* OperationErrorGenerator.kt:236 */
|
277 302 | /// Returns error metadata, which includes the error code, message,
|
278 303 | /// request ID, and potentially additional information.
|
279 304 | ///
|
305 + | /* OperationErrorGenerator.kt:242 */
|
280 306 | pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
307 + | /* OperationErrorGenerator.kt:243 */
|
281 308 | match self {
|
309 + | /* OperationErrorGenerator.kt:246 */
|
282 310 | Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
311 + | /* OperationErrorGenerator.kt:246 */
|
283 312 | Self::InvalidEndpointError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
313 + | /* OperationErrorGenerator.kt:246 */
|
284 314 | Self::ResourceNotFoundError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
285 - | Self::Unhandled(e) => &e.meta,
|
315 + | /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
|
316 + | /* OperationErrorGenerator.kt:243 */
|
286 317 | }
|
318 + | /* OperationErrorGenerator.kt:242 */
|
287 319 | }
|
320 + | /* OperationErrorGenerator.kt:257 */
|
288 321 | /// Returns `true` if the error kind is `DescribeTimeToLiveError::InternalServerError`.
|
322 + | /* OperationErrorGenerator.kt:258 */
|
289 323 | pub fn is_internal_server_error(&self) -> bool {
|
324 + | /* OperationErrorGenerator.kt:259 */
|
290 325 | matches!(self, Self::InternalServerError(_))
|
326 + | /* OperationErrorGenerator.kt:258 */
|
291 327 | }
|
328 + | /* OperationErrorGenerator.kt:257 */
|
292 329 | /// Returns `true` if the error kind is `DescribeTimeToLiveError::InvalidEndpointError`.
|
330 + | /* OperationErrorGenerator.kt:258 */
|
293 331 | pub fn is_invalid_endpoint_error(&self) -> bool {
|
332 + | /* OperationErrorGenerator.kt:259 */
|
294 333 | matches!(self, Self::InvalidEndpointError(_))
|
334 + | /* OperationErrorGenerator.kt:258 */
|
295 335 | }
|
336 + | /* OperationErrorGenerator.kt:257 */
|
296 337 | /// Returns `true` if the error kind is `DescribeTimeToLiveError::ResourceNotFoundError`.
|
338 + | /* OperationErrorGenerator.kt:258 */
|
297 339 | pub fn is_resource_not_found_error(&self) -> bool {
|
340 + | /* OperationErrorGenerator.kt:259 */
|
298 341 | matches!(self, Self::ResourceNotFoundError(_))
|
342 + | /* OperationErrorGenerator.kt:258 */
|
299 343 | }
|
344 + | /* OperationErrorGenerator.kt:218 */
|
300 345 | }
|
346 + | /* OperationErrorGenerator.kt:269 */
|
301 347 | impl ::std::error::Error for DescribeTimeToLiveError {
|
348 + | /* OperationErrorGenerator.kt:270 */
|
302 349 | fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
350 + | /* OperationErrorGenerator.kt:318 */
|
303 351 | match self {
|
304 - | Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner),
|
305 - | Self::InvalidEndpointError(_inner) => ::std::option::Option::Some(_inner),
|
306 - | Self::ResourceNotFoundError(_inner) => ::std::option::Option::Some(_inner),
|
307 - | Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
|
352 + | /* OperationErrorGenerator.kt:321 */
|
353 + | Self::InternalServerError(_inner) =>
|
354 + | /* OperationErrorGenerator.kt:283 */
|
355 + | {
|
356 + | ::std::option::Option::Some(_inner)
|
357 + | }
|
358 + | ,
|
359 + | /* OperationErrorGenerator.kt:321 */
|
360 + | Self::InvalidEndpointError(_inner) =>
|
361 + | /* OperationErrorGenerator.kt:283 */
|
362 + | {
|
363 + | ::std::option::Option::Some(_inner)
|
364 + | }
|
365 + | ,
|
366 + | /* OperationErrorGenerator.kt:321 */
|
367 + | Self::ResourceNotFoundError(_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 */
|
308 379 | }
|
380 + | /* OperationErrorGenerator.kt:270 */
|
309 381 | }
|
382 + | /* OperationErrorGenerator.kt:269 */
|
310 383 | }
|
384 + | /* OperationErrorGenerator.kt:133 */
|
311 385 | impl ::std::fmt::Display for DescribeTimeToLiveError {
|
386 + | /* OperationErrorGenerator.kt:134 */
|
312 387 | fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
388 + | /* OperationErrorGenerator.kt:318 */
|
313 389 | match self {
|
314 - | Self::InternalServerError(_inner) => _inner.fmt(f),
|
315 - | Self::InvalidEndpointError(_inner) => _inner.fmt(f),
|
316 - | Self::ResourceNotFoundError(_inner) => _inner.fmt(f),
|
390 + | /* OperationErrorGenerator.kt:321 */
|
391 + | Self::InternalServerError(_inner) =>
|
392 + | /* OperationErrorGenerator.kt:151 */
|
393 + | {
|
394 + | _inner.fmt(f)
|
395 + | }
|
396 + | ,
|
397 + | /* OperationErrorGenerator.kt:321 */
|
398 + | Self::InvalidEndpointError(_inner) =>
|
399 + | /* OperationErrorGenerator.kt:151 */
|
400 + | {
|
401 + | _inner.fmt(f)
|
402 + | }
|
403 + | ,
|
404 + | /* OperationErrorGenerator.kt:321 */
|
405 + | Self::ResourceNotFoundError(_inner) =>
|
406 + | /* OperationErrorGenerator.kt:151 */
|
407 + | {
|
408 + | _inner.fmt(f)
|
409 + | }
|
410 + | ,
|
411 + | /* OperationErrorGenerator.kt:326 */
|
317 412 | Self::Unhandled(_inner) => {
|
413 + | /* OperationErrorGenerator.kt:139 */
|
318 414 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
319 415 | write!(f, "unhandled error ({code})")
|
320 416 | } else {
|
321 417 | f.write_str("unhandled error")
|
322 418 | }
|
323 - | }
|
419 + | /* OperationErrorGenerator.kt:326 */
|
420 + | } /* OperationErrorGenerator.kt:318 */
|
324 421 | }
|
422 + | /* OperationErrorGenerator.kt:134 */
|
325 423 | }
|
424 + | /* OperationErrorGenerator.kt:133 */
|
326 425 | }
|
426 + | /* OperationErrorGenerator.kt:182 */
|
327 427 | impl ::aws_smithy_types::retry::ProvideErrorKind for DescribeTimeToLiveError {
|
428 + | /* OperationErrorGenerator.kt:186 */
|
328 429 | fn code(&self) -> ::std::option::Option<&str> {
|
430 + | /* OperationErrorGenerator.kt:187 */
|
329 431 | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
|
432 + | /* OperationErrorGenerator.kt:186 */
|
330 433 | }
|
434 + | /* OperationErrorGenerator.kt:190 */
|
331 435 | fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
|
436 + | /* OperationErrorGenerator.kt:197 */
|
332 437 | ::std::option::Option::None
|
438 + | /* OperationErrorGenerator.kt:190 */
|
333 439 | }
|
440 + | /* OperationErrorGenerator.kt:182 */
|
334 441 | }
|
442 + | /* OperationErrorGenerator.kt:163 */
|
335 443 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DescribeTimeToLiveError {
|
444 + | /* OperationErrorGenerator.kt:164 */
|
336 445 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
446 + | /* OperationErrorGenerator.kt:318 */
|
337 447 | match self {
|
338 - | Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
339 - | Self::InvalidEndpointError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
340 - | Self::ResourceNotFoundError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
341 - | Self::Unhandled(_inner) => &_inner.meta,
|
448 + | /* OperationErrorGenerator.kt:321 */
|
449 + | Self::InternalServerError(_inner) =>
|
450 + | /* OperationErrorGenerator.kt:169 */
|
451 + | {
|
452 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
453 + | }
|
454 + | ,
|
455 + | /* OperationErrorGenerator.kt:321 */
|
456 + | Self::InvalidEndpointError(_inner) =>
|
457 + | /* OperationErrorGenerator.kt:169 */
|
458 + | {
|
459 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
|
460 + | }
|
461 + | ,
|
462 + | /* OperationErrorGenerator.kt:321 */
|
463 + | Self::ResourceNotFoundError(_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 */
|
342 475 | }
|
476 + | /* OperationErrorGenerator.kt:164 */
|
343 477 | }
|
478 + | /* OperationErrorGenerator.kt:163 */
|
344 479 | }
|
480 + | /* OperationErrorGenerator.kt:109 */
|
345 481 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for DescribeTimeToLiveError {
|
482 + | /* OperationErrorGenerator.kt:110 */
|
346 483 | fn create_unhandled_error(
|
347 484 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
348 485 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
349 486 | ) -> Self {
|
487 + | /* OperationErrorGenerator.kt:121 */
|
350 488 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
351 489 | source,
|
352 490 | meta: meta.unwrap_or_default(),
|
353 491 | })
|
492 + | /* OperationErrorGenerator.kt:110 */
|
354 493 | }
|
494 + | /* OperationErrorGenerator.kt:109 */
|
355 495 | }
|
356 496 |
|
497 + | /* CodegenDelegator.kt:255 */
|
357 498 | pub use crate::operation::describe_time_to_live::_describe_time_to_live_output::DescribeTimeToLiveOutput;
|
358 499 |
|
500 + | /* CodegenDelegator.kt:255 */
|
359 501 | pub use crate::operation::describe_time_to_live::_describe_time_to_live_input::DescribeTimeToLiveInput;
|
360 502 |
|
503 + | /* RustModule.kt:172 */
|
361 504 | mod _describe_time_to_live_input;
|
362 505 |
|
506 + | /* RustModule.kt:172 */
|
363 507 | mod _describe_time_to_live_output;
|
364 508 |
|
365 - | /// Builders
|
509 + | /// /* CodegenDelegator.kt:51 */Builders
|
366 510 | pub mod builders;
|