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>
115    From<
116        ::aws_smithy_runtime_api::client::result::SdkError<
117            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError,
118            R,
119        >,
120    > for Error
121where
122    R: Send + Sync + std::fmt::Debug + 'static,
123{
124    fn from(
125        err: ::aws_smithy_runtime_api::client::result::SdkError<
126            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError,
127            R,
128        >,
129    ) -> Self {
130        match err {
131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
134                source: err.into(),
135            }),
136        }
137    }
138}
139impl From<crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError> for Error {
140    fn from(err: crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError) -> Self {
141        match err {
142            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::AccessDeniedException(inner) => {
143                Error::AccessDeniedException(inner)
144            }
145            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ConflictException(inner) => {
146                Error::ConflictException(inner)
147            }
148            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::InternalServerException(inner) => {
149                Error::InternalServerException(inner)
150            }
151            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ResourceNotFoundException(inner) => {
152                Error::ResourceNotFoundException(inner)
153            }
154            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ServiceQuotaExceededException(inner) => {
155                Error::ServiceQuotaExceededException(inner)
156            }
157            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ThrottlingException(inner) => {
158                Error::ThrottlingException(inner)
159            }
160            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::ValidationException(inner) => {
161                Error::ValidationException(inner)
162            }
163            crate::operation::create_cloud_autonomous_vm_cluster::CreateCloudAutonomousVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
164        }
165    }
166}
167impl<R>
168    From<
169        ::aws_smithy_runtime_api::client::result::SdkError<
170            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError,
171            R,
172        >,
173    > for Error
174where
175    R: Send + Sync + std::fmt::Debug + 'static,
176{
177    fn from(
178        err: ::aws_smithy_runtime_api::client::result::SdkError<
179            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError,
180            R,
181        >,
182    ) -> Self {
183        match err {
184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
187                source: err.into(),
188            }),
189        }
190    }
191}
192impl From<crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError> for Error {
193    fn from(err: crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError) -> Self {
194        match err {
195            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::AccessDeniedException(inner) => {
196                Error::AccessDeniedException(inner)
197            }
198            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::ConflictException(inner) => {
199                Error::ConflictException(inner)
200            }
201            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::InternalServerException(inner) => {
202                Error::InternalServerException(inner)
203            }
204            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::ServiceQuotaExceededException(inner) => {
205                Error::ServiceQuotaExceededException(inner)
206            }
207            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::ThrottlingException(inner) => {
208                Error::ThrottlingException(inner)
209            }
210            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::ValidationException(inner) => {
211                Error::ValidationException(inner)
212            }
213            crate::operation::create_cloud_exadata_infrastructure::CreateCloudExadataInfrastructureError::Unhandled(inner) => Error::Unhandled(inner),
214        }
215    }
216}
217impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError, R>> for Error
218where
219    R: Send + Sync + std::fmt::Debug + 'static,
220{
221    fn from(
222        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError, R>,
223    ) -> Self {
224        match err {
225            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
226            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
227                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
228                source: err.into(),
229            }),
230        }
231    }
232}
233impl From<crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError> for Error {
234    fn from(err: crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError) -> Self {
235        match err {
236            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
237            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ConflictException(inner) => Error::ConflictException(inner),
238            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::InternalServerException(inner) => {
239                Error::InternalServerException(inner)
240            }
241            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ResourceNotFoundException(inner) => {
242                Error::ResourceNotFoundException(inner)
243            }
244            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ServiceQuotaExceededException(inner) => {
245                Error::ServiceQuotaExceededException(inner)
246            }
247            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
248            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::ValidationException(inner) => Error::ValidationException(inner),
249            crate::operation::create_cloud_vm_cluster::CreateCloudVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
250        }
251    }
252}
253impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_odb_network::CreateOdbNetworkError, R>> for Error
254where
255    R: Send + Sync + std::fmt::Debug + 'static,
256{
257    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_odb_network::CreateOdbNetworkError, R>) -> Self {
258        match err {
259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
262                source: err.into(),
263            }),
264        }
265    }
266}
267impl From<crate::operation::create_odb_network::CreateOdbNetworkError> for Error {
268    fn from(err: crate::operation::create_odb_network::CreateOdbNetworkError) -> Self {
269        match err {
270            crate::operation::create_odb_network::CreateOdbNetworkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
271            crate::operation::create_odb_network::CreateOdbNetworkError::ConflictException(inner) => Error::ConflictException(inner),
272            crate::operation::create_odb_network::CreateOdbNetworkError::InternalServerException(inner) => Error::InternalServerException(inner),
273            crate::operation::create_odb_network::CreateOdbNetworkError::ServiceQuotaExceededException(inner) => {
274                Error::ServiceQuotaExceededException(inner)
275            }
276            crate::operation::create_odb_network::CreateOdbNetworkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
277            crate::operation::create_odb_network::CreateOdbNetworkError::ValidationException(inner) => Error::ValidationException(inner),
278            crate::operation::create_odb_network::CreateOdbNetworkError::Unhandled(inner) => Error::Unhandled(inner),
279        }
280    }
281}
282impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError, R>>
283    for Error
284where
285    R: Send + Sync + std::fmt::Debug + 'static,
286{
287    fn from(
288        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError, R>,
289    ) -> Self {
290        match err {
291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
294                source: err.into(),
295            }),
296        }
297    }
298}
299impl From<crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError> for Error {
300    fn from(err: crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError) -> Self {
301        match err {
302            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::AccessDeniedException(inner) => {
303                Error::AccessDeniedException(inner)
304            }
305            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::ConflictException(inner) => {
306                Error::ConflictException(inner)
307            }
308            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::InternalServerException(inner) => {
309                Error::InternalServerException(inner)
310            }
311            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::ResourceNotFoundException(inner) => {
312                Error::ResourceNotFoundException(inner)
313            }
314            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::ThrottlingException(inner) => {
315                Error::ThrottlingException(inner)
316            }
317            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::ValidationException(inner) => {
318                Error::ValidationException(inner)
319            }
320            crate::operation::create_odb_peering_connection::CreateOdbPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
321        }
322    }
323}
324impl<R>
325    From<
326        ::aws_smithy_runtime_api::client::result::SdkError<
327            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError,
328            R,
329        >,
330    > for Error
331where
332    R: Send + Sync + std::fmt::Debug + 'static,
333{
334    fn from(
335        err: ::aws_smithy_runtime_api::client::result::SdkError<
336            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError,
337            R,
338        >,
339    ) -> Self {
340        match err {
341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
342            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
343                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
344                source: err.into(),
345            }),
346        }
347    }
348}
349impl From<crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError> for Error {
350    fn from(err: crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError) -> Self {
351        match err {
352            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::AccessDeniedException(inner) => {
353                Error::AccessDeniedException(inner)
354            }
355            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::ConflictException(inner) => {
356                Error::ConflictException(inner)
357            }
358            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::InternalServerException(inner) => {
359                Error::InternalServerException(inner)
360            }
361            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::ResourceNotFoundException(inner) => {
362                Error::ResourceNotFoundException(inner)
363            }
364            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::ValidationException(inner) => {
365                Error::ValidationException(inner)
366            }
367            crate::operation::delete_cloud_autonomous_vm_cluster::DeleteCloudAutonomousVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
368        }
369    }
370}
371impl<R>
372    From<
373        ::aws_smithy_runtime_api::client::result::SdkError<
374            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError,
375            R,
376        >,
377    > for Error
378where
379    R: Send + Sync + std::fmt::Debug + 'static,
380{
381    fn from(
382        err: ::aws_smithy_runtime_api::client::result::SdkError<
383            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError,
384            R,
385        >,
386    ) -> Self {
387        match err {
388            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
389            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
390                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
391                source: err.into(),
392            }),
393        }
394    }
395}
396impl From<crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError> for Error {
397    fn from(err: crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError) -> Self {
398        match err {
399            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::AccessDeniedException(inner) => {
400                Error::AccessDeniedException(inner)
401            }
402            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::ConflictException(inner) => {
403                Error::ConflictException(inner)
404            }
405            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::InternalServerException(inner) => {
406                Error::InternalServerException(inner)
407            }
408            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::ResourceNotFoundException(inner) => {
409                Error::ResourceNotFoundException(inner)
410            }
411            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::ThrottlingException(inner) => {
412                Error::ThrottlingException(inner)
413            }
414            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::ValidationException(inner) => {
415                Error::ValidationException(inner)
416            }
417            crate::operation::delete_cloud_exadata_infrastructure::DeleteCloudExadataInfrastructureError::Unhandled(inner) => Error::Unhandled(inner),
418        }
419    }
420}
421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError, R>> for Error
422where
423    R: Send + Sync + std::fmt::Debug + 'static,
424{
425    fn from(
426        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError, R>,
427    ) -> Self {
428        match err {
429            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
430            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
431                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
432                source: err.into(),
433            }),
434        }
435    }
436}
437impl From<crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError> for Error {
438    fn from(err: crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError) -> Self {
439        match err {
440            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
441            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::ConflictException(inner) => Error::ConflictException(inner),
442            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::InternalServerException(inner) => {
443                Error::InternalServerException(inner)
444            }
445            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::ResourceNotFoundException(inner) => {
446                Error::ResourceNotFoundException(inner)
447            }
448            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::ValidationException(inner) => Error::ValidationException(inner),
449            crate::operation::delete_cloud_vm_cluster::DeleteCloudVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
450        }
451    }
452}
453impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_odb_network::DeleteOdbNetworkError, R>> for Error
454where
455    R: Send + Sync + std::fmt::Debug + 'static,
456{
457    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_odb_network::DeleteOdbNetworkError, R>) -> Self {
458        match err {
459            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
460            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
461                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
462                source: err.into(),
463            }),
464        }
465    }
466}
467impl From<crate::operation::delete_odb_network::DeleteOdbNetworkError> for Error {
468    fn from(err: crate::operation::delete_odb_network::DeleteOdbNetworkError) -> Self {
469        match err {
470            crate::operation::delete_odb_network::DeleteOdbNetworkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
471            crate::operation::delete_odb_network::DeleteOdbNetworkError::InternalServerException(inner) => Error::InternalServerException(inner),
472            crate::operation::delete_odb_network::DeleteOdbNetworkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
473            crate::operation::delete_odb_network::DeleteOdbNetworkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
474            crate::operation::delete_odb_network::DeleteOdbNetworkError::ValidationException(inner) => Error::ValidationException(inner),
475            crate::operation::delete_odb_network::DeleteOdbNetworkError::Unhandled(inner) => Error::Unhandled(inner),
476        }
477    }
478}
479impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError, R>>
480    for Error
481where
482    R: Send + Sync + std::fmt::Debug + 'static,
483{
484    fn from(
485        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError, R>,
486    ) -> Self {
487        match err {
488            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
489            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
490                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
491                source: err.into(),
492            }),
493        }
494    }
495}
496impl From<crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError> for Error {
497    fn from(err: crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError) -> Self {
498        match err {
499            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::AccessDeniedException(inner) => {
500                Error::AccessDeniedException(inner)
501            }
502            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::InternalServerException(inner) => {
503                Error::InternalServerException(inner)
504            }
505            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::ResourceNotFoundException(inner) => {
506                Error::ResourceNotFoundException(inner)
507            }
508            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::ThrottlingException(inner) => {
509                Error::ThrottlingException(inner)
510            }
511            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::ValidationException(inner) => {
512                Error::ValidationException(inner)
513            }
514            crate::operation::delete_odb_peering_connection::DeleteOdbPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
515        }
516    }
517}
518impl<R>
519    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError, R>>
520    for Error
521where
522    R: Send + Sync + std::fmt::Debug + 'static,
523{
524    fn from(
525        err: ::aws_smithy_runtime_api::client::result::SdkError<
526            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError,
527            R,
528        >,
529    ) -> Self {
530        match err {
531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
534                source: err.into(),
535            }),
536        }
537    }
538}
539impl From<crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError> for Error {
540    fn from(err: crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError) -> Self {
541        match err {
542            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::AccessDeniedException(inner) => {
543                Error::AccessDeniedException(inner)
544            }
545            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::InternalServerException(inner) => {
546                Error::InternalServerException(inner)
547            }
548            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::ResourceNotFoundException(inner) => {
549                Error::ResourceNotFoundException(inner)
550            }
551            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::ThrottlingException(inner) => {
552                Error::ThrottlingException(inner)
553            }
554            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::ValidationException(inner) => {
555                Error::ValidationException(inner)
556            }
557            crate::operation::get_cloud_autonomous_vm_cluster::GetCloudAutonomousVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
558        }
559    }
560}
561impl<R>
562    From<
563        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError, R>,
564    > for Error
565where
566    R: Send + Sync + std::fmt::Debug + 'static,
567{
568    fn from(
569        err: ::aws_smithy_runtime_api::client::result::SdkError<
570            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError,
571            R,
572        >,
573    ) -> Self {
574        match err {
575            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
576            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
577                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
578                source: err.into(),
579            }),
580        }
581    }
582}
583impl From<crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError> for Error {
584    fn from(err: crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError) -> Self {
585        match err {
586            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::AccessDeniedException(inner) => {
587                Error::AccessDeniedException(inner)
588            }
589            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::InternalServerException(inner) => {
590                Error::InternalServerException(inner)
591            }
592            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::ResourceNotFoundException(inner) => {
593                Error::ResourceNotFoundException(inner)
594            }
595            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::ThrottlingException(inner) => {
596                Error::ThrottlingException(inner)
597            }
598            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::ValidationException(inner) => {
599                Error::ValidationException(inner)
600            }
601            crate::operation::get_cloud_exadata_infrastructure::GetCloudExadataInfrastructureError::Unhandled(inner) => Error::Unhandled(inner),
602        }
603    }
604}
605impl<R>
606    From<
607        ::aws_smithy_runtime_api::client::result::SdkError<
608            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError,
609            R,
610        >,
611    > for Error
612where
613    R: Send + Sync + std::fmt::Debug + 'static,
614{
615    fn from(
616        err: ::aws_smithy_runtime_api::client::result::SdkError<
617            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError,
618            R,
619        >,
620    ) -> Self {
621        match err {
622            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
623            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
624                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
625                source: err.into(),
626            }),
627        }
628    }
629}
630impl From<crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError>
631    for Error
632{
633    fn from(
634        err: crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError,
635    ) -> Self {
636        match err {
637            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
638            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::InternalServerException(inner) => Error::InternalServerException(inner),
639            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
640            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
641            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::ValidationException(inner) => Error::ValidationException(inner),
642            crate::operation::get_cloud_exadata_infrastructure_unallocated_resources::GetCloudExadataInfrastructureUnallocatedResourcesError::Unhandled(inner) => Error::Unhandled(inner),
643        }
644    }
645}
646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError, R>> for Error
647where
648    R: Send + Sync + std::fmt::Debug + 'static,
649{
650    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError, R>) -> Self {
651        match err {
652            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
653            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
654                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
655                source: err.into(),
656            }),
657        }
658    }
659}
660impl From<crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError> for Error {
661    fn from(err: crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError) -> Self {
662        match err {
663            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
664            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::InternalServerException(inner) => Error::InternalServerException(inner),
665            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::ResourceNotFoundException(inner) => {
666                Error::ResourceNotFoundException(inner)
667            }
668            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::ThrottlingException(inner) => Error::ThrottlingException(inner),
669            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::ValidationException(inner) => Error::ValidationException(inner),
670            crate::operation::get_cloud_vm_cluster::GetCloudVmClusterError::Unhandled(inner) => Error::Unhandled(inner),
671        }
672    }
673}
674impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_db_node::GetDbNodeError, R>> for Error
675where
676    R: Send + Sync + std::fmt::Debug + 'static,
677{
678    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_db_node::GetDbNodeError, R>) -> Self {
679        match err {
680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
683                source: err.into(),
684            }),
685        }
686    }
687}
688impl From<crate::operation::get_db_node::GetDbNodeError> for Error {
689    fn from(err: crate::operation::get_db_node::GetDbNodeError) -> Self {
690        match err {
691            crate::operation::get_db_node::GetDbNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
692            crate::operation::get_db_node::GetDbNodeError::InternalServerException(inner) => Error::InternalServerException(inner),
693            crate::operation::get_db_node::GetDbNodeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
694            crate::operation::get_db_node::GetDbNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
695            crate::operation::get_db_node::GetDbNodeError::ValidationException(inner) => Error::ValidationException(inner),
696            crate::operation::get_db_node::GetDbNodeError::Unhandled(inner) => Error::Unhandled(inner),
697        }
698    }
699}
700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_db_server::GetDbServerError, R>> for Error
701where
702    R: Send + Sync + std::fmt::Debug + 'static,
703{
704    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_db_server::GetDbServerError, R>) -> Self {
705        match err {
706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
709                source: err.into(),
710            }),
711        }
712    }
713}
714impl From<crate::operation::get_db_server::GetDbServerError> for Error {
715    fn from(err: crate::operation::get_db_server::GetDbServerError) -> Self {
716        match err {
717            crate::operation::get_db_server::GetDbServerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
718            crate::operation::get_db_server::GetDbServerError::InternalServerException(inner) => Error::InternalServerException(inner),
719            crate::operation::get_db_server::GetDbServerError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
720            crate::operation::get_db_server::GetDbServerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
721            crate::operation::get_db_server::GetDbServerError::ValidationException(inner) => Error::ValidationException(inner),
722            crate::operation::get_db_server::GetDbServerError::Unhandled(inner) => Error::Unhandled(inner),
723        }
724    }
725}
726impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError, R>>
727    for Error
728where
729    R: Send + Sync + std::fmt::Debug + 'static,
730{
731    fn from(
732        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError, R>,
733    ) -> Self {
734        match err {
735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
738                source: err.into(),
739            }),
740        }
741    }
742}
743impl From<crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError> for Error {
744    fn from(err: crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError) -> Self {
745        match err {
746            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::AccessDeniedException(inner) => {
747                Error::AccessDeniedException(inner)
748            }
749            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::InternalServerException(inner) => {
750                Error::InternalServerException(inner)
751            }
752            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::ThrottlingException(inner) => Error::ThrottlingException(inner),
753            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::ValidationException(inner) => Error::ValidationException(inner),
754            crate::operation::get_oci_onboarding_status::GetOciOnboardingStatusError::Unhandled(inner) => Error::Unhandled(inner),
755        }
756    }
757}
758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_odb_network::GetOdbNetworkError, R>> for Error
759where
760    R: Send + Sync + std::fmt::Debug + 'static,
761{
762    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_odb_network::GetOdbNetworkError, R>) -> Self {
763        match err {
764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
767                source: err.into(),
768            }),
769        }
770    }
771}
772impl From<crate::operation::get_odb_network::GetOdbNetworkError> for Error {
773    fn from(err: crate::operation::get_odb_network::GetOdbNetworkError) -> Self {
774        match err {
775            crate::operation::get_odb_network::GetOdbNetworkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
776            crate::operation::get_odb_network::GetOdbNetworkError::InternalServerException(inner) => Error::InternalServerException(inner),
777            crate::operation::get_odb_network::GetOdbNetworkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
778            crate::operation::get_odb_network::GetOdbNetworkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
779            crate::operation::get_odb_network::GetOdbNetworkError::ValidationException(inner) => Error::ValidationException(inner),
780            crate::operation::get_odb_network::GetOdbNetworkError::Unhandled(inner) => Error::Unhandled(inner),
781        }
782    }
783}
784impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError, R>>
785    for Error
786where
787    R: Send + Sync + std::fmt::Debug + 'static,
788{
789    fn from(
790        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError, R>,
791    ) -> Self {
792        match err {
793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
796                source: err.into(),
797            }),
798        }
799    }
800}
801impl From<crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError> for Error {
802    fn from(err: crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError) -> Self {
803        match err {
804            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::AccessDeniedException(inner) => {
805                Error::AccessDeniedException(inner)
806            }
807            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::InternalServerException(inner) => {
808                Error::InternalServerException(inner)
809            }
810            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::ResourceNotFoundException(inner) => {
811                Error::ResourceNotFoundException(inner)
812            }
813            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::ThrottlingException(inner) => {
814                Error::ThrottlingException(inner)
815            }
816            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::ValidationException(inner) => {
817                Error::ValidationException(inner)
818            }
819            crate::operation::get_odb_peering_connection::GetOdbPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
820        }
821    }
822}
823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::initialize_service::InitializeServiceError, R>> for Error
824where
825    R: Send + Sync + std::fmt::Debug + 'static,
826{
827    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::initialize_service::InitializeServiceError, R>) -> Self {
828        match err {
829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
832                source: err.into(),
833            }),
834        }
835    }
836}
837impl From<crate::operation::initialize_service::InitializeServiceError> for Error {
838    fn from(err: crate::operation::initialize_service::InitializeServiceError) -> Self {
839        match err {
840            crate::operation::initialize_service::InitializeServiceError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
841            crate::operation::initialize_service::InitializeServiceError::InternalServerException(inner) => Error::InternalServerException(inner),
842            crate::operation::initialize_service::InitializeServiceError::ThrottlingException(inner) => Error::ThrottlingException(inner),
843            crate::operation::initialize_service::InitializeServiceError::ValidationException(inner) => Error::ValidationException(inner),
844            crate::operation::initialize_service::InitializeServiceError::Unhandled(inner) => Error::Unhandled(inner),
845        }
846    }
847}
848impl<R>
849    From<
850        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError, R>,
851    > for Error
852where
853    R: Send + Sync + std::fmt::Debug + 'static,
854{
855    fn from(
856        err: ::aws_smithy_runtime_api::client::result::SdkError<
857            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError,
858            R,
859        >,
860    ) -> Self {
861        match err {
862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
865                source: err.into(),
866            }),
867        }
868    }
869}
870impl From<crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError> for Error {
871    fn from(err: crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError) -> Self {
872        match err {
873            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::AccessDeniedException(inner) => {
874                Error::AccessDeniedException(inner)
875            }
876            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::InternalServerException(inner) => {
877                Error::InternalServerException(inner)
878            }
879            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::ResourceNotFoundException(inner) => {
880                Error::ResourceNotFoundException(inner)
881            }
882            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::ThrottlingException(inner) => {
883                Error::ThrottlingException(inner)
884            }
885            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::ValidationException(inner) => {
886                Error::ValidationException(inner)
887            }
888            crate::operation::list_autonomous_virtual_machines::ListAutonomousVirtualMachinesError::Unhandled(inner) => Error::Unhandled(inner),
889        }
890    }
891}
892impl<R>
893    From<
894        ::aws_smithy_runtime_api::client::result::SdkError<
895            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError,
896            R,
897        >,
898    > for Error
899where
900    R: Send + Sync + std::fmt::Debug + 'static,
901{
902    fn from(
903        err: ::aws_smithy_runtime_api::client::result::SdkError<
904            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError,
905            R,
906        >,
907    ) -> Self {
908        match err {
909            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
910            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
911                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
912                source: err.into(),
913            }),
914        }
915    }
916}
917impl From<crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError> for Error {
918    fn from(err: crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError) -> Self {
919        match err {
920            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::AccessDeniedException(inner) => {
921                Error::AccessDeniedException(inner)
922            }
923            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::InternalServerException(inner) => {
924                Error::InternalServerException(inner)
925            }
926            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::ResourceNotFoundException(inner) => {
927                Error::ResourceNotFoundException(inner)
928            }
929            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::ThrottlingException(inner) => {
930                Error::ThrottlingException(inner)
931            }
932            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::ValidationException(inner) => {
933                Error::ValidationException(inner)
934            }
935            crate::operation::list_cloud_autonomous_vm_clusters::ListCloudAutonomousVmClustersError::Unhandled(inner) => Error::Unhandled(inner),
936        }
937    }
938}
939impl<R>
940    From<
941        ::aws_smithy_runtime_api::client::result::SdkError<
942            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError,
943            R,
944        >,
945    > for Error
946where
947    R: Send + Sync + std::fmt::Debug + 'static,
948{
949    fn from(
950        err: ::aws_smithy_runtime_api::client::result::SdkError<
951            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError,
952            R,
953        >,
954    ) -> Self {
955        match err {
956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
959                source: err.into(),
960            }),
961        }
962    }
963}
964impl From<crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError> for Error {
965    fn from(err: crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError) -> Self {
966        match err {
967            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::AccessDeniedException(inner) => {
968                Error::AccessDeniedException(inner)
969            }
970            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::InternalServerException(inner) => {
971                Error::InternalServerException(inner)
972            }
973            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::ThrottlingException(inner) => {
974                Error::ThrottlingException(inner)
975            }
976            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::ValidationException(inner) => {
977                Error::ValidationException(inner)
978            }
979            crate::operation::list_cloud_exadata_infrastructures::ListCloudExadataInfrastructuresError::Unhandled(inner) => Error::Unhandled(inner),
980        }
981    }
982}
983impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError, R>> for Error
984where
985    R: Send + Sync + std::fmt::Debug + 'static,
986{
987    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError, R>) -> Self {
988        match err {
989            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
990            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
991                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
992                source: err.into(),
993            }),
994        }
995    }
996}
997impl From<crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError> for Error {
998    fn from(err: crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError) -> Self {
999        match err {
1000            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1001            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::InternalServerException(inner) => {
1002                Error::InternalServerException(inner)
1003            }
1004            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::ResourceNotFoundException(inner) => {
1005                Error::ResourceNotFoundException(inner)
1006            }
1007            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1008            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::ValidationException(inner) => Error::ValidationException(inner),
1009            crate::operation::list_cloud_vm_clusters::ListCloudVmClustersError::Unhandled(inner) => Error::Unhandled(inner),
1010        }
1011    }
1012}
1013impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_nodes::ListDbNodesError, R>> for Error
1014where
1015    R: Send + Sync + std::fmt::Debug + 'static,
1016{
1017    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_nodes::ListDbNodesError, R>) -> Self {
1018        match err {
1019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1022                source: err.into(),
1023            }),
1024        }
1025    }
1026}
1027impl From<crate::operation::list_db_nodes::ListDbNodesError> for Error {
1028    fn from(err: crate::operation::list_db_nodes::ListDbNodesError) -> Self {
1029        match err {
1030            crate::operation::list_db_nodes::ListDbNodesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1031            crate::operation::list_db_nodes::ListDbNodesError::InternalServerException(inner) => Error::InternalServerException(inner),
1032            crate::operation::list_db_nodes::ListDbNodesError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1033            crate::operation::list_db_nodes::ListDbNodesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1034            crate::operation::list_db_nodes::ListDbNodesError::ValidationException(inner) => Error::ValidationException(inner),
1035            crate::operation::list_db_nodes::ListDbNodesError::Unhandled(inner) => Error::Unhandled(inner),
1036        }
1037    }
1038}
1039impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_servers::ListDbServersError, R>> for Error
1040where
1041    R: Send + Sync + std::fmt::Debug + 'static,
1042{
1043    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_servers::ListDbServersError, R>) -> Self {
1044        match err {
1045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1048                source: err.into(),
1049            }),
1050        }
1051    }
1052}
1053impl From<crate::operation::list_db_servers::ListDbServersError> for Error {
1054    fn from(err: crate::operation::list_db_servers::ListDbServersError) -> Self {
1055        match err {
1056            crate::operation::list_db_servers::ListDbServersError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1057            crate::operation::list_db_servers::ListDbServersError::InternalServerException(inner) => Error::InternalServerException(inner),
1058            crate::operation::list_db_servers::ListDbServersError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1059            crate::operation::list_db_servers::ListDbServersError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1060            crate::operation::list_db_servers::ListDbServersError::ValidationException(inner) => Error::ValidationException(inner),
1061            crate::operation::list_db_servers::ListDbServersError::Unhandled(inner) => Error::Unhandled(inner),
1062        }
1063    }
1064}
1065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_system_shapes::ListDbSystemShapesError, R>> for Error
1066where
1067    R: Send + Sync + std::fmt::Debug + 'static,
1068{
1069    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_db_system_shapes::ListDbSystemShapesError, R>) -> Self {
1070        match err {
1071            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1072            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1073                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1074                source: err.into(),
1075            }),
1076        }
1077    }
1078}
1079impl From<crate::operation::list_db_system_shapes::ListDbSystemShapesError> for Error {
1080    fn from(err: crate::operation::list_db_system_shapes::ListDbSystemShapesError) -> Self {
1081        match err {
1082            crate::operation::list_db_system_shapes::ListDbSystemShapesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1083            crate::operation::list_db_system_shapes::ListDbSystemShapesError::InternalServerException(inner) => Error::InternalServerException(inner),
1084            crate::operation::list_db_system_shapes::ListDbSystemShapesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1085            crate::operation::list_db_system_shapes::ListDbSystemShapesError::ValidationException(inner) => Error::ValidationException(inner),
1086            crate::operation::list_db_system_shapes::ListDbSystemShapesError::Unhandled(inner) => Error::Unhandled(inner),
1087        }
1088    }
1089}
1090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gi_versions::ListGiVersionsError, R>> for Error
1091where
1092    R: Send + Sync + std::fmt::Debug + 'static,
1093{
1094    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_gi_versions::ListGiVersionsError, R>) -> Self {
1095        match err {
1096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1099                source: err.into(),
1100            }),
1101        }
1102    }
1103}
1104impl From<crate::operation::list_gi_versions::ListGiVersionsError> for Error {
1105    fn from(err: crate::operation::list_gi_versions::ListGiVersionsError) -> Self {
1106        match err {
1107            crate::operation::list_gi_versions::ListGiVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1108            crate::operation::list_gi_versions::ListGiVersionsError::InternalServerException(inner) => Error::InternalServerException(inner),
1109            crate::operation::list_gi_versions::ListGiVersionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1110            crate::operation::list_gi_versions::ListGiVersionsError::ValidationException(inner) => Error::ValidationException(inner),
1111            crate::operation::list_gi_versions::ListGiVersionsError::Unhandled(inner) => Error::Unhandled(inner),
1112        }
1113    }
1114}
1115impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_odb_networks::ListOdbNetworksError, R>> for Error
1116where
1117    R: Send + Sync + std::fmt::Debug + 'static,
1118{
1119    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_odb_networks::ListOdbNetworksError, R>) -> Self {
1120        match err {
1121            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1122            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1123                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1124                source: err.into(),
1125            }),
1126        }
1127    }
1128}
1129impl From<crate::operation::list_odb_networks::ListOdbNetworksError> for Error {
1130    fn from(err: crate::operation::list_odb_networks::ListOdbNetworksError) -> Self {
1131        match err {
1132            crate::operation::list_odb_networks::ListOdbNetworksError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1133            crate::operation::list_odb_networks::ListOdbNetworksError::InternalServerException(inner) => Error::InternalServerException(inner),
1134            crate::operation::list_odb_networks::ListOdbNetworksError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1135            crate::operation::list_odb_networks::ListOdbNetworksError::ValidationException(inner) => Error::ValidationException(inner),
1136            crate::operation::list_odb_networks::ListOdbNetworksError::Unhandled(inner) => Error::Unhandled(inner),
1137        }
1138    }
1139}
1140impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError, R>>
1141    for Error
1142where
1143    R: Send + Sync + std::fmt::Debug + 'static,
1144{
1145    fn from(
1146        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError, R>,
1147    ) -> Self {
1148        match err {
1149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1152                source: err.into(),
1153            }),
1154        }
1155    }
1156}
1157impl From<crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError> for Error {
1158    fn from(err: crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError) -> Self {
1159        match err {
1160            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::AccessDeniedException(inner) => {
1161                Error::AccessDeniedException(inner)
1162            }
1163            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::InternalServerException(inner) => {
1164                Error::InternalServerException(inner)
1165            }
1166            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::ResourceNotFoundException(inner) => {
1167                Error::ResourceNotFoundException(inner)
1168            }
1169            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::ThrottlingException(inner) => {
1170                Error::ThrottlingException(inner)
1171            }
1172            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::ValidationException(inner) => {
1173                Error::ValidationException(inner)
1174            }
1175            crate::operation::list_odb_peering_connections::ListOdbPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
1176        }
1177    }
1178}
1179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_system_versions::ListSystemVersionsError, R>> for Error
1180where
1181    R: Send + Sync + std::fmt::Debug + 'static,
1182{
1183    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_system_versions::ListSystemVersionsError, R>) -> Self {
1184        match err {
1185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1188                source: err.into(),
1189            }),
1190        }
1191    }
1192}
1193impl From<crate::operation::list_system_versions::ListSystemVersionsError> for Error {
1194    fn from(err: crate::operation::list_system_versions::ListSystemVersionsError) -> Self {
1195        match err {
1196            crate::operation::list_system_versions::ListSystemVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1197            crate::operation::list_system_versions::ListSystemVersionsError::InternalServerException(inner) => Error::InternalServerException(inner),
1198            crate::operation::list_system_versions::ListSystemVersionsError::ResourceNotFoundException(inner) => {
1199                Error::ResourceNotFoundException(inner)
1200            }
1201            crate::operation::list_system_versions::ListSystemVersionsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1202            crate::operation::list_system_versions::ListSystemVersionsError::ValidationException(inner) => Error::ValidationException(inner),
1203            crate::operation::list_system_versions::ListSystemVersionsError::Unhandled(inner) => Error::Unhandled(inner),
1204        }
1205    }
1206}
1207impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, 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_tags_for_resource::ListTagsForResourceError, 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_tags_for_resource::ListTagsForResourceError> for Error {
1222    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1223        match err {
1224            crate::operation::list_tags_for_resource::ListTagsForResourceError::ResourceNotFoundException(inner) => {
1225                Error::ResourceNotFoundException(inner)
1226            }
1227            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1228        }
1229    }
1230}
1231impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_db_node::RebootDbNodeError, R>> for Error
1232where
1233    R: Send + Sync + std::fmt::Debug + 'static,
1234{
1235    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_db_node::RebootDbNodeError, R>) -> Self {
1236        match err {
1237            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1238            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1239                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1240                source: err.into(),
1241            }),
1242        }
1243    }
1244}
1245impl From<crate::operation::reboot_db_node::RebootDbNodeError> for Error {
1246    fn from(err: crate::operation::reboot_db_node::RebootDbNodeError) -> Self {
1247        match err {
1248            crate::operation::reboot_db_node::RebootDbNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1249            crate::operation::reboot_db_node::RebootDbNodeError::InternalServerException(inner) => Error::InternalServerException(inner),
1250            crate::operation::reboot_db_node::RebootDbNodeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1251            crate::operation::reboot_db_node::RebootDbNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1252            crate::operation::reboot_db_node::RebootDbNodeError::ValidationException(inner) => Error::ValidationException(inner),
1253            crate::operation::reboot_db_node::RebootDbNodeError::Unhandled(inner) => Error::Unhandled(inner),
1254        }
1255    }
1256}
1257impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_db_node::StartDbNodeError, R>> for Error
1258where
1259    R: Send + Sync + std::fmt::Debug + 'static,
1260{
1261    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_db_node::StartDbNodeError, R>) -> Self {
1262        match err {
1263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1266                source: err.into(),
1267            }),
1268        }
1269    }
1270}
1271impl From<crate::operation::start_db_node::StartDbNodeError> for Error {
1272    fn from(err: crate::operation::start_db_node::StartDbNodeError) -> Self {
1273        match err {
1274            crate::operation::start_db_node::StartDbNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1275            crate::operation::start_db_node::StartDbNodeError::InternalServerException(inner) => Error::InternalServerException(inner),
1276            crate::operation::start_db_node::StartDbNodeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1277            crate::operation::start_db_node::StartDbNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1278            crate::operation::start_db_node::StartDbNodeError::ValidationException(inner) => Error::ValidationException(inner),
1279            crate::operation::start_db_node::StartDbNodeError::Unhandled(inner) => Error::Unhandled(inner),
1280        }
1281    }
1282}
1283impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_db_node::StopDbNodeError, R>> for Error
1284where
1285    R: Send + Sync + std::fmt::Debug + 'static,
1286{
1287    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_db_node::StopDbNodeError, R>) -> Self {
1288        match err {
1289            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1290            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1291                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1292                source: err.into(),
1293            }),
1294        }
1295    }
1296}
1297impl From<crate::operation::stop_db_node::StopDbNodeError> for Error {
1298    fn from(err: crate::operation::stop_db_node::StopDbNodeError) -> Self {
1299        match err {
1300            crate::operation::stop_db_node::StopDbNodeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1301            crate::operation::stop_db_node::StopDbNodeError::InternalServerException(inner) => Error::InternalServerException(inner),
1302            crate::operation::stop_db_node::StopDbNodeError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1303            crate::operation::stop_db_node::StopDbNodeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1304            crate::operation::stop_db_node::StopDbNodeError::ValidationException(inner) => Error::ValidationException(inner),
1305            crate::operation::stop_db_node::StopDbNodeError::Unhandled(inner) => Error::Unhandled(inner),
1306        }
1307    }
1308}
1309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
1310where
1311    R: Send + Sync + std::fmt::Debug + 'static,
1312{
1313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
1314        match err {
1315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1318                source: err.into(),
1319            }),
1320        }
1321    }
1322}
1323impl From<crate::operation::tag_resource::TagResourceError> for Error {
1324    fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
1325        match err {
1326            crate::operation::tag_resource::TagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1327            crate::operation::tag_resource::TagResourceError::ServiceQuotaExceededException(inner) => Error::ServiceQuotaExceededException(inner),
1328            crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1329        }
1330    }
1331}
1332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
1333where
1334    R: Send + Sync + std::fmt::Debug + 'static,
1335{
1336    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
1337        match err {
1338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1341                source: err.into(),
1342            }),
1343        }
1344    }
1345}
1346impl From<crate::operation::untag_resource::UntagResourceError> for Error {
1347    fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
1348        match err {
1349            crate::operation::untag_resource::UntagResourceError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1350            crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
1351        }
1352    }
1353}
1354impl<R>
1355    From<
1356        ::aws_smithy_runtime_api::client::result::SdkError<
1357            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError,
1358            R,
1359        >,
1360    > for Error
1361where
1362    R: Send + Sync + std::fmt::Debug + 'static,
1363{
1364    fn from(
1365        err: ::aws_smithy_runtime_api::client::result::SdkError<
1366            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError,
1367            R,
1368        >,
1369    ) -> Self {
1370        match err {
1371            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1372            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1373                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1374                source: err.into(),
1375            }),
1376        }
1377    }
1378}
1379impl From<crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError> for Error {
1380    fn from(err: crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError) -> Self {
1381        match err {
1382            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::AccessDeniedException(inner) => {
1383                Error::AccessDeniedException(inner)
1384            }
1385            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::ConflictException(inner) => {
1386                Error::ConflictException(inner)
1387            }
1388            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::InternalServerException(inner) => {
1389                Error::InternalServerException(inner)
1390            }
1391            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::ResourceNotFoundException(inner) => {
1392                Error::ResourceNotFoundException(inner)
1393            }
1394            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::ThrottlingException(inner) => {
1395                Error::ThrottlingException(inner)
1396            }
1397            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::ValidationException(inner) => {
1398                Error::ValidationException(inner)
1399            }
1400            crate::operation::update_cloud_exadata_infrastructure::UpdateCloudExadataInfrastructureError::Unhandled(inner) => Error::Unhandled(inner),
1401        }
1402    }
1403}
1404impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_odb_network::UpdateOdbNetworkError, R>> for Error
1405where
1406    R: Send + Sync + std::fmt::Debug + 'static,
1407{
1408    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_odb_network::UpdateOdbNetworkError, R>) -> Self {
1409        match err {
1410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1413                source: err.into(),
1414            }),
1415        }
1416    }
1417}
1418impl From<crate::operation::update_odb_network::UpdateOdbNetworkError> for Error {
1419    fn from(err: crate::operation::update_odb_network::UpdateOdbNetworkError) -> Self {
1420        match err {
1421            crate::operation::update_odb_network::UpdateOdbNetworkError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1422            crate::operation::update_odb_network::UpdateOdbNetworkError::ConflictException(inner) => Error::ConflictException(inner),
1423            crate::operation::update_odb_network::UpdateOdbNetworkError::InternalServerException(inner) => Error::InternalServerException(inner),
1424            crate::operation::update_odb_network::UpdateOdbNetworkError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1425            crate::operation::update_odb_network::UpdateOdbNetworkError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1426            crate::operation::update_odb_network::UpdateOdbNetworkError::ValidationException(inner) => Error::ValidationException(inner),
1427            crate::operation::update_odb_network::UpdateOdbNetworkError::Unhandled(inner) => Error::Unhandled(inner),
1428        }
1429    }
1430}
1431impl ::std::error::Error for Error {
1432    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
1433        match self {
1434            Error::AccessDeniedException(inner) => inner.source(),
1435            Error::ConflictException(inner) => inner.source(),
1436            Error::InternalServerException(inner) => inner.source(),
1437            Error::ResourceNotFoundException(inner) => inner.source(),
1438            Error::ServiceQuotaExceededException(inner) => inner.source(),
1439            Error::ThrottlingException(inner) => inner.source(),
1440            Error::ValidationException(inner) => inner.source(),
1441            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
1442        }
1443    }
1444}
1445impl ::aws_types::request_id::RequestId for Error {
1446    fn request_id(&self) -> Option<&str> {
1447        match self {
1448            Self::AccessDeniedException(e) => e.request_id(),
1449            Self::ConflictException(e) => e.request_id(),
1450            Self::InternalServerException(e) => e.request_id(),
1451            Self::ResourceNotFoundException(e) => e.request_id(),
1452            Self::ServiceQuotaExceededException(e) => e.request_id(),
1453            Self::ThrottlingException(e) => e.request_id(),
1454            Self::ValidationException(e) => e.request_id(),
1455            Self::Unhandled(e) => e.meta.request_id(),
1456        }
1457    }
1458}