aws_sdk_neptune/
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>Specified CIDRIP or EC2 security group is not authorized for the specified DB security group.</p>
7    /// <p>Neptune may not also be authorized via IAM to perform necessary actions on your behalf.</p>
8    AuthorizationNotFoundFault(crate::types::error::AuthorizationNotFoundFault),
9    /// <p><i>CertificateIdentifier</i> does not refer to an existing certificate.</p>
10    CertificateNotFoundFault(crate::types::error::CertificateNotFoundFault),
11    /// <p>User already has a DB cluster with the given identifier.</p>
12    DbClusterAlreadyExistsFault(crate::types::error::DbClusterAlreadyExistsFault),
13    /// <p>The specified custom endpoint cannot be created because it already exists.</p>
14    DbClusterEndpointAlreadyExistsFault(crate::types::error::DbClusterEndpointAlreadyExistsFault),
15    /// <p>The specified custom endpoint doesn't exist.</p>
16    DbClusterEndpointNotFoundFault(crate::types::error::DbClusterEndpointNotFoundFault),
17    /// <p>The cluster already has the maximum number of custom endpoints.</p>
18    DbClusterEndpointQuotaExceededFault(crate::types::error::DbClusterEndpointQuotaExceededFault),
19    /// <p><i>DBClusterIdentifier</i> does not refer to an existing DB cluster.</p>
20    DbClusterNotFoundFault(crate::types::error::DbClusterNotFoundFault),
21    /// <p><i>DBClusterParameterGroupName</i> does not refer to an existing DB Cluster parameter group.</p>
22    DbClusterParameterGroupNotFoundFault(crate::types::error::DbClusterParameterGroupNotFoundFault),
23    /// <p>User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.</p>
24    DbClusterQuotaExceededFault(crate::types::error::DbClusterQuotaExceededFault),
25    /// <p>The specified IAM role Amazon Resource Name (ARN) is already associated with the specified DB cluster.</p>
26    DbClusterRoleAlreadyExistsFault(crate::types::error::DbClusterRoleAlreadyExistsFault),
27    /// <p>The specified IAM role Amazon Resource Name (ARN) is not associated with the specified DB cluster.</p>
28    DbClusterRoleNotFoundFault(crate::types::error::DbClusterRoleNotFoundFault),
29    /// <p>You have exceeded the maximum number of IAM roles that can be associated with the specified DB cluster.</p>
30    DbClusterRoleQuotaExceededFault(crate::types::error::DbClusterRoleQuotaExceededFault),
31    /// <p>User already has a DB cluster snapshot with the given identifier.</p>
32    DbClusterSnapshotAlreadyExistsFault(crate::types::error::DbClusterSnapshotAlreadyExistsFault),
33    /// <p><i>DBClusterSnapshotIdentifier</i> does not refer to an existing DB cluster snapshot.</p>
34    DbClusterSnapshotNotFoundFault(crate::types::error::DbClusterSnapshotNotFoundFault),
35    /// <p>User already has a DB instance with the given identifier.</p>
36    DbInstanceAlreadyExistsFault(crate::types::error::DbInstanceAlreadyExistsFault),
37    /// <p><i>DBInstanceIdentifier</i> does not refer to an existing DB instance.</p>
38    DbInstanceNotFoundFault(crate::types::error::DbInstanceNotFoundFault),
39    /// <p>A DB parameter group with the same name exists.</p>
40    DbParameterGroupAlreadyExistsFault(crate::types::error::DbParameterGroupAlreadyExistsFault),
41    /// <p><i>DBParameterGroupName</i> does not refer to an existing DB parameter group.</p>
42    DbParameterGroupNotFoundFault(crate::types::error::DbParameterGroupNotFoundFault),
43    /// <p>Request would result in user exceeding the allowed number of DB parameter groups.</p>
44    DbParameterGroupQuotaExceededFault(crate::types::error::DbParameterGroupQuotaExceededFault),
45    /// <p><i>DBSecurityGroupName</i> does not refer to an existing DB security group.</p>
46    DbSecurityGroupNotFoundFault(crate::types::error::DbSecurityGroupNotFoundFault),
47    /// <p><i>DBSnapshotIdentifier</i> is already used by an existing snapshot.</p>
48    DbSnapshotAlreadyExistsFault(crate::types::error::DbSnapshotAlreadyExistsFault),
49    /// <p><i>DBSnapshotIdentifier</i> does not refer to an existing DB snapshot.</p>
50    DbSnapshotNotFoundFault(crate::types::error::DbSnapshotNotFoundFault),
51    /// <p><i>DBSubnetGroupName</i> is already used by an existing DB subnet group.</p>
52    DbSubnetGroupAlreadyExistsFault(crate::types::error::DbSubnetGroupAlreadyExistsFault),
53    /// <p>Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.</p>
54    DbSubnetGroupDoesNotCoverEnoughAZs(crate::types::error::DbSubnetGroupDoesNotCoverEnoughAZs),
55    /// <p><i>DBSubnetGroupName</i> does not refer to an existing DB subnet group.</p>
56    DbSubnetGroupNotFoundFault(crate::types::error::DbSubnetGroupNotFoundFault),
57    /// <p>Request would result in user exceeding the allowed number of DB subnet groups.</p>
58    DbSubnetGroupQuotaExceededFault(crate::types::error::DbSubnetGroupQuotaExceededFault),
59    /// <p>Request would result in user exceeding the allowed number of subnets in a DB subnet groups.</p>
60    DbSubnetQuotaExceededFault(crate::types::error::DbSubnetQuotaExceededFault),
61    /// <p>The DB upgrade failed because a resource the DB depends on could not be modified.</p>
62    DbUpgradeDependencyFailureFault(crate::types::error::DbUpgradeDependencyFailureFault),
63    /// <p><i>Domain</i> does not refer to an existing Active Directory Domain.</p>
64    DomainNotFoundFault(crate::types::error::DomainNotFoundFault),
65    /// <p>You have exceeded the number of events you can subscribe to.</p>
66    EventSubscriptionQuotaExceededFault(crate::types::error::EventSubscriptionQuotaExceededFault),
67    /// <p>The <code>GlobalClusterIdentifier</code> already exists. Choose a new global database identifier (unique name) to create a new global database cluster.</p>
68    GlobalClusterAlreadyExistsFault(crate::types::error::GlobalClusterAlreadyExistsFault),
69    /// <p>The <code>GlobalClusterIdentifier</code> doesn't refer to an existing global database cluster.</p>
70    GlobalClusterNotFoundFault(crate::types::error::GlobalClusterNotFoundFault),
71    /// <p>The number of global database clusters for this account is already at the maximum allowed.</p>
72    GlobalClusterQuotaExceededFault(crate::types::error::GlobalClusterQuotaExceededFault),
73    /// <p>Request would result in user exceeding the allowed number of DB instances.</p>
74    InstanceQuotaExceededFault(crate::types::error::InstanceQuotaExceededFault),
75    /// <p>The DB cluster does not have enough capacity for the current operation.</p>
76    InsufficientDbClusterCapacityFault(crate::types::error::InsufficientDbClusterCapacityFault),
77    /// <p>Specified DB instance class is not available in the specified Availability Zone.</p>
78    InsufficientDbInstanceCapacityFault(crate::types::error::InsufficientDbInstanceCapacityFault),
79    /// <p>There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.</p>
80    InsufficientStorageClusterCapacityFault(crate::types::error::InsufficientStorageClusterCapacityFault),
81    /// <p>The requested operation cannot be performed on the endpoint while the endpoint is in this state.</p>
82    InvalidDbClusterEndpointStateFault(crate::types::error::InvalidDbClusterEndpointStateFault),
83    /// <p>The supplied value is not a valid DB cluster snapshot state.</p>
84    InvalidDbClusterSnapshotStateFault(crate::types::error::InvalidDbClusterSnapshotStateFault),
85    /// <p>The DB cluster is not in a valid state.</p>
86    InvalidDbClusterStateFault(crate::types::error::InvalidDbClusterStateFault),
87    /// <p>The specified DB instance is not in the <i>available</i> state.</p>
88    InvalidDbInstanceStateFault(crate::types::error::InvalidDbInstanceStateFault),
89    /// <p>The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you cannot delete it when the parameter group is in this state.</p>
90    InvalidDbParameterGroupStateFault(crate::types::error::InvalidDbParameterGroupStateFault),
91    /// <p>The state of the DB security group does not allow deletion.</p>
92    InvalidDbSecurityGroupStateFault(crate::types::error::InvalidDbSecurityGroupStateFault),
93    /// <p>The state of the DB snapshot does not allow deletion.</p>
94    InvalidDbSnapshotStateFault(crate::types::error::InvalidDbSnapshotStateFault),
95    /// <p>The DB subnet group cannot be deleted because it is in use.</p>
96    InvalidDbSubnetGroupStateFault(crate::types::error::InvalidDbSubnetGroupStateFault),
97    /// <p>The DB subnet is not in the <i>available</i> state.</p>
98    InvalidDbSubnetStateFault(crate::types::error::InvalidDbSubnetStateFault),
99    /// <p>The event subscription is in an invalid state.</p>
100    InvalidEventSubscriptionStateFault(crate::types::error::InvalidEventSubscriptionStateFault),
101    /// <p>The global cluster is in an invalid state and can't perform the requested operation.</p>
102    InvalidGlobalClusterStateFault(crate::types::error::InvalidGlobalClusterStateFault),
103    /// <p>Cannot restore from vpc backup to non-vpc DB instance.</p>
104    InvalidRestoreFault(crate::types::error::InvalidRestoreFault),
105    /// <p>The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.</p>
106    InvalidSubnet(crate::types::error::InvalidSubnet),
107    /// <p>DB subnet group does not cover all Availability Zones after it is created because users' change.</p>
108    InvalidVpcNetworkStateFault(crate::types::error::InvalidVpcNetworkStateFault),
109    /// <p>Error accessing KMS key.</p>
110    KmsKeyNotAccessibleFault(crate::types::error::KmsKeyNotAccessibleFault),
111    /// <p>The designated option group could not be found.</p>
112    OptionGroupNotFoundFault(crate::types::error::OptionGroupNotFoundFault),
113    /// <p>Provisioned IOPS not available in the specified Availability Zone.</p>
114    ProvisionedIopsNotAvailableInAzFault(crate::types::error::ProvisionedIopsNotAvailableInAzFault),
115    /// <p>The specified resource ID was not found.</p>
116    ResourceNotFoundFault(crate::types::error::ResourceNotFoundFault),
117    /// <p>The SNS topic is invalid.</p>
118    SnsInvalidTopicFault(crate::types::error::SnsInvalidTopicFault),
119    /// <p>There is no SNS authorization.</p>
120    SnsNoAuthorizationFault(crate::types::error::SnsNoAuthorizationFault),
121    /// <p>The ARN of the SNS topic could not be found.</p>
122    SnsTopicArnNotFoundFault(crate::types::error::SnsTopicArnNotFoundFault),
123    /// <p>You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.</p>
124    SharedSnapshotQuotaExceededFault(crate::types::error::SharedSnapshotQuotaExceededFault),
125    /// <p>Request would result in user exceeding the allowed number of DB snapshots.</p>
126    SnapshotQuotaExceededFault(crate::types::error::SnapshotQuotaExceededFault),
127    /// <p>The source could not be found.</p>
128    SourceNotFoundFault(crate::types::error::SourceNotFoundFault),
129    /// <p>Request would result in user exceeding the allowed amount of storage available across all DB instances.</p>
130    StorageQuotaExceededFault(crate::types::error::StorageQuotaExceededFault),
131    /// <p><i>StorageType</i> specified cannot be associated with the DB Instance.</p>
132    StorageTypeNotSupportedFault(crate::types::error::StorageTypeNotSupportedFault),
133    /// <p>The DB subnet is already in use in the Availability Zone.</p>
134    SubnetAlreadyInUse(crate::types::error::SubnetAlreadyInUse),
135    /// <p>This subscription already exists.</p>
136    SubscriptionAlreadyExistFault(crate::types::error::SubscriptionAlreadyExistFault),
137    /// <p>The designated subscription category could not be found.</p>
138    SubscriptionCategoryNotFoundFault(crate::types::error::SubscriptionCategoryNotFoundFault),
139    /// <p>The designated subscription could not be found.</p>
140    SubscriptionNotFoundFault(crate::types::error::SubscriptionNotFoundFault),
141    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
142    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
143    variable wildcard pattern and check `.code()`:
144     \
145    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
146     \
147    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
148    Unhandled(crate::error::sealed_unhandled::Unhandled),
149}
150impl ::std::fmt::Display for Error {
151    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
152        match self {
153            Error::AuthorizationNotFoundFault(inner) => inner.fmt(f),
154            Error::CertificateNotFoundFault(inner) => inner.fmt(f),
155            Error::DbClusterAlreadyExistsFault(inner) => inner.fmt(f),
156            Error::DbClusterEndpointAlreadyExistsFault(inner) => inner.fmt(f),
157            Error::DbClusterEndpointNotFoundFault(inner) => inner.fmt(f),
158            Error::DbClusterEndpointQuotaExceededFault(inner) => inner.fmt(f),
159            Error::DbClusterNotFoundFault(inner) => inner.fmt(f),
160            Error::DbClusterParameterGroupNotFoundFault(inner) => inner.fmt(f),
161            Error::DbClusterQuotaExceededFault(inner) => inner.fmt(f),
162            Error::DbClusterRoleAlreadyExistsFault(inner) => inner.fmt(f),
163            Error::DbClusterRoleNotFoundFault(inner) => inner.fmt(f),
164            Error::DbClusterRoleQuotaExceededFault(inner) => inner.fmt(f),
165            Error::DbClusterSnapshotAlreadyExistsFault(inner) => inner.fmt(f),
166            Error::DbClusterSnapshotNotFoundFault(inner) => inner.fmt(f),
167            Error::DbInstanceAlreadyExistsFault(inner) => inner.fmt(f),
168            Error::DbInstanceNotFoundFault(inner) => inner.fmt(f),
169            Error::DbParameterGroupAlreadyExistsFault(inner) => inner.fmt(f),
170            Error::DbParameterGroupNotFoundFault(inner) => inner.fmt(f),
171            Error::DbParameterGroupQuotaExceededFault(inner) => inner.fmt(f),
172            Error::DbSecurityGroupNotFoundFault(inner) => inner.fmt(f),
173            Error::DbSnapshotAlreadyExistsFault(inner) => inner.fmt(f),
174            Error::DbSnapshotNotFoundFault(inner) => inner.fmt(f),
175            Error::DbSubnetGroupAlreadyExistsFault(inner) => inner.fmt(f),
176            Error::DbSubnetGroupDoesNotCoverEnoughAZs(inner) => inner.fmt(f),
177            Error::DbSubnetGroupNotFoundFault(inner) => inner.fmt(f),
178            Error::DbSubnetGroupQuotaExceededFault(inner) => inner.fmt(f),
179            Error::DbSubnetQuotaExceededFault(inner) => inner.fmt(f),
180            Error::DbUpgradeDependencyFailureFault(inner) => inner.fmt(f),
181            Error::DomainNotFoundFault(inner) => inner.fmt(f),
182            Error::EventSubscriptionQuotaExceededFault(inner) => inner.fmt(f),
183            Error::GlobalClusterAlreadyExistsFault(inner) => inner.fmt(f),
184            Error::GlobalClusterNotFoundFault(inner) => inner.fmt(f),
185            Error::GlobalClusterQuotaExceededFault(inner) => inner.fmt(f),
186            Error::InstanceQuotaExceededFault(inner) => inner.fmt(f),
187            Error::InsufficientDbClusterCapacityFault(inner) => inner.fmt(f),
188            Error::InsufficientDbInstanceCapacityFault(inner) => inner.fmt(f),
189            Error::InsufficientStorageClusterCapacityFault(inner) => inner.fmt(f),
190            Error::InvalidDbClusterEndpointStateFault(inner) => inner.fmt(f),
191            Error::InvalidDbClusterSnapshotStateFault(inner) => inner.fmt(f),
192            Error::InvalidDbClusterStateFault(inner) => inner.fmt(f),
193            Error::InvalidDbInstanceStateFault(inner) => inner.fmt(f),
194            Error::InvalidDbParameterGroupStateFault(inner) => inner.fmt(f),
195            Error::InvalidDbSecurityGroupStateFault(inner) => inner.fmt(f),
196            Error::InvalidDbSnapshotStateFault(inner) => inner.fmt(f),
197            Error::InvalidDbSubnetGroupStateFault(inner) => inner.fmt(f),
198            Error::InvalidDbSubnetStateFault(inner) => inner.fmt(f),
199            Error::InvalidEventSubscriptionStateFault(inner) => inner.fmt(f),
200            Error::InvalidGlobalClusterStateFault(inner) => inner.fmt(f),
201            Error::InvalidRestoreFault(inner) => inner.fmt(f),
202            Error::InvalidSubnet(inner) => inner.fmt(f),
203            Error::InvalidVpcNetworkStateFault(inner) => inner.fmt(f),
204            Error::KmsKeyNotAccessibleFault(inner) => inner.fmt(f),
205            Error::OptionGroupNotFoundFault(inner) => inner.fmt(f),
206            Error::ProvisionedIopsNotAvailableInAzFault(inner) => inner.fmt(f),
207            Error::ResourceNotFoundFault(inner) => inner.fmt(f),
208            Error::SnsInvalidTopicFault(inner) => inner.fmt(f),
209            Error::SnsNoAuthorizationFault(inner) => inner.fmt(f),
210            Error::SnsTopicArnNotFoundFault(inner) => inner.fmt(f),
211            Error::SharedSnapshotQuotaExceededFault(inner) => inner.fmt(f),
212            Error::SnapshotQuotaExceededFault(inner) => inner.fmt(f),
213            Error::SourceNotFoundFault(inner) => inner.fmt(f),
214            Error::StorageQuotaExceededFault(inner) => inner.fmt(f),
215            Error::StorageTypeNotSupportedFault(inner) => inner.fmt(f),
216            Error::SubnetAlreadyInUse(inner) => inner.fmt(f),
217            Error::SubscriptionAlreadyExistFault(inner) => inner.fmt(f),
218            Error::SubscriptionCategoryNotFoundFault(inner) => inner.fmt(f),
219            Error::SubscriptionNotFoundFault(inner) => inner.fmt(f),
220            Error::Unhandled(_) => {
221                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
222                    write!(f, "unhandled error ({code})")
223                } else {
224                    f.write_str("unhandled error")
225                }
226            }
227        }
228    }
229}
230impl From<::aws_smithy_types::error::operation::BuildError> for Error {
231    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
232        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
233            source: value.into(),
234            meta: ::std::default::Default::default(),
235        })
236    }
237}
238impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
239    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
240        match self {
241            Self::AuthorizationNotFoundFault(inner) => inner.meta(),
242            Self::CertificateNotFoundFault(inner) => inner.meta(),
243            Self::DbClusterAlreadyExistsFault(inner) => inner.meta(),
244            Self::DbClusterEndpointAlreadyExistsFault(inner) => inner.meta(),
245            Self::DbClusterEndpointNotFoundFault(inner) => inner.meta(),
246            Self::DbClusterEndpointQuotaExceededFault(inner) => inner.meta(),
247            Self::DbClusterNotFoundFault(inner) => inner.meta(),
248            Self::DbClusterParameterGroupNotFoundFault(inner) => inner.meta(),
249            Self::DbClusterQuotaExceededFault(inner) => inner.meta(),
250            Self::DbClusterRoleAlreadyExistsFault(inner) => inner.meta(),
251            Self::DbClusterRoleNotFoundFault(inner) => inner.meta(),
252            Self::DbClusterRoleQuotaExceededFault(inner) => inner.meta(),
253            Self::DbClusterSnapshotAlreadyExistsFault(inner) => inner.meta(),
254            Self::DbClusterSnapshotNotFoundFault(inner) => inner.meta(),
255            Self::DbInstanceAlreadyExistsFault(inner) => inner.meta(),
256            Self::DbInstanceNotFoundFault(inner) => inner.meta(),
257            Self::DbParameterGroupAlreadyExistsFault(inner) => inner.meta(),
258            Self::DbParameterGroupNotFoundFault(inner) => inner.meta(),
259            Self::DbParameterGroupQuotaExceededFault(inner) => inner.meta(),
260            Self::DbSecurityGroupNotFoundFault(inner) => inner.meta(),
261            Self::DbSnapshotAlreadyExistsFault(inner) => inner.meta(),
262            Self::DbSnapshotNotFoundFault(inner) => inner.meta(),
263            Self::DbSubnetGroupAlreadyExistsFault(inner) => inner.meta(),
264            Self::DbSubnetGroupDoesNotCoverEnoughAZs(inner) => inner.meta(),
265            Self::DbSubnetGroupNotFoundFault(inner) => inner.meta(),
266            Self::DbSubnetGroupQuotaExceededFault(inner) => inner.meta(),
267            Self::DbSubnetQuotaExceededFault(inner) => inner.meta(),
268            Self::DbUpgradeDependencyFailureFault(inner) => inner.meta(),
269            Self::DomainNotFoundFault(inner) => inner.meta(),
270            Self::EventSubscriptionQuotaExceededFault(inner) => inner.meta(),
271            Self::GlobalClusterAlreadyExistsFault(inner) => inner.meta(),
272            Self::GlobalClusterNotFoundFault(inner) => inner.meta(),
273            Self::GlobalClusterQuotaExceededFault(inner) => inner.meta(),
274            Self::InstanceQuotaExceededFault(inner) => inner.meta(),
275            Self::InsufficientDbClusterCapacityFault(inner) => inner.meta(),
276            Self::InsufficientDbInstanceCapacityFault(inner) => inner.meta(),
277            Self::InsufficientStorageClusterCapacityFault(inner) => inner.meta(),
278            Self::InvalidDbClusterEndpointStateFault(inner) => inner.meta(),
279            Self::InvalidDbClusterSnapshotStateFault(inner) => inner.meta(),
280            Self::InvalidDbClusterStateFault(inner) => inner.meta(),
281            Self::InvalidDbInstanceStateFault(inner) => inner.meta(),
282            Self::InvalidDbParameterGroupStateFault(inner) => inner.meta(),
283            Self::InvalidDbSecurityGroupStateFault(inner) => inner.meta(),
284            Self::InvalidDbSnapshotStateFault(inner) => inner.meta(),
285            Self::InvalidDbSubnetGroupStateFault(inner) => inner.meta(),
286            Self::InvalidDbSubnetStateFault(inner) => inner.meta(),
287            Self::InvalidEventSubscriptionStateFault(inner) => inner.meta(),
288            Self::InvalidGlobalClusterStateFault(inner) => inner.meta(),
289            Self::InvalidRestoreFault(inner) => inner.meta(),
290            Self::InvalidSubnet(inner) => inner.meta(),
291            Self::InvalidVpcNetworkStateFault(inner) => inner.meta(),
292            Self::KmsKeyNotAccessibleFault(inner) => inner.meta(),
293            Self::OptionGroupNotFoundFault(inner) => inner.meta(),
294            Self::ProvisionedIopsNotAvailableInAzFault(inner) => inner.meta(),
295            Self::ResourceNotFoundFault(inner) => inner.meta(),
296            Self::SnsInvalidTopicFault(inner) => inner.meta(),
297            Self::SnsNoAuthorizationFault(inner) => inner.meta(),
298            Self::SnsTopicArnNotFoundFault(inner) => inner.meta(),
299            Self::SharedSnapshotQuotaExceededFault(inner) => inner.meta(),
300            Self::SnapshotQuotaExceededFault(inner) => inner.meta(),
301            Self::SourceNotFoundFault(inner) => inner.meta(),
302            Self::StorageQuotaExceededFault(inner) => inner.meta(),
303            Self::StorageTypeNotSupportedFault(inner) => inner.meta(),
304            Self::SubnetAlreadyInUse(inner) => inner.meta(),
305            Self::SubscriptionAlreadyExistFault(inner) => inner.meta(),
306            Self::SubscriptionCategoryNotFoundFault(inner) => inner.meta(),
307            Self::SubscriptionNotFoundFault(inner) => inner.meta(),
308            Self::Unhandled(inner) => &inner.meta,
309        }
310    }
311}
312impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError, R>> for Error
313where
314    R: Send + Sync + std::fmt::Debug + 'static,
315{
316    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError, R>) -> Self {
317        match err {
318            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
319            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
320                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
321                source: err.into(),
322            }),
323        }
324    }
325}
326impl From<crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError> for Error {
327    fn from(err: crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError) -> Self {
328        match err {
329            crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
330            crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError::DbClusterRoleAlreadyExistsFault(inner) => {
331                Error::DbClusterRoleAlreadyExistsFault(inner)
332            }
333            crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError::DbClusterRoleQuotaExceededFault(inner) => {
334                Error::DbClusterRoleQuotaExceededFault(inner)
335            }
336            crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError::InvalidDbClusterStateFault(inner) => {
337                Error::InvalidDbClusterStateFault(inner)
338            }
339            crate::operation::add_role_to_db_cluster::AddRoleToDBClusterError::Unhandled(inner) => Error::Unhandled(inner),
340        }
341    }
342}
343impl<R>
344    From<
345        ::aws_smithy_runtime_api::client::result::SdkError<
346            crate::operation::add_source_identifier_to_subscription::AddSourceIdentifierToSubscriptionError,
347            R,
348        >,
349    > for Error
350where
351    R: Send + Sync + std::fmt::Debug + 'static,
352{
353    fn from(
354        err: ::aws_smithy_runtime_api::client::result::SdkError<
355            crate::operation::add_source_identifier_to_subscription::AddSourceIdentifierToSubscriptionError,
356            R,
357        >,
358    ) -> Self {
359        match err {
360            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
361            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
362                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
363                source: err.into(),
364            }),
365        }
366    }
367}
368impl From<crate::operation::add_source_identifier_to_subscription::AddSourceIdentifierToSubscriptionError> for Error {
369    fn from(err: crate::operation::add_source_identifier_to_subscription::AddSourceIdentifierToSubscriptionError) -> Self {
370        match err {
371            crate::operation::add_source_identifier_to_subscription::AddSourceIdentifierToSubscriptionError::SourceNotFoundFault(inner) => {
372                Error::SourceNotFoundFault(inner)
373            }
374            crate::operation::add_source_identifier_to_subscription::AddSourceIdentifierToSubscriptionError::SubscriptionNotFoundFault(inner) => {
375                Error::SubscriptionNotFoundFault(inner)
376            }
377            crate::operation::add_source_identifier_to_subscription::AddSourceIdentifierToSubscriptionError::Unhandled(inner) => {
378                Error::Unhandled(inner)
379            }
380        }
381    }
382}
383impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_tags_to_resource::AddTagsToResourceError, R>> for Error
384where
385    R: Send + Sync + std::fmt::Debug + 'static,
386{
387    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::add_tags_to_resource::AddTagsToResourceError, R>) -> Self {
388        match err {
389            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
390            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
391                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
392                source: err.into(),
393            }),
394        }
395    }
396}
397impl From<crate::operation::add_tags_to_resource::AddTagsToResourceError> for Error {
398    fn from(err: crate::operation::add_tags_to_resource::AddTagsToResourceError) -> Self {
399        match err {
400            crate::operation::add_tags_to_resource::AddTagsToResourceError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
401            crate::operation::add_tags_to_resource::AddTagsToResourceError::DbInstanceNotFoundFault(inner) => Error::DbInstanceNotFoundFault(inner),
402            crate::operation::add_tags_to_resource::AddTagsToResourceError::DbSnapshotNotFoundFault(inner) => Error::DbSnapshotNotFoundFault(inner),
403            crate::operation::add_tags_to_resource::AddTagsToResourceError::Unhandled(inner) => Error::Unhandled(inner),
404        }
405    }
406}
407impl<R>
408    From<
409        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError, R>,
410    > for Error
411where
412    R: Send + Sync + std::fmt::Debug + 'static,
413{
414    fn from(
415        err: ::aws_smithy_runtime_api::client::result::SdkError<
416            crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError,
417            R,
418        >,
419    ) -> Self {
420        match err {
421            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
422            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
423                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
424                source: err.into(),
425            }),
426        }
427    }
428}
429impl From<crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError> for Error {
430    fn from(err: crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError) -> Self {
431        match err {
432            crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError::ResourceNotFoundFault(inner) => {
433                Error::ResourceNotFoundFault(inner)
434            }
435            crate::operation::apply_pending_maintenance_action::ApplyPendingMaintenanceActionError::Unhandled(inner) => Error::Unhandled(inner),
436        }
437    }
438}
439impl<R>
440    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError, R>>
441    for Error
442where
443    R: Send + Sync + std::fmt::Debug + 'static,
444{
445    fn from(
446        err: ::aws_smithy_runtime_api::client::result::SdkError<
447            crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError,
448            R,
449        >,
450    ) -> Self {
451        match err {
452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
455                source: err.into(),
456            }),
457        }
458    }
459}
460impl From<crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError> for Error {
461    fn from(err: crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError) -> Self {
462        match err {
463            crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError::DbParameterGroupAlreadyExistsFault(inner) => {
464                Error::DbParameterGroupAlreadyExistsFault(inner)
465            }
466            crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError::DbParameterGroupNotFoundFault(inner) => {
467                Error::DbParameterGroupNotFoundFault(inner)
468            }
469            crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError::DbParameterGroupQuotaExceededFault(inner) => {
470                Error::DbParameterGroupQuotaExceededFault(inner)
471            }
472            crate::operation::copy_db_cluster_parameter_group::CopyDBClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
473        }
474    }
475}
476impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError, R>> for Error
477where
478    R: Send + Sync + std::fmt::Debug + 'static,
479{
480    fn from(
481        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError, R>,
482    ) -> Self {
483        match err {
484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
487                source: err.into(),
488            }),
489        }
490    }
491}
492impl From<crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError> for Error {
493    fn from(err: crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError) -> Self {
494        match err {
495            crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError::DbClusterSnapshotAlreadyExistsFault(inner) => {
496                Error::DbClusterSnapshotAlreadyExistsFault(inner)
497            }
498            crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError::DbClusterSnapshotNotFoundFault(inner) => {
499                Error::DbClusterSnapshotNotFoundFault(inner)
500            }
501            crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError::InvalidDbClusterSnapshotStateFault(inner) => {
502                Error::InvalidDbClusterSnapshotStateFault(inner)
503            }
504            crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError::InvalidDbClusterStateFault(inner) => {
505                Error::InvalidDbClusterStateFault(inner)
506            }
507            crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError::KmsKeyNotAccessibleFault(inner) => {
508                Error::KmsKeyNotAccessibleFault(inner)
509            }
510            crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError::SnapshotQuotaExceededFault(inner) => {
511                Error::SnapshotQuotaExceededFault(inner)
512            }
513            crate::operation::copy_db_cluster_snapshot::CopyDBClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
514        }
515    }
516}
517impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_db_parameter_group::CopyDBParameterGroupError, R>> for Error
518where
519    R: Send + Sync + std::fmt::Debug + 'static,
520{
521    fn from(
522        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_db_parameter_group::CopyDBParameterGroupError, R>,
523    ) -> Self {
524        match err {
525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
528                source: err.into(),
529            }),
530        }
531    }
532}
533impl From<crate::operation::copy_db_parameter_group::CopyDBParameterGroupError> for Error {
534    fn from(err: crate::operation::copy_db_parameter_group::CopyDBParameterGroupError) -> Self {
535        match err {
536            crate::operation::copy_db_parameter_group::CopyDBParameterGroupError::DbParameterGroupAlreadyExistsFault(inner) => {
537                Error::DbParameterGroupAlreadyExistsFault(inner)
538            }
539            crate::operation::copy_db_parameter_group::CopyDBParameterGroupError::DbParameterGroupNotFoundFault(inner) => {
540                Error::DbParameterGroupNotFoundFault(inner)
541            }
542            crate::operation::copy_db_parameter_group::CopyDBParameterGroupError::DbParameterGroupQuotaExceededFault(inner) => {
543                Error::DbParameterGroupQuotaExceededFault(inner)
544            }
545            crate::operation::copy_db_parameter_group::CopyDBParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
546        }
547    }
548}
549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_cluster::CreateDBClusterError, R>> for Error
550where
551    R: Send + Sync + std::fmt::Debug + 'static,
552{
553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_cluster::CreateDBClusterError, R>) -> Self {
554        match err {
555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
558                source: err.into(),
559            }),
560        }
561    }
562}
563impl From<crate::operation::create_db_cluster::CreateDBClusterError> for Error {
564    fn from(err: crate::operation::create_db_cluster::CreateDBClusterError) -> Self {
565        match err {
566            crate::operation::create_db_cluster::CreateDBClusterError::DbClusterAlreadyExistsFault(inner) => {
567                Error::DbClusterAlreadyExistsFault(inner)
568            }
569            crate::operation::create_db_cluster::CreateDBClusterError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
570            crate::operation::create_db_cluster::CreateDBClusterError::DbClusterParameterGroupNotFoundFault(inner) => {
571                Error::DbClusterParameterGroupNotFoundFault(inner)
572            }
573            crate::operation::create_db_cluster::CreateDBClusterError::DbClusterQuotaExceededFault(inner) => {
574                Error::DbClusterQuotaExceededFault(inner)
575            }
576            crate::operation::create_db_cluster::CreateDBClusterError::DbInstanceNotFoundFault(inner) => Error::DbInstanceNotFoundFault(inner),
577            crate::operation::create_db_cluster::CreateDBClusterError::DbSubnetGroupDoesNotCoverEnoughAZs(inner) => {
578                Error::DbSubnetGroupDoesNotCoverEnoughAZs(inner)
579            }
580            crate::operation::create_db_cluster::CreateDBClusterError::DbSubnetGroupNotFoundFault(inner) => Error::DbSubnetGroupNotFoundFault(inner),
581            crate::operation::create_db_cluster::CreateDBClusterError::GlobalClusterNotFoundFault(inner) => Error::GlobalClusterNotFoundFault(inner),
582            crate::operation::create_db_cluster::CreateDBClusterError::InsufficientStorageClusterCapacityFault(inner) => {
583                Error::InsufficientStorageClusterCapacityFault(inner)
584            }
585            crate::operation::create_db_cluster::CreateDBClusterError::InvalidDbClusterStateFault(inner) => Error::InvalidDbClusterStateFault(inner),
586            crate::operation::create_db_cluster::CreateDBClusterError::InvalidDbInstanceStateFault(inner) => {
587                Error::InvalidDbInstanceStateFault(inner)
588            }
589            crate::operation::create_db_cluster::CreateDBClusterError::InvalidDbSubnetGroupStateFault(inner) => {
590                Error::InvalidDbSubnetGroupStateFault(inner)
591            }
592            crate::operation::create_db_cluster::CreateDBClusterError::InvalidGlobalClusterStateFault(inner) => {
593                Error::InvalidGlobalClusterStateFault(inner)
594            }
595            crate::operation::create_db_cluster::CreateDBClusterError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
596            crate::operation::create_db_cluster::CreateDBClusterError::InvalidVpcNetworkStateFault(inner) => {
597                Error::InvalidVpcNetworkStateFault(inner)
598            }
599            crate::operation::create_db_cluster::CreateDBClusterError::KmsKeyNotAccessibleFault(inner) => Error::KmsKeyNotAccessibleFault(inner),
600            crate::operation::create_db_cluster::CreateDBClusterError::StorageQuotaExceededFault(inner) => Error::StorageQuotaExceededFault(inner),
601            crate::operation::create_db_cluster::CreateDBClusterError::Unhandled(inner) => Error::Unhandled(inner),
602        }
603    }
604}
605impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError, R>>
606    for Error
607where
608    R: Send + Sync + std::fmt::Debug + 'static,
609{
610    fn from(
611        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError, R>,
612    ) -> Self {
613        match err {
614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
617                source: err.into(),
618            }),
619        }
620    }
621}
622impl From<crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError> for Error {
623    fn from(err: crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError) -> Self {
624        match err {
625            crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError::DbClusterEndpointAlreadyExistsFault(inner) => {
626                Error::DbClusterEndpointAlreadyExistsFault(inner)
627            }
628            crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError::DbClusterEndpointQuotaExceededFault(inner) => {
629                Error::DbClusterEndpointQuotaExceededFault(inner)
630            }
631            crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError::DbClusterNotFoundFault(inner) => {
632                Error::DbClusterNotFoundFault(inner)
633            }
634            crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError::DbInstanceNotFoundFault(inner) => {
635                Error::DbInstanceNotFoundFault(inner)
636            }
637            crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError::InvalidDbClusterStateFault(inner) => {
638                Error::InvalidDbClusterStateFault(inner)
639            }
640            crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError::InvalidDbInstanceStateFault(inner) => {
641                Error::InvalidDbInstanceStateFault(inner)
642            }
643            crate::operation::create_db_cluster_endpoint::CreateDBClusterEndpointError::Unhandled(inner) => Error::Unhandled(inner),
644        }
645    }
646}
647impl<R>
648    From<
649        ::aws_smithy_runtime_api::client::result::SdkError<
650            crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError,
651            R,
652        >,
653    > for Error
654where
655    R: Send + Sync + std::fmt::Debug + 'static,
656{
657    fn from(
658        err: ::aws_smithy_runtime_api::client::result::SdkError<
659            crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError,
660            R,
661        >,
662    ) -> Self {
663        match err {
664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
667                source: err.into(),
668            }),
669        }
670    }
671}
672impl From<crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError> for Error {
673    fn from(err: crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError) -> Self {
674        match err {
675            crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError::DbParameterGroupAlreadyExistsFault(inner) => {
676                Error::DbParameterGroupAlreadyExistsFault(inner)
677            }
678            crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError::DbParameterGroupQuotaExceededFault(inner) => {
679                Error::DbParameterGroupQuotaExceededFault(inner)
680            }
681            crate::operation::create_db_cluster_parameter_group::CreateDBClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
682        }
683    }
684}
685impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError, R>>
686    for Error
687where
688    R: Send + Sync + std::fmt::Debug + 'static,
689{
690    fn from(
691        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError, R>,
692    ) -> Self {
693        match err {
694            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
695            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
696                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
697                source: err.into(),
698            }),
699        }
700    }
701}
702impl From<crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError> for Error {
703    fn from(err: crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError) -> Self {
704        match err {
705            crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError::DbClusterNotFoundFault(inner) => {
706                Error::DbClusterNotFoundFault(inner)
707            }
708            crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError::DbClusterSnapshotAlreadyExistsFault(inner) => {
709                Error::DbClusterSnapshotAlreadyExistsFault(inner)
710            }
711            crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError::InvalidDbClusterSnapshotStateFault(inner) => {
712                Error::InvalidDbClusterSnapshotStateFault(inner)
713            }
714            crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError::InvalidDbClusterStateFault(inner) => {
715                Error::InvalidDbClusterStateFault(inner)
716            }
717            crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError::SnapshotQuotaExceededFault(inner) => {
718                Error::SnapshotQuotaExceededFault(inner)
719            }
720            crate::operation::create_db_cluster_snapshot::CreateDBClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
721        }
722    }
723}
724impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_instance::CreateDBInstanceError, R>> for Error
725where
726    R: Send + Sync + std::fmt::Debug + 'static,
727{
728    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_instance::CreateDBInstanceError, R>) -> Self {
729        match err {
730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
733                source: err.into(),
734            }),
735        }
736    }
737}
738impl From<crate::operation::create_db_instance::CreateDBInstanceError> for Error {
739    fn from(err: crate::operation::create_db_instance::CreateDBInstanceError) -> Self {
740        match err {
741            crate::operation::create_db_instance::CreateDBInstanceError::AuthorizationNotFoundFault(inner) => {
742                Error::AuthorizationNotFoundFault(inner)
743            }
744            crate::operation::create_db_instance::CreateDBInstanceError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
745            crate::operation::create_db_instance::CreateDBInstanceError::DbInstanceAlreadyExistsFault(inner) => {
746                Error::DbInstanceAlreadyExistsFault(inner)
747            }
748            crate::operation::create_db_instance::CreateDBInstanceError::DbParameterGroupNotFoundFault(inner) => {
749                Error::DbParameterGroupNotFoundFault(inner)
750            }
751            crate::operation::create_db_instance::CreateDBInstanceError::DbSecurityGroupNotFoundFault(inner) => {
752                Error::DbSecurityGroupNotFoundFault(inner)
753            }
754            crate::operation::create_db_instance::CreateDBInstanceError::DbSubnetGroupDoesNotCoverEnoughAZs(inner) => {
755                Error::DbSubnetGroupDoesNotCoverEnoughAZs(inner)
756            }
757            crate::operation::create_db_instance::CreateDBInstanceError::DbSubnetGroupNotFoundFault(inner) => {
758                Error::DbSubnetGroupNotFoundFault(inner)
759            }
760            crate::operation::create_db_instance::CreateDBInstanceError::DomainNotFoundFault(inner) => Error::DomainNotFoundFault(inner),
761            crate::operation::create_db_instance::CreateDBInstanceError::InstanceQuotaExceededFault(inner) => {
762                Error::InstanceQuotaExceededFault(inner)
763            }
764            crate::operation::create_db_instance::CreateDBInstanceError::InsufficientDbInstanceCapacityFault(inner) => {
765                Error::InsufficientDbInstanceCapacityFault(inner)
766            }
767            crate::operation::create_db_instance::CreateDBInstanceError::InvalidDbClusterStateFault(inner) => {
768                Error::InvalidDbClusterStateFault(inner)
769            }
770            crate::operation::create_db_instance::CreateDBInstanceError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
771            crate::operation::create_db_instance::CreateDBInstanceError::InvalidVpcNetworkStateFault(inner) => {
772                Error::InvalidVpcNetworkStateFault(inner)
773            }
774            crate::operation::create_db_instance::CreateDBInstanceError::KmsKeyNotAccessibleFault(inner) => Error::KmsKeyNotAccessibleFault(inner),
775            crate::operation::create_db_instance::CreateDBInstanceError::OptionGroupNotFoundFault(inner) => Error::OptionGroupNotFoundFault(inner),
776            crate::operation::create_db_instance::CreateDBInstanceError::ProvisionedIopsNotAvailableInAzFault(inner) => {
777                Error::ProvisionedIopsNotAvailableInAzFault(inner)
778            }
779            crate::operation::create_db_instance::CreateDBInstanceError::StorageQuotaExceededFault(inner) => Error::StorageQuotaExceededFault(inner),
780            crate::operation::create_db_instance::CreateDBInstanceError::StorageTypeNotSupportedFault(inner) => {
781                Error::StorageTypeNotSupportedFault(inner)
782            }
783            crate::operation::create_db_instance::CreateDBInstanceError::Unhandled(inner) => Error::Unhandled(inner),
784        }
785    }
786}
787impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_parameter_group::CreateDBParameterGroupError, R>>
788    for Error
789where
790    R: Send + Sync + std::fmt::Debug + 'static,
791{
792    fn from(
793        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_parameter_group::CreateDBParameterGroupError, R>,
794    ) -> Self {
795        match err {
796            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
797            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
798                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
799                source: err.into(),
800            }),
801        }
802    }
803}
804impl From<crate::operation::create_db_parameter_group::CreateDBParameterGroupError> for Error {
805    fn from(err: crate::operation::create_db_parameter_group::CreateDBParameterGroupError) -> Self {
806        match err {
807            crate::operation::create_db_parameter_group::CreateDBParameterGroupError::DbParameterGroupAlreadyExistsFault(inner) => {
808                Error::DbParameterGroupAlreadyExistsFault(inner)
809            }
810            crate::operation::create_db_parameter_group::CreateDBParameterGroupError::DbParameterGroupQuotaExceededFault(inner) => {
811                Error::DbParameterGroupQuotaExceededFault(inner)
812            }
813            crate::operation::create_db_parameter_group::CreateDBParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
814        }
815    }
816}
817impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_subnet_group::CreateDBSubnetGroupError, R>> for Error
818where
819    R: Send + Sync + std::fmt::Debug + 'static,
820{
821    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_db_subnet_group::CreateDBSubnetGroupError, R>) -> Self {
822        match err {
823            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
824            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
825                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
826                source: err.into(),
827            }),
828        }
829    }
830}
831impl From<crate::operation::create_db_subnet_group::CreateDBSubnetGroupError> for Error {
832    fn from(err: crate::operation::create_db_subnet_group::CreateDBSubnetGroupError) -> Self {
833        match err {
834            crate::operation::create_db_subnet_group::CreateDBSubnetGroupError::DbSubnetGroupAlreadyExistsFault(inner) => {
835                Error::DbSubnetGroupAlreadyExistsFault(inner)
836            }
837            crate::operation::create_db_subnet_group::CreateDBSubnetGroupError::DbSubnetGroupDoesNotCoverEnoughAZs(inner) => {
838                Error::DbSubnetGroupDoesNotCoverEnoughAZs(inner)
839            }
840            crate::operation::create_db_subnet_group::CreateDBSubnetGroupError::DbSubnetGroupQuotaExceededFault(inner) => {
841                Error::DbSubnetGroupQuotaExceededFault(inner)
842            }
843            crate::operation::create_db_subnet_group::CreateDBSubnetGroupError::DbSubnetQuotaExceededFault(inner) => {
844                Error::DbSubnetQuotaExceededFault(inner)
845            }
846            crate::operation::create_db_subnet_group::CreateDBSubnetGroupError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
847            crate::operation::create_db_subnet_group::CreateDBSubnetGroupError::Unhandled(inner) => Error::Unhandled(inner),
848        }
849    }
850}
851impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_event_subscription::CreateEventSubscriptionError, R>>
852    for Error
853where
854    R: Send + Sync + std::fmt::Debug + 'static,
855{
856    fn from(
857        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_event_subscription::CreateEventSubscriptionError, R>,
858    ) -> Self {
859        match err {
860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
863                source: err.into(),
864            }),
865        }
866    }
867}
868impl From<crate::operation::create_event_subscription::CreateEventSubscriptionError> for Error {
869    fn from(err: crate::operation::create_event_subscription::CreateEventSubscriptionError) -> Self {
870        match err {
871            crate::operation::create_event_subscription::CreateEventSubscriptionError::EventSubscriptionQuotaExceededFault(inner) => {
872                Error::EventSubscriptionQuotaExceededFault(inner)
873            }
874            crate::operation::create_event_subscription::CreateEventSubscriptionError::SnsInvalidTopicFault(inner) => {
875                Error::SnsInvalidTopicFault(inner)
876            }
877            crate::operation::create_event_subscription::CreateEventSubscriptionError::SnsNoAuthorizationFault(inner) => {
878                Error::SnsNoAuthorizationFault(inner)
879            }
880            crate::operation::create_event_subscription::CreateEventSubscriptionError::SnsTopicArnNotFoundFault(inner) => {
881                Error::SnsTopicArnNotFoundFault(inner)
882            }
883            crate::operation::create_event_subscription::CreateEventSubscriptionError::SourceNotFoundFault(inner) => {
884                Error::SourceNotFoundFault(inner)
885            }
886            crate::operation::create_event_subscription::CreateEventSubscriptionError::SubscriptionAlreadyExistFault(inner) => {
887                Error::SubscriptionAlreadyExistFault(inner)
888            }
889            crate::operation::create_event_subscription::CreateEventSubscriptionError::SubscriptionCategoryNotFoundFault(inner) => {
890                Error::SubscriptionCategoryNotFoundFault(inner)
891            }
892            crate::operation::create_event_subscription::CreateEventSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
893        }
894    }
895}
896impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_global_cluster::CreateGlobalClusterError, R>> for Error
897where
898    R: Send + Sync + std::fmt::Debug + 'static,
899{
900    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_global_cluster::CreateGlobalClusterError, R>) -> Self {
901        match err {
902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
905                source: err.into(),
906            }),
907        }
908    }
909}
910impl From<crate::operation::create_global_cluster::CreateGlobalClusterError> for Error {
911    fn from(err: crate::operation::create_global_cluster::CreateGlobalClusterError) -> Self {
912        match err {
913            crate::operation::create_global_cluster::CreateGlobalClusterError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
914            crate::operation::create_global_cluster::CreateGlobalClusterError::GlobalClusterAlreadyExistsFault(inner) => {
915                Error::GlobalClusterAlreadyExistsFault(inner)
916            }
917            crate::operation::create_global_cluster::CreateGlobalClusterError::GlobalClusterQuotaExceededFault(inner) => {
918                Error::GlobalClusterQuotaExceededFault(inner)
919            }
920            crate::operation::create_global_cluster::CreateGlobalClusterError::InvalidDbClusterStateFault(inner) => {
921                Error::InvalidDbClusterStateFault(inner)
922            }
923            crate::operation::create_global_cluster::CreateGlobalClusterError::Unhandled(inner) => Error::Unhandled(inner),
924        }
925    }
926}
927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_cluster::DeleteDBClusterError, R>> for Error
928where
929    R: Send + Sync + std::fmt::Debug + 'static,
930{
931    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_cluster::DeleteDBClusterError, R>) -> Self {
932        match err {
933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
936                source: err.into(),
937            }),
938        }
939    }
940}
941impl From<crate::operation::delete_db_cluster::DeleteDBClusterError> for Error {
942    fn from(err: crate::operation::delete_db_cluster::DeleteDBClusterError) -> Self {
943        match err {
944            crate::operation::delete_db_cluster::DeleteDBClusterError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
945            crate::operation::delete_db_cluster::DeleteDBClusterError::DbClusterSnapshotAlreadyExistsFault(inner) => {
946                Error::DbClusterSnapshotAlreadyExistsFault(inner)
947            }
948            crate::operation::delete_db_cluster::DeleteDBClusterError::InvalidDbClusterSnapshotStateFault(inner) => {
949                Error::InvalidDbClusterSnapshotStateFault(inner)
950            }
951            crate::operation::delete_db_cluster::DeleteDBClusterError::InvalidDbClusterStateFault(inner) => Error::InvalidDbClusterStateFault(inner),
952            crate::operation::delete_db_cluster::DeleteDBClusterError::SnapshotQuotaExceededFault(inner) => Error::SnapshotQuotaExceededFault(inner),
953            crate::operation::delete_db_cluster::DeleteDBClusterError::Unhandled(inner) => Error::Unhandled(inner),
954        }
955    }
956}
957impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError, R>>
958    for Error
959where
960    R: Send + Sync + std::fmt::Debug + 'static,
961{
962    fn from(
963        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError, R>,
964    ) -> Self {
965        match err {
966            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
967            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
968                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
969                source: err.into(),
970            }),
971        }
972    }
973}
974impl From<crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError> for Error {
975    fn from(err: crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError) -> Self {
976        match err {
977            crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError::DbClusterEndpointNotFoundFault(inner) => {
978                Error::DbClusterEndpointNotFoundFault(inner)
979            }
980            crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError::InvalidDbClusterEndpointStateFault(inner) => {
981                Error::InvalidDbClusterEndpointStateFault(inner)
982            }
983            crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError::InvalidDbClusterStateFault(inner) => {
984                Error::InvalidDbClusterStateFault(inner)
985            }
986            crate::operation::delete_db_cluster_endpoint::DeleteDBClusterEndpointError::Unhandled(inner) => Error::Unhandled(inner),
987        }
988    }
989}
990impl<R>
991    From<
992        ::aws_smithy_runtime_api::client::result::SdkError<
993            crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError,
994            R,
995        >,
996    > for Error
997where
998    R: Send + Sync + std::fmt::Debug + 'static,
999{
1000    fn from(
1001        err: ::aws_smithy_runtime_api::client::result::SdkError<
1002            crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError,
1003            R,
1004        >,
1005    ) -> Self {
1006        match err {
1007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1010                source: err.into(),
1011            }),
1012        }
1013    }
1014}
1015impl From<crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError> for Error {
1016    fn from(err: crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError) -> Self {
1017        match err {
1018            crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError::DbParameterGroupNotFoundFault(inner) => {
1019                Error::DbParameterGroupNotFoundFault(inner)
1020            }
1021            crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError::InvalidDbParameterGroupStateFault(inner) => {
1022                Error::InvalidDbParameterGroupStateFault(inner)
1023            }
1024            crate::operation::delete_db_cluster_parameter_group::DeleteDBClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
1025        }
1026    }
1027}
1028impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError, R>>
1029    for Error
1030where
1031    R: Send + Sync + std::fmt::Debug + 'static,
1032{
1033    fn from(
1034        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError, R>,
1035    ) -> Self {
1036        match err {
1037            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1038            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1039                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1040                source: err.into(),
1041            }),
1042        }
1043    }
1044}
1045impl From<crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError> for Error {
1046    fn from(err: crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError) -> Self {
1047        match err {
1048            crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError::DbClusterSnapshotNotFoundFault(inner) => {
1049                Error::DbClusterSnapshotNotFoundFault(inner)
1050            }
1051            crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError::InvalidDbClusterSnapshotStateFault(inner) => {
1052                Error::InvalidDbClusterSnapshotStateFault(inner)
1053            }
1054            crate::operation::delete_db_cluster_snapshot::DeleteDBClusterSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1055        }
1056    }
1057}
1058impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_instance::DeleteDBInstanceError, R>> for Error
1059where
1060    R: Send + Sync + std::fmt::Debug + 'static,
1061{
1062    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_instance::DeleteDBInstanceError, R>) -> Self {
1063        match err {
1064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1067                source: err.into(),
1068            }),
1069        }
1070    }
1071}
1072impl From<crate::operation::delete_db_instance::DeleteDBInstanceError> for Error {
1073    fn from(err: crate::operation::delete_db_instance::DeleteDBInstanceError) -> Self {
1074        match err {
1075            crate::operation::delete_db_instance::DeleteDBInstanceError::DbInstanceNotFoundFault(inner) => Error::DbInstanceNotFoundFault(inner),
1076            crate::operation::delete_db_instance::DeleteDBInstanceError::DbSnapshotAlreadyExistsFault(inner) => {
1077                Error::DbSnapshotAlreadyExistsFault(inner)
1078            }
1079            crate::operation::delete_db_instance::DeleteDBInstanceError::InvalidDbClusterStateFault(inner) => {
1080                Error::InvalidDbClusterStateFault(inner)
1081            }
1082            crate::operation::delete_db_instance::DeleteDBInstanceError::InvalidDbInstanceStateFault(inner) => {
1083                Error::InvalidDbInstanceStateFault(inner)
1084            }
1085            crate::operation::delete_db_instance::DeleteDBInstanceError::SnapshotQuotaExceededFault(inner) => {
1086                Error::SnapshotQuotaExceededFault(inner)
1087            }
1088            crate::operation::delete_db_instance::DeleteDBInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1089        }
1090    }
1091}
1092impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_parameter_group::DeleteDBParameterGroupError, R>>
1093    for Error
1094where
1095    R: Send + Sync + std::fmt::Debug + 'static,
1096{
1097    fn from(
1098        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_parameter_group::DeleteDBParameterGroupError, R>,
1099    ) -> Self {
1100        match err {
1101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1104                source: err.into(),
1105            }),
1106        }
1107    }
1108}
1109impl From<crate::operation::delete_db_parameter_group::DeleteDBParameterGroupError> for Error {
1110    fn from(err: crate::operation::delete_db_parameter_group::DeleteDBParameterGroupError) -> Self {
1111        match err {
1112            crate::operation::delete_db_parameter_group::DeleteDBParameterGroupError::DbParameterGroupNotFoundFault(inner) => {
1113                Error::DbParameterGroupNotFoundFault(inner)
1114            }
1115            crate::operation::delete_db_parameter_group::DeleteDBParameterGroupError::InvalidDbParameterGroupStateFault(inner) => {
1116                Error::InvalidDbParameterGroupStateFault(inner)
1117            }
1118            crate::operation::delete_db_parameter_group::DeleteDBParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
1119        }
1120    }
1121}
1122impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError, R>> for Error
1123where
1124    R: Send + Sync + std::fmt::Debug + 'static,
1125{
1126    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError, R>) -> Self {
1127        match err {
1128            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1129            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1130                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1131                source: err.into(),
1132            }),
1133        }
1134    }
1135}
1136impl From<crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError> for Error {
1137    fn from(err: crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError) -> Self {
1138        match err {
1139            crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError::DbSubnetGroupNotFoundFault(inner) => {
1140                Error::DbSubnetGroupNotFoundFault(inner)
1141            }
1142            crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError::InvalidDbSubnetGroupStateFault(inner) => {
1143                Error::InvalidDbSubnetGroupStateFault(inner)
1144            }
1145            crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError::InvalidDbSubnetStateFault(inner) => {
1146                Error::InvalidDbSubnetStateFault(inner)
1147            }
1148            crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError::Unhandled(inner) => Error::Unhandled(inner),
1149        }
1150    }
1151}
1152impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_event_subscription::DeleteEventSubscriptionError, R>>
1153    for Error
1154where
1155    R: Send + Sync + std::fmt::Debug + 'static,
1156{
1157    fn from(
1158        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_event_subscription::DeleteEventSubscriptionError, R>,
1159    ) -> Self {
1160        match err {
1161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1164                source: err.into(),
1165            }),
1166        }
1167    }
1168}
1169impl From<crate::operation::delete_event_subscription::DeleteEventSubscriptionError> for Error {
1170    fn from(err: crate::operation::delete_event_subscription::DeleteEventSubscriptionError) -> Self {
1171        match err {
1172            crate::operation::delete_event_subscription::DeleteEventSubscriptionError::InvalidEventSubscriptionStateFault(inner) => {
1173                Error::InvalidEventSubscriptionStateFault(inner)
1174            }
1175            crate::operation::delete_event_subscription::DeleteEventSubscriptionError::SubscriptionNotFoundFault(inner) => {
1176                Error::SubscriptionNotFoundFault(inner)
1177            }
1178            crate::operation::delete_event_subscription::DeleteEventSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
1179        }
1180    }
1181}
1182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_global_cluster::DeleteGlobalClusterError, 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::delete_global_cluster::DeleteGlobalClusterError, 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::delete_global_cluster::DeleteGlobalClusterError> for Error {
1197    fn from(err: crate::operation::delete_global_cluster::DeleteGlobalClusterError) -> Self {
1198        match err {
1199            crate::operation::delete_global_cluster::DeleteGlobalClusterError::GlobalClusterNotFoundFault(inner) => {
1200                Error::GlobalClusterNotFoundFault(inner)
1201            }
1202            crate::operation::delete_global_cluster::DeleteGlobalClusterError::InvalidGlobalClusterStateFault(inner) => {
1203                Error::InvalidGlobalClusterStateFault(inner)
1204            }
1205            crate::operation::delete_global_cluster::DeleteGlobalClusterError::Unhandled(inner) => Error::Unhandled(inner),
1206        }
1207    }
1208}
1209impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpointsError, R>>
1210    for Error
1211where
1212    R: Send + Sync + std::fmt::Debug + 'static,
1213{
1214    fn from(
1215        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpointsError, R>,
1216    ) -> Self {
1217        match err {
1218            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1219            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1220                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1221                source: err.into(),
1222            }),
1223        }
1224    }
1225}
1226impl From<crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpointsError> for Error {
1227    fn from(err: crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpointsError) -> Self {
1228        match err {
1229            crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpointsError::DbClusterNotFoundFault(inner) => {
1230                Error::DbClusterNotFoundFault(inner)
1231            }
1232            crate::operation::describe_db_cluster_endpoints::DescribeDBClusterEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
1233        }
1234    }
1235}
1236impl<R>
1237    From<
1238        ::aws_smithy_runtime_api::client::result::SdkError<
1239            crate::operation::describe_db_cluster_parameter_groups::DescribeDBClusterParameterGroupsError,
1240            R,
1241        >,
1242    > for Error
1243where
1244    R: Send + Sync + std::fmt::Debug + 'static,
1245{
1246    fn from(
1247        err: ::aws_smithy_runtime_api::client::result::SdkError<
1248            crate::operation::describe_db_cluster_parameter_groups::DescribeDBClusterParameterGroupsError,
1249            R,
1250        >,
1251    ) -> Self {
1252        match err {
1253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1256                source: err.into(),
1257            }),
1258        }
1259    }
1260}
1261impl From<crate::operation::describe_db_cluster_parameter_groups::DescribeDBClusterParameterGroupsError> for Error {
1262    fn from(err: crate::operation::describe_db_cluster_parameter_groups::DescribeDBClusterParameterGroupsError) -> Self {
1263        match err {
1264            crate::operation::describe_db_cluster_parameter_groups::DescribeDBClusterParameterGroupsError::DbParameterGroupNotFoundFault(inner) => {
1265                Error::DbParameterGroupNotFoundFault(inner)
1266            }
1267            crate::operation::describe_db_cluster_parameter_groups::DescribeDBClusterParameterGroupsError::Unhandled(inner) => {
1268                Error::Unhandled(inner)
1269            }
1270        }
1271    }
1272}
1273impl<R>
1274    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_cluster_parameters::DescribeDBClusterParametersError, R>>
1275    for Error
1276where
1277    R: Send + Sync + std::fmt::Debug + 'static,
1278{
1279    fn from(
1280        err: ::aws_smithy_runtime_api::client::result::SdkError<
1281            crate::operation::describe_db_cluster_parameters::DescribeDBClusterParametersError,
1282            R,
1283        >,
1284    ) -> Self {
1285        match err {
1286            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1287            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1288                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1289                source: err.into(),
1290            }),
1291        }
1292    }
1293}
1294impl From<crate::operation::describe_db_cluster_parameters::DescribeDBClusterParametersError> for Error {
1295    fn from(err: crate::operation::describe_db_cluster_parameters::DescribeDBClusterParametersError) -> Self {
1296        match err {
1297            crate::operation::describe_db_cluster_parameters::DescribeDBClusterParametersError::DbParameterGroupNotFoundFault(inner) => {
1298                Error::DbParameterGroupNotFoundFault(inner)
1299            }
1300            crate::operation::describe_db_cluster_parameters::DescribeDBClusterParametersError::Unhandled(inner) => Error::Unhandled(inner),
1301        }
1302    }
1303}
1304impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_clusters::DescribeDBClustersError, R>> for Error
1305where
1306    R: Send + Sync + std::fmt::Debug + 'static,
1307{
1308    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_clusters::DescribeDBClustersError, R>) -> Self {
1309        match err {
1310            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1311            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1312                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1313                source: err.into(),
1314            }),
1315        }
1316    }
1317}
1318impl From<crate::operation::describe_db_clusters::DescribeDBClustersError> for Error {
1319    fn from(err: crate::operation::describe_db_clusters::DescribeDBClustersError) -> Self {
1320        match err {
1321            crate::operation::describe_db_clusters::DescribeDBClustersError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
1322            crate::operation::describe_db_clusters::DescribeDBClustersError::Unhandled(inner) => Error::Unhandled(inner),
1323        }
1324    }
1325}
1326impl<R>
1327    From<
1328        ::aws_smithy_runtime_api::client::result::SdkError<
1329            crate::operation::describe_db_cluster_snapshot_attributes::DescribeDBClusterSnapshotAttributesError,
1330            R,
1331        >,
1332    > for Error
1333where
1334    R: Send + Sync + std::fmt::Debug + 'static,
1335{
1336    fn from(
1337        err: ::aws_smithy_runtime_api::client::result::SdkError<
1338            crate::operation::describe_db_cluster_snapshot_attributes::DescribeDBClusterSnapshotAttributesError,
1339            R,
1340        >,
1341    ) -> Self {
1342        match err {
1343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1346                source: err.into(),
1347            }),
1348        }
1349    }
1350}
1351impl From<crate::operation::describe_db_cluster_snapshot_attributes::DescribeDBClusterSnapshotAttributesError> for Error {
1352    fn from(err: crate::operation::describe_db_cluster_snapshot_attributes::DescribeDBClusterSnapshotAttributesError) -> Self {
1353        match err {
1354            crate::operation::describe_db_cluster_snapshot_attributes::DescribeDBClusterSnapshotAttributesError::DbClusterSnapshotNotFoundFault(
1355                inner,
1356            ) => Error::DbClusterSnapshotNotFoundFault(inner),
1357            crate::operation::describe_db_cluster_snapshot_attributes::DescribeDBClusterSnapshotAttributesError::Unhandled(inner) => {
1358                Error::Unhandled(inner)
1359            }
1360        }
1361    }
1362}
1363impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshotsError, R>>
1364    for Error
1365where
1366    R: Send + Sync + std::fmt::Debug + 'static,
1367{
1368    fn from(
1369        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshotsError, R>,
1370    ) -> Self {
1371        match err {
1372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1375                source: err.into(),
1376            }),
1377        }
1378    }
1379}
1380impl From<crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshotsError> for Error {
1381    fn from(err: crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshotsError) -> Self {
1382        match err {
1383            crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshotsError::DbClusterSnapshotNotFoundFault(inner) => {
1384                Error::DbClusterSnapshotNotFoundFault(inner)
1385            }
1386            crate::operation::describe_db_cluster_snapshots::DescribeDBClusterSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
1387        }
1388    }
1389}
1390impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_engine_versions::DescribeDBEngineVersionsError, R>>
1391    for Error
1392where
1393    R: Send + Sync + std::fmt::Debug + 'static,
1394{
1395    fn from(
1396        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_engine_versions::DescribeDBEngineVersionsError, R>,
1397    ) -> Self {
1398        match err {
1399            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1400            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1401                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1402                source: err.into(),
1403            }),
1404        }
1405    }
1406}
1407impl From<crate::operation::describe_db_engine_versions::DescribeDBEngineVersionsError> for Error {
1408    fn from(err: crate::operation::describe_db_engine_versions::DescribeDBEngineVersionsError) -> Self {
1409        match err {
1410            crate::operation::describe_db_engine_versions::DescribeDBEngineVersionsError::Unhandled(inner) => Error::Unhandled(inner),
1411        }
1412    }
1413}
1414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_instances::DescribeDBInstancesError, R>> for Error
1415where
1416    R: Send + Sync + std::fmt::Debug + 'static,
1417{
1418    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_instances::DescribeDBInstancesError, R>) -> Self {
1419        match err {
1420            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1421            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1422                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1423                source: err.into(),
1424            }),
1425        }
1426    }
1427}
1428impl From<crate::operation::describe_db_instances::DescribeDBInstancesError> for Error {
1429    fn from(err: crate::operation::describe_db_instances::DescribeDBInstancesError) -> Self {
1430        match err {
1431            crate::operation::describe_db_instances::DescribeDBInstancesError::DbInstanceNotFoundFault(inner) => {
1432                Error::DbInstanceNotFoundFault(inner)
1433            }
1434            crate::operation::describe_db_instances::DescribeDBInstancesError::Unhandled(inner) => Error::Unhandled(inner),
1435        }
1436    }
1437}
1438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_parameter_groups::DescribeDBParameterGroupsError, R>>
1439    for Error
1440where
1441    R: Send + Sync + std::fmt::Debug + 'static,
1442{
1443    fn from(
1444        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_parameter_groups::DescribeDBParameterGroupsError, R>,
1445    ) -> Self {
1446        match err {
1447            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1448            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1449                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1450                source: err.into(),
1451            }),
1452        }
1453    }
1454}
1455impl From<crate::operation::describe_db_parameter_groups::DescribeDBParameterGroupsError> for Error {
1456    fn from(err: crate::operation::describe_db_parameter_groups::DescribeDBParameterGroupsError) -> Self {
1457        match err {
1458            crate::operation::describe_db_parameter_groups::DescribeDBParameterGroupsError::DbParameterGroupNotFoundFault(inner) => {
1459                Error::DbParameterGroupNotFoundFault(inner)
1460            }
1461            crate::operation::describe_db_parameter_groups::DescribeDBParameterGroupsError::Unhandled(inner) => Error::Unhandled(inner),
1462        }
1463    }
1464}
1465impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_parameters::DescribeDBParametersError, R>> for Error
1466where
1467    R: Send + Sync + std::fmt::Debug + 'static,
1468{
1469    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_parameters::DescribeDBParametersError, R>) -> Self {
1470        match err {
1471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1474                source: err.into(),
1475            }),
1476        }
1477    }
1478}
1479impl From<crate::operation::describe_db_parameters::DescribeDBParametersError> for Error {
1480    fn from(err: crate::operation::describe_db_parameters::DescribeDBParametersError) -> Self {
1481        match err {
1482            crate::operation::describe_db_parameters::DescribeDBParametersError::DbParameterGroupNotFoundFault(inner) => {
1483                Error::DbParameterGroupNotFoundFault(inner)
1484            }
1485            crate::operation::describe_db_parameters::DescribeDBParametersError::Unhandled(inner) => Error::Unhandled(inner),
1486        }
1487    }
1488}
1489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroupsError, R>>
1490    for Error
1491where
1492    R: Send + Sync + std::fmt::Debug + 'static,
1493{
1494    fn from(
1495        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroupsError, R>,
1496    ) -> Self {
1497        match err {
1498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1501                source: err.into(),
1502            }),
1503        }
1504    }
1505}
1506impl From<crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroupsError> for Error {
1507    fn from(err: crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroupsError) -> Self {
1508        match err {
1509            crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroupsError::DbSubnetGroupNotFoundFault(inner) => {
1510                Error::DbSubnetGroupNotFoundFault(inner)
1511            }
1512            crate::operation::describe_db_subnet_groups::DescribeDBSubnetGroupsError::Unhandled(inner) => Error::Unhandled(inner),
1513        }
1514    }
1515}
1516impl<R>
1517    From<
1518        ::aws_smithy_runtime_api::client::result::SdkError<
1519            crate::operation::describe_engine_default_cluster_parameters::DescribeEngineDefaultClusterParametersError,
1520            R,
1521        >,
1522    > for Error
1523where
1524    R: Send + Sync + std::fmt::Debug + 'static,
1525{
1526    fn from(
1527        err: ::aws_smithy_runtime_api::client::result::SdkError<
1528            crate::operation::describe_engine_default_cluster_parameters::DescribeEngineDefaultClusterParametersError,
1529            R,
1530        >,
1531    ) -> Self {
1532        match err {
1533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1536                source: err.into(),
1537            }),
1538        }
1539    }
1540}
1541impl From<crate::operation::describe_engine_default_cluster_parameters::DescribeEngineDefaultClusterParametersError> for Error {
1542    fn from(err: crate::operation::describe_engine_default_cluster_parameters::DescribeEngineDefaultClusterParametersError) -> Self {
1543        match err {
1544            crate::operation::describe_engine_default_cluster_parameters::DescribeEngineDefaultClusterParametersError::Unhandled(inner) => {
1545                Error::Unhandled(inner)
1546            }
1547        }
1548    }
1549}
1550impl<R>
1551    From<
1552        ::aws_smithy_runtime_api::client::result::SdkError<
1553            crate::operation::describe_engine_default_parameters::DescribeEngineDefaultParametersError,
1554            R,
1555        >,
1556    > for Error
1557where
1558    R: Send + Sync + std::fmt::Debug + 'static,
1559{
1560    fn from(
1561        err: ::aws_smithy_runtime_api::client::result::SdkError<
1562            crate::operation::describe_engine_default_parameters::DescribeEngineDefaultParametersError,
1563            R,
1564        >,
1565    ) -> Self {
1566        match err {
1567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1570                source: err.into(),
1571            }),
1572        }
1573    }
1574}
1575impl From<crate::operation::describe_engine_default_parameters::DescribeEngineDefaultParametersError> for Error {
1576    fn from(err: crate::operation::describe_engine_default_parameters::DescribeEngineDefaultParametersError) -> Self {
1577        match err {
1578            crate::operation::describe_engine_default_parameters::DescribeEngineDefaultParametersError::Unhandled(inner) => Error::Unhandled(inner),
1579        }
1580    }
1581}
1582impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_categories::DescribeEventCategoriesError, R>>
1583    for Error
1584where
1585    R: Send + Sync + std::fmt::Debug + 'static,
1586{
1587    fn from(
1588        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_categories::DescribeEventCategoriesError, R>,
1589    ) -> Self {
1590        match err {
1591            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1592            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1593                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1594                source: err.into(),
1595            }),
1596        }
1597    }
1598}
1599impl From<crate::operation::describe_event_categories::DescribeEventCategoriesError> for Error {
1600    fn from(err: crate::operation::describe_event_categories::DescribeEventCategoriesError) -> Self {
1601        match err {
1602            crate::operation::describe_event_categories::DescribeEventCategoriesError::Unhandled(inner) => Error::Unhandled(inner),
1603        }
1604    }
1605}
1606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_events::DescribeEventsError, R>> for Error
1607where
1608    R: Send + Sync + std::fmt::Debug + 'static,
1609{
1610    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_events::DescribeEventsError, R>) -> Self {
1611        match err {
1612            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1613            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1614                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1615                source: err.into(),
1616            }),
1617        }
1618    }
1619}
1620impl From<crate::operation::describe_events::DescribeEventsError> for Error {
1621    fn from(err: crate::operation::describe_events::DescribeEventsError) -> Self {
1622        match err {
1623            crate::operation::describe_events::DescribeEventsError::Unhandled(inner) => Error::Unhandled(inner),
1624        }
1625    }
1626}
1627impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, R>>
1628    for Error
1629where
1630    R: Send + Sync + std::fmt::Debug + 'static,
1631{
1632    fn from(
1633        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError, R>,
1634    ) -> Self {
1635        match err {
1636            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1637            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1638                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1639                source: err.into(),
1640            }),
1641        }
1642    }
1643}
1644impl From<crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError> for Error {
1645    fn from(err: crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError) -> Self {
1646        match err {
1647            crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError::SubscriptionNotFoundFault(inner) => {
1648                Error::SubscriptionNotFoundFault(inner)
1649            }
1650            crate::operation::describe_event_subscriptions::DescribeEventSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
1651        }
1652    }
1653}
1654impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_global_clusters::DescribeGlobalClustersError, R>> for Error
1655where
1656    R: Send + Sync + std::fmt::Debug + 'static,
1657{
1658    fn from(
1659        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_global_clusters::DescribeGlobalClustersError, R>,
1660    ) -> Self {
1661        match err {
1662            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1663            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1664                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1665                source: err.into(),
1666            }),
1667        }
1668    }
1669}
1670impl From<crate::operation::describe_global_clusters::DescribeGlobalClustersError> for Error {
1671    fn from(err: crate::operation::describe_global_clusters::DescribeGlobalClustersError) -> Self {
1672        match err {
1673            crate::operation::describe_global_clusters::DescribeGlobalClustersError::GlobalClusterNotFoundFault(inner) => {
1674                Error::GlobalClusterNotFoundFault(inner)
1675            }
1676            crate::operation::describe_global_clusters::DescribeGlobalClustersError::Unhandled(inner) => Error::Unhandled(inner),
1677        }
1678    }
1679}
1680impl<R>
1681    From<
1682        ::aws_smithy_runtime_api::client::result::SdkError<
1683            crate::operation::describe_orderable_db_instance_options::DescribeOrderableDBInstanceOptionsError,
1684            R,
1685        >,
1686    > for Error
1687where
1688    R: Send + Sync + std::fmt::Debug + 'static,
1689{
1690    fn from(
1691        err: ::aws_smithy_runtime_api::client::result::SdkError<
1692            crate::operation::describe_orderable_db_instance_options::DescribeOrderableDBInstanceOptionsError,
1693            R,
1694        >,
1695    ) -> Self {
1696        match err {
1697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1700                source: err.into(),
1701            }),
1702        }
1703    }
1704}
1705impl From<crate::operation::describe_orderable_db_instance_options::DescribeOrderableDBInstanceOptionsError> for Error {
1706    fn from(err: crate::operation::describe_orderable_db_instance_options::DescribeOrderableDBInstanceOptionsError) -> Self {
1707        match err {
1708            crate::operation::describe_orderable_db_instance_options::DescribeOrderableDBInstanceOptionsError::Unhandled(inner) => {
1709                Error::Unhandled(inner)
1710            }
1711        }
1712    }
1713}
1714impl<R>
1715    From<
1716        ::aws_smithy_runtime_api::client::result::SdkError<
1717            crate::operation::describe_pending_maintenance_actions::DescribePendingMaintenanceActionsError,
1718            R,
1719        >,
1720    > for Error
1721where
1722    R: Send + Sync + std::fmt::Debug + 'static,
1723{
1724    fn from(
1725        err: ::aws_smithy_runtime_api::client::result::SdkError<
1726            crate::operation::describe_pending_maintenance_actions::DescribePendingMaintenanceActionsError,
1727            R,
1728        >,
1729    ) -> Self {
1730        match err {
1731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1734                source: err.into(),
1735            }),
1736        }
1737    }
1738}
1739impl From<crate::operation::describe_pending_maintenance_actions::DescribePendingMaintenanceActionsError> for Error {
1740    fn from(err: crate::operation::describe_pending_maintenance_actions::DescribePendingMaintenanceActionsError) -> Self {
1741        match err {
1742            crate::operation::describe_pending_maintenance_actions::DescribePendingMaintenanceActionsError::ResourceNotFoundFault(inner) => {
1743                Error::ResourceNotFoundFault(inner)
1744            }
1745            crate::operation::describe_pending_maintenance_actions::DescribePendingMaintenanceActionsError::Unhandled(inner) => {
1746                Error::Unhandled(inner)
1747            }
1748        }
1749    }
1750}
1751impl<R>
1752    From<
1753        ::aws_smithy_runtime_api::client::result::SdkError<
1754            crate::operation::describe_valid_db_instance_modifications::DescribeValidDBInstanceModificationsError,
1755            R,
1756        >,
1757    > for Error
1758where
1759    R: Send + Sync + std::fmt::Debug + 'static,
1760{
1761    fn from(
1762        err: ::aws_smithy_runtime_api::client::result::SdkError<
1763            crate::operation::describe_valid_db_instance_modifications::DescribeValidDBInstanceModificationsError,
1764            R,
1765        >,
1766    ) -> Self {
1767        match err {
1768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1771                source: err.into(),
1772            }),
1773        }
1774    }
1775}
1776impl From<crate::operation::describe_valid_db_instance_modifications::DescribeValidDBInstanceModificationsError> for Error {
1777    fn from(err: crate::operation::describe_valid_db_instance_modifications::DescribeValidDBInstanceModificationsError) -> Self {
1778        match err {
1779            crate::operation::describe_valid_db_instance_modifications::DescribeValidDBInstanceModificationsError::DbInstanceNotFoundFault(inner) => {
1780                Error::DbInstanceNotFoundFault(inner)
1781            }
1782            crate::operation::describe_valid_db_instance_modifications::DescribeValidDBInstanceModificationsError::InvalidDbInstanceStateFault(
1783                inner,
1784            ) => Error::InvalidDbInstanceStateFault(inner),
1785            crate::operation::describe_valid_db_instance_modifications::DescribeValidDBInstanceModificationsError::Unhandled(inner) => {
1786                Error::Unhandled(inner)
1787            }
1788        }
1789    }
1790}
1791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::failover_db_cluster::FailoverDBClusterError, R>> for Error
1792where
1793    R: Send + Sync + std::fmt::Debug + 'static,
1794{
1795    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::failover_db_cluster::FailoverDBClusterError, R>) -> Self {
1796        match err {
1797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1800                source: err.into(),
1801            }),
1802        }
1803    }
1804}
1805impl From<crate::operation::failover_db_cluster::FailoverDBClusterError> for Error {
1806    fn from(err: crate::operation::failover_db_cluster::FailoverDBClusterError) -> Self {
1807        match err {
1808            crate::operation::failover_db_cluster::FailoverDBClusterError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
1809            crate::operation::failover_db_cluster::FailoverDBClusterError::InvalidDbClusterStateFault(inner) => {
1810                Error::InvalidDbClusterStateFault(inner)
1811            }
1812            crate::operation::failover_db_cluster::FailoverDBClusterError::InvalidDbInstanceStateFault(inner) => {
1813                Error::InvalidDbInstanceStateFault(inner)
1814            }
1815            crate::operation::failover_db_cluster::FailoverDBClusterError::Unhandled(inner) => Error::Unhandled(inner),
1816        }
1817    }
1818}
1819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::failover_global_cluster::FailoverGlobalClusterError, R>> for Error
1820where
1821    R: Send + Sync + std::fmt::Debug + 'static,
1822{
1823    fn from(
1824        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::failover_global_cluster::FailoverGlobalClusterError, R>,
1825    ) -> Self {
1826        match err {
1827            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1828            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1829                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1830                source: err.into(),
1831            }),
1832        }
1833    }
1834}
1835impl From<crate::operation::failover_global_cluster::FailoverGlobalClusterError> for Error {
1836    fn from(err: crate::operation::failover_global_cluster::FailoverGlobalClusterError) -> Self {
1837        match err {
1838            crate::operation::failover_global_cluster::FailoverGlobalClusterError::DbClusterNotFoundFault(inner) => {
1839                Error::DbClusterNotFoundFault(inner)
1840            }
1841            crate::operation::failover_global_cluster::FailoverGlobalClusterError::GlobalClusterNotFoundFault(inner) => {
1842                Error::GlobalClusterNotFoundFault(inner)
1843            }
1844            crate::operation::failover_global_cluster::FailoverGlobalClusterError::InvalidDbClusterStateFault(inner) => {
1845                Error::InvalidDbClusterStateFault(inner)
1846            }
1847            crate::operation::failover_global_cluster::FailoverGlobalClusterError::InvalidGlobalClusterStateFault(inner) => {
1848                Error::InvalidGlobalClusterStateFault(inner)
1849            }
1850            crate::operation::failover_global_cluster::FailoverGlobalClusterError::Unhandled(inner) => Error::Unhandled(inner),
1851        }
1852    }
1853}
1854impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>> for Error
1855where
1856    R: Send + Sync + std::fmt::Debug + 'static,
1857{
1858    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_for_resource::ListTagsForResourceError, R>) -> Self {
1859        match err {
1860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1863                source: err.into(),
1864            }),
1865        }
1866    }
1867}
1868impl From<crate::operation::list_tags_for_resource::ListTagsForResourceError> for Error {
1869    fn from(err: crate::operation::list_tags_for_resource::ListTagsForResourceError) -> Self {
1870        match err {
1871            crate::operation::list_tags_for_resource::ListTagsForResourceError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
1872            crate::operation::list_tags_for_resource::ListTagsForResourceError::DbInstanceNotFoundFault(inner) => {
1873                Error::DbInstanceNotFoundFault(inner)
1874            }
1875            crate::operation::list_tags_for_resource::ListTagsForResourceError::DbSnapshotNotFoundFault(inner) => {
1876                Error::DbSnapshotNotFoundFault(inner)
1877            }
1878            crate::operation::list_tags_for_resource::ListTagsForResourceError::Unhandled(inner) => Error::Unhandled(inner),
1879        }
1880    }
1881}
1882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_cluster::ModifyDBClusterError, R>> for Error
1883where
1884    R: Send + Sync + std::fmt::Debug + 'static,
1885{
1886    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_cluster::ModifyDBClusterError, R>) -> Self {
1887        match err {
1888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1891                source: err.into(),
1892            }),
1893        }
1894    }
1895}
1896impl From<crate::operation::modify_db_cluster::ModifyDBClusterError> for Error {
1897    fn from(err: crate::operation::modify_db_cluster::ModifyDBClusterError) -> Self {
1898        match err {
1899            crate::operation::modify_db_cluster::ModifyDBClusterError::DbClusterAlreadyExistsFault(inner) => {
1900                Error::DbClusterAlreadyExistsFault(inner)
1901            }
1902            crate::operation::modify_db_cluster::ModifyDBClusterError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
1903            crate::operation::modify_db_cluster::ModifyDBClusterError::DbClusterParameterGroupNotFoundFault(inner) => {
1904                Error::DbClusterParameterGroupNotFoundFault(inner)
1905            }
1906            crate::operation::modify_db_cluster::ModifyDBClusterError::DbSubnetGroupNotFoundFault(inner) => Error::DbSubnetGroupNotFoundFault(inner),
1907            crate::operation::modify_db_cluster::ModifyDBClusterError::InvalidDbClusterStateFault(inner) => Error::InvalidDbClusterStateFault(inner),
1908            crate::operation::modify_db_cluster::ModifyDBClusterError::InvalidDbInstanceStateFault(inner) => {
1909                Error::InvalidDbInstanceStateFault(inner)
1910            }
1911            crate::operation::modify_db_cluster::ModifyDBClusterError::InvalidDbSecurityGroupStateFault(inner) => {
1912                Error::InvalidDbSecurityGroupStateFault(inner)
1913            }
1914            crate::operation::modify_db_cluster::ModifyDBClusterError::InvalidDbSubnetGroupStateFault(inner) => {
1915                Error::InvalidDbSubnetGroupStateFault(inner)
1916            }
1917            crate::operation::modify_db_cluster::ModifyDBClusterError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
1918            crate::operation::modify_db_cluster::ModifyDBClusterError::InvalidVpcNetworkStateFault(inner) => {
1919                Error::InvalidVpcNetworkStateFault(inner)
1920            }
1921            crate::operation::modify_db_cluster::ModifyDBClusterError::StorageQuotaExceededFault(inner) => Error::StorageQuotaExceededFault(inner),
1922            crate::operation::modify_db_cluster::ModifyDBClusterError::StorageTypeNotSupportedFault(inner) => {
1923                Error::StorageTypeNotSupportedFault(inner)
1924            }
1925            crate::operation::modify_db_cluster::ModifyDBClusterError::Unhandled(inner) => Error::Unhandled(inner),
1926        }
1927    }
1928}
1929impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError, R>>
1930    for Error
1931where
1932    R: Send + Sync + std::fmt::Debug + 'static,
1933{
1934    fn from(
1935        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError, R>,
1936    ) -> Self {
1937        match err {
1938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1941                source: err.into(),
1942            }),
1943        }
1944    }
1945}
1946impl From<crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError> for Error {
1947    fn from(err: crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError) -> Self {
1948        match err {
1949            crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError::DbClusterEndpointNotFoundFault(inner) => {
1950                Error::DbClusterEndpointNotFoundFault(inner)
1951            }
1952            crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError::DbInstanceNotFoundFault(inner) => {
1953                Error::DbInstanceNotFoundFault(inner)
1954            }
1955            crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError::InvalidDbClusterEndpointStateFault(inner) => {
1956                Error::InvalidDbClusterEndpointStateFault(inner)
1957            }
1958            crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError::InvalidDbClusterStateFault(inner) => {
1959                Error::InvalidDbClusterStateFault(inner)
1960            }
1961            crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError::InvalidDbInstanceStateFault(inner) => {
1962                Error::InvalidDbInstanceStateFault(inner)
1963            }
1964            crate::operation::modify_db_cluster_endpoint::ModifyDBClusterEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1965        }
1966    }
1967}
1968impl<R>
1969    From<
1970        ::aws_smithy_runtime_api::client::result::SdkError<
1971            crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError,
1972            R,
1973        >,
1974    > for Error
1975where
1976    R: Send + Sync + std::fmt::Debug + 'static,
1977{
1978    fn from(
1979        err: ::aws_smithy_runtime_api::client::result::SdkError<
1980            crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError,
1981            R,
1982        >,
1983    ) -> Self {
1984        match err {
1985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1988                source: err.into(),
1989            }),
1990        }
1991    }
1992}
1993impl From<crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError> for Error {
1994    fn from(err: crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError) -> Self {
1995        match err {
1996            crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError::DbParameterGroupNotFoundFault(inner) => {
1997                Error::DbParameterGroupNotFoundFault(inner)
1998            }
1999            crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError::InvalidDbParameterGroupStateFault(inner) => {
2000                Error::InvalidDbParameterGroupStateFault(inner)
2001            }
2002            crate::operation::modify_db_cluster_parameter_group::ModifyDBClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
2003        }
2004    }
2005}
2006impl<R>
2007    From<
2008        ::aws_smithy_runtime_api::client::result::SdkError<
2009            crate::operation::modify_db_cluster_snapshot_attribute::ModifyDBClusterSnapshotAttributeError,
2010            R,
2011        >,
2012    > for Error
2013where
2014    R: Send + Sync + std::fmt::Debug + 'static,
2015{
2016    fn from(
2017        err: ::aws_smithy_runtime_api::client::result::SdkError<
2018            crate::operation::modify_db_cluster_snapshot_attribute::ModifyDBClusterSnapshotAttributeError,
2019            R,
2020        >,
2021    ) -> Self {
2022        match err {
2023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2026                source: err.into(),
2027            }),
2028        }
2029    }
2030}
2031impl From<crate::operation::modify_db_cluster_snapshot_attribute::ModifyDBClusterSnapshotAttributeError> for Error {
2032    fn from(err: crate::operation::modify_db_cluster_snapshot_attribute::ModifyDBClusterSnapshotAttributeError) -> Self {
2033        match err {
2034            crate::operation::modify_db_cluster_snapshot_attribute::ModifyDBClusterSnapshotAttributeError::DbClusterSnapshotNotFoundFault(inner) => {
2035                Error::DbClusterSnapshotNotFoundFault(inner)
2036            }
2037            crate::operation::modify_db_cluster_snapshot_attribute::ModifyDBClusterSnapshotAttributeError::InvalidDbClusterSnapshotStateFault(
2038                inner,
2039            ) => Error::InvalidDbClusterSnapshotStateFault(inner),
2040            crate::operation::modify_db_cluster_snapshot_attribute::ModifyDBClusterSnapshotAttributeError::SharedSnapshotQuotaExceededFault(
2041                inner,
2042            ) => Error::SharedSnapshotQuotaExceededFault(inner),
2043            crate::operation::modify_db_cluster_snapshot_attribute::ModifyDBClusterSnapshotAttributeError::Unhandled(inner) => {
2044                Error::Unhandled(inner)
2045            }
2046        }
2047    }
2048}
2049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_instance::ModifyDBInstanceError, R>> for Error
2050where
2051    R: Send + Sync + std::fmt::Debug + 'static,
2052{
2053    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_instance::ModifyDBInstanceError, R>) -> Self {
2054        match err {
2055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2058                source: err.into(),
2059            }),
2060        }
2061    }
2062}
2063impl From<crate::operation::modify_db_instance::ModifyDBInstanceError> for Error {
2064    fn from(err: crate::operation::modify_db_instance::ModifyDBInstanceError) -> Self {
2065        match err {
2066            crate::operation::modify_db_instance::ModifyDBInstanceError::AuthorizationNotFoundFault(inner) => {
2067                Error::AuthorizationNotFoundFault(inner)
2068            }
2069            crate::operation::modify_db_instance::ModifyDBInstanceError::CertificateNotFoundFault(inner) => Error::CertificateNotFoundFault(inner),
2070            crate::operation::modify_db_instance::ModifyDBInstanceError::DbInstanceAlreadyExistsFault(inner) => {
2071                Error::DbInstanceAlreadyExistsFault(inner)
2072            }
2073            crate::operation::modify_db_instance::ModifyDBInstanceError::DbInstanceNotFoundFault(inner) => Error::DbInstanceNotFoundFault(inner),
2074            crate::operation::modify_db_instance::ModifyDBInstanceError::DbParameterGroupNotFoundFault(inner) => {
2075                Error::DbParameterGroupNotFoundFault(inner)
2076            }
2077            crate::operation::modify_db_instance::ModifyDBInstanceError::DbSecurityGroupNotFoundFault(inner) => {
2078                Error::DbSecurityGroupNotFoundFault(inner)
2079            }
2080            crate::operation::modify_db_instance::ModifyDBInstanceError::DbUpgradeDependencyFailureFault(inner) => {
2081                Error::DbUpgradeDependencyFailureFault(inner)
2082            }
2083            crate::operation::modify_db_instance::ModifyDBInstanceError::DomainNotFoundFault(inner) => Error::DomainNotFoundFault(inner),
2084            crate::operation::modify_db_instance::ModifyDBInstanceError::InsufficientDbInstanceCapacityFault(inner) => {
2085                Error::InsufficientDbInstanceCapacityFault(inner)
2086            }
2087            crate::operation::modify_db_instance::ModifyDBInstanceError::InvalidDbInstanceStateFault(inner) => {
2088                Error::InvalidDbInstanceStateFault(inner)
2089            }
2090            crate::operation::modify_db_instance::ModifyDBInstanceError::InvalidDbSecurityGroupStateFault(inner) => {
2091                Error::InvalidDbSecurityGroupStateFault(inner)
2092            }
2093            crate::operation::modify_db_instance::ModifyDBInstanceError::InvalidVpcNetworkStateFault(inner) => {
2094                Error::InvalidVpcNetworkStateFault(inner)
2095            }
2096            crate::operation::modify_db_instance::ModifyDBInstanceError::OptionGroupNotFoundFault(inner) => Error::OptionGroupNotFoundFault(inner),
2097            crate::operation::modify_db_instance::ModifyDBInstanceError::ProvisionedIopsNotAvailableInAzFault(inner) => {
2098                Error::ProvisionedIopsNotAvailableInAzFault(inner)
2099            }
2100            crate::operation::modify_db_instance::ModifyDBInstanceError::StorageQuotaExceededFault(inner) => Error::StorageQuotaExceededFault(inner),
2101            crate::operation::modify_db_instance::ModifyDBInstanceError::StorageTypeNotSupportedFault(inner) => {
2102                Error::StorageTypeNotSupportedFault(inner)
2103            }
2104            crate::operation::modify_db_instance::ModifyDBInstanceError::Unhandled(inner) => Error::Unhandled(inner),
2105        }
2106    }
2107}
2108impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_parameter_group::ModifyDBParameterGroupError, R>>
2109    for Error
2110where
2111    R: Send + Sync + std::fmt::Debug + 'static,
2112{
2113    fn from(
2114        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_parameter_group::ModifyDBParameterGroupError, R>,
2115    ) -> Self {
2116        match err {
2117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2120                source: err.into(),
2121            }),
2122        }
2123    }
2124}
2125impl From<crate::operation::modify_db_parameter_group::ModifyDBParameterGroupError> for Error {
2126    fn from(err: crate::operation::modify_db_parameter_group::ModifyDBParameterGroupError) -> Self {
2127        match err {
2128            crate::operation::modify_db_parameter_group::ModifyDBParameterGroupError::DbParameterGroupNotFoundFault(inner) => {
2129                Error::DbParameterGroupNotFoundFault(inner)
2130            }
2131            crate::operation::modify_db_parameter_group::ModifyDBParameterGroupError::InvalidDbParameterGroupStateFault(inner) => {
2132                Error::InvalidDbParameterGroupStateFault(inner)
2133            }
2134            crate::operation::modify_db_parameter_group::ModifyDBParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
2135        }
2136    }
2137}
2138impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError, R>> for Error
2139where
2140    R: Send + Sync + std::fmt::Debug + 'static,
2141{
2142    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError, R>) -> Self {
2143        match err {
2144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2147                source: err.into(),
2148            }),
2149        }
2150    }
2151}
2152impl From<crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError> for Error {
2153    fn from(err: crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError) -> Self {
2154        match err {
2155            crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError::DbSubnetGroupDoesNotCoverEnoughAZs(inner) => {
2156                Error::DbSubnetGroupDoesNotCoverEnoughAZs(inner)
2157            }
2158            crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError::DbSubnetGroupNotFoundFault(inner) => {
2159                Error::DbSubnetGroupNotFoundFault(inner)
2160            }
2161            crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError::DbSubnetQuotaExceededFault(inner) => {
2162                Error::DbSubnetQuotaExceededFault(inner)
2163            }
2164            crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError::InvalidSubnet(inner) => Error::InvalidSubnet(inner),
2165            crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError::SubnetAlreadyInUse(inner) => Error::SubnetAlreadyInUse(inner),
2166            crate::operation::modify_db_subnet_group::ModifyDBSubnetGroupError::Unhandled(inner) => Error::Unhandled(inner),
2167        }
2168    }
2169}
2170impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_event_subscription::ModifyEventSubscriptionError, R>>
2171    for Error
2172where
2173    R: Send + Sync + std::fmt::Debug + 'static,
2174{
2175    fn from(
2176        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_event_subscription::ModifyEventSubscriptionError, R>,
2177    ) -> Self {
2178        match err {
2179            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2180            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2181                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2182                source: err.into(),
2183            }),
2184        }
2185    }
2186}
2187impl From<crate::operation::modify_event_subscription::ModifyEventSubscriptionError> for Error {
2188    fn from(err: crate::operation::modify_event_subscription::ModifyEventSubscriptionError) -> Self {
2189        match err {
2190            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::EventSubscriptionQuotaExceededFault(inner) => {
2191                Error::EventSubscriptionQuotaExceededFault(inner)
2192            }
2193            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SnsInvalidTopicFault(inner) => {
2194                Error::SnsInvalidTopicFault(inner)
2195            }
2196            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SnsNoAuthorizationFault(inner) => {
2197                Error::SnsNoAuthorizationFault(inner)
2198            }
2199            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SnsTopicArnNotFoundFault(inner) => {
2200                Error::SnsTopicArnNotFoundFault(inner)
2201            }
2202            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionCategoryNotFoundFault(inner) => {
2203                Error::SubscriptionCategoryNotFoundFault(inner)
2204            }
2205            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::SubscriptionNotFoundFault(inner) => {
2206                Error::SubscriptionNotFoundFault(inner)
2207            }
2208            crate::operation::modify_event_subscription::ModifyEventSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
2209        }
2210    }
2211}
2212impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_global_cluster::ModifyGlobalClusterError, R>> for Error
2213where
2214    R: Send + Sync + std::fmt::Debug + 'static,
2215{
2216    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_global_cluster::ModifyGlobalClusterError, R>) -> Self {
2217        match err {
2218            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2219            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2220                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2221                source: err.into(),
2222            }),
2223        }
2224    }
2225}
2226impl From<crate::operation::modify_global_cluster::ModifyGlobalClusterError> for Error {
2227    fn from(err: crate::operation::modify_global_cluster::ModifyGlobalClusterError) -> Self {
2228        match err {
2229            crate::operation::modify_global_cluster::ModifyGlobalClusterError::GlobalClusterNotFoundFault(inner) => {
2230                Error::GlobalClusterNotFoundFault(inner)
2231            }
2232            crate::operation::modify_global_cluster::ModifyGlobalClusterError::InvalidGlobalClusterStateFault(inner) => {
2233                Error::InvalidGlobalClusterStateFault(inner)
2234            }
2235            crate::operation::modify_global_cluster::ModifyGlobalClusterError::Unhandled(inner) => Error::Unhandled(inner),
2236        }
2237    }
2238}
2239impl<R>
2240    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBClusterError, R>>
2241    for Error
2242where
2243    R: Send + Sync + std::fmt::Debug + 'static,
2244{
2245    fn from(
2246        err: ::aws_smithy_runtime_api::client::result::SdkError<
2247            crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBClusterError,
2248            R,
2249        >,
2250    ) -> Self {
2251        match err {
2252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2255                source: err.into(),
2256            }),
2257        }
2258    }
2259}
2260impl From<crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBClusterError> for Error {
2261    fn from(err: crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBClusterError) -> Self {
2262        match err {
2263            crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBClusterError::DbClusterNotFoundFault(inner) => {
2264                Error::DbClusterNotFoundFault(inner)
2265            }
2266            crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBClusterError::InvalidDbClusterStateFault(inner) => {
2267                Error::InvalidDbClusterStateFault(inner)
2268            }
2269            crate::operation::promote_read_replica_db_cluster::PromoteReadReplicaDBClusterError::Unhandled(inner) => Error::Unhandled(inner),
2270        }
2271    }
2272}
2273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_db_instance::RebootDBInstanceError, R>> for Error
2274where
2275    R: Send + Sync + std::fmt::Debug + 'static,
2276{
2277    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_db_instance::RebootDBInstanceError, R>) -> Self {
2278        match err {
2279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2282                source: err.into(),
2283            }),
2284        }
2285    }
2286}
2287impl From<crate::operation::reboot_db_instance::RebootDBInstanceError> for Error {
2288    fn from(err: crate::operation::reboot_db_instance::RebootDBInstanceError) -> Self {
2289        match err {
2290            crate::operation::reboot_db_instance::RebootDBInstanceError::DbInstanceNotFoundFault(inner) => Error::DbInstanceNotFoundFault(inner),
2291            crate::operation::reboot_db_instance::RebootDBInstanceError::InvalidDbInstanceStateFault(inner) => {
2292                Error::InvalidDbInstanceStateFault(inner)
2293            }
2294            crate::operation::reboot_db_instance::RebootDBInstanceError::Unhandled(inner) => Error::Unhandled(inner),
2295        }
2296    }
2297}
2298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError, R>>
2299    for Error
2300where
2301    R: Send + Sync + std::fmt::Debug + 'static,
2302{
2303    fn from(
2304        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError, R>,
2305    ) -> Self {
2306        match err {
2307            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2308            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2309                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2310                source: err.into(),
2311            }),
2312        }
2313    }
2314}
2315impl From<crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError> for Error {
2316    fn from(err: crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError) -> Self {
2317        match err {
2318            crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError::DbClusterNotFoundFault(inner) => {
2319                Error::DbClusterNotFoundFault(inner)
2320            }
2321            crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError::GlobalClusterNotFoundFault(inner) => {
2322                Error::GlobalClusterNotFoundFault(inner)
2323            }
2324            crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError::InvalidGlobalClusterStateFault(inner) => {
2325                Error::InvalidGlobalClusterStateFault(inner)
2326            }
2327            crate::operation::remove_from_global_cluster::RemoveFromGlobalClusterError::Unhandled(inner) => Error::Unhandled(inner),
2328        }
2329    }
2330}
2331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError, R>>
2332    for Error
2333where
2334    R: Send + Sync + std::fmt::Debug + 'static,
2335{
2336    fn from(
2337        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError, R>,
2338    ) -> Self {
2339        match err {
2340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2343                source: err.into(),
2344            }),
2345        }
2346    }
2347}
2348impl From<crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError> for Error {
2349    fn from(err: crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError) -> Self {
2350        match err {
2351            crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError::DbClusterNotFoundFault(inner) => {
2352                Error::DbClusterNotFoundFault(inner)
2353            }
2354            crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError::DbClusterRoleNotFoundFault(inner) => {
2355                Error::DbClusterRoleNotFoundFault(inner)
2356            }
2357            crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError::InvalidDbClusterStateFault(inner) => {
2358                Error::InvalidDbClusterStateFault(inner)
2359            }
2360            crate::operation::remove_role_from_db_cluster::RemoveRoleFromDBClusterError::Unhandled(inner) => Error::Unhandled(inner),
2361        }
2362    }
2363}
2364impl<R>
2365    From<
2366        ::aws_smithy_runtime_api::client::result::SdkError<
2367            crate::operation::remove_source_identifier_from_subscription::RemoveSourceIdentifierFromSubscriptionError,
2368            R,
2369        >,
2370    > for Error
2371where
2372    R: Send + Sync + std::fmt::Debug + 'static,
2373{
2374    fn from(
2375        err: ::aws_smithy_runtime_api::client::result::SdkError<
2376            crate::operation::remove_source_identifier_from_subscription::RemoveSourceIdentifierFromSubscriptionError,
2377            R,
2378        >,
2379    ) -> Self {
2380        match err {
2381            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2382            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2383                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2384                source: err.into(),
2385            }),
2386        }
2387    }
2388}
2389impl From<crate::operation::remove_source_identifier_from_subscription::RemoveSourceIdentifierFromSubscriptionError> for Error {
2390    fn from(err: crate::operation::remove_source_identifier_from_subscription::RemoveSourceIdentifierFromSubscriptionError) -> Self {
2391        match err {
2392            crate::operation::remove_source_identifier_from_subscription::RemoveSourceIdentifierFromSubscriptionError::SourceNotFoundFault(inner) => {
2393                Error::SourceNotFoundFault(inner)
2394            }
2395            crate::operation::remove_source_identifier_from_subscription::RemoveSourceIdentifierFromSubscriptionError::SubscriptionNotFoundFault(
2396                inner,
2397            ) => Error::SubscriptionNotFoundFault(inner),
2398            crate::operation::remove_source_identifier_from_subscription::RemoveSourceIdentifierFromSubscriptionError::Unhandled(inner) => {
2399                Error::Unhandled(inner)
2400            }
2401        }
2402    }
2403}
2404impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, R>>
2405    for Error
2406where
2407    R: Send + Sync + std::fmt::Debug + 'static,
2408{
2409    fn from(
2410        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError, R>,
2411    ) -> Self {
2412        match err {
2413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2416                source: err.into(),
2417            }),
2418        }
2419    }
2420}
2421impl From<crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError> for Error {
2422    fn from(err: crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError) -> Self {
2423        match err {
2424            crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError::DbClusterNotFoundFault(inner) => {
2425                Error::DbClusterNotFoundFault(inner)
2426            }
2427            crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError::DbInstanceNotFoundFault(inner) => {
2428                Error::DbInstanceNotFoundFault(inner)
2429            }
2430            crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError::DbSnapshotNotFoundFault(inner) => {
2431                Error::DbSnapshotNotFoundFault(inner)
2432            }
2433            crate::operation::remove_tags_from_resource::RemoveTagsFromResourceError::Unhandled(inner) => Error::Unhandled(inner),
2434        }
2435    }
2436}
2437impl<R>
2438    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError, R>>
2439    for Error
2440where
2441    R: Send + Sync + std::fmt::Debug + 'static,
2442{
2443    fn from(
2444        err: ::aws_smithy_runtime_api::client::result::SdkError<
2445            crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError,
2446            R,
2447        >,
2448    ) -> Self {
2449        match err {
2450            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2451            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2452                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2453                source: err.into(),
2454            }),
2455        }
2456    }
2457}
2458impl From<crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError> for Error {
2459    fn from(err: crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError) -> Self {
2460        match err {
2461            crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError::DbParameterGroupNotFoundFault(inner) => {
2462                Error::DbParameterGroupNotFoundFault(inner)
2463            }
2464            crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError::InvalidDbParameterGroupStateFault(inner) => {
2465                Error::InvalidDbParameterGroupStateFault(inner)
2466            }
2467            crate::operation::reset_db_cluster_parameter_group::ResetDBClusterParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
2468        }
2469    }
2470}
2471impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_db_parameter_group::ResetDBParameterGroupError, R>> for Error
2472where
2473    R: Send + Sync + std::fmt::Debug + 'static,
2474{
2475    fn from(
2476        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_db_parameter_group::ResetDBParameterGroupError, R>,
2477    ) -> Self {
2478        match err {
2479            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2480            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2481                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2482                source: err.into(),
2483            }),
2484        }
2485    }
2486}
2487impl From<crate::operation::reset_db_parameter_group::ResetDBParameterGroupError> for Error {
2488    fn from(err: crate::operation::reset_db_parameter_group::ResetDBParameterGroupError) -> Self {
2489        match err {
2490            crate::operation::reset_db_parameter_group::ResetDBParameterGroupError::DbParameterGroupNotFoundFault(inner) => {
2491                Error::DbParameterGroupNotFoundFault(inner)
2492            }
2493            crate::operation::reset_db_parameter_group::ResetDBParameterGroupError::InvalidDbParameterGroupStateFault(inner) => {
2494                Error::InvalidDbParameterGroupStateFault(inner)
2495            }
2496            crate::operation::reset_db_parameter_group::ResetDBParameterGroupError::Unhandled(inner) => Error::Unhandled(inner),
2497        }
2498    }
2499}
2500impl<R>
2501    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError, R>>
2502    for Error
2503where
2504    R: Send + Sync + std::fmt::Debug + 'static,
2505{
2506    fn from(
2507        err: ::aws_smithy_runtime_api::client::result::SdkError<
2508            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError,
2509            R,
2510        >,
2511    ) -> Self {
2512        match err {
2513            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2514            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2515                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2516                source: err.into(),
2517            }),
2518        }
2519    }
2520}
2521impl From<crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError> for Error {
2522    fn from(err: crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError) -> Self {
2523        match err {
2524            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::DbClusterAlreadyExistsFault(inner) => {
2525                Error::DbClusterAlreadyExistsFault(inner)
2526            }
2527            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::DbClusterParameterGroupNotFoundFault(inner) => {
2528                Error::DbClusterParameterGroupNotFoundFault(inner)
2529            }
2530            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::DbClusterQuotaExceededFault(inner) => {
2531                Error::DbClusterQuotaExceededFault(inner)
2532            }
2533            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::DbClusterSnapshotNotFoundFault(inner) => {
2534                Error::DbClusterSnapshotNotFoundFault(inner)
2535            }
2536            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::DbSnapshotNotFoundFault(inner) => {
2537                Error::DbSnapshotNotFoundFault(inner)
2538            }
2539            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::DbSubnetGroupNotFoundFault(inner) => {
2540                Error::DbSubnetGroupNotFoundFault(inner)
2541            }
2542            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::InsufficientDbClusterCapacityFault(inner) => {
2543                Error::InsufficientDbClusterCapacityFault(inner)
2544            }
2545            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::InsufficientStorageClusterCapacityFault(inner) => {
2546                Error::InsufficientStorageClusterCapacityFault(inner)
2547            }
2548            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::InvalidDbClusterSnapshotStateFault(inner) => {
2549                Error::InvalidDbClusterSnapshotStateFault(inner)
2550            }
2551            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::InvalidDbSnapshotStateFault(inner) => {
2552                Error::InvalidDbSnapshotStateFault(inner)
2553            }
2554            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::InvalidRestoreFault(inner) => {
2555                Error::InvalidRestoreFault(inner)
2556            }
2557            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::InvalidSubnet(inner) => {
2558                Error::InvalidSubnet(inner)
2559            }
2560            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::InvalidVpcNetworkStateFault(inner) => {
2561                Error::InvalidVpcNetworkStateFault(inner)
2562            }
2563            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::KmsKeyNotAccessibleFault(inner) => {
2564                Error::KmsKeyNotAccessibleFault(inner)
2565            }
2566            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::OptionGroupNotFoundFault(inner) => {
2567                Error::OptionGroupNotFoundFault(inner)
2568            }
2569            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::StorageQuotaExceededFault(inner) => {
2570                Error::StorageQuotaExceededFault(inner)
2571            }
2572            crate::operation::restore_db_cluster_from_snapshot::RestoreDBClusterFromSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
2573        }
2574    }
2575}
2576impl<R>
2577    From<
2578        ::aws_smithy_runtime_api::client::result::SdkError<
2579            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError,
2580            R,
2581        >,
2582    > for Error
2583where
2584    R: Send + Sync + std::fmt::Debug + 'static,
2585{
2586    fn from(
2587        err: ::aws_smithy_runtime_api::client::result::SdkError<
2588            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError,
2589            R,
2590        >,
2591    ) -> Self {
2592        match err {
2593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2596                source: err.into(),
2597            }),
2598        }
2599    }
2600}
2601impl From<crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError> for Error {
2602    fn from(err: crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError) -> Self {
2603        match err {
2604            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::DbClusterAlreadyExistsFault(inner) => {
2605                Error::DbClusterAlreadyExistsFault(inner)
2606            }
2607            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::DbClusterNotFoundFault(inner) => {
2608                Error::DbClusterNotFoundFault(inner)
2609            }
2610            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::DbClusterParameterGroupNotFoundFault(
2611                inner,
2612            ) => Error::DbClusterParameterGroupNotFoundFault(inner),
2613            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::DbClusterQuotaExceededFault(inner) => {
2614                Error::DbClusterQuotaExceededFault(inner)
2615            }
2616            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::DbClusterSnapshotNotFoundFault(inner) => {
2617                Error::DbClusterSnapshotNotFoundFault(inner)
2618            }
2619            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::DbSubnetGroupNotFoundFault(inner) => {
2620                Error::DbSubnetGroupNotFoundFault(inner)
2621            }
2622            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::InsufficientDbClusterCapacityFault(inner) => {
2623                Error::InsufficientDbClusterCapacityFault(inner)
2624            }
2625            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::InsufficientStorageClusterCapacityFault(
2626                inner,
2627            ) => Error::InsufficientStorageClusterCapacityFault(inner),
2628            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::InvalidDbClusterSnapshotStateFault(inner) => {
2629                Error::InvalidDbClusterSnapshotStateFault(inner)
2630            }
2631            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::InvalidDbClusterStateFault(inner) => {
2632                Error::InvalidDbClusterStateFault(inner)
2633            }
2634            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::InvalidDbSnapshotStateFault(inner) => {
2635                Error::InvalidDbSnapshotStateFault(inner)
2636            }
2637            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::InvalidRestoreFault(inner) => {
2638                Error::InvalidRestoreFault(inner)
2639            }
2640            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::InvalidSubnet(inner) => {
2641                Error::InvalidSubnet(inner)
2642            }
2643            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::InvalidVpcNetworkStateFault(inner) => {
2644                Error::InvalidVpcNetworkStateFault(inner)
2645            }
2646            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::KmsKeyNotAccessibleFault(inner) => {
2647                Error::KmsKeyNotAccessibleFault(inner)
2648            }
2649            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::OptionGroupNotFoundFault(inner) => {
2650                Error::OptionGroupNotFoundFault(inner)
2651            }
2652            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::StorageQuotaExceededFault(inner) => {
2653                Error::StorageQuotaExceededFault(inner)
2654            }
2655            crate::operation::restore_db_cluster_to_point_in_time::RestoreDBClusterToPointInTimeError::Unhandled(inner) => Error::Unhandled(inner),
2656        }
2657    }
2658}
2659impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_db_cluster::StartDBClusterError, R>> for Error
2660where
2661    R: Send + Sync + std::fmt::Debug + 'static,
2662{
2663    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_db_cluster::StartDBClusterError, R>) -> Self {
2664        match err {
2665            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2666            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2667                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2668                source: err.into(),
2669            }),
2670        }
2671    }
2672}
2673impl From<crate::operation::start_db_cluster::StartDBClusterError> for Error {
2674    fn from(err: crate::operation::start_db_cluster::StartDBClusterError) -> Self {
2675        match err {
2676            crate::operation::start_db_cluster::StartDBClusterError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
2677            crate::operation::start_db_cluster::StartDBClusterError::InvalidDbClusterStateFault(inner) => Error::InvalidDbClusterStateFault(inner),
2678            crate::operation::start_db_cluster::StartDBClusterError::InvalidDbInstanceStateFault(inner) => Error::InvalidDbInstanceStateFault(inner),
2679            crate::operation::start_db_cluster::StartDBClusterError::Unhandled(inner) => Error::Unhandled(inner),
2680        }
2681    }
2682}
2683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_db_cluster::StopDBClusterError, R>> for Error
2684where
2685    R: Send + Sync + std::fmt::Debug + 'static,
2686{
2687    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_db_cluster::StopDBClusterError, R>) -> Self {
2688        match err {
2689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2692                source: err.into(),
2693            }),
2694        }
2695    }
2696}
2697impl From<crate::operation::stop_db_cluster::StopDBClusterError> for Error {
2698    fn from(err: crate::operation::stop_db_cluster::StopDBClusterError) -> Self {
2699        match err {
2700            crate::operation::stop_db_cluster::StopDBClusterError::DbClusterNotFoundFault(inner) => Error::DbClusterNotFoundFault(inner),
2701            crate::operation::stop_db_cluster::StopDBClusterError::InvalidDbClusterStateFault(inner) => Error::InvalidDbClusterStateFault(inner),
2702            crate::operation::stop_db_cluster::StopDBClusterError::InvalidDbInstanceStateFault(inner) => Error::InvalidDbInstanceStateFault(inner),
2703            crate::operation::stop_db_cluster::StopDBClusterError::Unhandled(inner) => Error::Unhandled(inner),
2704        }
2705    }
2706}
2707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::switchover_global_cluster::SwitchoverGlobalClusterError, R>>
2708    for Error
2709where
2710    R: Send + Sync + std::fmt::Debug + 'static,
2711{
2712    fn from(
2713        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::switchover_global_cluster::SwitchoverGlobalClusterError, R>,
2714    ) -> Self {
2715        match err {
2716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2719                source: err.into(),
2720            }),
2721        }
2722    }
2723}
2724impl From<crate::operation::switchover_global_cluster::SwitchoverGlobalClusterError> for Error {
2725    fn from(err: crate::operation::switchover_global_cluster::SwitchoverGlobalClusterError) -> Self {
2726        match err {
2727            crate::operation::switchover_global_cluster::SwitchoverGlobalClusterError::DbClusterNotFoundFault(inner) => {
2728                Error::DbClusterNotFoundFault(inner)
2729            }
2730            crate::operation::switchover_global_cluster::SwitchoverGlobalClusterError::GlobalClusterNotFoundFault(inner) => {
2731                Error::GlobalClusterNotFoundFault(inner)
2732            }
2733            crate::operation::switchover_global_cluster::SwitchoverGlobalClusterError::InvalidDbClusterStateFault(inner) => {
2734                Error::InvalidDbClusterStateFault(inner)
2735            }
2736            crate::operation::switchover_global_cluster::SwitchoverGlobalClusterError::InvalidGlobalClusterStateFault(inner) => {
2737                Error::InvalidGlobalClusterStateFault(inner)
2738            }
2739            crate::operation::switchover_global_cluster::SwitchoverGlobalClusterError::Unhandled(inner) => Error::Unhandled(inner),
2740        }
2741    }
2742}
2743impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
2744where
2745    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
2746    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
2747{
2748    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
2749        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2750            meta: ::std::default::Default::default(),
2751            source: err.into(),
2752        })
2753    }
2754}
2755impl ::std::error::Error for Error {
2756    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
2757        match self {
2758            Error::AuthorizationNotFoundFault(inner) => inner.source(),
2759            Error::CertificateNotFoundFault(inner) => inner.source(),
2760            Error::DbClusterAlreadyExistsFault(inner) => inner.source(),
2761            Error::DbClusterEndpointAlreadyExistsFault(inner) => inner.source(),
2762            Error::DbClusterEndpointNotFoundFault(inner) => inner.source(),
2763            Error::DbClusterEndpointQuotaExceededFault(inner) => inner.source(),
2764            Error::DbClusterNotFoundFault(inner) => inner.source(),
2765            Error::DbClusterParameterGroupNotFoundFault(inner) => inner.source(),
2766            Error::DbClusterQuotaExceededFault(inner) => inner.source(),
2767            Error::DbClusterRoleAlreadyExistsFault(inner) => inner.source(),
2768            Error::DbClusterRoleNotFoundFault(inner) => inner.source(),
2769            Error::DbClusterRoleQuotaExceededFault(inner) => inner.source(),
2770            Error::DbClusterSnapshotAlreadyExistsFault(inner) => inner.source(),
2771            Error::DbClusterSnapshotNotFoundFault(inner) => inner.source(),
2772            Error::DbInstanceAlreadyExistsFault(inner) => inner.source(),
2773            Error::DbInstanceNotFoundFault(inner) => inner.source(),
2774            Error::DbParameterGroupAlreadyExistsFault(inner) => inner.source(),
2775            Error::DbParameterGroupNotFoundFault(inner) => inner.source(),
2776            Error::DbParameterGroupQuotaExceededFault(inner) => inner.source(),
2777            Error::DbSecurityGroupNotFoundFault(inner) => inner.source(),
2778            Error::DbSnapshotAlreadyExistsFault(inner) => inner.source(),
2779            Error::DbSnapshotNotFoundFault(inner) => inner.source(),
2780            Error::DbSubnetGroupAlreadyExistsFault(inner) => inner.source(),
2781            Error::DbSubnetGroupDoesNotCoverEnoughAZs(inner) => inner.source(),
2782            Error::DbSubnetGroupNotFoundFault(inner) => inner.source(),
2783            Error::DbSubnetGroupQuotaExceededFault(inner) => inner.source(),
2784            Error::DbSubnetQuotaExceededFault(inner) => inner.source(),
2785            Error::DbUpgradeDependencyFailureFault(inner) => inner.source(),
2786            Error::DomainNotFoundFault(inner) => inner.source(),
2787            Error::EventSubscriptionQuotaExceededFault(inner) => inner.source(),
2788            Error::GlobalClusterAlreadyExistsFault(inner) => inner.source(),
2789            Error::GlobalClusterNotFoundFault(inner) => inner.source(),
2790            Error::GlobalClusterQuotaExceededFault(inner) => inner.source(),
2791            Error::InstanceQuotaExceededFault(inner) => inner.source(),
2792            Error::InsufficientDbClusterCapacityFault(inner) => inner.source(),
2793            Error::InsufficientDbInstanceCapacityFault(inner) => inner.source(),
2794            Error::InsufficientStorageClusterCapacityFault(inner) => inner.source(),
2795            Error::InvalidDbClusterEndpointStateFault(inner) => inner.source(),
2796            Error::InvalidDbClusterSnapshotStateFault(inner) => inner.source(),
2797            Error::InvalidDbClusterStateFault(inner) => inner.source(),
2798            Error::InvalidDbInstanceStateFault(inner) => inner.source(),
2799            Error::InvalidDbParameterGroupStateFault(inner) => inner.source(),
2800            Error::InvalidDbSecurityGroupStateFault(inner) => inner.source(),
2801            Error::InvalidDbSnapshotStateFault(inner) => inner.source(),
2802            Error::InvalidDbSubnetGroupStateFault(inner) => inner.source(),
2803            Error::InvalidDbSubnetStateFault(inner) => inner.source(),
2804            Error::InvalidEventSubscriptionStateFault(inner) => inner.source(),
2805            Error::InvalidGlobalClusterStateFault(inner) => inner.source(),
2806            Error::InvalidRestoreFault(inner) => inner.source(),
2807            Error::InvalidSubnet(inner) => inner.source(),
2808            Error::InvalidVpcNetworkStateFault(inner) => inner.source(),
2809            Error::KmsKeyNotAccessibleFault(inner) => inner.source(),
2810            Error::OptionGroupNotFoundFault(inner) => inner.source(),
2811            Error::ProvisionedIopsNotAvailableInAzFault(inner) => inner.source(),
2812            Error::ResourceNotFoundFault(inner) => inner.source(),
2813            Error::SnsInvalidTopicFault(inner) => inner.source(),
2814            Error::SnsNoAuthorizationFault(inner) => inner.source(),
2815            Error::SnsTopicArnNotFoundFault(inner) => inner.source(),
2816            Error::SharedSnapshotQuotaExceededFault(inner) => inner.source(),
2817            Error::SnapshotQuotaExceededFault(inner) => inner.source(),
2818            Error::SourceNotFoundFault(inner) => inner.source(),
2819            Error::StorageQuotaExceededFault(inner) => inner.source(),
2820            Error::StorageTypeNotSupportedFault(inner) => inner.source(),
2821            Error::SubnetAlreadyInUse(inner) => inner.source(),
2822            Error::SubscriptionAlreadyExistFault(inner) => inner.source(),
2823            Error::SubscriptionCategoryNotFoundFault(inner) => inner.source(),
2824            Error::SubscriptionNotFoundFault(inner) => inner.source(),
2825            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
2826        }
2827    }
2828}
2829impl ::aws_types::request_id::RequestId for Error {
2830    fn request_id(&self) -> Option<&str> {
2831        match self {
2832            Self::AuthorizationNotFoundFault(e) => e.request_id(),
2833            Self::CertificateNotFoundFault(e) => e.request_id(),
2834            Self::DbClusterAlreadyExistsFault(e) => e.request_id(),
2835            Self::DbClusterEndpointAlreadyExistsFault(e) => e.request_id(),
2836            Self::DbClusterEndpointNotFoundFault(e) => e.request_id(),
2837            Self::DbClusterEndpointQuotaExceededFault(e) => e.request_id(),
2838            Self::DbClusterNotFoundFault(e) => e.request_id(),
2839            Self::DbClusterParameterGroupNotFoundFault(e) => e.request_id(),
2840            Self::DbClusterQuotaExceededFault(e) => e.request_id(),
2841            Self::DbClusterRoleAlreadyExistsFault(e) => e.request_id(),
2842            Self::DbClusterRoleNotFoundFault(e) => e.request_id(),
2843            Self::DbClusterRoleQuotaExceededFault(e) => e.request_id(),
2844            Self::DbClusterSnapshotAlreadyExistsFault(e) => e.request_id(),
2845            Self::DbClusterSnapshotNotFoundFault(e) => e.request_id(),
2846            Self::DbInstanceAlreadyExistsFault(e) => e.request_id(),
2847            Self::DbInstanceNotFoundFault(e) => e.request_id(),
2848            Self::DbParameterGroupAlreadyExistsFault(e) => e.request_id(),
2849            Self::DbParameterGroupNotFoundFault(e) => e.request_id(),
2850            Self::DbParameterGroupQuotaExceededFault(e) => e.request_id(),
2851            Self::DbSecurityGroupNotFoundFault(e) => e.request_id(),
2852            Self::DbSnapshotAlreadyExistsFault(e) => e.request_id(),
2853            Self::DbSnapshotNotFoundFault(e) => e.request_id(),
2854            Self::DbSubnetGroupAlreadyExistsFault(e) => e.request_id(),
2855            Self::DbSubnetGroupDoesNotCoverEnoughAZs(e) => e.request_id(),
2856            Self::DbSubnetGroupNotFoundFault(e) => e.request_id(),
2857            Self::DbSubnetGroupQuotaExceededFault(e) => e.request_id(),
2858            Self::DbSubnetQuotaExceededFault(e) => e.request_id(),
2859            Self::DbUpgradeDependencyFailureFault(e) => e.request_id(),
2860            Self::DomainNotFoundFault(e) => e.request_id(),
2861            Self::EventSubscriptionQuotaExceededFault(e) => e.request_id(),
2862            Self::GlobalClusterAlreadyExistsFault(e) => e.request_id(),
2863            Self::GlobalClusterNotFoundFault(e) => e.request_id(),
2864            Self::GlobalClusterQuotaExceededFault(e) => e.request_id(),
2865            Self::InstanceQuotaExceededFault(e) => e.request_id(),
2866            Self::InsufficientDbClusterCapacityFault(e) => e.request_id(),
2867            Self::InsufficientDbInstanceCapacityFault(e) => e.request_id(),
2868            Self::InsufficientStorageClusterCapacityFault(e) => e.request_id(),
2869            Self::InvalidDbClusterEndpointStateFault(e) => e.request_id(),
2870            Self::InvalidDbClusterSnapshotStateFault(e) => e.request_id(),
2871            Self::InvalidDbClusterStateFault(e) => e.request_id(),
2872            Self::InvalidDbInstanceStateFault(e) => e.request_id(),
2873            Self::InvalidDbParameterGroupStateFault(e) => e.request_id(),
2874            Self::InvalidDbSecurityGroupStateFault(e) => e.request_id(),
2875            Self::InvalidDbSnapshotStateFault(e) => e.request_id(),
2876            Self::InvalidDbSubnetGroupStateFault(e) => e.request_id(),
2877            Self::InvalidDbSubnetStateFault(e) => e.request_id(),
2878            Self::InvalidEventSubscriptionStateFault(e) => e.request_id(),
2879            Self::InvalidGlobalClusterStateFault(e) => e.request_id(),
2880            Self::InvalidRestoreFault(e) => e.request_id(),
2881            Self::InvalidSubnet(e) => e.request_id(),
2882            Self::InvalidVpcNetworkStateFault(e) => e.request_id(),
2883            Self::KmsKeyNotAccessibleFault(e) => e.request_id(),
2884            Self::OptionGroupNotFoundFault(e) => e.request_id(),
2885            Self::ProvisionedIopsNotAvailableInAzFault(e) => e.request_id(),
2886            Self::ResourceNotFoundFault(e) => e.request_id(),
2887            Self::SnsInvalidTopicFault(e) => e.request_id(),
2888            Self::SnsNoAuthorizationFault(e) => e.request_id(),
2889            Self::SnsTopicArnNotFoundFault(e) => e.request_id(),
2890            Self::SharedSnapshotQuotaExceededFault(e) => e.request_id(),
2891            Self::SnapshotQuotaExceededFault(e) => e.request_id(),
2892            Self::SourceNotFoundFault(e) => e.request_id(),
2893            Self::StorageQuotaExceededFault(e) => e.request_id(),
2894            Self::StorageTypeNotSupportedFault(e) => e.request_id(),
2895            Self::SubnetAlreadyInUse(e) => e.request_id(),
2896            Self::SubscriptionAlreadyExistFault(e) => e.request_id(),
2897            Self::SubscriptionCategoryNotFoundFault(e) => e.request_id(),
2898            Self::SubscriptionNotFoundFault(e) => e.request_id(),
2899            Self::Unhandled(e) => e.meta.request_id(),
2900        }
2901    }
2902}