aws_sdk_workspaces/operation/
describe_workspace_bundles.rs1#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
4#[non_exhaustive]
5pub struct DescribeWorkspaceBundles;
6impl DescribeWorkspaceBundles {
7 pub fn new() -> Self {
9 Self
10 }
11 pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema<'static> =
13 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesInput::SCHEMA;
14 pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema<'static> =
16 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesOutput::SCHEMA;
17 pub(crate) async fn orchestrate(
18 runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
19 input: crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesInput,
20 ) -> ::std::result::Result<
21 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesOutput,
22 ::aws_smithy_runtime_api::client::result::SdkError<
23 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError,
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_workspace_bundles::DescribeWorkspaceBundlesError>()
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_workspace_bundles::DescribeWorkspaceBundlesOutput>()
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_workspace_bundles::DescribeWorkspaceBundlesInput,
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 "DescribeWorkspaceBundles",
63 input,
64 runtime_plugins,
65 stop_point,
66 )
67 .instrument(::tracing::debug_span!(
70 "WorkSpaces.DescribeWorkspaceBundles",
71 "rpc.service" = "WorkSpaces",
72 "rpc.method" = "DescribeWorkspaceBundles",
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 DescribeWorkspaceBundles {
123 fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
124 let mut cfg = ::aws_smithy_types::config_bag::Layer::new("DescribeWorkspaceBundles");
125
126 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
127 DescribeWorkspaceBundlesRequestSerializer,
128 ));
129 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
130 DescribeWorkspaceBundlesResponseDeserializer,
131 ));
132
133 cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
134 crate::config::auth::Params::builder()
135 .operation_name("DescribeWorkspaceBundles")
136 .build()
137 .expect("required fields set"),
138 ));
139
140 cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
141 "DescribeWorkspaceBundles",
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("DescribeWorkspaceBundles")
164 .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
165 DescribeWorkspaceBundlesTelemetryInputCaptureInterceptor,
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 DescribeWorkspaceBundlesEndpointParamsInterceptor,
172 ))
173 .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
174 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError,
175 >::new())
176 .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
177 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError,
178 >::new())
179 .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<
180 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError,
181 >::new())
182 .with_retry_classifier(::aws_runtime::service_clock_skew::ServiceClockSkewClassifier::<
183 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError,
184 >::new());
185
186 ::std::borrow::Cow::Owned(rcb)
187 }
188}
189
190#[derive(Debug)]
191struct DescribeWorkspaceBundlesTelemetryInputCaptureInterceptor;
192
193#[::aws_smithy_runtime_api::client::interceptors::dyn_dispatch_hint]
194impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeWorkspaceBundlesTelemetryInputCaptureInterceptor {
195 fn name(&self) -> &'static str {
196 "DescribeWorkspaceBundlesTelemetryInputCaptureInterceptor"
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::<DescribeWorkspaceBundlesInput>() else {
218 return ::std::result::Result::Ok(());
220 };
221
222 let mut captured = ::aws_smithy_types::telemetry::CapturedTelemetryAttributes::default();
223 if requested.should_capture("Owner") {
224 if let ::std::option::Option::Some(value) = input.owner.as_deref() {
225 captured.insert("Owner", value);
226 }
227 }
228 if requested.should_capture("NextToken") {
229 if let ::std::option::Option::Some(value) = input.next_token.as_deref() {
230 captured.insert("NextToken", value);
231 }
232 }
233
234 cfg.interceptor_state().store_put(captured);
235 ::std::result::Result::Ok(())
236 }
237}
238#[derive(Debug)]
239struct DescribeWorkspaceBundlesResponseDeserializer;
240impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DescribeWorkspaceBundlesResponseDeserializer {
241 fn deserialize_nonstreaming_with_config(
242 &self,
243 response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
244 _cfg: &::aws_smithy_types::config_bag::ConfigBag,
245 ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
246 let (success, status) = (response.status().is_success(), response.status().as_u16());
247 #[allow(unused_variables)]
252 let body = response.body().bytes().expect("body loaded");
253 let headers = response.headers();
254 #[allow(unused_mut)]
255 let mut force_error = false;
256 ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
257 if !success && status != 200 || force_error {
258 let protocol = _cfg
259 .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
260 .expect("a SharedClientProtocol is required");
261 #[allow(unused_mut)]
262 let mut generic_builder = protocol.parse_error_metadata(response, _cfg).map_err(|e| {
263 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
264 })?;
265 generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, headers);
266 let generic = generic_builder.build();
267 let error_code = match generic.code() {
268 ::std::option::Option::Some(code) => code,
269 ::std::option::Option::None => {
270 return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
271 ::aws_smithy_runtime_api::box_error::BoxError::from(
272 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError::unhandled(generic),
273 ),
274 ))
275 }
276 };
277 let _error_message = generic.message().map(|msg| msg.to_owned());
278 let err = match error_code {
279 "InvalidParameterValuesException" => {
280 crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError::InvalidParameterValuesException({
281 let mut deser = protocol.deserialize_error_response(response, _cfg).map_err(|e| {
282 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
283 ::aws_smithy_runtime_api::box_error::BoxError::from(e),
284 )
285 })?;
286 let mut tmp = <crate::types::error::builders::InvalidParameterValuesExceptionBuilder>::default();
287 tmp.deserialize_members(&mut *deser).map_err(|e| {
288 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
289 ::aws_smithy_runtime_api::box_error::BoxError::from(e),
290 )
291 })?;
292 if tmp.message.is_none() {
293 tmp.message = _error_message;
294 }
295 let tmp = tmp.meta(generic);
296 tmp.build()
297 })
298 }
299 _ => {
300 match protocol
308 .deserialize_error_response(response, _cfg)
309 .ok()
310 .and_then(|mut deser| {
311 ::aws_smithy_schema::registry::reify_error(
312 crate::operation::describe_workspace_bundles::error_registry::REGISTRY
313 .or(&crate::error_type_registry::REGISTRY),
314 error_code,
315 &mut *deser,
316 )
317 }) {
318 ::std::option::Option::Some(source) => <crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError as ::aws_smithy_runtime_api::client::result::CreateUnhandledError>::create_unhandled_error(source, ::std::option::Option::Some(generic)),
319 ::std::option::Option::None => crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError::generic(generic),
320 }
321 }
322 };
323 ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
324 ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
325 ))
326 } else {
327 let protocol = _cfg
328 .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
329 .expect("a SharedClientProtocol is required");
330 let mut deser = protocol
331 .deserialize_response(response, DescribeWorkspaceBundles::OUTPUT_SCHEMA, _cfg)
332 .map_err(|e| {
333 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
334 })?;
335 let _response_headers = headers;
339 #[allow(unused_mut)]
343 let mut output = <crate::operation::describe_workspace_bundles::builders::DescribeWorkspaceBundlesOutputBuilder>::default();
344 output.deserialize_members(&mut *deser).map_err(|e| {
345 ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
346 })?;
347 output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
348 let output = output.build();
349 ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
350 }
351 }
352}
353#[derive(Debug)]
354struct DescribeWorkspaceBundlesRequestSerializer;
355impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for DescribeWorkspaceBundlesRequestSerializer {
356 #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
357 fn serialize_input(
358 &self,
359 input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
360 _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
361 ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
362 let input = input
363 .downcast::<crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesInput>()
364 .expect("correct type");
365
366 let protocol = _cfg
367 .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
368 .expect("a SharedClientProtocol is required");
369 let mut request = protocol
370 .serialize_request(&input, DescribeWorkspaceBundles::INPUT_SCHEMA, "/", _cfg)
371 .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
372
373 return ::std::result::Result::Ok(request);
374 }
375}
376#[derive(Debug)]
377struct DescribeWorkspaceBundlesEndpointParamsInterceptor;
378
379#[::aws_smithy_runtime_api::client::interceptors::dyn_dispatch_hint]
380impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeWorkspaceBundlesEndpointParamsInterceptor {
381 fn name(&self) -> &'static str {
382 "DescribeWorkspaceBundlesEndpointParamsInterceptor"
383 }
384
385 fn read_before_execution(
386 &self,
387 context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
388 '_,
389 ::aws_smithy_runtime_api::client::interceptors::context::Input,
390 ::aws_smithy_runtime_api::client::interceptors::context::Output,
391 ::aws_smithy_runtime_api::client::interceptors::context::Error,
392 >,
393 cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
394 ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
395 let _input = context
396 .input()
397 .downcast_ref::<DescribeWorkspaceBundlesInput>()
398 .ok_or("failed to downcast to DescribeWorkspaceBundlesInput")?;
399
400 let params = crate::config::endpoint::Params::builder()
401 .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
402 .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
403 .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
404 .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
405 .build()
406 .map_err(|err| {
407 ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
408 })?;
409 cfg.interceptor_state()
410 .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
411 ::std::result::Result::Ok(())
412 }
413}
414
415#[non_exhaustive]
420#[derive(::std::fmt::Debug)]
421pub enum DescribeWorkspaceBundlesError {
422 InvalidParameterValuesException(crate::types::error::InvalidParameterValuesException),
424 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
426 variable wildcard pattern and check `.code()`:
427 \
428 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
429 \
430 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-DescribeWorkspaceBundlesError) for what information is available for the error.")]
431 Unhandled(crate::error::sealed_unhandled::Unhandled),
432}
433impl DescribeWorkspaceBundlesError {
434 pub fn unhandled(
436 err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
437 ) -> Self {
438 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
439 source: err.into(),
440 meta: ::std::default::Default::default(),
441 })
442 }
443
444 pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
446 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
447 source: err.clone().into(),
448 meta: err,
449 })
450 }
451 pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
456 match self {
457 Self::InvalidParameterValuesException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
458 Self::Unhandled(e) => &e.meta,
459 }
460 }
461 pub fn is_invalid_parameter_values_exception(&self) -> bool {
463 matches!(self, Self::InvalidParameterValuesException(_))
464 }
465}
466impl ::std::error::Error for DescribeWorkspaceBundlesError {
467 fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
468 match self {
469 Self::InvalidParameterValuesException(_inner) => ::std::option::Option::Some(_inner),
470 Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
471 }
472 }
473}
474impl ::std::fmt::Display for DescribeWorkspaceBundlesError {
475 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
476 match self {
477 Self::InvalidParameterValuesException(_inner) => _inner.fmt(f),
478 Self::Unhandled(_inner) => {
479 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
480 write!(f, "unhandled error ({code})")
481 } else {
482 f.write_str("unhandled error")
483 }
484 }
485 }
486 }
487}
488impl ::aws_smithy_types::retry::ProvideErrorKind for DescribeWorkspaceBundlesError {
489 fn code(&self) -> ::std::option::Option<&str> {
490 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
491 }
492 fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
493 ::std::option::Option::None
494 }
495}
496impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DescribeWorkspaceBundlesError {
497 fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
498 match self {
499 Self::InvalidParameterValuesException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
500 Self::Unhandled(_inner) => &_inner.meta,
501 }
502 }
503}
504impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for DescribeWorkspaceBundlesError {
505 fn create_unhandled_error(
506 source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
507 meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
508 ) -> Self {
509 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
510 source,
511 meta: meta.unwrap_or_default(),
512 })
513 }
514}
515impl ::aws_types::request_id::RequestId for crate::operation::describe_workspace_bundles::DescribeWorkspaceBundlesError {
516 fn request_id(&self) -> Option<&str> {
517 self.meta().request_id()
518 }
519}
520
521pub use crate::operation::describe_workspace_bundles::_describe_workspace_bundles_input::DescribeWorkspaceBundlesInput;
522
523pub use crate::operation::describe_workspace_bundles::_describe_workspace_bundles_output::DescribeWorkspaceBundlesOutput;
524
525mod _describe_workspace_bundles_input;
526
527mod _describe_workspace_bundles_output;
528
529pub mod builders;
531
532pub mod paginator;