1#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
4#[non_exhaustive]
5pub struct GetColumnStatisticsTaskRuns;
6impl GetColumnStatisticsTaskRuns {
7 pub fn new() -> Self {
9 Self
10 }
11 pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema<'static> =
13 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsInput::SCHEMA;
14 pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema<'static> =
16 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsOutput::SCHEMA;
17 pub(crate) async fn orchestrate(
18 runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
19 input: crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsInput,
20 ) -> ::std::result::Result<
21 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsOutput,
22 ::aws_smithy_runtime_api::client::result::SdkError<
23 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
24 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
25 >,
26 > {
27 let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError<
28 ::aws_smithy_runtime_api::client::interceptors::context::Error,
29 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
30 >| {
31 err.map_service_error(|err| {
32 err.downcast::<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError>()
33 .expect("correct error type")
34 })
35 };
36 let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None)
37 .await
38 .map_err(map_err)?;
39 let output = context.finalize().map_err(map_err)?;
40 ::std::result::Result::Ok(
41 output
42 .downcast::<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsOutput>()
43 .expect("correct output type"),
44 )
45 }
46
47 pub(crate) async fn orchestrate_with_stop_point(
48 runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
49 input: crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsInput,
50 stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint,
51 ) -> ::std::result::Result<
52 ::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext,
53 ::aws_smithy_runtime_api::client::result::SdkError<
54 ::aws_smithy_runtime_api::client::interceptors::context::Error,
55 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
56 >,
57 > {
58 let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input);
59 use ::tracing::Instrument;
60 ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point("Glue", "GetColumnStatisticsTaskRuns", input, runtime_plugins, stop_point)
61 .instrument(::tracing::debug_span!(
64 "Glue.GetColumnStatisticsTaskRuns",
65 "rpc.service" = "Glue",
66 "rpc.method" = "GetColumnStatisticsTaskRuns",
67 "sdk_invocation_id" = ::fastrand::u32(1_000_000..10_000_000),
68 "rpc.system" = "aws-api",
69 ))
70 .await
71 }
72
73 pub(crate) fn operation_runtime_plugins(
74 client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
75 client_config: &crate::config::Config,
76 config_override: ::std::option::Option<crate::config::Builder>,
77 ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins {
78 let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new());
79
80 if let ::std::option::Option::Some(config_override) = config_override {
81 for plugin in config_override.runtime_plugins.iter().cloned() {
82 runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
83 }
84 runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
85 config_override,
86 client_config.config.clone(),
87 &client_config.runtime_components,
88 ));
89 }
90 runtime_plugins
91 }
92}
93pub(crate) mod error_registry {
102 pub(crate) static REGISTRY: ::std::sync::LazyLock<::aws_smithy_schema::registry::TypeRegistry> = ::std::sync::LazyLock::new(|| {
103 ::aws_smithy_schema::registry::TypeRegistry::builder()
104 .insert_error_shape(
105 crate::types::error::OperationTimeoutException::SCHEMA,
106 |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::aws_smithy_types::type_erasure::TypeErasedBox, ::aws_smithy_schema::serde::SerdeError> {
107 ::std::result::Result::Ok(::aws_smithy_types::type_erasure::TypeErasedBox::new(crate::types::error::OperationTimeoutException::deserialize(d)?))
108 },
109 |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync>, ::aws_smithy_schema::serde::SerdeError> {
110 ::std::result::Result::Ok(::std::boxed::Box::new(crate::types::error::OperationTimeoutException::deserialize(d)?))
111 },
112 )
113 .build()
114 });
115}
116impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for GetColumnStatisticsTaskRuns {
117 fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
118 let mut cfg = ::aws_smithy_types::config_bag::Layer::new("GetColumnStatisticsTaskRuns");
119
120 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
121 GetColumnStatisticsTaskRunsRequestSerializer,
122 ));
123 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
124 GetColumnStatisticsTaskRunsResponseDeserializer,
125 ));
126
127 cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
128 crate::config::auth::Params::builder()
129 .operation_name("GetColumnStatisticsTaskRuns")
130 .build()
131 .expect("required fields set"),
132 ));
133
134 cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
135 "GetColumnStatisticsTaskRuns",
136 "Glue",
137 ));
138 let mut signing_options = ::aws_runtime::auth::SigningOptions::default();
139 signing_options.double_uri_encode = true;
140 signing_options.content_sha256_header = false;
141 signing_options.normalize_uri_path = true;
142 signing_options.payload_override = None;
143
144 cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig {
145 signing_options,
146 ..::std::default::Default::default()
147 });
148
149 ::std::option::Option::Some(cfg.freeze())
150 }
151
152 fn runtime_components(
153 &self,
154 _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
155 ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
156 #[allow(unused_mut)]
157 let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("GetColumnStatisticsTaskRuns")
158 .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
159 GetColumnStatisticsTaskRunsTelemetryInputCaptureInterceptor,
160 ))
161 .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
162 ::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default(),
163 ))
164 .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
165 GetColumnStatisticsTaskRunsEndpointParamsInterceptor,
166 ))
167 .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
168 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
169 >::new())
170 .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
171 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
172 >::new())
173 .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<
174 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
175 >::new())
176 .with_retry_classifier(::aws_runtime::service_clock_skew::ServiceClockSkewClassifier::<
177 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
178 >::new());
179
180 ::std::borrow::Cow::Owned(rcb)
181 }
182}
183
184#[derive(Debug)]
185struct GetColumnStatisticsTaskRunsTelemetryInputCaptureInterceptor;
186
187#[::aws_smithy_runtime_api::client::interceptors::dyn_dispatch_hint]
188impl ::aws_smithy_runtime_api::client::interceptors::Intercept for GetColumnStatisticsTaskRunsTelemetryInputCaptureInterceptor {
189 fn name(&self) -> &'static str {
190 "GetColumnStatisticsTaskRunsTelemetryInputCaptureInterceptor"
191 }
192
193 fn read_before_execution(
194 &self,
195 context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
196 '_,
197 ::aws_smithy_runtime_api::client::interceptors::context::Input,
198 ::aws_smithy_runtime_api::client::interceptors::context::Output,
199 ::aws_smithy_runtime_api::client::interceptors::context::Error,
200 >,
201 cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
202 ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
203 let ::std::option::Option::Some(requested) = cfg
205 .load::<::aws_smithy_types::telemetry::RequestedTelemetryAttributes>()
206 .filter(|r| !r.is_empty())
207 else {
208 return ::std::result::Result::Ok(());
209 };
210
211 let ::std::option::Option::Some(input) = context.input().downcast_ref::<GetColumnStatisticsTaskRunsInput>() else {
212 return ::std::result::Result::Ok(());
214 };
215
216 let mut captured = ::aws_smithy_types::telemetry::CapturedTelemetryAttributes::default();
217 if requested.should_capture("DatabaseName") {
218 if let ::std::option::Option::Some(value) = input.database_name.as_deref() {
219 captured.insert("DatabaseName", value);
220 }
221 }
222 if requested.should_capture("TableName") {
223 if let ::std::option::Option::Some(value) = input.table_name.as_deref() {
224 captured.insert("TableName", value);
225 }
226 }
227 if requested.should_capture("NextToken") {
228 if let ::std::option::Option::Some(value) = input.next_token.as_deref() {
229 captured.insert("NextToken", value);
230 }
231 }
232 if requested.should_capture("CatalogID") {
233 if let ::std::option::Option::Some(value) = input.catalog_id.as_deref() {
234 captured.insert("CatalogID", value);
235 }
236 }
237
238 cfg.interceptor_state().store_put(captured);
239 ::std::result::Result::Ok(())
240 }
241}
242#[derive(Debug)]
243struct GetColumnStatisticsTaskRunsResponseDeserializer;
244impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for GetColumnStatisticsTaskRunsResponseDeserializer {
245 fn deserialize_nonstreaming_with_config(
246 &self,
247 response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
248 _cfg: &::aws_smithy_types::config_bag::ConfigBag,
249 ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
250 let (success, status) = (response.status().is_success(), response.status().as_u16());
251 #[allow(unused_variables)]
256 let body = response.body().bytes().expect("body loaded");
257 let headers = response.headers();
258 #[allow(unused_mut)]
259 let mut force_error = false;
260 ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
261 if !success && status != 200 || force_error {
262 let protocol = _cfg
263 .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
264 .expect("a SharedClientProtocol is required");
265 #[allow(unused_mut)]
266 let mut generic_builder = protocol.parse_error_metadata(response, _cfg).map_err(|e| {
267 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
268 })?;
269 generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, headers);
270 let generic = generic_builder.build();
271 let error_code = match generic.code() {
272 ::std::option::Option::Some(code) => code,
273 ::std::option::Option::None => {
274 return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
275 ::aws_smithy_runtime_api::box_error::BoxError::from(
276 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::unhandled(generic),
277 ),
278 ))
279 }
280 };
281 let _error_message = generic.message().map(|msg| msg.to_owned());
282 let err = match error_code {
283 "OperationTimeoutException" => {
284 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::OperationTimeoutException({
285 let mut deser = protocol.deserialize_error_response(response, _cfg).map_err(|e| {
286 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
287 ::aws_smithy_runtime_api::box_error::BoxError::from(e),
288 )
289 })?;
290 let mut tmp = <crate::types::error::builders::OperationTimeoutExceptionBuilder>::default();
291 tmp.deserialize_members(&mut *deser).map_err(|e| {
292 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
293 ::aws_smithy_runtime_api::box_error::BoxError::from(e),
294 )
295 })?;
296 if tmp.message.is_none() {
297 tmp.message = _error_message;
298 }
299 let tmp = tmp.meta(generic);
300 tmp.build()
301 })
302 }
303 _ => {
304 match protocol
312 .deserialize_error_response(response, _cfg)
313 .ok()
314 .and_then(|mut deser| {
315 ::aws_smithy_schema::registry::reify_error(
316 crate::operation::get_column_statistics_task_runs::error_registry::REGISTRY
317 .or(&crate::error_type_registry::REGISTRY),
318 error_code,
319 &mut *deser,
320 )
321 }) {
322 ::std::option::Option::Some(source) => <crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError as ::aws_smithy_runtime_api::client::result::CreateUnhandledError>::create_unhandled_error(source, ::std::option::Option::Some(generic)),
323 ::std::option::Option::None => crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::generic(generic),
324 }
325 }
326 };
327 ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
328 ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
329 ))
330 } else {
331 let protocol = _cfg
332 .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
333 .expect("a SharedClientProtocol is required");
334 let mut deser = protocol
335 .deserialize_response(response, GetColumnStatisticsTaskRuns::OUTPUT_SCHEMA, _cfg)
336 .map_err(|e| {
337 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
338 })?;
339 let _response_headers = headers;
343 #[allow(unused_mut)]
347 let mut output = <crate::operation::get_column_statistics_task_runs::builders::GetColumnStatisticsTaskRunsOutputBuilder>::default();
348 output.deserialize_members(&mut *deser).map_err(|e| {
349 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
350 })?;
351 output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
352 let output = output.build();
353 ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
354 }
355 }
356}
357#[derive(Debug)]
358struct GetColumnStatisticsTaskRunsRequestSerializer;
359impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for GetColumnStatisticsTaskRunsRequestSerializer {
360 #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
361 fn serialize_input(
362 &self,
363 input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
364 _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
365 ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
366 let input = input
367 .downcast::<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsInput>()
368 .expect("correct type");
369
370 let protocol = _cfg
371 .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
372 .expect("a SharedClientProtocol is required");
373 let mut request = protocol
374 .serialize_request(&input, GetColumnStatisticsTaskRuns::INPUT_SCHEMA, "/", _cfg)
375 .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
376
377 return ::std::result::Result::Ok(request);
378 }
379}
380#[derive(Debug)]
381struct GetColumnStatisticsTaskRunsEndpointParamsInterceptor;
382
383#[::aws_smithy_runtime_api::client::interceptors::dyn_dispatch_hint]
384impl ::aws_smithy_runtime_api::client::interceptors::Intercept for GetColumnStatisticsTaskRunsEndpointParamsInterceptor {
385 fn name(&self) -> &'static str {
386 "GetColumnStatisticsTaskRunsEndpointParamsInterceptor"
387 }
388
389 fn read_before_execution(
390 &self,
391 context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
392 '_,
393 ::aws_smithy_runtime_api::client::interceptors::context::Input,
394 ::aws_smithy_runtime_api::client::interceptors::context::Output,
395 ::aws_smithy_runtime_api::client::interceptors::context::Error,
396 >,
397 cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
398 ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
399 let _input = context
400 .input()
401 .downcast_ref::<GetColumnStatisticsTaskRunsInput>()
402 .ok_or("failed to downcast to GetColumnStatisticsTaskRunsInput")?;
403
404 let params = crate::config::endpoint::Params::builder()
405 .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
406 .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
407 .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
408 .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
409 .build()
410 .map_err(|err| {
411 ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
412 })?;
413 cfg.interceptor_state()
414 .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
415 ::std::result::Result::Ok(())
416 }
417}
418
419#[non_exhaustive]
424#[derive(::std::fmt::Debug)]
425pub enum GetColumnStatisticsTaskRunsError {
426 OperationTimeoutException(crate::types::error::OperationTimeoutException),
428 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
430 variable wildcard pattern and check `.code()`:
431 \
432 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
433 \
434 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-GetColumnStatisticsTaskRunsError) for what information is available for the error.")]
435 Unhandled(crate::error::sealed_unhandled::Unhandled),
436}
437impl GetColumnStatisticsTaskRunsError {
438 pub fn unhandled(
440 err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
441 ) -> Self {
442 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
443 source: err.into(),
444 meta: ::std::default::Default::default(),
445 })
446 }
447
448 pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
450 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
451 source: err.clone().into(),
452 meta: err,
453 })
454 }
455 pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
460 match self {
461 Self::OperationTimeoutException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
462 Self::Unhandled(e) => &e.meta,
463 }
464 }
465 pub fn is_operation_timeout_exception(&self) -> bool {
467 matches!(self, Self::OperationTimeoutException(_))
468 }
469}
470impl ::std::error::Error for GetColumnStatisticsTaskRunsError {
471 fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
472 match self {
473 Self::OperationTimeoutException(_inner) => ::std::option::Option::Some(_inner),
474 Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
475 }
476 }
477}
478impl ::std::fmt::Display for GetColumnStatisticsTaskRunsError {
479 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
480 match self {
481 Self::OperationTimeoutException(_inner) => _inner.fmt(f),
482 Self::Unhandled(_inner) => {
483 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
484 write!(f, "unhandled error ({code})")
485 } else {
486 f.write_str("unhandled error")
487 }
488 }
489 }
490 }
491}
492impl ::aws_smithy_types::retry::ProvideErrorKind for GetColumnStatisticsTaskRunsError {
493 fn code(&self) -> ::std::option::Option<&str> {
494 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
495 }
496 fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
497 ::std::option::Option::None
498 }
499}
500impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for GetColumnStatisticsTaskRunsError {
501 fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
502 match self {
503 Self::OperationTimeoutException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
504 Self::Unhandled(_inner) => &_inner.meta,
505 }
506 }
507}
508impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for GetColumnStatisticsTaskRunsError {
509 fn create_unhandled_error(
510 source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
511 meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
512 ) -> Self {
513 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
514 source,
515 meta: meta.unwrap_or_default(),
516 })
517 }
518}
519impl ::aws_types::request_id::RequestId for crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError {
520 fn request_id(&self) -> Option<&str> {
521 self.meta().request_id()
522 }
523}
524
525pub use crate::operation::get_column_statistics_task_runs::_get_column_statistics_task_runs_input::GetColumnStatisticsTaskRunsInput;
526
527pub use crate::operation::get_column_statistics_task_runs::_get_column_statistics_task_runs_output::GetColumnStatisticsTaskRunsOutput;
528
529mod _get_column_statistics_task_runs_input;
530
531mod _get_column_statistics_task_runs_output;
532
533pub mod builders;
535
536pub mod paginator;