aws_sdk_dynamodb/operation/
create_global_table.rs1#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
4#[non_exhaustive]
5pub struct CreateGlobalTable;
6impl CreateGlobalTable {
7 pub fn new() -> Self {
9 Self
10 }
11 pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::create_global_table::CreateGlobalTableInput::SCHEMA;
13 pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema = crate::operation::create_global_table::CreateGlobalTableOutput::SCHEMA;
15 pub(crate) async fn orchestrate(
16 runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
17 input: crate::operation::create_global_table::CreateGlobalTableInput,
18 ) -> ::std::result::Result<crate::operation::create_global_table::CreateGlobalTableOutput, ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_global_table::CreateGlobalTableError, ::aws_smithy_runtime_api::client::orchestrator::HttpResponse>> {
19 let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError<::aws_smithy_runtime_api::client::interceptors::context::Error, ::aws_smithy_runtime_api::client::orchestrator::HttpResponse>| {
20 err.map_service_error(|err| {
21 err.downcast::<crate::operation::create_global_table::CreateGlobalTableError>().expect("correct error type")
22 })
23 };
24 let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None)
25 .await
26 .map_err(map_err)?;
27 let output = context.finalize().map_err(map_err)?;
28 ::std::result::Result::Ok(output.downcast::<crate::operation::create_global_table::CreateGlobalTableOutput>().expect("correct output type"))
29 }
30
31 pub(crate) async fn orchestrate_with_stop_point(
32 runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
33 input: crate::operation::create_global_table::CreateGlobalTableInput,
34 stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint,
35 ) -> ::std::result::Result<::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext, ::aws_smithy_runtime_api::client::result::SdkError<::aws_smithy_runtime_api::client::interceptors::context::Error, ::aws_smithy_runtime_api::client::orchestrator::HttpResponse>> {
36 let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input);
37 use ::tracing::Instrument;
38 ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point(
39 "DynamoDB",
40 "CreateGlobalTable",
41 input,
42 runtime_plugins,
43 stop_point
44 )
45 .instrument(::tracing::debug_span!(
48 "DynamoDB.CreateGlobalTable",
49 "rpc.service" = "DynamoDB",
50 "rpc.method" = "CreateGlobalTable",
51 "sdk_invocation_id" = ::fastrand::u32(1_000_000..10_000_000),
52 "rpc.system" = "aws-api",
53 ))
54 .await
55 }
56
57 pub(crate) fn operation_runtime_plugins(
58 client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
59 client_config: &crate::config::Config,
60 config_override: ::std::option::Option<crate::config::Builder>,
61 ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins {
62 let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new());
63
64 if let ::std::option::Option::Some(config_override) = config_override {
65 for plugin in config_override.runtime_plugins.iter().cloned() {
66 runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
67 }
68 runtime_plugins = runtime_plugins.with_operation_plugin(
69 crate::config::ConfigOverrideRuntimePlugin::new(config_override, client_config.config.clone(), &client_config.runtime_components)
70 );
71 }
72 runtime_plugins
73 }
74}
75impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for CreateGlobalTable {
76 fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
77 let mut cfg = ::aws_smithy_types::config_bag::Layer::new("CreateGlobalTable");
78
79 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(CreateGlobalTableRequestSerializer));
80 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(CreateGlobalTableResponseDeserializer));
81
82 cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
83 crate::config::auth::Params::builder()
84 .operation_name("CreateGlobalTable")
85 .build()
86 .expect("required fields set")
87 ));
88
89 cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
90 "CreateGlobalTable",
91 "DynamoDB",
92 ));
93let mut signing_options = ::aws_runtime::auth::SigningOptions::default();
94 signing_options.double_uri_encode = true;
95 signing_options.content_sha256_header = false;
96 signing_options.normalize_uri_path = true;
97 signing_options.payload_override = None;
98
99 cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig {
100 signing_options,
101 ..::std::default::Default::default()
102 });
103
104 ::std::option::Option::Some(cfg.freeze())
105 }
106
107 fn runtime_components(&self, _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
108 #[allow(unused_mut)]
109 let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("CreateGlobalTable")
110 .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
111.with_interceptor(CreateGlobalTableEndpointParamsInterceptor)
112 .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<crate::operation::create_global_table::CreateGlobalTableError>::new())
113.with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<crate::operation::create_global_table::CreateGlobalTableError>::new())
114.with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<crate::operation::create_global_table::CreateGlobalTableError>::new());
115
116 ::std::borrow::Cow::Owned(rcb)
117 }
118 }
119
120
121#[derive(Debug)]
122 struct CreateGlobalTableResponseDeserializer;
123 impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for CreateGlobalTableResponseDeserializer {
124
125
126 fn deserialize_nonstreaming_with_config(&self, response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse, _cfg: &::aws_smithy_types::config_bag::ConfigBag) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
127 let (success, status) = (response.status().is_success(), response.status().as_u16());
128 #[allow(unused_mut)]
129 let mut force_error = false;
130 ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
131 if !success && status != 200 || force_error {
132 let headers = response.headers();
133 let body = response.body().bytes().expect("body loaded");
134#[allow(unused_mut)]
135 let mut generic_builder = crate::protocol_serde::parse_http_error_metadata(status, headers, body)
136 .map_err(|e| ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e)))?;
137 generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, headers);
138 let generic = generic_builder.build();
139let error_code = match generic.code() {
140 ::std::option::Option::Some(code) => code,
141 ::std::option::Option::None => return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(crate::operation::create_global_table::CreateGlobalTableError::unhandled(generic)))),
142 };
143 let _error_message = generic.message().map(|msg| msg.to_owned());
144 let protocol = _cfg.load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
145 .expect("a SharedClientProtocol is required");
146let err = match error_code {
147"GlobalTableAlreadyExistsException" => crate::operation::create_global_table::CreateGlobalTableError::GlobalTableAlreadyExistsException({
148let mut tmp = match protocol.deserialize_response(response, crate::types::error::GlobalTableAlreadyExistsException::SCHEMA, _cfg)
149 .and_then(|mut deser| crate::types::error::GlobalTableAlreadyExistsException::deserialize_with_response(&mut *deser, response.headers(), response.status().into(), body))
150 {
151 ::std::result::Result::Ok(val) => val,
152 ::std::result::Result::Err(e) => return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))),
153 };
154 tmp.meta = generic;
155if tmp.message.is_none() {
156 tmp.message = _error_message;
157 }
158tmp
159}),
160"InternalServerError" => crate::operation::create_global_table::CreateGlobalTableError::InternalServerError({
161let mut tmp = match protocol.deserialize_response(response, crate::types::error::InternalServerError::SCHEMA, _cfg)
162 .and_then(|mut deser| crate::types::error::InternalServerError::deserialize_with_response(&mut *deser, response.headers(), response.status().into(), body))
163 {
164 ::std::result::Result::Ok(val) => val,
165 ::std::result::Result::Err(e) => return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))),
166 };
167 tmp.meta = generic;
168if tmp.message.is_none() {
169 tmp.message = _error_message;
170 }
171tmp
172}),
173"InvalidEndpointException" => crate::operation::create_global_table::CreateGlobalTableError::InvalidEndpointException({
174let mut tmp = match protocol.deserialize_response(response, crate::types::error::InvalidEndpointException::SCHEMA, _cfg)
175 .and_then(|mut deser| crate::types::error::InvalidEndpointException::deserialize_with_response(&mut *deser, response.headers(), response.status().into(), body))
176 {
177 ::std::result::Result::Ok(val) => val,
178 ::std::result::Result::Err(e) => return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))),
179 };
180 tmp.meta = generic;
181if tmp.message.is_none() {
182 tmp.message = _error_message;
183 }
184tmp
185}),
186"LimitExceededException" => crate::operation::create_global_table::CreateGlobalTableError::LimitExceededException({
187let mut tmp = match protocol.deserialize_response(response, crate::types::error::LimitExceededException::SCHEMA, _cfg)
188 .and_then(|mut deser| crate::types::error::LimitExceededException::deserialize_with_response(&mut *deser, response.headers(), response.status().into(), body))
189 {
190 ::std::result::Result::Ok(val) => val,
191 ::std::result::Result::Err(e) => return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))),
192 };
193 tmp.meta = generic;
194if tmp.message.is_none() {
195 tmp.message = _error_message;
196 }
197tmp
198}),
199"TableNotFoundException" => crate::operation::create_global_table::CreateGlobalTableError::TableNotFoundException({
200let mut tmp = match protocol.deserialize_response(response, crate::types::error::TableNotFoundException::SCHEMA, _cfg)
201 .and_then(|mut deser| crate::types::error::TableNotFoundException::deserialize_with_response(&mut *deser, response.headers(), response.status().into(), body))
202 {
203 ::std::result::Result::Ok(val) => val,
204 ::std::result::Result::Err(e) => return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))),
205 };
206 tmp.meta = generic;
207if tmp.message.is_none() {
208 tmp.message = _error_message;
209 }
210tmp
211}),
212_ => crate::operation::create_global_table::CreateGlobalTableError::generic(generic)
213};
214 ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err)))
215} else {
216 let protocol = _cfg.load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
217 .expect("a SharedClientProtocol is required");
218 let mut deser = protocol.deserialize_response(response, CreateGlobalTable::OUTPUT_SCHEMA, _cfg)
219 .map_err(|e| ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e)))?;
220 let body = response.body().bytes().expect("body loaded");
221 let output = crate::operation::create_global_table::CreateGlobalTableOutput::deserialize_with_response(
222 &mut *deser,
223 response.headers(),
224 response.status().into(),
225 body,
226 ).map_err(|e| ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e)))?;
227 ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
228 }
229 }
230 }
231#[derive(Debug)]
232 struct CreateGlobalTableRequestSerializer;
233 impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for CreateGlobalTableRequestSerializer {
234 #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
235 fn serialize_input(&self, input: ::aws_smithy_runtime_api::client::interceptors::context::Input, _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
236 let input = input.downcast::<crate::operation::create_global_table::CreateGlobalTableInput>().expect("correct type");
237 let protocol = _cfg.load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
238 .expect("a SharedClientProtocol is required");
239 let mut request = protocol.serialize_request(
240 &input, CreateGlobalTable::INPUT_SCHEMA, "", _cfg,
241 ).map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
242
243 return ::std::result::Result::Ok(request);
244 }
245 }
246#[derive(Debug)]
247 struct CreateGlobalTableEndpointParamsInterceptor;
248
249 impl ::aws_smithy_runtime_api::client::interceptors::Intercept for CreateGlobalTableEndpointParamsInterceptor {
250 fn name(&self) -> &'static str {
251 "CreateGlobalTableEndpointParamsInterceptor"
252 }
253
254 fn read_before_execution(
255 &self,
256 context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<'_, ::aws_smithy_runtime_api::client::interceptors::context::Input, ::aws_smithy_runtime_api::client::interceptors::context::Output, ::aws_smithy_runtime_api::client::interceptors::context::Error>,
257 cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
258 ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
259 let _input = context.input()
260 .downcast_ref::<CreateGlobalTableInput>()
261 .ok_or("failed to downcast to CreateGlobalTableInput")?;
262
263
264
265 let params = crate::config::endpoint::Params::builder()
266 .set_region(cfg.load::<::aws_types::region::Region>().map(|r|r.as_ref().to_owned()))
267.set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
268.set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
269.set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
270.set_account_id_endpoint_mode(::std::option::Option::Some(cfg.load::<::aws_types::endpoint_config::AccountIdEndpointMode>().cloned().unwrap_or_default().to_string()))
271.set_resource_arn(Some(_input.global_table_name.clone().filter(|f|!AsRef::<str>::as_ref(f).trim().is_empty()).ok_or_else(||::aws_smithy_types::error::operation::BuildError::missing_field("global_table_name", "A required field was not set"))?))
272 .build()
273 .map_err(|err| ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err))?;
274 cfg.interceptor_state().store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
275 ::std::result::Result::Ok(())
276 }
277 }
278
279 #[non_exhaustive]
286#[derive(::std::fmt::Debug)]
287pub enum CreateGlobalTableError {
288 GlobalTableAlreadyExistsException(crate::types::error::GlobalTableAlreadyExistsException),
290 InternalServerError(crate::types::error::InternalServerError),
292 #[allow(missing_docs)] InvalidEndpointException(crate::types::error::InvalidEndpointException),
294 LimitExceededException(crate::types::error::LimitExceededException),
302 TableNotFoundException(crate::types::error::TableNotFoundException),
304 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
306 variable wildcard pattern and check `.code()`:
307 \
308 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
309 \
310 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-CreateGlobalTableError) for what information is available for the error.")]
311 Unhandled(crate::error::sealed_unhandled::Unhandled),
312}
313impl CreateGlobalTableError {
314 pub fn unhandled(err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>) -> Self {
316 Self::Unhandled(crate::error::sealed_unhandled::Unhandled { source: err.into(), meta: ::std::default::Default::default() })
317 }
318
319 pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
321 Self::Unhandled(crate::error::sealed_unhandled::Unhandled { source: err.clone().into(), meta: err })
322 }
323 pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
328 match self {
329 Self::GlobalTableAlreadyExistsException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
330 Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
331 Self::InvalidEndpointException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
332 Self::LimitExceededException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
333 Self::TableNotFoundException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
334 Self::Unhandled(e) => &e.meta,
335 }
336 }
337 pub fn is_global_table_already_exists_exception(&self) -> bool {
339 matches!(self, Self::GlobalTableAlreadyExistsException(_))
340 }
341 pub fn is_internal_server_error(&self) -> bool {
343 matches!(self, Self::InternalServerError(_))
344 }
345 pub fn is_invalid_endpoint_exception(&self) -> bool {
347 matches!(self, Self::InvalidEndpointException(_))
348 }
349 pub fn is_limit_exceeded_exception(&self) -> bool {
351 matches!(self, Self::LimitExceededException(_))
352 }
353 pub fn is_table_not_found_exception(&self) -> bool {
355 matches!(self, Self::TableNotFoundException(_))
356 }
357}
358impl ::std::error::Error for CreateGlobalTableError {
359 fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
360 match self {
361 Self::GlobalTableAlreadyExistsException(_inner) =>
362 ::std::option::Option::Some(_inner)
363 ,
364 Self::InternalServerError(_inner) =>
365 ::std::option::Option::Some(_inner)
366 ,
367 Self::InvalidEndpointException(_inner) =>
368 ::std::option::Option::Some(_inner)
369 ,
370 Self::LimitExceededException(_inner) =>
371 ::std::option::Option::Some(_inner)
372 ,
373 Self::TableNotFoundException(_inner) =>
374 ::std::option::Option::Some(_inner)
375 ,
376 Self::Unhandled(_inner) => {
377 ::std::option::Option::Some(&*_inner.source)
378 }
379 }
380 }
381}
382impl ::std::fmt::Display for CreateGlobalTableError {
383 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
384 match self {
385 Self::GlobalTableAlreadyExistsException(_inner) =>
386 _inner.fmt(f)
387 ,
388 Self::InternalServerError(_inner) =>
389 _inner.fmt(f)
390 ,
391 Self::InvalidEndpointException(_inner) =>
392 _inner.fmt(f)
393 ,
394 Self::LimitExceededException(_inner) =>
395 _inner.fmt(f)
396 ,
397 Self::TableNotFoundException(_inner) =>
398 _inner.fmt(f)
399 ,
400 Self::Unhandled(_inner) => {
401 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
402 write!(f, "unhandled error ({code})")
403 } else {
404 f.write_str("unhandled error")
405 }
406 }
407 }
408 }
409}
410impl ::aws_smithy_types::retry::ProvideErrorKind for CreateGlobalTableError {
411 fn code(&self) -> ::std::option::Option<&str> {
412 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
413 }
414 fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
415 ::std::option::Option::None
416 }
417}
418impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for CreateGlobalTableError {
419 fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
420 match self {
421 Self::GlobalTableAlreadyExistsException(_inner) =>
422 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
423 ,
424 Self::InternalServerError(_inner) =>
425 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
426 ,
427 Self::InvalidEndpointException(_inner) =>
428 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
429 ,
430 Self::LimitExceededException(_inner) =>
431 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
432 ,
433 Self::TableNotFoundException(_inner) =>
434 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
435 ,
436 Self::Unhandled(_inner) => {
437 &_inner.meta
438 }
439 }
440 }
441}
442impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for CreateGlobalTableError {
443 fn create_unhandled_error(
444 source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
445 meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>
446 ) -> Self {
447 Self::Unhandled(crate::error::sealed_unhandled::Unhandled { source, meta: meta.unwrap_or_default() })
448 }
449}
450impl ::aws_types::request_id::RequestId for crate::operation::create_global_table::CreateGlobalTableError {
451 fn request_id(&self) -> Option<&str> {
452 self.meta().request_id()
453 }
454 }
455
456pub use crate::operation::create_global_table::_create_global_table_input::CreateGlobalTableInput;
457
458pub use crate::operation::create_global_table::_create_global_table_output::CreateGlobalTableOutput;
459
460mod _create_global_table_input;
461
462mod _create_global_table_output;
463
464pub mod builders;
466