1#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
4#[non_exhaustive]
5pub struct NotifyObjectComplete;
6impl NotifyObjectComplete {
7 pub fn new() -> Self {
9 Self
10 }
11 pub(crate) async fn orchestrate(
12 runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
13 input: crate::operation::notify_object_complete::NotifyObjectCompleteInput,
14 ) -> ::std::result::Result<
15 crate::operation::notify_object_complete::NotifyObjectCompleteOutput,
16 ::aws_smithy_runtime_api::client::result::SdkError<
17 crate::operation::notify_object_complete::NotifyObjectCompleteError,
18 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
19 >,
20 > {
21 let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError<
22 ::aws_smithy_runtime_api::client::interceptors::context::Error,
23 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
24 >| {
25 err.map_service_error(|err| {
26 err.downcast::<crate::operation::notify_object_complete::NotifyObjectCompleteError>()
27 .expect("correct error type")
28 })
29 };
30 let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None)
31 .await
32 .map_err(map_err)?;
33 let output = context.finalize().map_err(map_err)?;
34 ::std::result::Result::Ok(
35 output
36 .downcast::<crate::operation::notify_object_complete::NotifyObjectCompleteOutput>()
37 .expect("correct output type"),
38 )
39 }
40
41 pub(crate) async fn orchestrate_with_stop_point(
42 runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
43 input: crate::operation::notify_object_complete::NotifyObjectCompleteInput,
44 stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint,
45 ) -> ::std::result::Result<
46 ::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext,
47 ::aws_smithy_runtime_api::client::result::SdkError<
48 ::aws_smithy_runtime_api::client::interceptors::context::Error,
49 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
50 >,
51 > {
52 let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input);
53 ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point(
54 "backupstorage",
55 "NotifyObjectComplete",
56 input,
57 runtime_plugins,
58 stop_point,
59 )
60 .await
61 }
62
63 pub(crate) fn operation_runtime_plugins(
64 client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
65 client_config: &crate::config::Config,
66 config_override: ::std::option::Option<crate::config::Builder>,
67 ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins {
68 let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new());
69 runtime_plugins = runtime_plugins.with_client_plugin(crate::auth_plugin::DefaultAuthOptionsPlugin::new(vec![
70 ::aws_runtime::auth::sigv4::SCHEME_ID,
71 ]));
72 if let ::std::option::Option::Some(config_override) = config_override {
73 for plugin in config_override.runtime_plugins.iter().cloned() {
74 runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
75 }
76 runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
77 config_override,
78 client_config.config.clone(),
79 &client_config.runtime_components,
80 ));
81 }
82 runtime_plugins
83 }
84}
85impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for NotifyObjectComplete {
86 fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
87 let mut cfg = ::aws_smithy_types::config_bag::Layer::new("NotifyObjectComplete");
88
89 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
90 NotifyObjectCompleteRequestSerializer,
91 ));
92 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
93 NotifyObjectCompleteResponseDeserializer,
94 ));
95
96 cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
97 ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
98 ));
99
100 cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
101 "NotifyObjectComplete",
102 "backupstorage",
103 ));
104 let mut signing_options = ::aws_runtime::auth::SigningOptions::default();
105 signing_options.double_uri_encode = true;
106 signing_options.content_sha256_header = true;
107 signing_options.normalize_uri_path = true;
108 signing_options.payload_override = Some(::aws_sigv4::http_request::SignableBody::UnsignedPayload);
109
110 cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig {
111 signing_options,
112 ..::std::default::Default::default()
113 });
114
115 ::std::option::Option::Some(cfg.freeze())
116 }
117
118 fn runtime_components(
119 &self,
120 _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
121 ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
122 #[allow(unused_mut)]
123 let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("NotifyObjectComplete")
124 .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
125 .with_interceptor(NotifyObjectCompleteEndpointParamsInterceptor)
126 .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
127 crate::operation::notify_object_complete::NotifyObjectCompleteError,
128 >::new())
129 .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
130 crate::operation::notify_object_complete::NotifyObjectCompleteError,
131 >::new())
132 .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<
133 crate::operation::notify_object_complete::NotifyObjectCompleteError,
134 >::new());
135
136 ::std::borrow::Cow::Owned(rcb)
137 }
138}
139
140#[derive(Debug)]
141struct NotifyObjectCompleteResponseDeserializer;
142impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for NotifyObjectCompleteResponseDeserializer {
143 fn deserialize_nonstreaming(
144 &self,
145 response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
146 ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
147 let (success, status) = (response.status().is_success(), response.status().as_u16());
148 let headers = response.headers();
149 let body = response.body().bytes().expect("body loaded");
150 #[allow(unused_mut)]
151 let mut force_error = false;
152 ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
153 let parse_result = if !success && status != 200 || force_error {
154 crate::protocol_serde::shape_notify_object_complete::de_notify_object_complete_http_error(status, headers, body)
155 } else {
156 crate::protocol_serde::shape_notify_object_complete::de_notify_object_complete_http_response(status, headers, body)
157 };
158 crate::protocol_serde::type_erase_result(parse_result)
159 }
160}
161#[derive(Debug)]
162struct NotifyObjectCompleteRequestSerializer;
163impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for NotifyObjectCompleteRequestSerializer {
164 #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
165 fn serialize_input(
166 &self,
167 input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
168 _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
169 ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
170 let input = input
171 .downcast::<crate::operation::notify_object_complete::NotifyObjectCompleteInput>()
172 .expect("correct type");
173 let _header_serialization_settings = _cfg
174 .load::<crate::serialization_settings::HeaderSerializationSettings>()
175 .cloned()
176 .unwrap_or_default();
177 let mut request_builder = {
178 fn uri_base(
179 _input: &crate::operation::notify_object_complete::NotifyObjectCompleteInput,
180 output: &mut ::std::string::String,
181 ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
182 use ::std::fmt::Write as _;
183 let input_1 = &_input.backup_job_id;
184 let input_1 = input_1
185 .as_ref()
186 .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("backup_job_id", "cannot be empty or unset"))?;
187 let backup_job_id = ::aws_smithy_http::label::fmt_string(input_1, ::aws_smithy_http::label::EncodingStrategy::Default);
188 if backup_job_id.is_empty() {
189 return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
190 "backup_job_id",
191 "cannot be empty or unset",
192 ));
193 }
194 let input_2 = &_input.upload_id;
195 let input_2 = input_2
196 .as_ref()
197 .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("upload_id", "cannot be empty or unset"))?;
198 let upload_id = ::aws_smithy_http::label::fmt_string(input_2, ::aws_smithy_http::label::EncodingStrategy::Default);
199 if upload_id.is_empty() {
200 return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
201 "upload_id",
202 "cannot be empty or unset",
203 ));
204 }
205 ::std::write!(
206 output,
207 "/backup-jobs/{BackupJobId}/object/{UploadId}/complete",
208 BackupJobId = backup_job_id,
209 UploadId = upload_id
210 )
211 .expect("formatting should succeed");
212 ::std::result::Result::Ok(())
213 }
214 fn uri_query(
215 _input: &crate::operation::notify_object_complete::NotifyObjectCompleteInput,
216 mut output: &mut ::std::string::String,
217 ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
218 let mut query = ::aws_smithy_http::query::Writer::new(output);
219 let inner_3 = &_input.object_checksum;
220 let inner_3 = inner_3
221 .as_ref()
222 .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("object_checksum", "cannot be empty or unset"))?;
223 if inner_3.is_empty() {
224 return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
225 "object_checksum",
226 "cannot be empty or unset",
227 ));
228 }
229 query.push_kv("checksum", &::aws_smithy_http::query::fmt_string(inner_3));
230 let inner_4 = &_input.object_checksum_algorithm;
231 let inner_4 = inner_4.as_ref().ok_or_else(|| {
232 ::aws_smithy_types::error::operation::BuildError::missing_field("object_checksum_algorithm", "cannot be empty or unset")
233 })?;
234 query.push_kv("checksum-algorithm", &::aws_smithy_http::query::fmt_string(inner_4));
235 if let ::std::option::Option::Some(inner_5) = &_input.metadata_string {
236 {
237 query.push_kv("metadata-string", &::aws_smithy_http::query::fmt_string(inner_5));
238 }
239 }
240 if let ::std::option::Option::Some(inner_6) = &_input.metadata_blob_length {
241 {
242 query.push_kv("metadata-blob-length", ::aws_smithy_types::primitive::Encoder::from(*inner_6).encode());
243 }
244 }
245 if let ::std::option::Option::Some(inner_7) = &_input.metadata_blob_checksum {
246 {
247 query.push_kv("metadata-checksum", &::aws_smithy_http::query::fmt_string(inner_7));
248 }
249 }
250 if let ::std::option::Option::Some(inner_8) = &_input.metadata_blob_checksum_algorithm {
251 {
252 query.push_kv("metadata-checksum-algorithm", &::aws_smithy_http::query::fmt_string(inner_8));
253 }
254 }
255 ::std::result::Result::Ok(())
256 }
257 #[allow(clippy::unnecessary_wraps)]
258 fn update_http_builder(
259 input: &crate::operation::notify_object_complete::NotifyObjectCompleteInput,
260 builder: ::http::request::Builder,
261 ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
262 let mut uri = ::std::string::String::new();
263 uri_base(input, &mut uri)?;
264 uri_query(input, &mut uri)?;
265 ::std::result::Result::Ok(builder.method("PUT").uri(uri))
266 }
267 let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
268 builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/octet-stream");
269 builder
270 };
271 let body = crate::protocol_serde::shape_notify_object_complete_input::ser_metadata_blob_http_payload(input.metadata_blob)?.into_inner();
272 if let Some(content_length) = body.content_length() {
273 let content_length = content_length.to_string();
274 request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
275 }
276 ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
277 }
278}
279#[derive(Debug)]
280struct NotifyObjectCompleteEndpointParamsInterceptor;
281
282impl ::aws_smithy_runtime_api::client::interceptors::Intercept for NotifyObjectCompleteEndpointParamsInterceptor {
283 fn name(&self) -> &'static str {
284 "NotifyObjectCompleteEndpointParamsInterceptor"
285 }
286
287 fn read_before_execution(
288 &self,
289 context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
290 '_,
291 ::aws_smithy_runtime_api::client::interceptors::context::Input,
292 ::aws_smithy_runtime_api::client::interceptors::context::Output,
293 ::aws_smithy_runtime_api::client::interceptors::context::Error,
294 >,
295 cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
296 ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
297 let _input = context
298 .input()
299 .downcast_ref::<NotifyObjectCompleteInput>()
300 .ok_or("failed to downcast to NotifyObjectCompleteInput")?;
301
302 let params = crate::config::endpoint::Params::builder()
303 .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
304 .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
305 .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
306 .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
307 .build()
308 .map_err(|err| {
309 ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
310 })?;
311 cfg.interceptor_state()
312 .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
313 ::std::result::Result::Ok(())
314 }
315}
316
317#[non_exhaustive]
319#[derive(::std::fmt::Debug)]
320pub enum NotifyObjectCompleteError {
321 #[allow(missing_docs)] AccessDeniedException(crate::types::error::AccessDeniedException),
323 IllegalArgumentException(crate::types::error::IllegalArgumentException),
325 KmsInvalidKeyUsageException(crate::types::error::KmsInvalidKeyUsageException),
327 NotReadableInputStreamException(crate::types::error::NotReadableInputStreamException),
329 RetryableException(crate::types::error::RetryableException),
331 ServiceInternalException(crate::types::error::ServiceInternalException),
333 ServiceUnavailableException(crate::types::error::ServiceUnavailableException),
335 ThrottlingException(crate::types::error::ThrottlingException),
337 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
339 variable wildcard pattern and check `.code()`:
340 \
341 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
342 \
343 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-NotifyObjectCompleteError) for what information is available for the error.")]
344 Unhandled(crate::error::sealed_unhandled::Unhandled),
345}
346impl NotifyObjectCompleteError {
347 pub fn unhandled(
349 err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
350 ) -> Self {
351 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
352 source: err.into(),
353 meta: ::std::default::Default::default(),
354 })
355 }
356
357 pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
359 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
360 source: err.clone().into(),
361 meta: err,
362 })
363 }
364 pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
369 match self {
370 Self::AccessDeniedException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
371 Self::IllegalArgumentException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
372 Self::KmsInvalidKeyUsageException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
373 Self::NotReadableInputStreamException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
374 Self::RetryableException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
375 Self::ServiceInternalException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
376 Self::ServiceUnavailableException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
377 Self::ThrottlingException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
378 Self::Unhandled(e) => &e.meta,
379 }
380 }
381 pub fn is_access_denied_exception(&self) -> bool {
383 matches!(self, Self::AccessDeniedException(_))
384 }
385 pub fn is_illegal_argument_exception(&self) -> bool {
387 matches!(self, Self::IllegalArgumentException(_))
388 }
389 pub fn is_kms_invalid_key_usage_exception(&self) -> bool {
391 matches!(self, Self::KmsInvalidKeyUsageException(_))
392 }
393 pub fn is_not_readable_input_stream_exception(&self) -> bool {
395 matches!(self, Self::NotReadableInputStreamException(_))
396 }
397 pub fn is_retryable_exception(&self) -> bool {
399 matches!(self, Self::RetryableException(_))
400 }
401 pub fn is_service_internal_exception(&self) -> bool {
403 matches!(self, Self::ServiceInternalException(_))
404 }
405 pub fn is_service_unavailable_exception(&self) -> bool {
407 matches!(self, Self::ServiceUnavailableException(_))
408 }
409 pub fn is_throttling_exception(&self) -> bool {
411 matches!(self, Self::ThrottlingException(_))
412 }
413}
414impl ::std::error::Error for NotifyObjectCompleteError {
415 fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
416 match self {
417 Self::AccessDeniedException(_inner) => ::std::option::Option::Some(_inner),
418 Self::IllegalArgumentException(_inner) => ::std::option::Option::Some(_inner),
419 Self::KmsInvalidKeyUsageException(_inner) => ::std::option::Option::Some(_inner),
420 Self::NotReadableInputStreamException(_inner) => ::std::option::Option::Some(_inner),
421 Self::RetryableException(_inner) => ::std::option::Option::Some(_inner),
422 Self::ServiceInternalException(_inner) => ::std::option::Option::Some(_inner),
423 Self::ServiceUnavailableException(_inner) => ::std::option::Option::Some(_inner),
424 Self::ThrottlingException(_inner) => ::std::option::Option::Some(_inner),
425 Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
426 }
427 }
428}
429impl ::std::fmt::Display for NotifyObjectCompleteError {
430 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
431 match self {
432 Self::AccessDeniedException(_inner) => _inner.fmt(f),
433 Self::IllegalArgumentException(_inner) => _inner.fmt(f),
434 Self::KmsInvalidKeyUsageException(_inner) => _inner.fmt(f),
435 Self::NotReadableInputStreamException(_inner) => _inner.fmt(f),
436 Self::RetryableException(_inner) => _inner.fmt(f),
437 Self::ServiceInternalException(_inner) => _inner.fmt(f),
438 Self::ServiceUnavailableException(_inner) => _inner.fmt(f),
439 Self::ThrottlingException(_inner) => _inner.fmt(f),
440 Self::Unhandled(_inner) => {
441 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
442 write!(f, "unhandled error ({code})")
443 } else {
444 f.write_str("unhandled error")
445 }
446 }
447 }
448 }
449}
450impl ::aws_smithy_types::retry::ProvideErrorKind for NotifyObjectCompleteError {
451 fn code(&self) -> ::std::option::Option<&str> {
452 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
453 }
454 fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
455 ::std::option::Option::None
456 }
457}
458impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for NotifyObjectCompleteError {
459 fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
460 match self {
461 Self::AccessDeniedException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
462 Self::IllegalArgumentException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
463 Self::KmsInvalidKeyUsageException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
464 Self::NotReadableInputStreamException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
465 Self::RetryableException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
466 Self::ServiceInternalException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
467 Self::ServiceUnavailableException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
468 Self::ThrottlingException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
469 Self::Unhandled(_inner) => &_inner.meta,
470 }
471 }
472}
473impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for NotifyObjectCompleteError {
474 fn create_unhandled_error(
475 source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
476 meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
477 ) -> Self {
478 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
479 source,
480 meta: meta.unwrap_or_default(),
481 })
482 }
483}
484impl ::aws_types::request_id::RequestId for crate::operation::notify_object_complete::NotifyObjectCompleteError {
485 fn request_id(&self) -> Option<&str> {
486 self.meta().request_id()
487 }
488}
489
490pub use crate::operation::notify_object_complete::_notify_object_complete_output::NotifyObjectCompleteOutput;
491
492pub use crate::operation::notify_object_complete::_notify_object_complete_input::NotifyObjectCompleteInput;
493
494mod _notify_object_complete_input;
495
496mod _notify_object_complete_output;
497
498pub mod builders;