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