aws_sdk_odb/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// <p>You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.</p>
7    AccessDeniedException(crate::types::error::AccessDeniedException),
8    /// <p>Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.</p>
9    ConflictException(crate::types::error::ConflictException),
10    /// <p>Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.</p>
11    InternalServerException(crate::types::error::InternalServerException),
12    /// <p>The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.</p>
13    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
14    /// <p>You have exceeded the service quota.</p>
15    ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
16    /// <p>The request was denied due to request throttling.</p>
17    ThrottlingException(crate::types::error::ThrottlingException),
18    /// <p>The request has failed validation because it is missing required fields or has invalid inputs.</p>
19    ValidationException(crate::types::error::ValidationException),
20    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
21    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
22    variable wildcard pattern and check `.code()`:
23     \
24    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
25     \
26    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
27    Unhandled(crate::error::sealed_unhandled::Unhandled),
28}
29impl ::std::fmt::Display for Error {
30    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
31        match self {
32            Error::AccessDeniedException(inner) => inner.fmt(f),
33            Error::ConflictException(inner) => inner.fmt(f),
34            Error::InternalServerException(inner) => inner.fmt(f),
35            Error::ResourceNotFoundException(inner) => inner.fmt(f),
36            Error::ServiceQuotaExceededException(inner) => inner.fmt(f),
37            Error::ThrottlingException(inner) => inner.fmt(f),
38            Error::ValidationException(inner) => inner.fmt(f),
39            Error::Unhandled(_) => {
40                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
41                    write!(f, "unhandled error ({code})")
42                } else {
43                    f.write_str("unhandled error")
44                }
45            }
46        }
47    }
48}
49impl From<::aws_smithy_types::error::operation::BuildError> for Error {
50    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
51        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
52            source: value.into(),
53            meta: ::std::default::Default::default(),
54        })
55    }
56}
57impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
58    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
59        match self {
60            Self::AccessDeniedException(inner) => inner.meta(),
61            Self::ConflictException(inner) => inner.meta(),
62            Self::InternalServerException(inner) => inner.meta(),
63            Self::ResourceNotFoundException(inner) => inner.meta(),
64            Self::ServiceQuotaExceededException(inner) => inner.meta(),
65            Self::ThrottlingException(inner) => inner.meta(),
66            Self::ValidationException(inner) => inner.meta(),
67            Self::Unhandled(inner) => &inner.meta,
68        }
69    }
70}
71impl<R>
72    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError, R>>
73    for Error
74where
75    R: Send + Sync + std::fmt::Debug + 'static,
76{
77    fn from(
78        err: ::aws_smithy_runtime_api::client::result::SdkError<
79            crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError,
80            R,
81        >,
82    ) -> Self {
83        match err {
84            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
85            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
86                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
87                source: err.into(),
88            }),
89        }
90    }
91}
92impl From<crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError> for Error {
93    fn from(err: crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError) -> Self {
94        match err {
95            crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError::AccessDeniedException(inner) => {
96                Error::AccessDeniedException(inner)
97            }
98            crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError::ConflictException(inner) => {
99                Error::ConflictException(inner)
100            }
101            crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError::InternalServerException(inner) => {
102                Error::InternalServerException(inner)
103            }
104            crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError::ThrottlingException(inner) => {
105                Error::ThrottlingException(inner)
106            }
107            crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError::ValidationException(inner) => {
108                Error::ValidationException(inner)
109            }
110            crate::operation::accept_marketplace_registration::AcceptMarketplaceRegistrationError::Unhandled(inner) => Error::Unhandled(inner),
111        }
112    }
113}
114impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError, R>>
115    for Error
116where
117    R: Send + Sync + std::fmt::Debug + 'static,
118{
119    fn from(
120        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError, R>,
121    ) -> Self {
122        match err {
123            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
124            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
125                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
126                source: err.into(),
127            }),
128        }
129    }
130}
131impl From<crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError> for Error {
132    fn from(err: crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError) -> Self {
133        match err {
134            crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError::AccessDeniedException(inner) => {
135                Error::AccessDeniedException(inner)
136            }
137            crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError::ConflictException(inner) => {
138                Error::ConflictException(inner)
139            }
140            crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError::InternalServerException(inner) => {
141                Error::InternalServerException(inner)
142            }
143            crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError::ResourceNotFoundException(inner) => {
144                Error::ResourceNotFoundException(inner)
145            }
146            crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError::ThrottlingException(inner) => {
147                Error::ThrottlingException(inner)
148            }
149            crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError::ValidationException(inner) => {
150                Error::ValidationException(inner)
151            }
152            crate::operation::associate_iam_role_to_resource::AssociateIamRoleToResourceError::Unhandled(inner) => Error::Unhandled(inner),
153        }
154    }
155}
156impl<R>
157    From<
158        ::aws_smithy_runtime_api::client::result::SdkError<
159            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError,
160            R,
161        >,
162    > for Error
163where
164    R: Send + Sync + std::fmt::Debug + 'static,
165{
166    fn from(
167        err: ::aws_smithy_runtime_api::client::result::SdkError<
168            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError,
169            R,
170        >,
171    ) -> Self {
172        match err {
173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
176                source: err.into(),
177            }),
178        }
179    }
180}
181impl From<crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError> for Error {
182    fn from(err: crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError) -> Self {
183        match err {
184            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::AccessDeniedException(inner) => {
185                Error::AccessDeniedException(inner)
186            }
187            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ConflictException(inner) => {
188                Error::ConflictException(inner)
189            }
190            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::InternalServerException(inner) => {
191                Error::InternalServerException(inner)
192            }
193            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ResourceNotFoundException(inner) => {
194                Error::ResourceNotFoundException(inner)
195            }
196            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ServiceQuotaExceededException(inner) => {
197                Error::ServiceQuotaExceededException(inner)
198            }
199            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ThrottlingException(inner) => {
200                Error::ThrottlingException(inner)
201            }
202            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ValidationException(inner) => {
203                Error::ValidationException(inner)
204            }
205            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
206        }
207    }
208}
209impl<R>
210    From<
211        ::aws_smithy_runtime_api::client::result::SdkError<
212            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError,
213            R,
214        >,
215    > for Error
216where
217    R: Send + Sync + std::fmt::Debug + 'static,
218{
219    fn from(
220        err: ::aws_smithy_runtime_api::client::result::SdkError<
221            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError,
222            R,
223        >,
224    ) -> Self {
225        match err {
226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
229                source: err.into(),
230            }),
231        }
232    }
233}
234impl From<crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError> for Error {
235    fn from(err: crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError) -> Self {
236        match err {
237            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::AccessDeniedException(inner) => {
238                Error::AccessDeniedException(inner)
239            }
240            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::ConflictException(inner) => {
241                Error::ConflictException(inner)
242            }
243            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::InternalServerException(inner) => {
244                Error::InternalServerException(inner)
245            }
246            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::ServiceQuotaExceededException(inner) => {
247                Error::ServiceQuotaExceededException(inner)
248            }
249            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::ThrottlingException(inner) => {
250                Error::ThrottlingException(inner)
251            }
252            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::ValidationException(inner) => {
253                Error::ValidationException(inner)
254            }
255            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::Unhandled(inner) => Error::Unhandled(inner),
256        }
257    }
258}
259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError, R>> for Error
260where
261    R: Send + Sync + std::fmt::Debug + 'static,
262{
263    fn from(
264        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError, R>,
265    ) -> Self {
266        match err {
267            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
268            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
269                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
270                source: err.into(),
271            }),
272        }
273    }
274}
275impl From<crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError> for Error {
276    fn from(err: crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError) -> Self {
277        match err {
278            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
279            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ConflictException(inner) => Error::ConflictException(inner),
280            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::InternalServerException(inner) => {
281                Error::InternalServerException(inner)
282            }
283            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ResourceNotFoundException(inner) => {
284                Error::ResourceNotFoundException(inner)
285            }
286            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ServiceQuotaExceededException(inner) => {
287                Error::ServiceQuotaExceededException(inner)
288            }
289            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
290            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ValidationException(inner) => Error::ValidationException(inner),
291            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
292        }
293    }
294}
295impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_odb_network::CreateOdbNetworkError, R>> for Error
296where
297    R: Send + Sync + std::fmt::Debug + 'static,
298{
299    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_odb_network::CreateOdbNetworkError, R>) -> Self {
300        match err {
301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
304                source: err.into(),
305            }),
306        }
307    }
308}
309impl From<crate::operation::create_odb_network::CreateOdbNetworkError> for Error {
310    fn from(err: crate::operation::create_odb_network::CreateOdbNetworkError) -> Self {
311        match err {
312            crate::operation::create_odb_network::CreateOdbNetworkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
313            crate::operation::create_odb_network::CreateOdbNetworkError::ConflictException(inner) => Error::ConflictException(inner),
314            crate::operation::create_odb_network::CreateOdbNetworkError::InternalServerException(inner) => Error::InternalServerException(inner),
315            crate::operation::create_odb_network::CreateOdbNetworkError::ServiceQuotaExceededException(inner) => {
316                Error::ServiceQuotaExceededException(inner)
317            }
318            crate::operation::create_odb_network::CreateOdbNetworkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
319            crate::operation::create_odb_network::CreateOdbNetworkError::ValidationException(inner) => Error::ValidationException(inner),
320            crate::operation::create_odb_network::CreateOdbNetworkError::Unhandled(inner) => Error::Unhandled(inner),
321        }
322    }
323}
324impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError, R>>
325    for Error
326where
327    R: Send + Sync + std::fmt::Debug + 'static,
328{
329    fn from(
330        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError, R>,
331    ) -> Self {
332        match err {
333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
336                source: err.into(),
337            }),
338        }
339    }
340}
341impl From<crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError> for Error {
342    fn from(err: crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError) -> Self {
343        match err {
344            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::AccessDeniedException(inner) => {
345                Error::AccessDeniedException(inner)
346            }
347            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::ConflictException(inner) => {
348                Error::ConflictException(inner)
349            }
350            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::InternalServerException(inner) => {
351                Error::InternalServerException(inner)
352            }
353            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::ResourceNotFoundException(inner) => {
354                Error::ResourceNotFoundException(inner)
355            }
356            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::ThrottlingException(inner) => {
357                Error::ThrottlingException(inner)
358            }
359            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::ValidationException(inner) => {
360                Error::ValidationException(inner)
361            }
362            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
363        }
364    }
365}
366impl<R>
367    From<
368        ::aws_smithy_runtime_api::client::result::SdkError<
369            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError,
370            R,
371        >,
372    > for Error
373where
374    R: Send + Sync + std::fmt::Debug + 'static,
375{
376    fn from(
377        err: ::aws_smithy_runtime_api::client::result::SdkError<
378            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError,
379            R,
380        >,
381    ) -> Self {
382        match err {
383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
386                source: err.into(),
387            }),
388        }
389    }
390}
391impl From<crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError> for Error {
392    fn from(err: crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError) -> Self {
393        match err {
394            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::AccessDeniedException(inner) => {
395                Error::AccessDeniedException(inner)
396            }
397            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::ConflictException(inner) => {
398                Error::ConflictException(inner)
399            }
400            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::InternalServerException(inner) => {
401                Error::InternalServerException(inner)
402            }
403            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::ResourceNotFoundException(inner) => {
404                Error::ResourceNotFoundException(inner)
405            }
406            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::ValidationException(inner) => {
407                Error::ValidationException(inner)
408            }
409            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
410        }
411    }
412}
413impl<R>
414    From<
415        ::aws_smithy_runtime_api::client::result::SdkError<
416            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError,
417            R,
418        >,
419    > for Error
420where
421    R: Send + Sync + std::fmt::Debug + 'static,
422{
423    fn from(
424        err: ::aws_smithy_runtime_api::client::result::SdkError<
425            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError,
426            R,
427        >,
428    ) -> Self {
429        match err {
430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
433                source: err.into(),
434            }),
435        }
436    }
437}
438impl From<crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError> for Error {
439    fn from(err: crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError) -> Self {
440        match err {
441            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::AccessDeniedException(inner) => {
442                Error::AccessDeniedException(inner)
443            }
444            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::ConflictException(inner) => {
445                Error::ConflictException(inner)
446            }
447            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::InternalServerException(inner) => {
448                Error::InternalServerException(inner)
449            }
450            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::ResourceNotFoundException(inner) => {
451                Error::ResourceNotFoundException(inner)
452            }
453            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::ThrottlingException(inner) => {
454                Error::ThrottlingException(inner)
455            }
456            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::ValidationException(inner) => {
457                Error::ValidationException(inner)
458            }
459            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::Unhandled(inner) => Error::Unhandled(inner),
460        }
461    }
462}
463impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError, R>> for Error
464where
465    R: Send + Sync + std::fmt::Debug + 'static,
466{
467    fn from(
468        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError, R>,
469    ) -> Self {
470        match err {
471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
474                source: err.into(),
475            }),
476        }
477    }
478}
479impl From<crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError> for Error {
480    fn from(err: crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError) -> Self {
481        match err {
482            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
483            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::ConflictException(inner) => Error::ConflictException(inner),
484            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::InternalServerException(inner) => {
485                Error::InternalServerException(inner)
486            }
487            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::ResourceNotFoundException(inner) => {
488                Error::ResourceNotFoundException(inner)
489            }
490            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::ValidationException(inner) => Error::ValidationException(inner),
491            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
492        }
493    }
494}
495impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_odb_network::DeleteOdbNetworkError, R>> for Error
496where
497    R: Send + Sync + std::fmt::Debug + 'static,
498{
499    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_odb_network::DeleteOdbNetworkError, R>) -> Self {
500        match err {
501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
504                source: err.into(),
505            }),
506        }
507    }
508}
509impl From<crate::operation::delete_odb_network::DeleteOdbNetworkError> for Error {
510    fn from(err: crate::operation::delete_odb_network::DeleteOdbNetworkError) -> Self {
511        match err {
512            crate::operation::delete_odb_network::DeleteOdbNetworkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
513            crate::operation::delete_odb_network::DeleteOdbNetworkError::InternalServerException(inner) => Error::InternalServerException(inner),
514            crate::operation::delete_odb_network::DeleteOdbNetworkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
515            crate::operation::delete_odb_network::DeleteOdbNetworkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
516            crate::operation::delete_odb_network::DeleteOdbNetworkError::ValidationException(inner) => Error::ValidationException(inner),
517            crate::operation::delete_odb_network::DeleteOdbNetworkError::Unhandled(inner) => Error::Unhandled(inner),
518        }
519    }
520}
521impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError, R>>
522    for Error
523where
524    R: Send + Sync + std::fmt::Debug + 'static,
525{
526    fn from(
527        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError, R>,
528    ) -> Self {
529        match err {
530            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
531            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
532                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
533                source: err.into(),
534            }),
535        }
536    }
537}
538impl From<crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError> for Error {
539    fn from(err: crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError) -> Self {
540        match err {
541            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::AccessDeniedException(inner) => {
542                Error::AccessDeniedException(inner)
543            }
544            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::InternalServerException(inner) => {
545                Error::InternalServerException(inner)
546            }
547            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::ResourceNotFoundException(inner) => {
548                Error::ResourceNotFoundException(inner)
549            }
550            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::ThrottlingException(inner) => {
551                Error::ThrottlingException(inner)
552            }
553            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::ValidationException(inner) => {
554                Error::ValidationException(inner)
555            }
556            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
557        }
558    }
559}
560impl<R>
561    From<
562        ::aws_smithy_runtime_api::client::result::SdkError<
563            crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError,
564            R,
565        >,
566    > for Error
567where
568    R: Send + Sync + std::fmt::Debug + 'static,
569{
570    fn from(
571        err: ::aws_smithy_runtime_api::client::result::SdkError<
572            crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError,
573            R,
574        >,
575    ) -> Self {
576        match err {
577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
580                source: err.into(),
581            }),
582        }
583    }
584}
585impl From<crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError> for Error {
586    fn from(err: crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError) -> Self {
587        match err {
588            crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError::AccessDeniedException(inner) => {
589                Error::AccessDeniedException(inner)
590            }
591            crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError::ConflictException(inner) => {
592                Error::ConflictException(inner)
593            }
594            crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError::InternalServerException(inner) => {
595                Error::InternalServerException(inner)
596            }
597            crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError::ResourceNotFoundException(inner) => {
598                Error::ResourceNotFoundException(inner)
599            }
600            crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError::ThrottlingException(inner) => {
601                Error::ThrottlingException(inner)
602            }
603            crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError::ValidationException(inner) => {
604                Error::ValidationException(inner)
605            }
606            crate::operation::disassociate_iam_role_from_resource::DisassociateIamRoleFromResourceError::Unhandled(inner) => Error::Unhandled(inner),
607        }
608    }
609}
610impl<R>
611    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError, R>>
612    for Error
613where
614    R: Send + Sync + std::fmt::Debug + 'static,
615{
616    fn from(
617        err: ::aws_smithy_runtime_api::client::result::SdkError<
618            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError,
619            R,
620        >,
621    ) -> Self {
622        match err {
623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
626                source: err.into(),
627            }),
628        }
629    }
630}
631impl From<crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError> for Error {
632    fn from(err: crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError) -> Self {
633        match err {
634            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::AccessDeniedException(inner) => {
635                Error::AccessDeniedException(inner)
636            }
637            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::InternalServerException(inner) => {
638                Error::InternalServerException(inner)
639            }
640            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::ResourceNotFoundException(inner) => {
641                Error::ResourceNotFoundException(inner)
642            }
643            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::ThrottlingException(inner) => {
644                Error::ThrottlingException(inner)
645            }
646            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::ValidationException(inner) => {
647                Error::ValidationException(inner)
648            }
649            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
650        }
651    }
652}
653impl<R>
654    From<
655        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError, R>,
656    > for Error
657where
658    R: Send + Sync + std::fmt::Debug + 'static,
659{
660    fn from(
661        err: ::aws_smithy_runtime_api::client::result::SdkError<
662            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError,
663            R,
664        >,
665    ) -> Self {
666        match err {
667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
670                source: err.into(),
671            }),
672        }
673    }
674}
675impl From<crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError> for Error {
676    fn from(err: crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError) -> Self {
677        match err {
678            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::AccessDeniedException(inner) => {
679                Error::AccessDeniedException(inner)
680            }
681            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::InternalServerException(inner) => {
682                Error::InternalServerException(inner)
683            }
684            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::ResourceNotFoundException(inner) => {
685                Error::ResourceNotFoundException(inner)
686            }
687            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::ThrottlingException(inner) => {
688                Error::ThrottlingException(inner)
689            }
690            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::ValidationException(inner) => {
691                Error::ValidationException(inner)
692            }
693            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::Unhandled(inner) => Error::Unhandled(inner),
694        }
695    }
696}
697impl<R>
698    From<
699        ::aws_smithy_runtime_api::client::result::SdkError<
700            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError,
701            R,
702        >,
703    > for Error
704where
705    R: Send + Sync + std::fmt::Debug + 'static,
706{
707    fn from(
708        err: ::aws_smithy_runtime_api::client::result::SdkError<
709            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError,
710            R,
711        >,
712    ) -> Self {
713        match err {
714            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
715            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
716                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
717                source: err.into(),
718            }),
719        }
720    }
721}
722impl From<crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError>
723    for Error
724{
725    fn from(
726        err: crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError,
727    ) -> Self {
728        match err {
729            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
730            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::InternalServerException(inner) => Error::InternalServerException(inner),
731            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
732            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
733            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::ValidationException(inner) => Error::ValidationException(inner),
734            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::Unhandled(inner) => Error::Unhandled(inner),
735        }
736    }
737}
738impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError, R>> for Error
739where
740    R: Send + Sync + std::fmt::Debug + 'static,
741{
742    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError, R>) -> Self {
743        match err {
744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
747                source: err.into(),
748            }),
749        }
750    }
751}
752impl From<crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError> for Error {
753    fn from(err: crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError) -> Self {
754        match err {
755            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
756            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::InternalServerException(inner) => Error::InternalServerException(inner),
757            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::ResourceNotFoundException(inner) => {
758                Error::ResourceNotFoundException(inner)
759            }
760            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
761            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::ValidationException(inner) => Error::ValidationException(inner),
762            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
763        }
764    }
765}
766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_db_node::GetDbNodeError, R>> for Error
767where
768    R: Send + Sync + std::fmt::Debug + 'static,
769{
770    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_db_node::GetDbNodeError, R>) -> Self {
771        match err {
772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
775                source: err.into(),
776            }),
777        }
778    }
779}
780impl From<crate::operation::get_db_node::GetDbNodeError> for Error {
781    fn from(err: crate::operation::get_db_node::GetDbNodeError) -> Self {
782        match err {
783            crate::operation::get_db_node::GetDbNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
784            crate::operation::get_db_node::GetDbNodeError::InternalServerException(inner) => Error::InternalServerException(inner),
785            crate::operation::get_db_node::GetDbNodeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
786            crate::operation::get_db_node::GetDbNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
787            crate::operation::get_db_node::GetDbNodeError::ValidationException(inner) => Error::ValidationException(inner),
788            crate::operation::get_db_node::GetDbNodeError::Unhandled(inner) => Error::Unhandled(inner),
789        }
790    }
791}
792impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_db_server::GetDbServerError, R>> for Error
793where
794    R: Send + Sync + std::fmt::Debug + 'static,
795{
796    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_db_server::GetDbServerError, R>) -> Self {
797        match err {
798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
801                source: err.into(),
802            }),
803        }
804    }
805}
806impl From<crate::operation::get_db_server::GetDbServerError> for Error {
807    fn from(err: crate::operation::get_db_server::GetDbServerError) -> Self {
808        match err {
809            crate::operation::get_db_server::GetDbServerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
810            crate::operation::get_db_server::GetDbServerError::InternalServerException(inner) => Error::InternalServerException(inner),
811            crate::operation::get_db_server::GetDbServerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
812            crate::operation::get_db_server::GetDbServerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
813            crate::operation::get_db_server::GetDbServerError::ValidationException(inner) => Error::ValidationException(inner),
814            crate::operation::get_db_server::GetDbServerError::Unhandled(inner) => Error::Unhandled(inner),
815        }
816    }
817}
818impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError, R>>
819    for Error
820where
821    R: Send + Sync + std::fmt::Debug + 'static,
822{
823    fn from(
824        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError, R>,
825    ) -> Self {
826        match err {
827            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
828            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
829                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
830                source: err.into(),
831            }),
832        }
833    }
834}
835impl From<crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError> for Error {
836    fn from(err: crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError) -> Self {
837        match err {
838            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::AccessDeniedException(inner) => {
839                Error::AccessDeniedException(inner)
840            }
841            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::InternalServerException(inner) => {
842                Error::InternalServerException(inner)
843            }
844            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::ThrottlingException(inner) => Error::ThrottlingException(inner),
845            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::ValidationException(inner) => Error::ValidationException(inner),
846            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::Unhandled(inner) => Error::Unhandled(inner),
847        }
848    }
849}
850impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_odb_network::GetOdbNetworkError, R>> for Error
851where
852    R: Send + Sync + std::fmt::Debug + 'static,
853{
854    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_odb_network::GetOdbNetworkError, R>) -> Self {
855        match err {
856            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
857            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
858                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
859                source: err.into(),
860            }),
861        }
862    }
863}
864impl From<crate::operation::get_odb_network::GetOdbNetworkError> for Error {
865    fn from(err: crate::operation::get_odb_network::GetOdbNetworkError) -> Self {
866        match err {
867            crate::operation::get_odb_network::GetOdbNetworkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
868            crate::operation::get_odb_network::GetOdbNetworkError::InternalServerException(inner) => Error::InternalServerException(inner),
869            crate::operation::get_odb_network::GetOdbNetworkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
870            crate::operation::get_odb_network::GetOdbNetworkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
871            crate::operation::get_odb_network::GetOdbNetworkError::ValidationException(inner) => Error::ValidationException(inner),
872            crate::operation::get_odb_network::GetOdbNetworkError::Unhandled(inner) => Error::Unhandled(inner),
873        }
874    }
875}
876impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError, R>>
877    for Error
878where
879    R: Send + Sync + std::fmt::Debug + 'static,
880{
881    fn from(
882        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError, R>,
883    ) -> Self {
884        match err {
885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
888                source: err.into(),
889            }),
890        }
891    }
892}
893impl From<crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError> for Error {
894    fn from(err: crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError) -> Self {
895        match err {
896            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::AccessDeniedException(inner) => {
897                Error::AccessDeniedException(inner)
898            }
899            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::InternalServerException(inner) => {
900                Error::InternalServerException(inner)
901            }
902            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::ResourceNotFoundException(inner) => {
903                Error::ResourceNotFoundException(inner)
904            }
905            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::ThrottlingException(inner) => {
906                Error::ThrottlingException(inner)
907            }
908            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::ValidationException(inner) => {
909                Error::ValidationException(inner)
910            }
911            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
912        }
913    }
914}
915impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::initialize_service::InitializeServiceError, R>> for Error
916where
917    R: Send + Sync + std::fmt::Debug + 'static,
918{
919    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::initialize_service::InitializeServiceError, R>) -> Self {
920        match err {
921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
924                source: err.into(),
925            }),
926        }
927    }
928}
929impl From<crate::operation::initialize_service::InitializeServiceError> for Error {
930    fn from(err: crate::operation::initialize_service::InitializeServiceError) -> Self {
931        match err {
932            crate::operation::initialize_service::InitializeServiceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
933            crate::operation::initialize_service::InitializeServiceError::InternalServerException(inner) => Error::InternalServerException(inner),
934            crate::operation::initialize_service::InitializeServiceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
935            crate::operation::initialize_service::InitializeServiceError::ValidationException(inner) => Error::ValidationException(inner),
936            crate::operation::initialize_service::InitializeServiceError::Unhandled(inner) => Error::Unhandled(inner),
937        }
938    }
939}
940impl<R>
941    From<
942        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError, R>,
943    > for Error
944where
945    R: Send + Sync + std::fmt::Debug + 'static,
946{
947    fn from(
948        err: ::aws_smithy_runtime_api::client::result::SdkError<
949            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError,
950            R,
951        >,
952    ) -> Self {
953        match err {
954            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
955            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
956                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
957                source: err.into(),
958            }),
959        }
960    }
961}
962impl From<crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError> for Error {
963    fn from(err: crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError) -> Self {
964        match err {
965            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::AccessDeniedException(inner) => {
966                Error::AccessDeniedException(inner)
967            }
968            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::InternalServerException(inner) => {
969                Error::InternalServerException(inner)
970            }
971            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::ResourceNotFoundException(inner) => {
972                Error::ResourceNotFoundException(inner)
973            }
974            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::ThrottlingException(inner) => {
975                Error::ThrottlingException(inner)
976            }
977            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::ValidationException(inner) => {
978                Error::ValidationException(inner)
979            }
980            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::Unhandled(inner) => Error::Unhandled(inner),
981        }
982    }
983}
984impl<R>
985    From<
986        ::aws_smithy_runtime_api::client::result::SdkError<
987            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError,
988            R,
989        >,
990    > for Error
991where
992    R: Send + Sync + std::fmt::Debug + 'static,
993{
994    fn from(
995        err: ::aws_smithy_runtime_api::client::result::SdkError<
996            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError,
997            R,
998        >,
999    ) -> Self {
1000        match err {
1001            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1002            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1003                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1004                source: err.into(),
1005            }),
1006        }
1007    }
1008}
1009impl From<crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError> for Error {
1010    fn from(err: crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError) -> Self {
1011        match err {
1012            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::AccessDeniedException(inner) => {
1013                Error::AccessDeniedException(inner)
1014            }
1015            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::InternalServerException(inner) => {
1016                Error::InternalServerException(inner)
1017            }
1018            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::ResourceNotFoundException(inner) => {
1019                Error::ResourceNotFoundException(inner)
1020            }
1021            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::ThrottlingException(inner) => {
1022                Error::ThrottlingException(inner)
1023            }
1024            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::ValidationException(inner) => {
1025                Error::ValidationException(inner)
1026            }
1027            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::Unhandled(inner) => Error::Unhandled(inner),
1028        }
1029    }
1030}
1031impl<R>
1032    From<
1033        ::aws_smithy_runtime_api::client::result::SdkError<
1034            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError,
1035            R,
1036        >,
1037    > for Error
1038where
1039    R: Send + Sync + std::fmt::Debug + 'static,
1040{
1041    fn from(
1042        err: ::aws_smithy_runtime_api::client::result::SdkError<
1043            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError,
1044            R,
1045        >,
1046    ) -> Self {
1047        match err {
1048            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1049            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1050                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1051                source: err.into(),
1052            }),
1053        }
1054    }
1055}
1056impl From<crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError> for Error {
1057    fn from(err: crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError) -> Self {
1058        match err {
1059            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::AccessDeniedException(inner) => {
1060                Error::AccessDeniedException(inner)
1061            }
1062            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::InternalServerException(inner) => {
1063                Error::InternalServerException(inner)
1064            }
1065            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::ThrottlingException(inner) => {
1066                Error::ThrottlingException(inner)
1067            }
1068            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::ValidationException(inner) => {
1069                Error::ValidationException(inner)
1070            }
1071            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::Unhandled(inner) => Error::Unhandled(inner),
1072        }
1073    }
1074}
1075impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError, R>> for Error
1076where
1077    R: Send + Sync + std::fmt::Debug + 'static,
1078{
1079    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError, R>) -> Self {
1080        match err {
1081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1084                source: err.into(),
1085            }),
1086        }
1087    }
1088}
1089impl From<crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError> for Error {
1090    fn from(err: crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError) -> Self {
1091        match err {
1092            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1093            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::InternalServerException(inner) => {
1094                Error::InternalServerException(inner)
1095            }
1096            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::ResourceNotFoundException(inner) => {
1097                Error::ResourceNotFoundException(inner)
1098            }
1099            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1100            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::ValidationException(inner) => Error::ValidationException(inner),
1101            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::Unhandled(inner) => Error::Unhandled(inner),
1102        }
1103    }
1104}
1105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_nodes::ListDbNodesError, R>> for Error
1106where
1107    R: Send + Sync + std::fmt::Debug + 'static,
1108{
1109    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_nodes::ListDbNodesError, R>) -> Self {
1110        match err {
1111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1114                source: err.into(),
1115            }),
1116        }
1117    }
1118}
1119impl From<crate::operation::list_db_nodes::ListDbNodesError> for Error {
1120    fn from(err: crate::operation::list_db_nodes::ListDbNodesError) -> Self {
1121        match err {
1122            crate::operation::list_db_nodes::ListDbNodesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1123            crate::operation::list_db_nodes::ListDbNodesError::InternalServerException(inner) => Error::InternalServerException(inner),
1124            crate::operation::list_db_nodes::ListDbNodesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1125            crate::operation::list_db_nodes::ListDbNodesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1126            crate::operation::list_db_nodes::ListDbNodesError::ValidationException(inner) => Error::ValidationException(inner),
1127            crate::operation::list_db_nodes::ListDbNodesError::Unhandled(inner) => Error::Unhandled(inner),
1128        }
1129    }
1130}
1131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_servers::ListDbServersError, R>> for Error
1132where
1133    R: Send + Sync + std::fmt::Debug + 'static,
1134{
1135    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_servers::ListDbServersError, R>) -> Self {
1136        match err {
1137            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1138            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1139                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1140                source: err.into(),
1141            }),
1142        }
1143    }
1144}
1145impl From<crate::operation::list_db_servers::ListDbServersError> for Error {
1146    fn from(err: crate::operation::list_db_servers::ListDbServersError) -> Self {
1147        match err {
1148            crate::operation::list_db_servers::ListDbServersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1149            crate::operation::list_db_servers::ListDbServersError::InternalServerException(inner) => Error::InternalServerException(inner),
1150            crate::operation::list_db_servers::ListDbServersError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1151            crate::operation::list_db_servers::ListDbServersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1152            crate::operation::list_db_servers::ListDbServersError::ValidationException(inner) => Error::ValidationException(inner),
1153            crate::operation::list_db_servers::ListDbServersError::Unhandled(inner) => Error::Unhandled(inner),
1154        }
1155    }
1156}
1157impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_system_shapes::ListDbSystemShapesError, R>> for Error
1158where
1159    R: Send + Sync + std::fmt::Debug + 'static,
1160{
1161    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_system_shapes::ListDbSystemShapesError, R>) -> Self {
1162        match err {
1163            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1164            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1165                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1166                source: err.into(),
1167            }),
1168        }
1169    }
1170}
1171impl From<crate::operation::list_db_system_shapes::ListDbSystemShapesError> for Error {
1172    fn from(err: crate::operation::list_db_system_shapes::ListDbSystemShapesError) -> Self {
1173        match err {
1174            crate::operation::list_db_system_shapes::ListDbSystemShapesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1175            crate::operation::list_db_system_shapes::ListDbSystemShapesError::InternalServerException(inner) => Error::InternalServerException(inner),
1176            crate::operation::list_db_system_shapes::ListDbSystemShapesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1177            crate::operation::list_db_system_shapes::ListDbSystemShapesError::ValidationException(inner) => Error::ValidationException(inner),
1178            crate::operation::list_db_system_shapes::ListDbSystemShapesError::Unhandled(inner) => Error::Unhandled(inner),
1179        }
1180    }
1181}
1182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gi_versions::ListGiVersionsError, R>> for Error
1183where
1184    R: Send + Sync + std::fmt::Debug + 'static,
1185{
1186    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gi_versions::ListGiVersionsError, R>) -> Self {
1187        match err {
1188            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1189            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1190                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1191                source: err.into(),
1192            }),
1193        }
1194    }
1195}
1196impl From<crate::operation::list_gi_versions::ListGiVersionsError> for Error {
1197    fn from(err: crate::operation::list_gi_versions::ListGiVersionsError) -> Self {
1198        match err {
1199            crate::operation::list_gi_versions::ListGiVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1200            crate::operation::list_gi_versions::ListGiVersionsError::InternalServerException(inner) => Error::InternalServerException(inner),
1201            crate::operation::list_gi_versions::ListGiVersionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1202            crate::operation::list_gi_versions::ListGiVersionsError::ValidationException(inner) => Error::ValidationException(inner),
1203            crate::operation::list_gi_versions::ListGiVersionsError::Unhandled(inner) => Error::Unhandled(inner),
1204        }
1205    }
1206}
1207impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_odb_networks::ListOdbNetworksError, R>> for Error
1208where
1209    R: Send + Sync + std::fmt::Debug + 'static,
1210{
1211    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_odb_networks::ListOdbNetworksError, R>) -> Self {
1212        match err {
1213            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1214            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1215                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1216                source: err.into(),
1217            }),
1218        }
1219    }
1220}
1221impl From<crate::operation::list_odb_networks::ListOdbNetworksError> for Error {
1222    fn from(err: crate::operation::list_odb_networks::ListOdbNetworksError) -> Self {
1223        match err {
1224            crate::operation::list_odb_networks::ListOdbNetworksError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1225            crate::operation::list_odb_networks::ListOdbNetworksError::InternalServerException(inner) => Error::InternalServerException(inner),
1226            crate::operation::list_odb_networks::ListOdbNetworksError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1227            crate::operation::list_odb_networks::ListOdbNetworksError::ValidationException(inner) => Error::ValidationException(inner),
1228            crate::operation::list_odb_networks::ListOdbNetworksError::Unhandled(inner) => Error::Unhandled(inner),
1229        }
1230    }
1231}
1232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError, R>>
1233    for Error
1234where
1235    R: Send + Sync + std::fmt::Debug + 'static,
1236{
1237    fn from(
1238        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError, R>,
1239    ) -> Self {
1240        match err {
1241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1244                source: err.into(),
1245            }),
1246        }
1247    }
1248}
1249impl From<crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError> for Error {
1250    fn from(err: crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError) -> Self {
1251        match err {
1252            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::AccessDeniedException(inner) => {
1253                Error::AccessDeniedException(inner)
1254            }
1255            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::InternalServerException(inner) => {
1256                Error::InternalServerException(inner)
1257            }
1258            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::ResourceNotFoundException(inner) => {
1259                Error::ResourceNotFoundException(inner)
1260            }
1261            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::ThrottlingException(inner) => {
1262                Error::ThrottlingException(inner)
1263            }
1264            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::ValidationException(inner) => {
1265                Error::ValidationException(inner)
1266            }
1267            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
1268        }
1269    }
1270}
1271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_system_versions::ListSystemVersionsError, R>> for Error
1272where
1273    R: Send + Sync + std::fmt::Debug + 'static,
1274{
1275    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_system_versions::ListSystemVersionsError, R>) -> Self {
1276        match err {
1277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1280                source: err.into(),
1281            }),
1282        }
1283    }
1284}
1285impl From<crate::operation::list_system_versions::ListSystemVersionsError> for Error {
1286    fn from(err: crate::operation::list_system_versions::ListSystemVersionsError) -> Self {
1287        match err {
1288            crate::operation::list_system_versions::ListSystemVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1289            crate::operation::list_system_versions::ListSystemVersionsError::InternalServerException(inner) => Error::InternalServerException(inner),
1290            crate::operation::list_system_versions::ListSystemVersionsError::ResourceNotFoundException(inner) => {
1291                Error::ResourceNotFoundException(inner)
1292            }
1293            crate::operation::list_system_versions::ListSystemVersionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1294            crate::operation::list_system_versions::ListSystemVersionsError::ValidationException(inner) => Error::ValidationException(inner),
1295            crate::operation::list_system_versions::ListSystemVersionsError::Unhandled(inner) => Error::Unhandled(inner),
1296        }
1297    }
1298}
1299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
1300where
1301    R: Send + Sync + std::fmt::Debug + 'static,
1302{
1303    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
1304        match err {
1305            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1306            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1307                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1308                source: err.into(),
1309            }),
1310        }
1311    }
1312}
1313impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
1314    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1315        match err {
1316            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
1317                Error::ResourceNotFoundException(inner)
1318            }
1319            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1320        }
1321    }
1322}
1323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_db_node::RebootDbNodeError, R>> for Error
1324where
1325    R: Send + Sync + std::fmt::Debug + 'static,
1326{
1327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_db_node::RebootDbNodeError, R>) -> Self {
1328        match err {
1329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1332                source: err.into(),
1333            }),
1334        }
1335    }
1336}
1337impl From<crate::operation::reboot_db_node::RebootDbNodeError> for Error {
1338    fn from(err: crate::operation::reboot_db_node::RebootDbNodeError) -> Self {
1339        match err {
1340            crate::operation::reboot_db_node::RebootDbNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1341            crate::operation::reboot_db_node::RebootDbNodeError::InternalServerException(inner) => Error::InternalServerException(inner),
1342            crate::operation::reboot_db_node::RebootDbNodeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1343            crate::operation::reboot_db_node::RebootDbNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1344            crate::operation::reboot_db_node::RebootDbNodeError::ValidationException(inner) => Error::ValidationException(inner),
1345            crate::operation::reboot_db_node::RebootDbNodeError::Unhandled(inner) => Error::Unhandled(inner),
1346        }
1347    }
1348}
1349impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_db_node::StartDbNodeError, R>> for Error
1350where
1351    R: Send + Sync + std::fmt::Debug + 'static,
1352{
1353    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_db_node::StartDbNodeError, R>) -> Self {
1354        match err {
1355            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1356            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1357                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1358                source: err.into(),
1359            }),
1360        }
1361    }
1362}
1363impl From<crate::operation::start_db_node::StartDbNodeError> for Error {
1364    fn from(err: crate::operation::start_db_node::StartDbNodeError) -> Self {
1365        match err {
1366            crate::operation::start_db_node::StartDbNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1367            crate::operation::start_db_node::StartDbNodeError::InternalServerException(inner) => Error::InternalServerException(inner),
1368            crate::operation::start_db_node::StartDbNodeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1369            crate::operation::start_db_node::StartDbNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1370            crate::operation::start_db_node::StartDbNodeError::ValidationException(inner) => Error::ValidationException(inner),
1371            crate::operation::start_db_node::StartDbNodeError::Unhandled(inner) => Error::Unhandled(inner),
1372        }
1373    }
1374}
1375impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_db_node::StopDbNodeError, R>> for Error
1376where
1377    R: Send + Sync + std::fmt::Debug + 'static,
1378{
1379    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_db_node::StopDbNodeError, R>) -> Self {
1380        match err {
1381            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1382            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1383                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1384                source: err.into(),
1385            }),
1386        }
1387    }
1388}
1389impl From<crate::operation::stop_db_node::StopDbNodeError> for Error {
1390    fn from(err: crate::operation::stop_db_node::StopDbNodeError) -> Self {
1391        match err {
1392            crate::operation::stop_db_node::StopDbNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1393            crate::operation::stop_db_node::StopDbNodeError::InternalServerException(inner) => Error::InternalServerException(inner),
1394            crate::operation::stop_db_node::StopDbNodeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1395            crate::operation::stop_db_node::StopDbNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1396            crate::operation::stop_db_node::StopDbNodeError::ValidationException(inner) => Error::ValidationException(inner),
1397            crate::operation::stop_db_node::StopDbNodeError::Unhandled(inner) => Error::Unhandled(inner),
1398        }
1399    }
1400}
1401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
1402where
1403    R: Send + Sync + std::fmt::Debug + 'static,
1404{
1405    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
1406        match err {
1407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1410                source: err.into(),
1411            }),
1412        }
1413    }
1414}
1415impl From<crate::operation::tag_resource::TagResourceError> for Error {
1416    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
1417        match err {
1418            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1419            crate::operation::tag_resource::TagResourceError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1420            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1421        }
1422    }
1423}
1424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
1425where
1426    R: Send + Sync + std::fmt::Debug + 'static,
1427{
1428    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
1429        match err {
1430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1433                source: err.into(),
1434            }),
1435        }
1436    }
1437}
1438impl From<crate::operation::untag_resource::UntagResourceError> for Error {
1439    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
1440        match err {
1441            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1442            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1443        }
1444    }
1445}
1446impl<R>
1447    From<
1448        ::aws_smithy_runtime_api::client::result::SdkError<
1449            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError,
1450            R,
1451        >,
1452    > for Error
1453where
1454    R: Send + Sync + std::fmt::Debug + 'static,
1455{
1456    fn from(
1457        err: ::aws_smithy_runtime_api::client::result::SdkError<
1458            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError,
1459            R,
1460        >,
1461    ) -> Self {
1462        match err {
1463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1466                source: err.into(),
1467            }),
1468        }
1469    }
1470}
1471impl From<crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError> for Error {
1472    fn from(err: crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError) -> Self {
1473        match err {
1474            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::AccessDeniedException(inner) => {
1475                Error::AccessDeniedException(inner)
1476            }
1477            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::ConflictException(inner) => {
1478                Error::ConflictException(inner)
1479            }
1480            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::InternalServerException(inner) => {
1481                Error::InternalServerException(inner)
1482            }
1483            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::ResourceNotFoundException(inner) => {
1484                Error::ResourceNotFoundException(inner)
1485            }
1486            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::ThrottlingException(inner) => {
1487                Error::ThrottlingException(inner)
1488            }
1489            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::ValidationException(inner) => {
1490                Error::ValidationException(inner)
1491            }
1492            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::Unhandled(inner) => Error::Unhandled(inner),
1493        }
1494    }
1495}
1496impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_odb_network::UpdateOdbNetworkError, R>> for Error
1497where
1498    R: Send + Sync + std::fmt::Debug + 'static,
1499{
1500    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_odb_network::UpdateOdbNetworkError, R>) -> Self {
1501        match err {
1502            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1503            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1504                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1505                source: err.into(),
1506            }),
1507        }
1508    }
1509}
1510impl From<crate::operation::update_odb_network::UpdateOdbNetworkError> for Error {
1511    fn from(err: crate::operation::update_odb_network::UpdateOdbNetworkError) -> Self {
1512        match err {
1513            crate::operation::update_odb_network::UpdateOdbNetworkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1514            crate::operation::update_odb_network::UpdateOdbNetworkError::ConflictException(inner) => Error::ConflictException(inner),
1515            crate::operation::update_odb_network::UpdateOdbNetworkError::InternalServerException(inner) => Error::InternalServerException(inner),
1516            crate::operation::update_odb_network::UpdateOdbNetworkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1517            crate::operation::update_odb_network::UpdateOdbNetworkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1518            crate::operation::update_odb_network::UpdateOdbNetworkError::ValidationException(inner) => Error::ValidationException(inner),
1519            crate::operation::update_odb_network::UpdateOdbNetworkError::Unhandled(inner) => Error::Unhandled(inner),
1520        }
1521    }
1522}
1523impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError, R>>
1524    for Error
1525where
1526    R: Send + Sync + std::fmt::Debug + 'static,
1527{
1528    fn from(
1529        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError, R>,
1530    ) -> Self {
1531        match err {
1532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1535                source: err.into(),
1536            }),
1537        }
1538    }
1539}
1540impl From<crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError> for Error {
1541    fn from(err: crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError) -> Self {
1542        match err {
1543            crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError::AccessDeniedException(inner) => {
1544                Error::AccessDeniedException(inner)
1545            }
1546            crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError::ConflictException(inner) => {
1547                Error::ConflictException(inner)
1548            }
1549            crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError::InternalServerException(inner) => {
1550                Error::InternalServerException(inner)
1551            }
1552            crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError::ResourceNotFoundException(inner) => {
1553                Error::ResourceNotFoundException(inner)
1554            }
1555            crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError::ThrottlingException(inner) => {
1556                Error::ThrottlingException(inner)
1557            }
1558            crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError::ValidationException(inner) => {
1559                Error::ValidationException(inner)
1560            }
1561            crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
1562        }
1563    }
1564}
1565impl ::std::error::Error for Error {
1566    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
1567        match self {
1568            Error::AccessDeniedException(inner) => inner.source(),
1569            Error::ConflictException(inner) => inner.source(),
1570            Error::InternalServerException(inner) => inner.source(),
1571            Error::ResourceNotFoundException(inner) => inner.source(),
1572            Error::ServiceQuotaExceededException(inner) => inner.source(),
1573            Error::ThrottlingException(inner) => inner.source(),
1574            Error::ValidationException(inner) => inner.source(),
1575            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
1576        }
1577    }
1578}
1579impl ::aws_types::request_id::RequestId for Error {
1580    fn request_id(&self) -> Option<&str> {
1581        match self {
1582            Self::AccessDeniedException(e) => e.request_id(),
1583            Self::ConflictException(e) => e.request_id(),
1584            Self::InternalServerException(e) => e.request_id(),
1585            Self::ResourceNotFoundException(e) => e.request_id(),
1586            Self::ServiceQuotaExceededException(e) => e.request_id(),
1587            Self::ThrottlingException(e) => e.request_id(),
1588            Self::ValidationException(e) => e.request_id(),
1589            Self::Unhandled(e) => e.meta.request_id(),
1590        }
1591    }
1592}