aws_sdk_ec2/
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    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
7    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
8    variable wildcard pattern and check `.code()`:
9     \
10       `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
11     \
12    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
13    Unhandled(crate::error::sealed_unhandled::Unhandled),
14}
15impl ::std::fmt::Display for Error {
16    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
17        match self {
18            Error::Unhandled(_) => {
19                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
20                    write!(f, "unhandled error ({code})")
21                } else {
22                    f.write_str("unhandled error")
23                }
24            }
25        }
26    }
27}
28impl From<::aws_smithy_types::error::operation::BuildError> for Error {
29    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
30        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
31            source: value.into(),
32            meta: ::std::default::Default::default(),
33        })
34    }
35}
36impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
37    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
38        match self {
39            Self::Unhandled(inner) => &inner.meta,
40        }
41    }
42}
43impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>> for Error
44where
45    R: Send + Sync + std::fmt::Debug + 'static,
46{
47    fn from(
48        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>,
49    ) -> Self {
50        match err {
51            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
52            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
53                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
54                source: err.into(),
55            }),
56        }
57    }
58}
59impl From<crate::operation::accept_address_transfer::AcceptAddressTransferError> for Error {
60    fn from(err: crate::operation::accept_address_transfer::AcceptAddressTransferError) -> Self {
61        match err {
62            crate::operation::accept_address_transfer::AcceptAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
63        }
64    }
65}
66impl<R>
67    From<
68        ::aws_smithy_runtime_api::client::result::SdkError<
69            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
70            R,
71        >,
72    > for Error
73where
74    R: Send + Sync + std::fmt::Debug + 'static,
75{
76    fn from(
77        err: ::aws_smithy_runtime_api::client::result::SdkError<
78            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
79            R,
80        >,
81    ) -> Self {
82        match err {
83            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
84            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
85                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
86                source: err.into(),
87            }),
88        }
89    }
90}
91impl From<crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError> for Error {
92    fn from(err: crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError) -> Self {
93        match err {
94            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError::Unhandled(inner) => {
95                Error::Unhandled(inner)
96            }
97        }
98    }
99}
100impl<R>
101    From<
102        ::aws_smithy_runtime_api::client::result::SdkError<
103            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
104            R,
105        >,
106    > for Error
107where
108    R: Send + Sync + std::fmt::Debug + 'static,
109{
110    fn from(
111        err: ::aws_smithy_runtime_api::client::result::SdkError<
112            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
113            R,
114        >,
115    ) -> Self {
116        match err {
117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
120                source: err.into(),
121            }),
122        }
123    }
124}
125impl From<crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError> for Error {
126    fn from(err: crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError) -> Self {
127        match err {
128            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError::Unhandled(inner) => {
129                Error::Unhandled(inner)
130            }
131        }
132    }
133}
134impl<R>
135    From<
136        ::aws_smithy_runtime_api::client::result::SdkError<
137            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
138            R,
139        >,
140    > for Error
141where
142    R: Send + Sync + std::fmt::Debug + 'static,
143{
144    fn from(
145        err: ::aws_smithy_runtime_api::client::result::SdkError<
146            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
147            R,
148        >,
149    ) -> Self {
150        match err {
151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
154                source: err.into(),
155            }),
156        }
157    }
158}
159impl From<crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError> for Error {
160    fn from(
161        err: crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
162    ) -> Self {
163        match err {
164            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
165        }
166    }
167}
168impl<R>
169    From<
170        ::aws_smithy_runtime_api::client::result::SdkError<
171            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
172            R,
173        >,
174    > for Error
175where
176    R: Send + Sync + std::fmt::Debug + 'static,
177{
178    fn from(
179        err: ::aws_smithy_runtime_api::client::result::SdkError<
180            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
181            R,
182        >,
183    ) -> Self {
184        match err {
185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
188                source: err.into(),
189            }),
190        }
191    }
192}
193impl From<crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError> for Error {
194    fn from(err: crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError) -> Self {
195        match err {
196            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
197                Error::Unhandled(inner)
198            }
199        }
200    }
201}
202impl<R>
203    From<
204        ::aws_smithy_runtime_api::client::result::SdkError<
205            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
206            R,
207        >,
208    > for Error
209where
210    R: Send + Sync + std::fmt::Debug + 'static,
211{
212    fn from(
213        err: ::aws_smithy_runtime_api::client::result::SdkError<
214            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
215            R,
216        >,
217    ) -> Self {
218        match err {
219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
222                source: err.into(),
223            }),
224        }
225    }
226}
227impl From<crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError> for Error {
228    fn from(err: crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError) -> Self {
229        match err {
230            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError::Unhandled(inner) => {
231                Error::Unhandled(inner)
232            }
233        }
234    }
235}
236impl<R>
237    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError, R>>
238    for Error
239where
240    R: Send + Sync + std::fmt::Debug + 'static,
241{
242    fn from(
243        err: ::aws_smithy_runtime_api::client::result::SdkError<
244            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError,
245            R,
246        >,
247    ) -> Self {
248        match err {
249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
252                source: err.into(),
253            }),
254        }
255    }
256}
257impl From<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError> for Error {
258    fn from(err: crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError) -> Self {
259        match err {
260            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
261        }
262    }
263}
264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>>
265    for Error
266where
267    R: Send + Sync + std::fmt::Debug + 'static,
268{
269    fn from(
270        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>,
271    ) -> Self {
272        match err {
273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
276                source: err.into(),
277            }),
278        }
279    }
280}
281impl From<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError> for Error {
282    fn from(err: crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError) -> Self {
283        match err {
284            crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
285        }
286    }
287}
288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>> for Error
289where
290    R: Send + Sync + std::fmt::Debug + 'static,
291{
292    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>) -> Self {
293        match err {
294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
297                source: err.into(),
298            }),
299        }
300    }
301}
302impl From<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError> for Error {
303    fn from(err: crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError) -> Self {
304        match err {
305            crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
306        }
307    }
308}
309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>> for Error
310where
311    R: Send + Sync + std::fmt::Debug + 'static,
312{
313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>) -> Self {
314        match err {
315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
318                source: err.into(),
319            }),
320        }
321    }
322}
323impl From<crate::operation::allocate_address::AllocateAddressError> for Error {
324    fn from(err: crate::operation::allocate_address::AllocateAddressError) -> Self {
325        match err {
326            crate::operation::allocate_address::AllocateAddressError::Unhandled(inner) => Error::Unhandled(inner),
327        }
328    }
329}
330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>> for Error
331where
332    R: Send + Sync + std::fmt::Debug + 'static,
333{
334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>) -> Self {
335        match err {
336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
339                source: err.into(),
340            }),
341        }
342    }
343}
344impl From<crate::operation::allocate_hosts::AllocateHostsError> for Error {
345    fn from(err: crate::operation::allocate_hosts::AllocateHostsError) -> Self {
346        match err {
347            crate::operation::allocate_hosts::AllocateHostsError::Unhandled(inner) => Error::Unhandled(inner),
348        }
349    }
350}
351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>> for Error
352where
353    R: Send + Sync + std::fmt::Debug + 'static,
354{
355    fn from(
356        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>,
357    ) -> Self {
358        match err {
359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
362                source: err.into(),
363            }),
364        }
365    }
366}
367impl From<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError> for Error {
368    fn from(err: crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError) -> Self {
369        match err {
370            crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
371        }
372    }
373}
374impl<R>
375    From<
376        ::aws_smithy_runtime_api::client::result::SdkError<
377            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
378            R,
379        >,
380    > for Error
381where
382    R: Send + Sync + std::fmt::Debug + 'static,
383{
384    fn from(
385        err: ::aws_smithy_runtime_api::client::result::SdkError<
386            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
387            R,
388        >,
389    ) -> Self {
390        match err {
391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
394                source: err.into(),
395            }),
396        }
397    }
398}
399impl From<crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError> for Error {
400    fn from(err: crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError) -> Self {
401        match err {
402            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError::Unhandled(
403                inner,
404            ) => Error::Unhandled(inner),
405        }
406    }
407}
408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>> for Error
409where
410    R: Send + Sync + std::fmt::Debug + 'static,
411{
412    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>) -> Self {
413        match err {
414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
417                source: err.into(),
418            }),
419        }
420    }
421}
422impl From<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError> for Error {
423    fn from(err: crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError) -> Self {
424        match err {
425            crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
426        }
427    }
428}
429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>>
430    for Error
431where
432    R: Send + Sync + std::fmt::Debug + 'static,
433{
434    fn from(
435        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>,
436    ) -> Self {
437        match err {
438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
441                source: err.into(),
442            }),
443        }
444    }
445}
446impl From<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError> for Error {
447    fn from(err: crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError) -> Self {
448        match err {
449            crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
450        }
451    }
452}
453impl<R>
454    From<
455        ::aws_smithy_runtime_api::client::result::SdkError<
456            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
457            R,
458        >,
459    > for Error
460where
461    R: Send + Sync + std::fmt::Debug + 'static,
462{
463    fn from(
464        err: ::aws_smithy_runtime_api::client::result::SdkError<
465            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
466            R,
467        >,
468    ) -> Self {
469        match err {
470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
473                source: err.into(),
474            }),
475        }
476    }
477}
478impl From<crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError> for Error {
479    fn from(err: crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError) -> Self {
480        match err {
481            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
482        }
483    }
484}
485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>> for Error
486where
487    R: Send + Sync + std::fmt::Debug + 'static,
488{
489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>) -> Self {
490        match err {
491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
494                source: err.into(),
495            }),
496        }
497    }
498}
499impl From<crate::operation::associate_address::AssociateAddressError> for Error {
500    fn from(err: crate::operation::associate_address::AssociateAddressError) -> Self {
501        match err {
502            crate::operation::associate_address::AssociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
503        }
504    }
505}
506impl<R>
507    From<
508        ::aws_smithy_runtime_api::client::result::SdkError<
509            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
510            R,
511        >,
512    > for Error
513where
514    R: Send + Sync + std::fmt::Debug + 'static,
515{
516    fn from(
517        err: ::aws_smithy_runtime_api::client::result::SdkError<
518            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
519            R,
520        >,
521    ) -> Self {
522        match err {
523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
526                source: err.into(),
527            }),
528        }
529    }
530}
531impl From<crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError> for Error {
532    fn from(err: crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError) -> Self {
533        match err {
534            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
535                Error::Unhandled(inner)
536            }
537        }
538    }
539}
540impl<R>
541    From<
542        ::aws_smithy_runtime_api::client::result::SdkError<
543            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
544            R,
545        >,
546    > for Error
547where
548    R: Send + Sync + std::fmt::Debug + 'static,
549{
550    fn from(
551        err: ::aws_smithy_runtime_api::client::result::SdkError<
552            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
553            R,
554        >,
555    ) -> Self {
556        match err {
557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
560                source: err.into(),
561            }),
562        }
563    }
564}
565impl From<crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError> for Error {
566    fn from(err: crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError) -> Self {
567        match err {
568            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError::Unhandled(inner) => Error::Unhandled(inner),
569        }
570    }
571}
572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>> for Error
573where
574    R: Send + Sync + std::fmt::Debug + 'static,
575{
576    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>) -> Self {
577        match err {
578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
581                source: err.into(),
582            }),
583        }
584    }
585}
586impl From<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError> for Error {
587    fn from(err: crate::operation::associate_dhcp_options::AssociateDhcpOptionsError) -> Self {
588        match err {
589            crate::operation::associate_dhcp_options::AssociateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
590        }
591    }
592}
593impl<R>
594    From<
595        ::aws_smithy_runtime_api::client::result::SdkError<
596            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
597            R,
598        >,
599    > for Error
600where
601    R: Send + Sync + std::fmt::Debug + 'static,
602{
603    fn from(
604        err: ::aws_smithy_runtime_api::client::result::SdkError<
605            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
606            R,
607        >,
608    ) -> Self {
609        match err {
610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
613                source: err.into(),
614            }),
615        }
616    }
617}
618impl From<crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError> for Error {
619    fn from(err: crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError) -> Self {
620        match err {
621            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
622                Error::Unhandled(inner)
623            }
624        }
625    }
626}
627impl<R>
628    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError, R>>
629    for Error
630where
631    R: Send + Sync + std::fmt::Debug + 'static,
632{
633    fn from(
634        err: ::aws_smithy_runtime_api::client::result::SdkError<
635            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError,
636            R,
637        >,
638    ) -> Self {
639        match err {
640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
643                source: err.into(),
644            }),
645        }
646    }
647}
648impl From<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError> for Error {
649    fn from(err: crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError) -> Self {
650        match err {
651            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
652        }
653    }
654}
655impl<R>
656    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError, R>>
657    for Error
658where
659    R: Send + Sync + std::fmt::Debug + 'static,
660{
661    fn from(
662        err: ::aws_smithy_runtime_api::client::result::SdkError<
663            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError,
664            R,
665        >,
666    ) -> Self {
667        match err {
668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
671                source: err.into(),
672            }),
673        }
674    }
675}
676impl From<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError> for Error {
677    fn from(err: crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError) -> Self {
678        match err {
679            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
680        }
681    }
682}
683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>> for Error
684where
685    R: Send + Sync + std::fmt::Debug + 'static,
686{
687    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>) -> Self {
688        match err {
689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
692                source: err.into(),
693            }),
694        }
695    }
696}
697impl From<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError> for Error {
698    fn from(err: crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError) -> Self {
699        match err {
700            crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
701        }
702    }
703}
704impl<R>
705    From<
706        ::aws_smithy_runtime_api::client::result::SdkError<
707            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
708            R,
709        >,
710    > for Error
711where
712    R: Send + Sync + std::fmt::Debug + 'static,
713{
714    fn from(
715        err: ::aws_smithy_runtime_api::client::result::SdkError<
716            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
717            R,
718        >,
719    ) -> Self {
720        match err {
721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
724                source: err.into(),
725            }),
726        }
727    }
728}
729impl From<crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError> for Error {
730    fn from(err: crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError) -> Self {
731        match err {
732            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
733        }
734    }
735}
736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>>
737    for Error
738where
739    R: Send + Sync + std::fmt::Debug + 'static,
740{
741    fn from(
742        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>,
743    ) -> Self {
744        match err {
745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
748                source: err.into(),
749            }),
750        }
751    }
752}
753impl From<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError> for Error {
754    fn from(err: crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError) -> Self {
755        match err {
756            crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
757        }
758    }
759}
760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>> for Error
761where
762    R: Send + Sync + std::fmt::Debug + 'static,
763{
764    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>) -> Self {
765        match err {
766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
769                source: err.into(),
770            }),
771        }
772    }
773}
774impl From<crate::operation::associate_route_server::AssociateRouteServerError> for Error {
775    fn from(err: crate::operation::associate_route_server::AssociateRouteServerError) -> Self {
776        match err {
777            crate::operation::associate_route_server::AssociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
778        }
779    }
780}
781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>> for Error
782where
783    R: Send + Sync + std::fmt::Debug + 'static,
784{
785    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>) -> Self {
786        match err {
787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
790                source: err.into(),
791            }),
792        }
793    }
794}
795impl From<crate::operation::associate_route_table::AssociateRouteTableError> for Error {
796    fn from(err: crate::operation::associate_route_table::AssociateRouteTableError) -> Self {
797        match err {
798            crate::operation::associate_route_table::AssociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
799        }
800    }
801}
802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>>
803    for Error
804where
805    R: Send + Sync + std::fmt::Debug + 'static,
806{
807    fn from(
808        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>,
809    ) -> Self {
810        match err {
811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
814                source: err.into(),
815            }),
816        }
817    }
818}
819impl From<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError> for Error {
820    fn from(err: crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError) -> Self {
821        match err {
822            crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
823        }
824    }
825}
826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>>
827    for Error
828where
829    R: Send + Sync + std::fmt::Debug + 'static,
830{
831    fn from(
832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>,
833    ) -> Self {
834        match err {
835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
838                source: err.into(),
839            }),
840        }
841    }
842}
843impl From<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError> for Error {
844    fn from(err: crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError) -> Self {
845        match err {
846            crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
847        }
848    }
849}
850impl<R>
851    From<
852        ::aws_smithy_runtime_api::client::result::SdkError<
853            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
854            R,
855        >,
856    > for Error
857where
858    R: Send + Sync + std::fmt::Debug + 'static,
859{
860    fn from(
861        err: ::aws_smithy_runtime_api::client::result::SdkError<
862            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
863            R,
864        >,
865    ) -> Self {
866        match err {
867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
870                source: err.into(),
871            }),
872        }
873    }
874}
875impl From<crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError> for Error {
876    fn from(err: crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError) -> Self {
877        match err {
878            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
879                Error::Unhandled(inner)
880            }
881        }
882    }
883}
884impl<R>
885    From<
886        ::aws_smithy_runtime_api::client::result::SdkError<
887            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
888            R,
889        >,
890    > for Error
891where
892    R: Send + Sync + std::fmt::Debug + 'static,
893{
894    fn from(
895        err: ::aws_smithy_runtime_api::client::result::SdkError<
896            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
897            R,
898        >,
899    ) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError> for Error {
910    fn from(err: crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError) -> Self {
911        match err {
912            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError::Unhandled(inner) => {
913                Error::Unhandled(inner)
914            }
915        }
916    }
917}
918impl<R>
919    From<
920        ::aws_smithy_runtime_api::client::result::SdkError<
921            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
922            R,
923        >,
924    > for Error
925where
926    R: Send + Sync + std::fmt::Debug + 'static,
927{
928    fn from(
929        err: ::aws_smithy_runtime_api::client::result::SdkError<
930            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
931            R,
932        >,
933    ) -> Self {
934        match err {
935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
938                source: err.into(),
939            }),
940        }
941    }
942}
943impl From<crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError> for Error {
944    fn from(err: crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError) -> Self {
945        match err {
946            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError::Unhandled(inner) => {
947                Error::Unhandled(inner)
948            }
949        }
950    }
951}
952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>>
953    for Error
954where
955    R: Send + Sync + std::fmt::Debug + 'static,
956{
957    fn from(
958        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>,
959    ) -> Self {
960        match err {
961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
964                source: err.into(),
965            }),
966        }
967    }
968}
969impl From<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError> for Error {
970    fn from(err: crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError) -> Self {
971        match err {
972            crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
973        }
974    }
975}
976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>> for Error
977where
978    R: Send + Sync + std::fmt::Debug + 'static,
979{
980    fn from(
981        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>,
982    ) -> Self {
983        match err {
984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
987                source: err.into(),
988            }),
989        }
990    }
991}
992impl From<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError> for Error {
993    fn from(err: crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError) -> Self {
994        match err {
995            crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
996        }
997    }
998}
999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>> for Error
1000where
1001    R: Send + Sync + std::fmt::Debug + 'static,
1002{
1003    fn from(
1004        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>,
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::attach_classic_link_vpc::AttachClassicLinkVpcError> for Error {
1016    fn from(err: crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError) -> Self {
1017        match err {
1018            crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
1019        }
1020    }
1021}
1022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>> for Error
1023where
1024    R: Send + Sync + std::fmt::Debug + 'static,
1025{
1026    fn from(
1027        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>,
1028    ) -> Self {
1029        match err {
1030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1033                source: err.into(),
1034            }),
1035        }
1036    }
1037}
1038impl From<crate::operation::attach_internet_gateway::AttachInternetGatewayError> for Error {
1039    fn from(err: crate::operation::attach_internet_gateway::AttachInternetGatewayError) -> Self {
1040        match err {
1041            crate::operation::attach_internet_gateway::AttachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1042        }
1043    }
1044}
1045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>> for Error
1046where
1047    R: Send + Sync + std::fmt::Debug + 'static,
1048{
1049    fn from(
1050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>,
1051    ) -> Self {
1052        match err {
1053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1056                source: err.into(),
1057            }),
1058        }
1059    }
1060}
1061impl From<crate::operation::attach_network_interface::AttachNetworkInterfaceError> for Error {
1062    fn from(err: crate::operation::attach_network_interface::AttachNetworkInterfaceError) -> Self {
1063        match err {
1064            crate::operation::attach_network_interface::AttachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
1065        }
1066    }
1067}
1068impl<R>
1069    From<
1070        ::aws_smithy_runtime_api::client::result::SdkError<
1071            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1072            R,
1073        >,
1074    > for Error
1075where
1076    R: Send + Sync + std::fmt::Debug + 'static,
1077{
1078    fn from(
1079        err: ::aws_smithy_runtime_api::client::result::SdkError<
1080            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1081            R,
1082        >,
1083    ) -> Self {
1084        match err {
1085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1088                source: err.into(),
1089            }),
1090        }
1091    }
1092}
1093impl From<crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError> for Error {
1094    fn from(err: crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError) -> Self {
1095        match err {
1096            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError::Unhandled(inner) => {
1097                Error::Unhandled(inner)
1098            }
1099        }
1100    }
1101}
1102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>> for Error
1103where
1104    R: Send + Sync + std::fmt::Debug + 'static,
1105{
1106    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>) -> Self {
1107        match err {
1108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1111                source: err.into(),
1112            }),
1113        }
1114    }
1115}
1116impl From<crate::operation::attach_volume::AttachVolumeError> for Error {
1117    fn from(err: crate::operation::attach_volume::AttachVolumeError) -> Self {
1118        match err {
1119            crate::operation::attach_volume::AttachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
1120        }
1121    }
1122}
1123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>> for Error
1124where
1125    R: Send + Sync + std::fmt::Debug + 'static,
1126{
1127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>) -> Self {
1128        match err {
1129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1132                source: err.into(),
1133            }),
1134        }
1135    }
1136}
1137impl From<crate::operation::attach_vpn_gateway::AttachVpnGatewayError> for Error {
1138    fn from(err: crate::operation::attach_vpn_gateway::AttachVpnGatewayError) -> Self {
1139        match err {
1140            crate::operation::attach_vpn_gateway::AttachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1141        }
1142    }
1143}
1144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>>
1145    for Error
1146where
1147    R: Send + Sync + std::fmt::Debug + 'static,
1148{
1149    fn from(
1150        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>,
1151    ) -> Self {
1152        match err {
1153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1156                source: err.into(),
1157            }),
1158        }
1159    }
1160}
1161impl From<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError> for Error {
1162    fn from(err: crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError) -> Self {
1163        match err {
1164            crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
1165        }
1166    }
1167}
1168impl<R>
1169    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError, R>>
1170    for Error
1171where
1172    R: Send + Sync + std::fmt::Debug + 'static,
1173{
1174    fn from(
1175        err: ::aws_smithy_runtime_api::client::result::SdkError<
1176            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError,
1177            R,
1178        >,
1179    ) -> Self {
1180        match err {
1181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1184                source: err.into(),
1185            }),
1186        }
1187    }
1188}
1189impl From<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError> for Error {
1190    fn from(err: crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError) -> Self {
1191        match err {
1192            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
1193        }
1194    }
1195}
1196impl<R>
1197    From<
1198        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError, R>,
1199    > for Error
1200where
1201    R: Send + Sync + std::fmt::Debug + 'static,
1202{
1203    fn from(
1204        err: ::aws_smithy_runtime_api::client::result::SdkError<
1205            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError,
1206            R,
1207        >,
1208    ) -> Self {
1209        match err {
1210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1213                source: err.into(),
1214            }),
1215        }
1216    }
1217}
1218impl From<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError> for Error {
1219    fn from(err: crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError) -> Self {
1220        match err {
1221            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
1222        }
1223    }
1224}
1225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>> for Error
1226where
1227    R: Send + Sync + std::fmt::Debug + 'static,
1228{
1229    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>) -> Self {
1230        match err {
1231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1234                source: err.into(),
1235            }),
1236        }
1237    }
1238}
1239impl From<crate::operation::bundle_instance::BundleInstanceError> for Error {
1240    fn from(err: crate::operation::bundle_instance::BundleInstanceError) -> Self {
1241        match err {
1242            crate::operation::bundle_instance::BundleInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1243        }
1244    }
1245}
1246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>> for Error
1247where
1248    R: Send + Sync + std::fmt::Debug + 'static,
1249{
1250    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>) -> Self {
1251        match err {
1252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1255                source: err.into(),
1256            }),
1257        }
1258    }
1259}
1260impl From<crate::operation::cancel_bundle_task::CancelBundleTaskError> for Error {
1261    fn from(err: crate::operation::cancel_bundle_task::CancelBundleTaskError) -> Self {
1262        match err {
1263            crate::operation::cancel_bundle_task::CancelBundleTaskError::Unhandled(inner) => Error::Unhandled(inner),
1264        }
1265    }
1266}
1267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>>
1268    for Error
1269where
1270    R: Send + Sync + std::fmt::Debug + 'static,
1271{
1272    fn from(
1273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>,
1274    ) -> Self {
1275        match err {
1276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1279                source: err.into(),
1280            }),
1281        }
1282    }
1283}
1284impl From<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError> for Error {
1285    fn from(err: crate::operation::cancel_capacity_reservation::CancelCapacityReservationError) -> Self {
1286        match err {
1287            crate::operation::cancel_capacity_reservation::CancelCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1288        }
1289    }
1290}
1291impl<R>
1292    From<
1293        ::aws_smithy_runtime_api::client::result::SdkError<
1294            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1295            R,
1296        >,
1297    > for Error
1298where
1299    R: Send + Sync + std::fmt::Debug + 'static,
1300{
1301    fn from(
1302        err: ::aws_smithy_runtime_api::client::result::SdkError<
1303            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1304            R,
1305        >,
1306    ) -> Self {
1307        match err {
1308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1311                source: err.into(),
1312            }),
1313        }
1314    }
1315}
1316impl From<crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError> for Error {
1317    fn from(err: crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError) -> Self {
1318        match err {
1319            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError::Unhandled(inner) => Error::Unhandled(inner),
1320        }
1321    }
1322}
1323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>> for Error
1324where
1325    R: Send + Sync + std::fmt::Debug + 'static,
1326{
1327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>) -> Self {
1328        match err {
1329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1332                source: err.into(),
1333            }),
1334        }
1335    }
1336}
1337impl From<crate::operation::cancel_conversion_task::CancelConversionTaskError> for Error {
1338    fn from(err: crate::operation::cancel_conversion_task::CancelConversionTaskError) -> Self {
1339        match err {
1340            crate::operation::cancel_conversion_task::CancelConversionTaskError::Unhandled(inner) => Error::Unhandled(inner),
1341        }
1342    }
1343}
1344impl<R>
1345    From<
1346        ::aws_smithy_runtime_api::client::result::SdkError<
1347            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1348            R,
1349        >,
1350    > for Error
1351where
1352    R: Send + Sync + std::fmt::Debug + 'static,
1353{
1354    fn from(
1355        err: ::aws_smithy_runtime_api::client::result::SdkError<
1356            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1357            R,
1358        >,
1359    ) -> Self {
1360        match err {
1361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1364                source: err.into(),
1365            }),
1366        }
1367    }
1368}
1369impl From<crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError> for Error {
1370    fn from(err: crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError) -> Self {
1371        match err {
1372            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
1373        }
1374    }
1375}
1376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>> for Error
1377where
1378    R: Send + Sync + std::fmt::Debug + 'static,
1379{
1380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>) -> Self {
1381        match err {
1382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1385                source: err.into(),
1386            }),
1387        }
1388    }
1389}
1390impl From<crate::operation::cancel_export_task::CancelExportTaskError> for Error {
1391    fn from(err: crate::operation::cancel_export_task::CancelExportTaskError) -> Self {
1392        match err {
1393            crate::operation::cancel_export_task::CancelExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1394        }
1395    }
1396}
1397impl<R>
1398    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError, R>>
1399    for Error
1400where
1401    R: Send + Sync + std::fmt::Debug + 'static,
1402{
1403    fn from(
1404        err: ::aws_smithy_runtime_api::client::result::SdkError<
1405            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError,
1406            R,
1407        >,
1408    ) -> Self {
1409        match err {
1410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1413                source: err.into(),
1414            }),
1415        }
1416    }
1417}
1418impl From<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError> for Error {
1419    fn from(err: crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError) -> Self {
1420        match err {
1421            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError::Unhandled(inner) => Error::Unhandled(inner),
1422        }
1423    }
1424}
1425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>> for Error
1426where
1427    R: Send + Sync + std::fmt::Debug + 'static,
1428{
1429    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>) -> Self {
1430        match err {
1431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1434                source: err.into(),
1435            }),
1436        }
1437    }
1438}
1439impl From<crate::operation::cancel_import_task::CancelImportTaskError> for Error {
1440    fn from(err: crate::operation::cancel_import_task::CancelImportTaskError) -> Self {
1441        match err {
1442            crate::operation::cancel_import_task::CancelImportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1443        }
1444    }
1445}
1446impl<R>
1447    From<
1448        ::aws_smithy_runtime_api::client::result::SdkError<
1449            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1450            R,
1451        >,
1452    > for Error
1453where
1454    R: Send + Sync + std::fmt::Debug + 'static,
1455{
1456    fn from(
1457        err: ::aws_smithy_runtime_api::client::result::SdkError<
1458            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1459            R,
1460        >,
1461    ) -> Self {
1462        match err {
1463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1466                source: err.into(),
1467            }),
1468        }
1469    }
1470}
1471impl From<crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError> for Error {
1472    fn from(err: crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError) -> Self {
1473        match err {
1474            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
1475        }
1476    }
1477}
1478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>>
1479    for Error
1480where
1481    R: Send + Sync + std::fmt::Debug + 'static,
1482{
1483    fn from(
1484        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>,
1485    ) -> Self {
1486        match err {
1487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1490                source: err.into(),
1491            }),
1492        }
1493    }
1494}
1495impl From<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError> for Error {
1496    fn from(err: crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError) -> Self {
1497        match err {
1498            crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1499        }
1500    }
1501}
1502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>>
1503    for Error
1504where
1505    R: Send + Sync + std::fmt::Debug + 'static,
1506{
1507    fn from(
1508        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>,
1509    ) -> Self {
1510        match err {
1511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1514                source: err.into(),
1515            }),
1516        }
1517    }
1518}
1519impl From<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError> for Error {
1520    fn from(err: crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError) -> Self {
1521        match err {
1522            crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1523        }
1524    }
1525}
1526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>> for Error
1527where
1528    R: Send + Sync + std::fmt::Debug + 'static,
1529{
1530    fn from(
1531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>,
1532    ) -> Self {
1533        match err {
1534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1537                source: err.into(),
1538            }),
1539        }
1540    }
1541}
1542impl From<crate::operation::confirm_product_instance::ConfirmProductInstanceError> for Error {
1543    fn from(err: crate::operation::confirm_product_instance::ConfirmProductInstanceError) -> Self {
1544        match err {
1545            crate::operation::confirm_product_instance::ConfirmProductInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1546        }
1547    }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>> for Error
1550where
1551    R: Send + Sync + std::fmt::Debug + 'static,
1552{
1553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>) -> Self {
1554        match err {
1555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1558                source: err.into(),
1559            }),
1560        }
1561    }
1562}
1563impl From<crate::operation::copy_fpga_image::CopyFpgaImageError> for Error {
1564    fn from(err: crate::operation::copy_fpga_image::CopyFpgaImageError) -> Self {
1565        match err {
1566            crate::operation::copy_fpga_image::CopyFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
1567        }
1568    }
1569}
1570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>> for Error
1571where
1572    R: Send + Sync + std::fmt::Debug + 'static,
1573{
1574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>) -> Self {
1575        match err {
1576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1579                source: err.into(),
1580            }),
1581        }
1582    }
1583}
1584impl From<crate::operation::copy_image::CopyImageError> for Error {
1585    fn from(err: crate::operation::copy_image::CopyImageError) -> Self {
1586        match err {
1587            crate::operation::copy_image::CopyImageError::Unhandled(inner) => Error::Unhandled(inner),
1588        }
1589    }
1590}
1591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>> for Error
1592where
1593    R: Send + Sync + std::fmt::Debug + 'static,
1594{
1595    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>) -> Self {
1596        match err {
1597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1600                source: err.into(),
1601            }),
1602        }
1603    }
1604}
1605impl From<crate::operation::copy_snapshot::CopySnapshotError> for Error {
1606    fn from(err: crate::operation::copy_snapshot::CopySnapshotError) -> Self {
1607        match err {
1608            crate::operation::copy_snapshot::CopySnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1609        }
1610    }
1611}
1612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_volumes::CopyVolumesError, R>> for Error
1613where
1614    R: Send + Sync + std::fmt::Debug + 'static,
1615{
1616    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_volumes::CopyVolumesError, R>) -> Self {
1617        match err {
1618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1621                source: err.into(),
1622            }),
1623        }
1624    }
1625}
1626impl From<crate::operation::copy_volumes::CopyVolumesError> for Error {
1627    fn from(err: crate::operation::copy_volumes::CopyVolumesError) -> Self {
1628        match err {
1629            crate::operation::copy_volumes::CopyVolumesError::Unhandled(inner) => Error::Unhandled(inner),
1630        }
1631    }
1632}
1633impl<R>
1634    From<
1635        ::aws_smithy_runtime_api::client::result::SdkError<
1636            crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError,
1637            R,
1638        >,
1639    > for Error
1640where
1641    R: Send + Sync + std::fmt::Debug + 'static,
1642{
1643    fn from(
1644        err: ::aws_smithy_runtime_api::client::result::SdkError<
1645            crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError,
1646            R,
1647        >,
1648    ) -> Self {
1649        match err {
1650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1653                source: err.into(),
1654            }),
1655        }
1656    }
1657}
1658impl From<crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError> for Error {
1659    fn from(err: crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError) -> Self {
1660        match err {
1661            crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError::Unhandled(inner) => Error::Unhandled(inner),
1662        }
1663    }
1664}
1665impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>>
1666    for Error
1667where
1668    R: Send + Sync + std::fmt::Debug + 'static,
1669{
1670    fn from(
1671        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>,
1672    ) -> Self {
1673        match err {
1674            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1675            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1676                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1677                source: err.into(),
1678            }),
1679        }
1680    }
1681}
1682impl From<crate::operation::create_capacity_reservation::CreateCapacityReservationError> for Error {
1683    fn from(err: crate::operation::create_capacity_reservation::CreateCapacityReservationError) -> Self {
1684        match err {
1685            crate::operation::create_capacity_reservation::CreateCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1686        }
1687    }
1688}
1689impl<R>
1690    From<
1691        ::aws_smithy_runtime_api::client::result::SdkError<
1692            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1693            R,
1694        >,
1695    > for Error
1696where
1697    R: Send + Sync + std::fmt::Debug + 'static,
1698{
1699    fn from(
1700        err: ::aws_smithy_runtime_api::client::result::SdkError<
1701            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1702            R,
1703        >,
1704    ) -> Self {
1705        match err {
1706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1709                source: err.into(),
1710            }),
1711        }
1712    }
1713}
1714impl From<crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError> for Error {
1715    fn from(err: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError) -> Self {
1716        match err {
1717            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError::Unhandled(inner) => {
1718                Error::Unhandled(inner)
1719            }
1720        }
1721    }
1722}
1723impl<R>
1724    From<
1725        ::aws_smithy_runtime_api::client::result::SdkError<
1726            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1727            R,
1728        >,
1729    > for Error
1730where
1731    R: Send + Sync + std::fmt::Debug + 'static,
1732{
1733    fn from(
1734        err: ::aws_smithy_runtime_api::client::result::SdkError<
1735            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1736            R,
1737        >,
1738    ) -> Self {
1739        match err {
1740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1743                source: err.into(),
1744            }),
1745        }
1746    }
1747}
1748impl From<crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError> for Error {
1749    fn from(err: crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError) -> Self {
1750        match err {
1751            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
1752        }
1753    }
1754}
1755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>> for Error
1756where
1757    R: Send + Sync + std::fmt::Debug + 'static,
1758{
1759    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>) -> Self {
1760        match err {
1761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1764                source: err.into(),
1765            }),
1766        }
1767    }
1768}
1769impl From<crate::operation::create_carrier_gateway::CreateCarrierGatewayError> for Error {
1770    fn from(err: crate::operation::create_carrier_gateway::CreateCarrierGatewayError) -> Self {
1771        match err {
1772            crate::operation::create_carrier_gateway::CreateCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1773        }
1774    }
1775}
1776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>>
1777    for Error
1778where
1779    R: Send + Sync + std::fmt::Debug + 'static,
1780{
1781    fn from(
1782        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>,
1783    ) -> Self {
1784        match err {
1785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1788                source: err.into(),
1789            }),
1790        }
1791    }
1792}
1793impl From<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError> for Error {
1794    fn from(err: crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError) -> Self {
1795        match err {
1796            crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1797        }
1798    }
1799}
1800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>> for Error
1801where
1802    R: Send + Sync + std::fmt::Debug + 'static,
1803{
1804    fn from(
1805        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>,
1806    ) -> Self {
1807        match err {
1808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1811                source: err.into(),
1812            }),
1813        }
1814    }
1815}
1816impl From<crate::operation::create_client_vpn_route::CreateClientVpnRouteError> for Error {
1817    fn from(err: crate::operation::create_client_vpn_route::CreateClientVpnRouteError) -> Self {
1818        match err {
1819            crate::operation::create_client_vpn_route::CreateClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
1820        }
1821    }
1822}
1823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>> for Error
1824where
1825    R: Send + Sync + std::fmt::Debug + 'static,
1826{
1827    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>) -> Self {
1828        match err {
1829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1832                source: err.into(),
1833            }),
1834        }
1835    }
1836}
1837impl From<crate::operation::create_coip_cidr::CreateCoipCidrError> for Error {
1838    fn from(err: crate::operation::create_coip_cidr::CreateCoipCidrError) -> Self {
1839        match err {
1840            crate::operation::create_coip_cidr::CreateCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
1841        }
1842    }
1843}
1844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>> for Error
1845where
1846    R: Send + Sync + std::fmt::Debug + 'static,
1847{
1848    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>) -> Self {
1849        match err {
1850            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1851            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1852                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1853                source: err.into(),
1854            }),
1855        }
1856    }
1857}
1858impl From<crate::operation::create_coip_pool::CreateCoipPoolError> for Error {
1859    fn from(err: crate::operation::create_coip_pool::CreateCoipPoolError) -> Self {
1860        match err {
1861            crate::operation::create_coip_pool::CreateCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
1862        }
1863    }
1864}
1865impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>> for Error
1866where
1867    R: Send + Sync + std::fmt::Debug + 'static,
1868{
1869    fn from(
1870        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>,
1871    ) -> Self {
1872        match err {
1873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1876                source: err.into(),
1877            }),
1878        }
1879    }
1880}
1881impl From<crate::operation::create_customer_gateway::CreateCustomerGatewayError> for Error {
1882    fn from(err: crate::operation::create_customer_gateway::CreateCustomerGatewayError) -> Self {
1883        match err {
1884            crate::operation::create_customer_gateway::CreateCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1885        }
1886    }
1887}
1888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>> for Error
1889where
1890    R: Send + Sync + std::fmt::Debug + 'static,
1891{
1892    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>) -> Self {
1893        match err {
1894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1897                source: err.into(),
1898            }),
1899        }
1900    }
1901}
1902impl From<crate::operation::create_default_subnet::CreateDefaultSubnetError> for Error {
1903    fn from(err: crate::operation::create_default_subnet::CreateDefaultSubnetError) -> Self {
1904        match err {
1905            crate::operation::create_default_subnet::CreateDefaultSubnetError::Unhandled(inner) => Error::Unhandled(inner),
1906        }
1907    }
1908}
1909impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>> for Error
1910where
1911    R: Send + Sync + std::fmt::Debug + 'static,
1912{
1913    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>) -> Self {
1914        match err {
1915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1918                source: err.into(),
1919            }),
1920        }
1921    }
1922}
1923impl From<crate::operation::create_default_vpc::CreateDefaultVpcError> for Error {
1924    fn from(err: crate::operation::create_default_vpc::CreateDefaultVpcError) -> Self {
1925        match err {
1926            crate::operation::create_default_vpc::CreateDefaultVpcError::Unhandled(inner) => Error::Unhandled(inner),
1927        }
1928    }
1929}
1930impl<R>
1931    From<
1932        ::aws_smithy_runtime_api::client::result::SdkError<
1933            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1934            R,
1935        >,
1936    > for Error
1937where
1938    R: Send + Sync + std::fmt::Debug + 'static,
1939{
1940    fn from(
1941        err: ::aws_smithy_runtime_api::client::result::SdkError<
1942            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1943            R,
1944        >,
1945    ) -> Self {
1946        match err {
1947            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1948            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1949                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1950                source: err.into(),
1951            }),
1952        }
1953    }
1954}
1955impl From<crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError> for Error {
1956    fn from(err: crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError) -> Self {
1957        match err {
1958            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError::Unhandled(inner) => {
1959                Error::Unhandled(inner)
1960            }
1961        }
1962    }
1963}
1964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>> for Error
1965where
1966    R: Send + Sync + std::fmt::Debug + 'static,
1967{
1968    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>) -> Self {
1969        match err {
1970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1973                source: err.into(),
1974            }),
1975        }
1976    }
1977}
1978impl From<crate::operation::create_dhcp_options::CreateDhcpOptionsError> for Error {
1979    fn from(err: crate::operation::create_dhcp_options::CreateDhcpOptionsError) -> Self {
1980        match err {
1981            crate::operation::create_dhcp_options::CreateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
1982        }
1983    }
1984}
1985impl<R>
1986    From<
1987        ::aws_smithy_runtime_api::client::result::SdkError<
1988            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1989            R,
1990        >,
1991    > for Error
1992where
1993    R: Send + Sync + std::fmt::Debug + 'static,
1994{
1995    fn from(
1996        err: ::aws_smithy_runtime_api::client::result::SdkError<
1997            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1998            R,
1999        >,
2000    ) -> Self {
2001        match err {
2002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2005                source: err.into(),
2006            }),
2007        }
2008    }
2009}
2010impl From<crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError> for Error {
2011    fn from(err: crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError) -> Self {
2012        match err {
2013            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2014        }
2015    }
2016}
2017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>> for Error
2018where
2019    R: Send + Sync + std::fmt::Debug + 'static,
2020{
2021    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>) -> 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::create_fleet::CreateFleetError> for Error {
2032    fn from(err: crate::operation::create_fleet::CreateFleetError) -> Self {
2033        match err {
2034            crate::operation::create_fleet::CreateFleetError::Unhandled(inner) => Error::Unhandled(inner),
2035        }
2036    }
2037}
2038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>> for Error
2039where
2040    R: Send + Sync + std::fmt::Debug + 'static,
2041{
2042    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>) -> Self {
2043        match err {
2044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2047                source: err.into(),
2048            }),
2049        }
2050    }
2051}
2052impl From<crate::operation::create_flow_logs::CreateFlowLogsError> for Error {
2053    fn from(err: crate::operation::create_flow_logs::CreateFlowLogsError) -> Self {
2054        match err {
2055            crate::operation::create_flow_logs::CreateFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
2056        }
2057    }
2058}
2059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>> for Error
2060where
2061    R: Send + Sync + std::fmt::Debug + 'static,
2062{
2063    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>) -> Self {
2064        match err {
2065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2068                source: err.into(),
2069            }),
2070        }
2071    }
2072}
2073impl From<crate::operation::create_fpga_image::CreateFpgaImageError> for Error {
2074    fn from(err: crate::operation::create_fpga_image::CreateFpgaImageError) -> Self {
2075        match err {
2076            crate::operation::create_fpga_image::CreateFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
2077        }
2078    }
2079}
2080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
2081where
2082    R: Send + Sync + std::fmt::Debug + 'static,
2083{
2084    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> Self {
2085        match err {
2086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2089                source: err.into(),
2090            }),
2091        }
2092    }
2093}
2094impl From<crate::operation::create_image::CreateImageError> for Error {
2095    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
2096        match err {
2097            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
2098        }
2099    }
2100}
2101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_usage_report::CreateImageUsageReportError, R>>
2102    for Error
2103where
2104    R: Send + Sync + std::fmt::Debug + 'static,
2105{
2106    fn from(
2107        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_usage_report::CreateImageUsageReportError, R>,
2108    ) -> Self {
2109        match err {
2110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2113                source: err.into(),
2114            }),
2115        }
2116    }
2117}
2118impl From<crate::operation::create_image_usage_report::CreateImageUsageReportError> for Error {
2119    fn from(err: crate::operation::create_image_usage_report::CreateImageUsageReportError) -> Self {
2120        match err {
2121            crate::operation::create_image_usage_report::CreateImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
2122        }
2123    }
2124}
2125impl<R>
2126    From<
2127        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError, R>,
2128    > for Error
2129where
2130    R: Send + Sync + std::fmt::Debug + 'static,
2131{
2132    fn from(
2133        err: ::aws_smithy_runtime_api::client::result::SdkError<
2134            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError,
2135            R,
2136        >,
2137    ) -> Self {
2138        match err {
2139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2142                source: err.into(),
2143            }),
2144        }
2145    }
2146}
2147impl From<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError> for Error {
2148    fn from(err: crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError) -> Self {
2149        match err {
2150            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2151        }
2152    }
2153}
2154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>>
2155    for Error
2156where
2157    R: Send + Sync + std::fmt::Debug + 'static,
2158{
2159    fn from(
2160        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>,
2161    ) -> Self {
2162        match err {
2163            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2164            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2165                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2166                source: err.into(),
2167            }),
2168        }
2169    }
2170}
2171impl From<crate::operation::create_instance_event_window::CreateInstanceEventWindowError> for Error {
2172    fn from(err: crate::operation::create_instance_event_window::CreateInstanceEventWindowError) -> Self {
2173        match err {
2174            crate::operation::create_instance_event_window::CreateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
2175        }
2176    }
2177}
2178impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>>
2179    for Error
2180where
2181    R: Send + Sync + std::fmt::Debug + 'static,
2182{
2183    fn from(
2184        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>,
2185    ) -> Self {
2186        match err {
2187            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2188            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2189                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2190                source: err.into(),
2191            }),
2192        }
2193    }
2194}
2195impl From<crate::operation::create_instance_export_task::CreateInstanceExportTaskError> for Error {
2196    fn from(err: crate::operation::create_instance_export_task::CreateInstanceExportTaskError) -> Self {
2197        match err {
2198            crate::operation::create_instance_export_task::CreateInstanceExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
2199        }
2200    }
2201}
2202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>> for Error
2203where
2204    R: Send + Sync + std::fmt::Debug + 'static,
2205{
2206    fn from(
2207        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>,
2208    ) -> Self {
2209        match err {
2210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2213                source: err.into(),
2214            }),
2215        }
2216    }
2217}
2218impl From<crate::operation::create_internet_gateway::CreateInternetGatewayError> for Error {
2219    fn from(err: crate::operation::create_internet_gateway::CreateInternetGatewayError) -> Self {
2220        match err {
2221            crate::operation::create_internet_gateway::CreateInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2222        }
2223    }
2224}
2225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>> for Error
2226where
2227    R: Send + Sync + std::fmt::Debug + 'static,
2228{
2229    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>) -> Self {
2230        match err {
2231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2234                source: err.into(),
2235            }),
2236        }
2237    }
2238}
2239impl From<crate::operation::create_ipam::CreateIpamError> for Error {
2240    fn from(err: crate::operation::create_ipam::CreateIpamError) -> Self {
2241        match err {
2242            crate::operation::create_ipam::CreateIpamError::Unhandled(inner) => Error::Unhandled(inner),
2243        }
2244    }
2245}
2246impl<R>
2247    From<
2248        ::aws_smithy_runtime_api::client::result::SdkError<
2249            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2250            R,
2251        >,
2252    > for Error
2253where
2254    R: Send + Sync + std::fmt::Debug + 'static,
2255{
2256    fn from(
2257        err: ::aws_smithy_runtime_api::client::result::SdkError<
2258            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2259            R,
2260        >,
2261    ) -> Self {
2262        match err {
2263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2266                source: err.into(),
2267            }),
2268        }
2269    }
2270}
2271impl From<crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError> for Error {
2272    fn from(err: crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError) -> Self {
2273        match err {
2274            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError::Unhandled(
2275                inner,
2276            ) => Error::Unhandled(inner),
2277        }
2278    }
2279}
2280impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_policy::CreateIpamPolicyError, R>> for Error
2281where
2282    R: Send + Sync + std::fmt::Debug + 'static,
2283{
2284    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_policy::CreateIpamPolicyError, R>) -> Self {
2285        match err {
2286            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2287            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2288                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2289                source: err.into(),
2290            }),
2291        }
2292    }
2293}
2294impl From<crate::operation::create_ipam_policy::CreateIpamPolicyError> for Error {
2295    fn from(err: crate::operation::create_ipam_policy::CreateIpamPolicyError) -> Self {
2296        match err {
2297            crate::operation::create_ipam_policy::CreateIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
2298        }
2299    }
2300}
2301impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>> for Error
2302where
2303    R: Send + Sync + std::fmt::Debug + 'static,
2304{
2305    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>) -> 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::create_ipam_pool::CreateIpamPoolError> for Error {
2316    fn from(err: crate::operation::create_ipam_pool::CreateIpamPoolError) -> Self {
2317        match err {
2318            crate::operation::create_ipam_pool::CreateIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
2319        }
2320    }
2321}
2322impl<R>
2323    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError, R>>
2324    for Error
2325where
2326    R: Send + Sync + std::fmt::Debug + 'static,
2327{
2328    fn from(
2329        err: ::aws_smithy_runtime_api::client::result::SdkError<
2330            crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError,
2331            R,
2332        >,
2333    ) -> Self {
2334        match err {
2335            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2336            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2337                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2338                source: err.into(),
2339            }),
2340        }
2341    }
2342}
2343impl From<crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError> for Error {
2344    fn from(err: crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError) -> Self {
2345        match err {
2346            crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
2347        }
2348    }
2349}
2350impl<R>
2351    From<
2352        ::aws_smithy_runtime_api::client::result::SdkError<
2353            crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError,
2354            R,
2355        >,
2356    > for Error
2357where
2358    R: Send + Sync + std::fmt::Debug + 'static,
2359{
2360    fn from(
2361        err: ::aws_smithy_runtime_api::client::result::SdkError<
2362            crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError,
2363            R,
2364        >,
2365    ) -> Self {
2366        match err {
2367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2370                source: err.into(),
2371            }),
2372        }
2373    }
2374}
2375impl From<crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError> for Error {
2376    fn from(err: crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError) -> Self {
2377        match err {
2378            crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError::Unhandled(inner) => {
2379                Error::Unhandled(inner)
2380            }
2381        }
2382    }
2383}
2384impl<R>
2385    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, R>>
2386    for Error
2387where
2388    R: Send + Sync + std::fmt::Debug + 'static,
2389{
2390    fn from(
2391        err: ::aws_smithy_runtime_api::client::result::SdkError<
2392            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError,
2393            R,
2394        >,
2395    ) -> Self {
2396        match err {
2397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2400                source: err.into(),
2401            }),
2402        }
2403    }
2404}
2405impl From<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError> for Error {
2406    fn from(err: crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError) -> Self {
2407        match err {
2408            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2409        }
2410    }
2411}
2412impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>> for Error
2413where
2414    R: Send + Sync + std::fmt::Debug + 'static,
2415{
2416    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>) -> Self {
2417        match err {
2418            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2419            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2420                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2421                source: err.into(),
2422            }),
2423        }
2424    }
2425}
2426impl From<crate::operation::create_ipam_scope::CreateIpamScopeError> for Error {
2427    fn from(err: crate::operation::create_ipam_scope::CreateIpamScopeError) -> Self {
2428        match err {
2429            crate::operation::create_ipam_scope::CreateIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
2430        }
2431    }
2432}
2433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>> for Error
2434where
2435    R: Send + Sync + std::fmt::Debug + 'static,
2436{
2437    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>) -> Self {
2438        match err {
2439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2442                source: err.into(),
2443            }),
2444        }
2445    }
2446}
2447impl From<crate::operation::create_key_pair::CreateKeyPairError> for Error {
2448    fn from(err: crate::operation::create_key_pair::CreateKeyPairError) -> Self {
2449        match err {
2450            crate::operation::create_key_pair::CreateKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
2451        }
2452    }
2453}
2454impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>> for Error
2455where
2456    R: Send + Sync + std::fmt::Debug + 'static,
2457{
2458    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>) -> Self {
2459        match err {
2460            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2461            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2462                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2463                source: err.into(),
2464            }),
2465        }
2466    }
2467}
2468impl From<crate::operation::create_launch_template::CreateLaunchTemplateError> for Error {
2469    fn from(err: crate::operation::create_launch_template::CreateLaunchTemplateError) -> Self {
2470        match err {
2471            crate::operation::create_launch_template::CreateLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2472        }
2473    }
2474}
2475impl<R>
2476    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, R>>
2477    for Error
2478where
2479    R: Send + Sync + std::fmt::Debug + 'static,
2480{
2481    fn from(
2482        err: ::aws_smithy_runtime_api::client::result::SdkError<
2483            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError,
2484            R,
2485        >,
2486    ) -> Self {
2487        match err {
2488            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2489            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2490                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2491                source: err.into(),
2492            }),
2493        }
2494    }
2495}
2496impl From<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError> for Error {
2497    fn from(err: crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError) -> Self {
2498        match err {
2499            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError::Unhandled(inner) => Error::Unhandled(inner),
2500        }
2501    }
2502}
2503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>>
2504    for Error
2505where
2506    R: Send + Sync + std::fmt::Debug + 'static,
2507{
2508    fn from(
2509        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>,
2510    ) -> Self {
2511        match err {
2512            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2513            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2514                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2515                source: err.into(),
2516            }),
2517        }
2518    }
2519}
2520impl From<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError> for Error {
2521    fn from(err: crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError) -> Self {
2522        match err {
2523            crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
2524        }
2525    }
2526}
2527impl<R>
2528    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, R>>
2529    for Error
2530where
2531    R: Send + Sync + std::fmt::Debug + 'static,
2532{
2533    fn from(
2534        err: ::aws_smithy_runtime_api::client::result::SdkError<
2535            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError,
2536            R,
2537        >,
2538    ) -> Self {
2539        match err {
2540            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2541            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2542                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2543                source: err.into(),
2544            }),
2545        }
2546    }
2547}
2548impl From<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError> for Error {
2549    fn from(err: crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError) -> Self {
2550        match err {
2551            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2552        }
2553    }
2554}
2555impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>> for Error where R: Send + Sync + std::fmt::Debug + 'static {
2556    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
2557        match err {
2558            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2559            _ => Error::Unhandled(
2560                                        crate::error::sealed_unhandled::Unhandled {
2561                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2562                                            source: err.into(),
2563                                        }
2564                                    ),
2565        }
2566    }
2567}
2568impl From<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
2569    fn from(err: crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
2570        match err {
2571            crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2572        }
2573    }
2574}
2575impl<R>
2576    From<
2577        ::aws_smithy_runtime_api::client::result::SdkError<
2578            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2579            R,
2580        >,
2581    > for Error
2582where
2583    R: Send + Sync + std::fmt::Debug + 'static,
2584{
2585    fn from(
2586        err: ::aws_smithy_runtime_api::client::result::SdkError<
2587            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2588            R,
2589        >,
2590    ) -> Self {
2591        match err {
2592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2593            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2594                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2595                source: err.into(),
2596            }),
2597        }
2598    }
2599}
2600impl From<crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError> for Error {
2601    fn from(err: crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError) -> Self {
2602        match err {
2603            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
2604                Error::Unhandled(inner)
2605            }
2606        }
2607    }
2608}
2609impl<R>
2610    From<
2611        ::aws_smithy_runtime_api::client::result::SdkError<
2612            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2613            R,
2614        >,
2615    > for Error
2616where
2617    R: Send + Sync + std::fmt::Debug + 'static,
2618{
2619    fn from(
2620        err: ::aws_smithy_runtime_api::client::result::SdkError<
2621            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2622            R,
2623        >,
2624    ) -> Self {
2625        match err {
2626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2629                source: err.into(),
2630            }),
2631        }
2632    }
2633}
2634impl From<crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError> for Error {
2635    fn from(err: crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError) -> Self {
2636        match err {
2637            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
2638                Error::Unhandled(inner)
2639            }
2640        }
2641    }
2642}
2643impl<R>
2644    From<
2645        ::aws_smithy_runtime_api::client::result::SdkError<
2646            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2647            R,
2648        >,
2649    > for Error
2650where
2651    R: Send + Sync + std::fmt::Debug + 'static,
2652{
2653    fn from(
2654        err: ::aws_smithy_runtime_api::client::result::SdkError<
2655            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2656            R,
2657        >,
2658    ) -> Self {
2659        match err {
2660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2663                source: err.into(),
2664            }),
2665        }
2666    }
2667}
2668impl From<crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError> for Error {
2669    fn from(err: crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError) -> Self {
2670        match err {
2671            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
2672                Error::Unhandled(inner)
2673            }
2674        }
2675    }
2676}
2677impl<R>
2678    From<
2679        ::aws_smithy_runtime_api::client::result::SdkError<
2680            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2681            R,
2682        >,
2683    > for Error
2684where
2685    R: Send + Sync + std::fmt::Debug + 'static,
2686{
2687    fn from(
2688        err: ::aws_smithy_runtime_api::client::result::SdkError<
2689            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2690            R,
2691        >,
2692    ) -> Self {
2693        match err {
2694            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2695            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2696                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2697                source: err.into(),
2698            }),
2699        }
2700    }
2701}
2702impl From<crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError>
2703    for Error
2704{
2705    fn from(
2706        err: crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2707    ) -> Self {
2708        match err {
2709            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError::Unhandled(inner) => Error::Unhandled(inner),
2710        }
2711    }
2712}
2713impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>>
2714    for Error
2715where
2716    R: Send + Sync + std::fmt::Debug + 'static,
2717{
2718    fn from(
2719        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>,
2720    ) -> Self {
2721        match err {
2722            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2723            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2724                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2725                source: err.into(),
2726            }),
2727        }
2728    }
2729}
2730impl From<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError> for Error {
2731    fn from(err: crate::operation::create_managed_prefix_list::CreateManagedPrefixListError) -> Self {
2732        match err {
2733            crate::operation::create_managed_prefix_list::CreateManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
2734        }
2735    }
2736}
2737impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>> for Error
2738where
2739    R: Send + Sync + std::fmt::Debug + 'static,
2740{
2741    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>) -> Self {
2742        match err {
2743            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2744            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2745                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2746                source: err.into(),
2747            }),
2748        }
2749    }
2750}
2751impl From<crate::operation::create_nat_gateway::CreateNatGatewayError> for Error {
2752    fn from(err: crate::operation::create_nat_gateway::CreateNatGatewayError) -> Self {
2753        match err {
2754            crate::operation::create_nat_gateway::CreateNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2755        }
2756    }
2757}
2758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>> for Error
2759where
2760    R: Send + Sync + std::fmt::Debug + 'static,
2761{
2762    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>) -> Self {
2763        match err {
2764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2767                source: err.into(),
2768            }),
2769        }
2770    }
2771}
2772impl From<crate::operation::create_network_acl::CreateNetworkAclError> for Error {
2773    fn from(err: crate::operation::create_network_acl::CreateNetworkAclError) -> Self {
2774        match err {
2775            crate::operation::create_network_acl::CreateNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
2776        }
2777    }
2778}
2779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>> for Error
2780where
2781    R: Send + Sync + std::fmt::Debug + 'static,
2782{
2783    fn from(
2784        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>,
2785    ) -> Self {
2786        match err {
2787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2790                source: err.into(),
2791            }),
2792        }
2793    }
2794}
2795impl From<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError> for Error {
2796    fn from(err: crate::operation::create_network_acl_entry::CreateNetworkAclEntryError) -> Self {
2797        match err {
2798            crate::operation::create_network_acl_entry::CreateNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
2799        }
2800    }
2801}
2802impl<R>
2803    From<
2804        ::aws_smithy_runtime_api::client::result::SdkError<
2805            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2806            R,
2807        >,
2808    > for Error
2809where
2810    R: Send + Sync + std::fmt::Debug + 'static,
2811{
2812    fn from(
2813        err: ::aws_smithy_runtime_api::client::result::SdkError<
2814            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2815            R,
2816        >,
2817    ) -> Self {
2818        match err {
2819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2822                source: err.into(),
2823            }),
2824        }
2825    }
2826}
2827impl From<crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError> for Error {
2828    fn from(err: crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError) -> Self {
2829        match err {
2830            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError::Unhandled(inner) => {
2831                Error::Unhandled(inner)
2832            }
2833        }
2834    }
2835}
2836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>>
2837    for Error
2838where
2839    R: Send + Sync + std::fmt::Debug + 'static,
2840{
2841    fn from(
2842        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>,
2843    ) -> Self {
2844        match err {
2845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2848                source: err.into(),
2849            }),
2850        }
2851    }
2852}
2853impl From<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError> for Error {
2854    fn from(err: crate::operation::create_network_insights_path::CreateNetworkInsightsPathError) -> Self {
2855        match err {
2856            crate::operation::create_network_insights_path::CreateNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
2857        }
2858    }
2859}
2860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>> for Error
2861where
2862    R: Send + Sync + std::fmt::Debug + 'static,
2863{
2864    fn from(
2865        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>,
2866    ) -> Self {
2867        match err {
2868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2871                source: err.into(),
2872            }),
2873        }
2874    }
2875}
2876impl From<crate::operation::create_network_interface::CreateNetworkInterfaceError> for Error {
2877    fn from(err: crate::operation::create_network_interface::CreateNetworkInterfaceError) -> Self {
2878        match err {
2879            crate::operation::create_network_interface::CreateNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2880        }
2881    }
2882}
2883impl<R>
2884    From<
2885        ::aws_smithy_runtime_api::client::result::SdkError<
2886            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2887            R,
2888        >,
2889    > for Error
2890where
2891    R: Send + Sync + std::fmt::Debug + 'static,
2892{
2893    fn from(
2894        err: ::aws_smithy_runtime_api::client::result::SdkError<
2895            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2896            R,
2897        >,
2898    ) -> Self {
2899        match err {
2900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2903                source: err.into(),
2904            }),
2905        }
2906    }
2907}
2908impl From<crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError> for Error {
2909    fn from(err: crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError) -> Self {
2910        match err {
2911            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
2912        }
2913    }
2914}
2915impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>> for Error
2916where
2917    R: Send + Sync + std::fmt::Debug + 'static,
2918{
2919    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>) -> Self {
2920        match err {
2921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2924                source: err.into(),
2925            }),
2926        }
2927    }
2928}
2929impl From<crate::operation::create_placement_group::CreatePlacementGroupError> for Error {
2930    fn from(err: crate::operation::create_placement_group::CreatePlacementGroupError) -> Self {
2931        match err {
2932            crate::operation::create_placement_group::CreatePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
2933        }
2934    }
2935}
2936impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>> for Error
2937where
2938    R: Send + Sync + std::fmt::Debug + 'static,
2939{
2940    fn from(
2941        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>,
2942    ) -> Self {
2943        match err {
2944            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2945            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2946                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2947                source: err.into(),
2948            }),
2949        }
2950    }
2951}
2952impl From<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError> for Error {
2953    fn from(err: crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError) -> Self {
2954        match err {
2955            crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
2956        }
2957    }
2958}
2959impl<R>
2960    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, R>>
2961    for Error
2962where
2963    R: Send + Sync + std::fmt::Debug + 'static,
2964{
2965    fn from(
2966        err: ::aws_smithy_runtime_api::client::result::SdkError<
2967            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError,
2968            R,
2969        >,
2970    ) -> Self {
2971        match err {
2972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2975                source: err.into(),
2976            }),
2977        }
2978    }
2979}
2980impl From<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError> for Error {
2981    fn from(err: crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError) -> Self {
2982        match err {
2983            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError::Unhandled(inner) => Error::Unhandled(inner),
2984        }
2985    }
2986}
2987impl<R>
2988    From<
2989        ::aws_smithy_runtime_api::client::result::SdkError<
2990            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2991            R,
2992        >,
2993    > for Error
2994where
2995    R: Send + Sync + std::fmt::Debug + 'static,
2996{
2997    fn from(
2998        err: ::aws_smithy_runtime_api::client::result::SdkError<
2999            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
3000            R,
3001        >,
3002    ) -> Self {
3003        match err {
3004            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3005            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3006                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3007                source: err.into(),
3008            }),
3009        }
3010    }
3011}
3012impl From<crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError> for Error {
3013    fn from(err: crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError) -> Self {
3014        match err {
3015            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
3016        }
3017    }
3018}
3019impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>>
3020    for Error
3021where
3022    R: Send + Sync + std::fmt::Debug + 'static,
3023{
3024    fn from(
3025        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>,
3026    ) -> Self {
3027        match err {
3028            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3029            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3030                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3031                source: err.into(),
3032            }),
3033        }
3034    }
3035}
3036impl From<crate::operation::create_restore_image_task::CreateRestoreImageTaskError> for Error {
3037    fn from(err: crate::operation::create_restore_image_task::CreateRestoreImageTaskError) -> Self {
3038        match err {
3039            crate::operation::create_restore_image_task::CreateRestoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3040        }
3041    }
3042}
3043impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>> for Error
3044where
3045    R: Send + Sync + std::fmt::Debug + 'static,
3046{
3047    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>) -> Self {
3048        match err {
3049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3052                source: err.into(),
3053            }),
3054        }
3055    }
3056}
3057impl From<crate::operation::create_route::CreateRouteError> for Error {
3058    fn from(err: crate::operation::create_route::CreateRouteError) -> Self {
3059        match err {
3060            crate::operation::create_route::CreateRouteError::Unhandled(inner) => Error::Unhandled(inner),
3061        }
3062    }
3063}
3064impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>> for Error
3065where
3066    R: Send + Sync + std::fmt::Debug + 'static,
3067{
3068    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>) -> Self {
3069        match err {
3070            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3071            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3072                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3073                source: err.into(),
3074            }),
3075        }
3076    }
3077}
3078impl From<crate::operation::create_route_server::CreateRouteServerError> for Error {
3079    fn from(err: crate::operation::create_route_server::CreateRouteServerError) -> Self {
3080        match err {
3081            crate::operation::create_route_server::CreateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
3082        }
3083    }
3084}
3085impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>>
3086    for Error
3087where
3088    R: Send + Sync + std::fmt::Debug + 'static,
3089{
3090    fn from(
3091        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>,
3092    ) -> Self {
3093        match err {
3094            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3095            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3096                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3097                source: err.into(),
3098            }),
3099        }
3100    }
3101}
3102impl From<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError> for Error {
3103    fn from(err: crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError) -> Self {
3104        match err {
3105            crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3106        }
3107    }
3108}
3109impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>> for Error
3110where
3111    R: Send + Sync + std::fmt::Debug + 'static,
3112{
3113    fn from(
3114        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>,
3115    ) -> Self {
3116        match err {
3117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3120                source: err.into(),
3121            }),
3122        }
3123    }
3124}
3125impl From<crate::operation::create_route_server_peer::CreateRouteServerPeerError> for Error {
3126    fn from(err: crate::operation::create_route_server_peer::CreateRouteServerPeerError) -> Self {
3127        match err {
3128            crate::operation::create_route_server_peer::CreateRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
3129        }
3130    }
3131}
3132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>> for Error
3133where
3134    R: Send + Sync + std::fmt::Debug + 'static,
3135{
3136    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>) -> Self {
3137        match err {
3138            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3139            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3140                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3141                source: err.into(),
3142            }),
3143        }
3144    }
3145}
3146impl From<crate::operation::create_route_table::CreateRouteTableError> for Error {
3147    fn from(err: crate::operation::create_route_table::CreateRouteTableError) -> Self {
3148        match err {
3149            crate::operation::create_route_table::CreateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3150        }
3151    }
3152}
3153impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>> for Error
3154where
3155    R: Send + Sync + std::fmt::Debug + 'static,
3156{
3157    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>) -> Self {
3158        match err {
3159            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3160            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3161                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3162                source: err.into(),
3163            }),
3164        }
3165    }
3166}
3167impl From<crate::operation::create_security_group::CreateSecurityGroupError> for Error {
3168    fn from(err: crate::operation::create_security_group::CreateSecurityGroupError) -> Self {
3169        match err {
3170            crate::operation::create_security_group::CreateSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
3171        }
3172    }
3173}
3174impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>> for Error
3175where
3176    R: Send + Sync + std::fmt::Debug + 'static,
3177{
3178    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>) -> Self {
3179        match err {
3180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3183                source: err.into(),
3184            }),
3185        }
3186    }
3187}
3188impl From<crate::operation::create_snapshot::CreateSnapshotError> for Error {
3189    fn from(err: crate::operation::create_snapshot::CreateSnapshotError) -> Self {
3190        match err {
3191            crate::operation::create_snapshot::CreateSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
3192        }
3193    }
3194}
3195impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>> for Error
3196where
3197    R: Send + Sync + std::fmt::Debug + 'static,
3198{
3199    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>) -> Self {
3200        match err {
3201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3204                source: err.into(),
3205            }),
3206        }
3207    }
3208}
3209impl From<crate::operation::create_snapshots::CreateSnapshotsError> for Error {
3210    fn from(err: crate::operation::create_snapshots::CreateSnapshotsError) -> Self {
3211        match err {
3212            crate::operation::create_snapshots::CreateSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
3213        }
3214    }
3215}
3216impl<R>
3217    From<
3218        ::aws_smithy_runtime_api::client::result::SdkError<
3219            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3220            R,
3221        >,
3222    > for Error
3223where
3224    R: Send + Sync + std::fmt::Debug + 'static,
3225{
3226    fn from(
3227        err: ::aws_smithy_runtime_api::client::result::SdkError<
3228            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3229            R,
3230        >,
3231    ) -> Self {
3232        match err {
3233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3236                source: err.into(),
3237            }),
3238        }
3239    }
3240}
3241impl From<crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError> for Error {
3242    fn from(err: crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError) -> Self {
3243        match err {
3244            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
3245        }
3246    }
3247}
3248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>> for Error
3249where
3250    R: Send + Sync + std::fmt::Debug + 'static,
3251{
3252    fn from(
3253        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>,
3254    ) -> Self {
3255        match err {
3256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3259                source: err.into(),
3260            }),
3261        }
3262    }
3263}
3264impl From<crate::operation::create_store_image_task::CreateStoreImageTaskError> for Error {
3265    fn from(err: crate::operation::create_store_image_task::CreateStoreImageTaskError) -> Self {
3266        match err {
3267            crate::operation::create_store_image_task::CreateStoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3268        }
3269    }
3270}
3271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>> for Error
3272where
3273    R: Send + Sync + std::fmt::Debug + 'static,
3274{
3275    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>) -> Self {
3276        match err {
3277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3280                source: err.into(),
3281            }),
3282        }
3283    }
3284}
3285impl From<crate::operation::create_subnet::CreateSubnetError> for Error {
3286    fn from(err: crate::operation::create_subnet::CreateSubnetError) -> Self {
3287        match err {
3288            crate::operation::create_subnet::CreateSubnetError::Unhandled(inner) => Error::Unhandled(inner),
3289        }
3290    }
3291}
3292impl<R>
3293    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, R>>
3294    for Error
3295where
3296    R: Send + Sync + std::fmt::Debug + 'static,
3297{
3298    fn from(
3299        err: ::aws_smithy_runtime_api::client::result::SdkError<
3300            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError,
3301            R,
3302        >,
3303    ) -> Self {
3304        match err {
3305            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3306            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3307                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3308                source: err.into(),
3309            }),
3310        }
3311    }
3312}
3313impl From<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError> for Error {
3314    fn from(err: crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError) -> Self {
3315        match err {
3316            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
3317        }
3318    }
3319}
3320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
3321where
3322    R: Send + Sync + std::fmt::Debug + 'static,
3323{
3324    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
3325        match err {
3326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3329                source: err.into(),
3330            }),
3331        }
3332    }
3333}
3334impl From<crate::operation::create_tags::CreateTagsError> for Error {
3335    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
3336        match err {
3337            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
3338        }
3339    }
3340}
3341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>>
3342    for Error
3343where
3344    R: Send + Sync + std::fmt::Debug + 'static,
3345{
3346    fn from(
3347        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>,
3348    ) -> Self {
3349        match err {
3350            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3351            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3352                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3353                source: err.into(),
3354            }),
3355        }
3356    }
3357}
3358impl From<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError> for Error {
3359    fn from(err: crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError) -> Self {
3360        match err {
3361            crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
3362        }
3363    }
3364}
3365impl<R>
3366    From<
3367        ::aws_smithy_runtime_api::client::result::SdkError<
3368            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3369            R,
3370        >,
3371    > for Error
3372where
3373    R: Send + Sync + std::fmt::Debug + 'static,
3374{
3375    fn from(
3376        err: ::aws_smithy_runtime_api::client::result::SdkError<
3377            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3378            R,
3379        >,
3380    ) -> Self {
3381        match err {
3382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3385                source: err.into(),
3386            }),
3387        }
3388    }
3389}
3390impl From<crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError> for Error {
3391    fn from(err: crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError) -> Self {
3392        match err {
3393            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
3394        }
3395    }
3396}
3397impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>>
3398    for Error
3399where
3400    R: Send + Sync + std::fmt::Debug + 'static,
3401{
3402    fn from(
3403        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>,
3404    ) -> Self {
3405        match err {
3406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3409                source: err.into(),
3410            }),
3411        }
3412    }
3413}
3414impl From<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError> for Error {
3415    fn from(err: crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError) -> Self {
3416        match err {
3417            crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
3418        }
3419    }
3420}
3421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>>
3422    for Error
3423where
3424    R: Send + Sync + std::fmt::Debug + 'static,
3425{
3426    fn from(
3427        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>,
3428    ) -> Self {
3429        match err {
3430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3433                source: err.into(),
3434            }),
3435        }
3436    }
3437}
3438impl From<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError> for Error {
3439    fn from(err: crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError) -> Self {
3440        match err {
3441            crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
3442        }
3443    }
3444}
3445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>> for Error
3446where
3447    R: Send + Sync + std::fmt::Debug + 'static,
3448{
3449    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>) -> Self {
3450        match err {
3451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3454                source: err.into(),
3455            }),
3456        }
3457    }
3458}
3459impl From<crate::operation::create_transit_gateway::CreateTransitGatewayError> for Error {
3460    fn from(err: crate::operation::create_transit_gateway::CreateTransitGatewayError) -> Self {
3461        match err {
3462            crate::operation::create_transit_gateway::CreateTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3463        }
3464    }
3465}
3466impl<R>
3467    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, R>>
3468    for Error
3469where
3470    R: Send + Sync + std::fmt::Debug + 'static,
3471{
3472    fn from(
3473        err: ::aws_smithy_runtime_api::client::result::SdkError<
3474            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError,
3475            R,
3476        >,
3477    ) -> Self {
3478        match err {
3479            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3480            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3481                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3482                source: err.into(),
3483            }),
3484        }
3485    }
3486}
3487impl From<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError> for Error {
3488    fn from(err: crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError) -> Self {
3489        match err {
3490            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
3491        }
3492    }
3493}
3494impl<R>
3495    From<
3496        ::aws_smithy_runtime_api::client::result::SdkError<
3497            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3498            R,
3499        >,
3500    > for Error
3501where
3502    R: Send + Sync + std::fmt::Debug + 'static,
3503{
3504    fn from(
3505        err: ::aws_smithy_runtime_api::client::result::SdkError<
3506            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3507            R,
3508        >,
3509    ) -> Self {
3510        match err {
3511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3514                source: err.into(),
3515            }),
3516        }
3517    }
3518}
3519impl From<crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError> for Error {
3520    fn from(err: crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError) -> Self {
3521        match err {
3522            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
3523        }
3524    }
3525}
3526impl<R>
3527    From<
3528        ::aws_smithy_runtime_api::client::result::SdkError<
3529            crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError,
3530            R,
3531        >,
3532    > for Error
3533where
3534    R: Send + Sync + std::fmt::Debug + 'static,
3535{
3536    fn from(
3537        err: ::aws_smithy_runtime_api::client::result::SdkError<
3538            crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError,
3539            R,
3540        >,
3541    ) -> Self {
3542        match err {
3543            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3544            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3545                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3546                source: err.into(),
3547            }),
3548        }
3549    }
3550}
3551impl From<crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError> for Error {
3552    fn from(err: crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError) -> Self {
3553        match err {
3554            crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError::Unhandled(inner) => {
3555                Error::Unhandled(inner)
3556            }
3557        }
3558    }
3559}
3560impl<R>
3561    From<
3562        ::aws_smithy_runtime_api::client::result::SdkError<
3563            crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError,
3564            R,
3565        >,
3566    > for Error
3567where
3568    R: Send + Sync + std::fmt::Debug + 'static,
3569{
3570    fn from(
3571        err: ::aws_smithy_runtime_api::client::result::SdkError<
3572            crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError,
3573            R,
3574        >,
3575    ) -> Self {
3576        match err {
3577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3580                source: err.into(),
3581            }),
3582        }
3583    }
3584}
3585impl From<crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError> for Error {
3586    fn from(err: crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError) -> Self {
3587        match err {
3588            crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError::Unhandled(inner) => {
3589                Error::Unhandled(inner)
3590            }
3591        }
3592    }
3593}
3594impl<R>
3595    From<
3596        ::aws_smithy_runtime_api::client::result::SdkError<
3597            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3598            R,
3599        >,
3600    > for Error
3601where
3602    R: Send + Sync + std::fmt::Debug + 'static,
3603{
3604    fn from(
3605        err: ::aws_smithy_runtime_api::client::result::SdkError<
3606            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3607            R,
3608        >,
3609    ) -> Self {
3610        match err {
3611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3614                source: err.into(),
3615            }),
3616        }
3617    }
3618}
3619impl From<crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3620    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3621        match err {
3622            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::Unhandled(inner) => {
3623                Error::Unhandled(inner)
3624            }
3625        }
3626    }
3627}
3628impl<R>
3629    From<
3630        ::aws_smithy_runtime_api::client::result::SdkError<
3631            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3632            R,
3633        >,
3634    > for Error
3635where
3636    R: Send + Sync + std::fmt::Debug + 'static,
3637{
3638    fn from(
3639        err: ::aws_smithy_runtime_api::client::result::SdkError<
3640            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3641            R,
3642        >,
3643    ) -> Self {
3644        match err {
3645            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3646            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3647                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3648                source: err.into(),
3649            }),
3650        }
3651    }
3652}
3653impl From<crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3654    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3655        match err {
3656            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
3657                Error::Unhandled(inner)
3658            }
3659        }
3660    }
3661}
3662impl<R>
3663    From<
3664        ::aws_smithy_runtime_api::client::result::SdkError<
3665            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3666            R,
3667        >,
3668    > for Error
3669where
3670    R: Send + Sync + std::fmt::Debug + 'static,
3671{
3672    fn from(
3673        err: ::aws_smithy_runtime_api::client::result::SdkError<
3674            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3675            R,
3676        >,
3677    ) -> Self {
3678        match err {
3679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3682                source: err.into(),
3683            }),
3684        }
3685    }
3686}
3687impl From<crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3688    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3689        match err {
3690            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3691        }
3692    }
3693}
3694impl<R>
3695    From<
3696        ::aws_smithy_runtime_api::client::result::SdkError<
3697            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3698            R,
3699        >,
3700    > for Error
3701where
3702    R: Send + Sync + std::fmt::Debug + 'static,
3703{
3704    fn from(
3705        err: ::aws_smithy_runtime_api::client::result::SdkError<
3706            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3707            R,
3708        >,
3709    ) -> Self {
3710        match err {
3711            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3712            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3713                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3714                source: err.into(),
3715            }),
3716        }
3717    }
3718}
3719impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3720    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3721        match err {
3722            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3723                Error::Unhandled(inner)
3724            }
3725        }
3726    }
3727}
3728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3729    for Error
3730where
3731    R: Send + Sync + std::fmt::Debug + 'static,
3732{
3733    fn from(
3734        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3735    ) -> Self {
3736        match err {
3737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3740                source: err.into(),
3741            }),
3742        }
3743    }
3744}
3745impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3746    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3747        match err {
3748            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3749        }
3750    }
3751}
3752impl<R>
3753    From<
3754        ::aws_smithy_runtime_api::client::result::SdkError<
3755            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3756            R,
3757        >,
3758    > for Error
3759where
3760    R: Send + Sync + std::fmt::Debug + 'static,
3761{
3762    fn from(
3763        err: ::aws_smithy_runtime_api::client::result::SdkError<
3764            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3765            R,
3766        >,
3767    ) -> Self {
3768        match err {
3769            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3770            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3771                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3772                source: err.into(),
3773            }),
3774        }
3775    }
3776}
3777impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3778    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3779        match err {
3780            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3781        }
3782    }
3783}
3784impl<R>
3785    From<
3786        ::aws_smithy_runtime_api::client::result::SdkError<
3787            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3788            R,
3789        >,
3790    > for Error
3791where
3792    R: Send + Sync + std::fmt::Debug + 'static,
3793{
3794    fn from(
3795        err: ::aws_smithy_runtime_api::client::result::SdkError<
3796            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3797            R,
3798        >,
3799    ) -> Self {
3800        match err {
3801            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3802            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3803                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3804                source: err.into(),
3805            }),
3806        }
3807    }
3808}
3809impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3810    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3811        match err {
3812            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3813                Error::Unhandled(inner)
3814            }
3815        }
3816    }
3817}
3818impl<R>
3819    From<
3820        ::aws_smithy_runtime_api::client::result::SdkError<
3821            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3822            R,
3823        >,
3824    > for Error
3825where
3826    R: Send + Sync + std::fmt::Debug + 'static,
3827{
3828    fn from(
3829        err: ::aws_smithy_runtime_api::client::result::SdkError<
3830            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3831            R,
3832        >,
3833    ) -> Self {
3834        match err {
3835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3838                source: err.into(),
3839            }),
3840        }
3841    }
3842}
3843impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3844    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3845        match err {
3846            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3847                Error::Unhandled(inner)
3848            }
3849        }
3850    }
3851}
3852impl<R>
3853    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3854    for Error
3855where
3856    R: Send + Sync + std::fmt::Debug + 'static,
3857{
3858    fn from(
3859        err: ::aws_smithy_runtime_api::client::result::SdkError<
3860            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3861            R,
3862        >,
3863    ) -> Self {
3864        match err {
3865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3868                source: err.into(),
3869            }),
3870        }
3871    }
3872}
3873impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3874    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3875        match err {
3876            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3877        }
3878    }
3879}
3880impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>>
3881    for Error
3882where
3883    R: Send + Sync + std::fmt::Debug + 'static,
3884{
3885    fn from(
3886        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>,
3887    ) -> Self {
3888        match err {
3889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3892                source: err.into(),
3893            }),
3894        }
3895    }
3896}
3897impl From<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3898    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3899        match err {
3900            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3901        }
3902    }
3903}
3904impl<R>
3905    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3906    for Error
3907where
3908    R: Send + Sync + std::fmt::Debug + 'static,
3909{
3910    fn from(
3911        err: ::aws_smithy_runtime_api::client::result::SdkError<
3912            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3913            R,
3914        >,
3915    ) -> Self {
3916        match err {
3917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3920                source: err.into(),
3921            }),
3922        }
3923    }
3924}
3925impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
3926    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
3927        match err {
3928            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3929        }
3930    }
3931}
3932impl<R>
3933    From<
3934        ::aws_smithy_runtime_api::client::result::SdkError<
3935            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3936            R,
3937        >,
3938    > for Error
3939where
3940    R: Send + Sync + std::fmt::Debug + 'static,
3941{
3942    fn from(
3943        err: ::aws_smithy_runtime_api::client::result::SdkError<
3944            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3945            R,
3946        >,
3947    ) -> Self {
3948        match err {
3949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3952                source: err.into(),
3953            }),
3954        }
3955    }
3956}
3957impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
3958    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
3959        match err {
3960            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
3961                Error::Unhandled(inner)
3962            }
3963        }
3964    }
3965}
3966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
3967where
3968    R: Send + Sync + std::fmt::Debug + 'static,
3969{
3970    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> Self {
3971        match err {
3972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3975                source: err.into(),
3976            }),
3977        }
3978    }
3979}
3980impl From<crate::operation::create_volume::CreateVolumeError> for Error {
3981    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
3982        match err {
3983            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
3984        }
3985    }
3986}
3987impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
3988where
3989    R: Send + Sync + std::fmt::Debug + 'static,
3990{
3991    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
3992        match err {
3993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3996                source: err.into(),
3997            }),
3998        }
3999    }
4000}
4001impl From<crate::operation::create_vpc::CreateVpcError> for Error {
4002    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
4003        match err {
4004            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
4005        }
4006    }
4007}
4008impl<R>
4009    From<
4010        ::aws_smithy_runtime_api::client::result::SdkError<
4011            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
4012            R,
4013        >,
4014    > for Error
4015where
4016    R: Send + Sync + std::fmt::Debug + 'static,
4017{
4018    fn from(
4019        err: ::aws_smithy_runtime_api::client::result::SdkError<
4020            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
4021            R,
4022        >,
4023    ) -> Self {
4024        match err {
4025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4028                source: err.into(),
4029            }),
4030        }
4031    }
4032}
4033impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
4034    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
4035        match err {
4036            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
4037                Error::Unhandled(inner)
4038            }
4039        }
4040    }
4041}
4042impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError, R>>
4043    for Error
4044where
4045    R: Send + Sync + std::fmt::Debug + 'static,
4046{
4047    fn from(
4048        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError, R>,
4049    ) -> Self {
4050        match err {
4051            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4052            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4053                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4054                source: err.into(),
4055            }),
4056        }
4057    }
4058}
4059impl From<crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError> for Error {
4060    fn from(err: crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError) -> Self {
4061        match err {
4062            crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError::Unhandled(inner) => Error::Unhandled(inner),
4063        }
4064    }
4065}
4066impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
4067where
4068    R: Send + Sync + std::fmt::Debug + 'static,
4069{
4070    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
4071        match err {
4072            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4073            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4074                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4075                source: err.into(),
4076            }),
4077        }
4078    }
4079}
4080impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
4081    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
4082        match err {
4083            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4084        }
4085    }
4086}
4087impl<R>
4088    From<
4089        ::aws_smithy_runtime_api::client::result::SdkError<
4090            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
4091            R,
4092        >,
4093    > for Error
4094where
4095    R: Send + Sync + std::fmt::Debug + 'static,
4096{
4097    fn from(
4098        err: ::aws_smithy_runtime_api::client::result::SdkError<
4099            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
4100            R,
4101        >,
4102    ) -> Self {
4103        match err {
4104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4107                source: err.into(),
4108            }),
4109        }
4110    }
4111}
4112impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
4113    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
4114        match err {
4115            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
4116                Error::Unhandled(inner)
4117            }
4118        }
4119    }
4120}
4121impl<R>
4122    From<
4123        ::aws_smithy_runtime_api::client::result::SdkError<
4124            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
4125            R,
4126        >,
4127    > for Error
4128where
4129    R: Send + Sync + std::fmt::Debug + 'static,
4130{
4131    fn from(
4132        err: ::aws_smithy_runtime_api::client::result::SdkError<
4133            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
4134            R,
4135        >,
4136    ) -> Self {
4137        match err {
4138            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4139            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4140                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4141                source: err.into(),
4142            }),
4143        }
4144    }
4145}
4146impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
4147    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
4148        match err {
4149            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
4150                Error::Unhandled(inner)
4151            }
4152        }
4153    }
4154}
4155impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
4156    for Error
4157where
4158    R: Send + Sync + std::fmt::Debug + 'static,
4159{
4160    fn from(
4161        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
4162    ) -> Self {
4163        match err {
4164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4167                source: err.into(),
4168            }),
4169        }
4170    }
4171}
4172impl From<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError> for Error {
4173    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
4174        match err {
4175            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4176        }
4177    }
4178}
4179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_concentrator::CreateVpnConcentratorError, R>> for Error
4180where
4181    R: Send + Sync + std::fmt::Debug + 'static,
4182{
4183    fn from(
4184        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_concentrator::CreateVpnConcentratorError, R>,
4185    ) -> Self {
4186        match err {
4187            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4188            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4189                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4190                source: err.into(),
4191            }),
4192        }
4193    }
4194}
4195impl From<crate::operation::create_vpn_concentrator::CreateVpnConcentratorError> for Error {
4196    fn from(err: crate::operation::create_vpn_concentrator::CreateVpnConcentratorError) -> Self {
4197        match err {
4198            crate::operation::create_vpn_concentrator::CreateVpnConcentratorError::Unhandled(inner) => Error::Unhandled(inner),
4199        }
4200    }
4201}
4202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
4203where
4204    R: Send + Sync + std::fmt::Debug + 'static,
4205{
4206    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
4207        match err {
4208            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4209            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4210                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4211                source: err.into(),
4212            }),
4213        }
4214    }
4215}
4216impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
4217    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
4218        match err {
4219            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4220        }
4221    }
4222}
4223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
4224    for Error
4225where
4226    R: Send + Sync + std::fmt::Debug + 'static,
4227{
4228    fn from(
4229        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
4230    ) -> Self {
4231        match err {
4232            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4233            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4234                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4235                source: err.into(),
4236            }),
4237        }
4238    }
4239}
4240impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
4241    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
4242        match err {
4243            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
4244        }
4245    }
4246}
4247impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
4248where
4249    R: Send + Sync + std::fmt::Debug + 'static,
4250{
4251    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
4252        match err {
4253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4256                source: err.into(),
4257            }),
4258        }
4259    }
4260}
4261impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
4262    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
4263        match err {
4264            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4265        }
4266    }
4267}
4268impl<R>
4269    From<
4270        ::aws_smithy_runtime_api::client::result::SdkError<
4271            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4272            R,
4273        >,
4274    > for Error
4275where
4276    R: Send + Sync + std::fmt::Debug + 'static,
4277{
4278    fn from(
4279        err: ::aws_smithy_runtime_api::client::result::SdkError<
4280            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4281            R,
4282        >,
4283    ) -> Self {
4284        match err {
4285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4288                source: err.into(),
4289            }),
4290        }
4291    }
4292}
4293impl From<crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError> for Error {
4294    fn from(err: crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError) -> Self {
4295        match err {
4296            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError::Unhandled(inner) => Error::Unhandled(inner),
4297        }
4298    }
4299}
4300impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
4301where
4302    R: Send + Sync + std::fmt::Debug + 'static,
4303{
4304    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> Self {
4305        match err {
4306            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4307            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4308                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4309                source: err.into(),
4310            }),
4311        }
4312    }
4313}
4314impl From<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
4315    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
4316        match err {
4317            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4318        }
4319    }
4320}
4321impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
4322    for Error
4323where
4324    R: Send + Sync + std::fmt::Debug + 'static,
4325{
4326    fn from(
4327        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
4328    ) -> Self {
4329        match err {
4330            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4331            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4332                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4333                source: err.into(),
4334            }),
4335        }
4336    }
4337}
4338impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
4339    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
4340        match err {
4341            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4342        }
4343    }
4344}
4345impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
4346where
4347    R: Send + Sync + std::fmt::Debug + 'static,
4348{
4349    fn from(
4350        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
4351    ) -> Self {
4352        match err {
4353            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4354            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4355                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4356                source: err.into(),
4357            }),
4358        }
4359    }
4360}
4361impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
4362    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
4363        match err {
4364            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
4365        }
4366    }
4367}
4368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
4369where
4370    R: Send + Sync + std::fmt::Debug + 'static,
4371{
4372    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
4373        match err {
4374            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4375            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4376                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4377                source: err.into(),
4378            }),
4379        }
4380    }
4381}
4382impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
4383    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
4384        match err {
4385            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
4386        }
4387    }
4388}
4389impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
4390where
4391    R: Send + Sync + std::fmt::Debug + 'static,
4392{
4393    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
4394        match err {
4395            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4396            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4397                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4398                source: err.into(),
4399            }),
4400        }
4401    }
4402}
4403impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
4404    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
4405        match err {
4406            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
4407        }
4408    }
4409}
4410impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
4411where
4412    R: Send + Sync + std::fmt::Debug + 'static,
4413{
4414    fn from(
4415        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
4416    ) -> Self {
4417        match err {
4418            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4419            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4420                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4421                source: err.into(),
4422            }),
4423        }
4424    }
4425}
4426impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
4427    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
4428        match err {
4429            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4430        }
4431    }
4432}
4433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
4434where
4435    R: Send + Sync + std::fmt::Debug + 'static,
4436{
4437    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> Self {
4438        match err {
4439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4442                source: err.into(),
4443            }),
4444        }
4445    }
4446}
4447impl From<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError> for Error {
4448    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
4449        match err {
4450            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
4451        }
4452    }
4453}
4454impl<R>
4455    From<
4456        ::aws_smithy_runtime_api::client::result::SdkError<
4457            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4458            R,
4459        >,
4460    > for Error
4461where
4462    R: Send + Sync + std::fmt::Debug + 'static,
4463{
4464    fn from(
4465        err: ::aws_smithy_runtime_api::client::result::SdkError<
4466            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4467            R,
4468        >,
4469    ) -> Self {
4470        match err {
4471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4474                source: err.into(),
4475            }),
4476        }
4477    }
4478}
4479impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
4480    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
4481        match err {
4482            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4483        }
4484    }
4485}
4486impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
4487where
4488    R: Send + Sync + std::fmt::Debug + 'static,
4489{
4490    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> Self {
4491        match err {
4492            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4493            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4494                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4495                source: err.into(),
4496            }),
4497        }
4498    }
4499}
4500impl From<crate::operation::delete_fleets::DeleteFleetsError> for Error {
4501    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
4502        match err {
4503            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
4504        }
4505    }
4506}
4507impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
4508where
4509    R: Send + Sync + std::fmt::Debug + 'static,
4510{
4511    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
4512        match err {
4513            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4514            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4515                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4516                source: err.into(),
4517            }),
4518        }
4519    }
4520}
4521impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
4522    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
4523        match err {
4524            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
4525        }
4526    }
4527}
4528impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
4529where
4530    R: Send + Sync + std::fmt::Debug + 'static,
4531{
4532    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
4533        match err {
4534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4537                source: err.into(),
4538            }),
4539        }
4540    }
4541}
4542impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4543    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4544        match err {
4545            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4546        }
4547    }
4548}
4549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>>
4550    for Error
4551where
4552    R: Send + Sync + std::fmt::Debug + 'static,
4553{
4554    fn from(
4555        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>,
4556    ) -> Self {
4557        match err {
4558            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4559            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4560                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4561                source: err.into(),
4562            }),
4563        }
4564    }
4565}
4566impl From<crate::operation::delete_image_usage_report::DeleteImageUsageReportError> for Error {
4567    fn from(err: crate::operation::delete_image_usage_report::DeleteImageUsageReportError) -> Self {
4568        match err {
4569            crate::operation::delete_image_usage_report::DeleteImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
4570        }
4571    }
4572}
4573impl<R>
4574    From<
4575        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4576    > for Error
4577where
4578    R: Send + Sync + std::fmt::Debug + 'static,
4579{
4580    fn from(
4581        err: ::aws_smithy_runtime_api::client::result::SdkError<
4582            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4583            R,
4584        >,
4585    ) -> Self {
4586        match err {
4587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4590                source: err.into(),
4591            }),
4592        }
4593    }
4594}
4595impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4596    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4597        match err {
4598            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4599        }
4600    }
4601}
4602impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4603    for Error
4604where
4605    R: Send + Sync + std::fmt::Debug + 'static,
4606{
4607    fn from(
4608        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4609    ) -> Self {
4610        match err {
4611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4614                source: err.into(),
4615            }),
4616        }
4617    }
4618}
4619impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4620    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4621        match err {
4622            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4623        }
4624    }
4625}
4626impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4627where
4628    R: Send + Sync + std::fmt::Debug + 'static,
4629{
4630    fn from(
4631        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4632    ) -> Self {
4633        match err {
4634            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4635            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4636                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4637                source: err.into(),
4638            }),
4639        }
4640    }
4641}
4642impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4643    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4644        match err {
4645            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4646        }
4647    }
4648}
4649impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4650where
4651    R: Send + Sync + std::fmt::Debug + 'static,
4652{
4653    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4654        match err {
4655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4658                source: err.into(),
4659            }),
4660        }
4661    }
4662}
4663impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4664    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4665        match err {
4666            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4667        }
4668    }
4669}
4670impl<R>
4671    From<
4672        ::aws_smithy_runtime_api::client::result::SdkError<
4673            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4674            R,
4675        >,
4676    > for Error
4677where
4678    R: Send + Sync + std::fmt::Debug + 'static,
4679{
4680    fn from(
4681        err: ::aws_smithy_runtime_api::client::result::SdkError<
4682            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4683            R,
4684        >,
4685    ) -> Self {
4686        match err {
4687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4690                source: err.into(),
4691            }),
4692        }
4693    }
4694}
4695impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4696    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4697        match err {
4698            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4699                inner,
4700            ) => Error::Unhandled(inner),
4701        }
4702    }
4703}
4704impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_policy::DeleteIpamPolicyError, R>> for Error
4705where
4706    R: Send + Sync + std::fmt::Debug + 'static,
4707{
4708    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_policy::DeleteIpamPolicyError, R>) -> Self {
4709        match err {
4710            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4711            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4712                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4713                source: err.into(),
4714            }),
4715        }
4716    }
4717}
4718impl From<crate::operation::delete_ipam_policy::DeleteIpamPolicyError> for Error {
4719    fn from(err: crate::operation::delete_ipam_policy::DeleteIpamPolicyError) -> Self {
4720        match err {
4721            crate::operation::delete_ipam_policy::DeleteIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
4722        }
4723    }
4724}
4725impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4726where
4727    R: Send + Sync + std::fmt::Debug + 'static,
4728{
4729    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4730        match err {
4731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4734                source: err.into(),
4735            }),
4736        }
4737    }
4738}
4739impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4740    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4741        match err {
4742            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4743        }
4744    }
4745}
4746impl<R>
4747    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError, R>>
4748    for Error
4749where
4750    R: Send + Sync + std::fmt::Debug + 'static,
4751{
4752    fn from(
4753        err: ::aws_smithy_runtime_api::client::result::SdkError<
4754            crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError,
4755            R,
4756        >,
4757    ) -> Self {
4758        match err {
4759            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4760            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4761                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4762                source: err.into(),
4763            }),
4764        }
4765    }
4766}
4767impl From<crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError> for Error {
4768    fn from(err: crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError) -> Self {
4769        match err {
4770            crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
4771        }
4772    }
4773}
4774impl<R>
4775    From<
4776        ::aws_smithy_runtime_api::client::result::SdkError<
4777            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError,
4778            R,
4779        >,
4780    > for Error
4781where
4782    R: Send + Sync + std::fmt::Debug + 'static,
4783{
4784    fn from(
4785        err: ::aws_smithy_runtime_api::client::result::SdkError<
4786            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError,
4787            R,
4788        >,
4789    ) -> Self {
4790        match err {
4791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4794                source: err.into(),
4795            }),
4796        }
4797    }
4798}
4799impl From<crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError> for Error {
4800    fn from(err: crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError) -> Self {
4801        match err {
4802            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError::Unhandled(inner) => {
4803                Error::Unhandled(inner)
4804            }
4805        }
4806    }
4807}
4808impl<R>
4809    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4810    for Error
4811where
4812    R: Send + Sync + std::fmt::Debug + 'static,
4813{
4814    fn from(
4815        err: ::aws_smithy_runtime_api::client::result::SdkError<
4816            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4817            R,
4818        >,
4819    ) -> Self {
4820        match err {
4821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4824                source: err.into(),
4825            }),
4826        }
4827    }
4828}
4829impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4830    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4831        match err {
4832            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4833        }
4834    }
4835}
4836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4837where
4838    R: Send + Sync + std::fmt::Debug + 'static,
4839{
4840    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4841        match err {
4842            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4843            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4844                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4845                source: err.into(),
4846            }),
4847        }
4848    }
4849}
4850impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4851    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4852        match err {
4853            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4854        }
4855    }
4856}
4857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4858where
4859    R: Send + Sync + std::fmt::Debug + 'static,
4860{
4861    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4862        match err {
4863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4866                source: err.into(),
4867            }),
4868        }
4869    }
4870}
4871impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4872    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4873        match err {
4874            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4875        }
4876    }
4877}
4878impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4879where
4880    R: Send + Sync + std::fmt::Debug + 'static,
4881{
4882    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4883        match err {
4884            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4885            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4886                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4887                source: err.into(),
4888            }),
4889        }
4890    }
4891}
4892impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4893    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4894        match err {
4895            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4896        }
4897    }
4898}
4899impl<R>
4900    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4901    for Error
4902where
4903    R: Send + Sync + std::fmt::Debug + 'static,
4904{
4905    fn from(
4906        err: ::aws_smithy_runtime_api::client::result::SdkError<
4907            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4908            R,
4909        >,
4910    ) -> Self {
4911        match err {
4912            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4913            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4914                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4915                source: err.into(),
4916            }),
4917        }
4918    }
4919}
4920impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
4921    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
4922        match err {
4923            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
4924        }
4925    }
4926}
4927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
4928    for Error
4929where
4930    R: Send + Sync + std::fmt::Debug + 'static,
4931{
4932    fn from(
4933        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
4934    ) -> Self {
4935        match err {
4936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4939                source: err.into(),
4940            }),
4941        }
4942    }
4943}
4944impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
4945    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
4946        match err {
4947            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
4948        }
4949    }
4950}
4951impl<R>
4952    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
4953    for Error
4954where
4955    R: Send + Sync + std::fmt::Debug + 'static,
4956{
4957    fn from(
4958        err: ::aws_smithy_runtime_api::client::result::SdkError<
4959            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
4960            R,
4961        >,
4962    ) -> Self {
4963        match err {
4964            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4965            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4966                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4967                source: err.into(),
4968            }),
4969        }
4970    }
4971}
4972impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
4973    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
4974        match err {
4975            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4976        }
4977    }
4978}
4979impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>> for Error where R: Send + Sync + std::fmt::Debug + 'static {
4980    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
4981        match err {
4982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4983            _ => Error::Unhandled(
4984                                        crate::error::sealed_unhandled::Unhandled {
4985                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4986                                            source: err.into(),
4987                                        }
4988                                    ),
4989        }
4990    }
4991}
4992impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
4993    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
4994        match err {
4995            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4996        }
4997    }
4998}
4999impl<R>
5000    From<
5001        ::aws_smithy_runtime_api::client::result::SdkError<
5002            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
5003            R,
5004        >,
5005    > for Error
5006where
5007    R: Send + Sync + std::fmt::Debug + 'static,
5008{
5009    fn from(
5010        err: ::aws_smithy_runtime_api::client::result::SdkError<
5011            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
5012            R,
5013        >,
5014    ) -> Self {
5015        match err {
5016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5019                source: err.into(),
5020            }),
5021        }
5022    }
5023}
5024impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
5025    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
5026        match err {
5027            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
5028                Error::Unhandled(inner)
5029            }
5030        }
5031    }
5032}
5033impl<R>
5034    From<
5035        ::aws_smithy_runtime_api::client::result::SdkError<
5036            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
5037            R,
5038        >,
5039    > for Error
5040where
5041    R: Send + Sync + std::fmt::Debug + 'static,
5042{
5043    fn from(
5044        err: ::aws_smithy_runtime_api::client::result::SdkError<
5045            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
5046            R,
5047        >,
5048    ) -> Self {
5049        match err {
5050            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5051            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5052                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5053                source: err.into(),
5054            }),
5055        }
5056    }
5057}
5058impl From<crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError> for Error {
5059    fn from(err: crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError) -> Self {
5060        match err {
5061            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
5062                Error::Unhandled(inner)
5063            }
5064        }
5065    }
5066}
5067impl<R>
5068    From<
5069        ::aws_smithy_runtime_api::client::result::SdkError<
5070            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
5071            R,
5072        >,
5073    > for Error
5074where
5075    R: Send + Sync + std::fmt::Debug + 'static,
5076{
5077    fn from(
5078        err: ::aws_smithy_runtime_api::client::result::SdkError<
5079            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
5080            R,
5081        >,
5082    ) -> Self {
5083        match err {
5084            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5085            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5086                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5087                source: err.into(),
5088            }),
5089        }
5090    }
5091}
5092impl From<crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError> for Error {
5093    fn from(err: crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError) -> Self {
5094        match err {
5095            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
5096                Error::Unhandled(inner)
5097            }
5098        }
5099    }
5100}
5101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
5102    for Error
5103where
5104    R: Send + Sync + std::fmt::Debug + 'static,
5105{
5106    fn from(
5107        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
5108    ) -> Self {
5109        match err {
5110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5113                source: err.into(),
5114            }),
5115        }
5116    }
5117}
5118impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
5119    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
5120        match err {
5121            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
5122        }
5123    }
5124}
5125impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
5126where
5127    R: Send + Sync + std::fmt::Debug + 'static,
5128{
5129    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
5130        match err {
5131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5134                source: err.into(),
5135            }),
5136        }
5137    }
5138}
5139impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
5140    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
5141        match err {
5142            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5143        }
5144    }
5145}
5146impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
5147where
5148    R: Send + Sync + std::fmt::Debug + 'static,
5149{
5150    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
5151        match err {
5152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5155                source: err.into(),
5156            }),
5157        }
5158    }
5159}
5160impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
5161    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
5162        match err {
5163            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
5164        }
5165    }
5166}
5167impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
5168where
5169    R: Send + Sync + std::fmt::Debug + 'static,
5170{
5171    fn from(
5172        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
5173    ) -> Self {
5174        match err {
5175            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5176            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5177                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5178                source: err.into(),
5179            }),
5180        }
5181    }
5182}
5183impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
5184    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
5185        match err {
5186            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
5187        }
5188    }
5189}
5190impl<R>
5191    From<
5192        ::aws_smithy_runtime_api::client::result::SdkError<
5193            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
5194            R,
5195        >,
5196    > for Error
5197where
5198    R: Send + Sync + std::fmt::Debug + 'static,
5199{
5200    fn from(
5201        err: ::aws_smithy_runtime_api::client::result::SdkError<
5202            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
5203            R,
5204        >,
5205    ) -> Self {
5206        match err {
5207            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5208            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5209                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5210                source: err.into(),
5211            }),
5212        }
5213    }
5214}
5215impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
5216    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
5217        match err {
5218            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
5219                Error::Unhandled(inner)
5220            }
5221        }
5222    }
5223}
5224impl<R>
5225    From<
5226        ::aws_smithy_runtime_api::client::result::SdkError<
5227            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
5228            R,
5229        >,
5230    > for Error
5231where
5232    R: Send + Sync + std::fmt::Debug + 'static,
5233{
5234    fn from(
5235        err: ::aws_smithy_runtime_api::client::result::SdkError<
5236            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
5237            R,
5238        >,
5239    ) -> Self {
5240        match err {
5241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5244                source: err.into(),
5245            }),
5246        }
5247    }
5248}
5249impl From<crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
5250    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
5251        match err {
5252            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
5253                Error::Unhandled(inner)
5254            }
5255        }
5256    }
5257}
5258impl<R>
5259    From<
5260        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
5261    > for Error
5262where
5263    R: Send + Sync + std::fmt::Debug + 'static,
5264{
5265    fn from(
5266        err: ::aws_smithy_runtime_api::client::result::SdkError<
5267            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
5268            R,
5269        >,
5270    ) -> Self {
5271        match err {
5272            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5273            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5274                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5275                source: err.into(),
5276            }),
5277        }
5278    }
5279}
5280impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
5281    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
5282        match err {
5283            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
5284        }
5285    }
5286}
5287impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
5288    for Error
5289where
5290    R: Send + Sync + std::fmt::Debug + 'static,
5291{
5292    fn from(
5293        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
5294    ) -> Self {
5295        match err {
5296            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5297            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5298                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5299                source: err.into(),
5300            }),
5301        }
5302    }
5303}
5304impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
5305    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
5306        match err {
5307            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
5308        }
5309    }
5310}
5311impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
5312where
5313    R: Send + Sync + std::fmt::Debug + 'static,
5314{
5315    fn from(
5316        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
5317    ) -> Self {
5318        match err {
5319            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5320            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5321                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5322                source: err.into(),
5323            }),
5324        }
5325    }
5326}
5327impl From<crate::operation::delete_network_interface::DeleteNetworkInterfaceError> for Error {
5328    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
5329        match err {
5330            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
5331        }
5332    }
5333}
5334impl<R>
5335    From<
5336        ::aws_smithy_runtime_api::client::result::SdkError<
5337            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
5338            R,
5339        >,
5340    > for Error
5341where
5342    R: Send + Sync + std::fmt::Debug + 'static,
5343{
5344    fn from(
5345        err: ::aws_smithy_runtime_api::client::result::SdkError<
5346            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
5347            R,
5348        >,
5349    ) -> Self {
5350        match err {
5351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5354                source: err.into(),
5355            }),
5356        }
5357    }
5358}
5359impl From<crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
5360    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
5361        match err {
5362            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
5363        }
5364    }
5365}
5366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>> for Error
5367where
5368    R: Send + Sync + std::fmt::Debug + 'static,
5369{
5370    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>) -> Self {
5371        match err {
5372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5375                source: err.into(),
5376            }),
5377        }
5378    }
5379}
5380impl From<crate::operation::delete_placement_group::DeletePlacementGroupError> for Error {
5381    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
5382        match err {
5383            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
5384        }
5385    }
5386}
5387impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
5388where
5389    R: Send + Sync + std::fmt::Debug + 'static,
5390{
5391    fn from(
5392        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
5393    ) -> Self {
5394        match err {
5395            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5396            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5397                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5398                source: err.into(),
5399            }),
5400        }
5401    }
5402}
5403impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
5404    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
5405        match err {
5406            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
5407        }
5408    }
5409}
5410impl<R>
5411    From<
5412        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
5413    > for Error
5414where
5415    R: Send + Sync + std::fmt::Debug + 'static,
5416{
5417    fn from(
5418        err: ::aws_smithy_runtime_api::client::result::SdkError<
5419            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
5420            R,
5421        >,
5422    ) -> Self {
5423        match err {
5424            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5425            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5426                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5427                source: err.into(),
5428            }),
5429        }
5430    }
5431}
5432impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
5433    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
5434        match err {
5435            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
5436        }
5437    }
5438}
5439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
5440where
5441    R: Send + Sync + std::fmt::Debug + 'static,
5442{
5443    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> Self {
5444        match err {
5445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5448                source: err.into(),
5449            }),
5450        }
5451    }
5452}
5453impl From<crate::operation::delete_route::DeleteRouteError> for Error {
5454    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
5455        match err {
5456            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
5457        }
5458    }
5459}
5460impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>> for Error
5461where
5462    R: Send + Sync + std::fmt::Debug + 'static,
5463{
5464    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>) -> Self {
5465        match err {
5466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5469                source: err.into(),
5470            }),
5471        }
5472    }
5473}
5474impl From<crate::operation::delete_route_server::DeleteRouteServerError> for Error {
5475    fn from(err: crate::operation::delete_route_server::DeleteRouteServerError) -> Self {
5476        match err {
5477            crate::operation::delete_route_server::DeleteRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
5478        }
5479    }
5480}
5481impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>>
5482    for Error
5483where
5484    R: Send + Sync + std::fmt::Debug + 'static,
5485{
5486    fn from(
5487        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>,
5488    ) -> Self {
5489        match err {
5490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5493                source: err.into(),
5494            }),
5495        }
5496    }
5497}
5498impl From<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError> for Error {
5499    fn from(err: crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError) -> Self {
5500        match err {
5501            crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5502        }
5503    }
5504}
5505impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>> for Error
5506where
5507    R: Send + Sync + std::fmt::Debug + 'static,
5508{
5509    fn from(
5510        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>,
5511    ) -> Self {
5512        match err {
5513            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5514            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5515                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5516                source: err.into(),
5517            }),
5518        }
5519    }
5520}
5521impl From<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError> for Error {
5522    fn from(err: crate::operation::delete_route_server_peer::DeleteRouteServerPeerError) -> Self {
5523        match err {
5524            crate::operation::delete_route_server_peer::DeleteRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
5525        }
5526    }
5527}
5528impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
5529where
5530    R: Send + Sync + std::fmt::Debug + 'static,
5531{
5532    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> Self {
5533        match err {
5534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5537                source: err.into(),
5538            }),
5539        }
5540    }
5541}
5542impl From<crate::operation::delete_route_table::DeleteRouteTableError> for Error {
5543    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
5544        match err {
5545            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5546        }
5547    }
5548}
5549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
5550where
5551    R: Send + Sync + std::fmt::Debug + 'static,
5552{
5553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
5554        match err {
5555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5558                source: err.into(),
5559            }),
5560        }
5561    }
5562}
5563impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
5564    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
5565        match err {
5566            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
5567        }
5568    }
5569}
5570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
5571where
5572    R: Send + Sync + std::fmt::Debug + 'static,
5573{
5574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
5575        match err {
5576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5579                source: err.into(),
5580            }),
5581        }
5582    }
5583}
5584impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
5585    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
5586        match err {
5587            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5588        }
5589    }
5590}
5591impl<R>
5592    From<
5593        ::aws_smithy_runtime_api::client::result::SdkError<
5594            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5595            R,
5596        >,
5597    > for Error
5598where
5599    R: Send + Sync + std::fmt::Debug + 'static,
5600{
5601    fn from(
5602        err: ::aws_smithy_runtime_api::client::result::SdkError<
5603            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5604            R,
5605        >,
5606    ) -> Self {
5607        match err {
5608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5611                source: err.into(),
5612            }),
5613        }
5614    }
5615}
5616impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
5617    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
5618        match err {
5619            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5620        }
5621    }
5622}
5623impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
5624where
5625    R: Send + Sync + std::fmt::Debug + 'static,
5626{
5627    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
5628        match err {
5629            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5630            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5631                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5632                source: err.into(),
5633            }),
5634        }
5635    }
5636}
5637impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
5638    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
5639        match err {
5640            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
5641        }
5642    }
5643}
5644impl<R>
5645    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, R>>
5646    for Error
5647where
5648    R: Send + Sync + std::fmt::Debug + 'static,
5649{
5650    fn from(
5651        err: ::aws_smithy_runtime_api::client::result::SdkError<
5652            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
5653            R,
5654        >,
5655    ) -> Self {
5656        match err {
5657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5660                source: err.into(),
5661            }),
5662        }
5663    }
5664}
5665impl From<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
5666    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
5667        match err {
5668            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
5669        }
5670    }
5671}
5672impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
5673where
5674    R: Send + Sync + std::fmt::Debug + 'static,
5675{
5676    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
5677        match err {
5678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5681                source: err.into(),
5682            }),
5683        }
5684    }
5685}
5686impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
5687    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
5688        match err {
5689            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
5690        }
5691    }
5692}
5693impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
5694    for Error
5695where
5696    R: Send + Sync + std::fmt::Debug + 'static,
5697{
5698    fn from(
5699        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>,
5700    ) -> Self {
5701        match err {
5702            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5703            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5704                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5705                source: err.into(),
5706            }),
5707        }
5708    }
5709}
5710impl From<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
5711    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
5712        match err {
5713            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
5714        }
5715    }
5716}
5717impl<R>
5718    From<
5719        ::aws_smithy_runtime_api::client::result::SdkError<
5720            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5721            R,
5722        >,
5723    > for Error
5724where
5725    R: Send + Sync + std::fmt::Debug + 'static,
5726{
5727    fn from(
5728        err: ::aws_smithy_runtime_api::client::result::SdkError<
5729            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5730            R,
5731        >,
5732    ) -> Self {
5733        match err {
5734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5737                source: err.into(),
5738            }),
5739        }
5740    }
5741}
5742impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
5743    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
5744        match err {
5745            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
5746        }
5747    }
5748}
5749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
5750    for Error
5751where
5752    R: Send + Sync + std::fmt::Debug + 'static,
5753{
5754    fn from(
5755        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
5756    ) -> Self {
5757        match err {
5758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5761                source: err.into(),
5762            }),
5763        }
5764    }
5765}
5766impl From<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
5767    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
5768        match err {
5769            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
5770        }
5771    }
5772}
5773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
5774    for Error
5775where
5776    R: Send + Sync + std::fmt::Debug + 'static,
5777{
5778    fn from(
5779        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5780    ) -> Self {
5781        match err {
5782            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5783            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5784                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5785                source: err.into(),
5786            }),
5787        }
5788    }
5789}
5790impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5791    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5792        match err {
5793            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5794        }
5795    }
5796}
5797impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5798where
5799    R: Send + Sync + std::fmt::Debug + 'static,
5800{
5801    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5802        match err {
5803            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5804            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5805                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5806                source: err.into(),
5807            }),
5808        }
5809    }
5810}
5811impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5812    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5813        match err {
5814            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5815        }
5816    }
5817}
5818impl<R>
5819    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5820    for Error
5821where
5822    R: Send + Sync + std::fmt::Debug + 'static,
5823{
5824    fn from(
5825        err: ::aws_smithy_runtime_api::client::result::SdkError<
5826            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5827            R,
5828        >,
5829    ) -> Self {
5830        match err {
5831            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5832            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5833                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5834                source: err.into(),
5835            }),
5836        }
5837    }
5838}
5839impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5840    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5841        match err {
5842            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5843        }
5844    }
5845}
5846impl<R>
5847    From<
5848        ::aws_smithy_runtime_api::client::result::SdkError<
5849            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5850            R,
5851        >,
5852    > for Error
5853where
5854    R: Send + Sync + std::fmt::Debug + 'static,
5855{
5856    fn from(
5857        err: ::aws_smithy_runtime_api::client::result::SdkError<
5858            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5859            R,
5860        >,
5861    ) -> Self {
5862        match err {
5863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5866                source: err.into(),
5867            }),
5868        }
5869    }
5870}
5871impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5872    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5873        match err {
5874            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
5875        }
5876    }
5877}
5878impl<R>
5879    From<
5880        ::aws_smithy_runtime_api::client::result::SdkError<
5881            crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError,
5882            R,
5883        >,
5884    > for Error
5885where
5886    R: Send + Sync + std::fmt::Debug + 'static,
5887{
5888    fn from(
5889        err: ::aws_smithy_runtime_api::client::result::SdkError<
5890            crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError,
5891            R,
5892        >,
5893    ) -> Self {
5894        match err {
5895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5898                source: err.into(),
5899            }),
5900        }
5901    }
5902}
5903impl From<crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError> for Error {
5904    fn from(err: crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError) -> Self {
5905        match err {
5906            crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError::Unhandled(inner) => {
5907                Error::Unhandled(inner)
5908            }
5909        }
5910    }
5911}
5912impl<R>
5913    From<
5914        ::aws_smithy_runtime_api::client::result::SdkError<
5915            crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError,
5916            R,
5917        >,
5918    > for Error
5919where
5920    R: Send + Sync + std::fmt::Debug + 'static,
5921{
5922    fn from(
5923        err: ::aws_smithy_runtime_api::client::result::SdkError<
5924            crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError,
5925            R,
5926        >,
5927    ) -> Self {
5928        match err {
5929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5932                source: err.into(),
5933            }),
5934        }
5935    }
5936}
5937impl From<crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError> for Error {
5938    fn from(err: crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError) -> Self {
5939        match err {
5940            crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError::Unhandled(inner) => {
5941                Error::Unhandled(inner)
5942            }
5943        }
5944    }
5945}
5946impl<R>
5947    From<
5948        ::aws_smithy_runtime_api::client::result::SdkError<
5949            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5950            R,
5951        >,
5952    > for Error
5953where
5954    R: Send + Sync + std::fmt::Debug + 'static,
5955{
5956    fn from(
5957        err: ::aws_smithy_runtime_api::client::result::SdkError<
5958            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5959            R,
5960        >,
5961    ) -> Self {
5962        match err {
5963            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5964            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5965                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5966                source: err.into(),
5967            }),
5968        }
5969    }
5970}
5971impl From<crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
5972    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
5973        match err {
5974            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
5975                Error::Unhandled(inner)
5976            }
5977        }
5978    }
5979}
5980impl<R>
5981    From<
5982        ::aws_smithy_runtime_api::client::result::SdkError<
5983            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5984            R,
5985        >,
5986    > for Error
5987where
5988    R: Send + Sync + std::fmt::Debug + 'static,
5989{
5990    fn from(
5991        err: ::aws_smithy_runtime_api::client::result::SdkError<
5992            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5993            R,
5994        >,
5995    ) -> Self {
5996        match err {
5997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6000                source: err.into(),
6001            }),
6002        }
6003    }
6004}
6005impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
6006    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
6007        match err {
6008            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
6009                Error::Unhandled(inner)
6010            }
6011        }
6012    }
6013}
6014impl<R>
6015    From<
6016        ::aws_smithy_runtime_api::client::result::SdkError<
6017            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
6018            R,
6019        >,
6020    > for Error
6021where
6022    R: Send + Sync + std::fmt::Debug + 'static,
6023{
6024    fn from(
6025        err: ::aws_smithy_runtime_api::client::result::SdkError<
6026            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
6027            R,
6028        >,
6029    ) -> Self {
6030        match err {
6031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6034                source: err.into(),
6035            }),
6036        }
6037    }
6038}
6039impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
6040    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
6041        match err {
6042            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
6043        }
6044    }
6045}
6046impl<R>
6047    From<
6048        ::aws_smithy_runtime_api::client::result::SdkError<
6049            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
6050            R,
6051        >,
6052    > for Error
6053where
6054    R: Send + Sync + std::fmt::Debug + 'static,
6055{
6056    fn from(
6057        err: ::aws_smithy_runtime_api::client::result::SdkError<
6058            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
6059            R,
6060        >,
6061    ) -> Self {
6062        match err {
6063            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6064            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6065                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6066                source: err.into(),
6067            }),
6068        }
6069    }
6070}
6071impl From<crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
6072    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
6073        match err {
6074            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
6075                Error::Unhandled(inner)
6076            }
6077        }
6078    }
6079}
6080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
6081    for Error
6082where
6083    R: Send + Sync + std::fmt::Debug + 'static,
6084{
6085    fn from(
6086        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
6087    ) -> Self {
6088        match err {
6089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6092                source: err.into(),
6093            }),
6094        }
6095    }
6096}
6097impl From<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError> for Error {
6098    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
6099        match err {
6100            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
6101        }
6102    }
6103}
6104impl<R>
6105    From<
6106        ::aws_smithy_runtime_api::client::result::SdkError<
6107            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
6108            R,
6109        >,
6110    > for Error
6111where
6112    R: Send + Sync + std::fmt::Debug + 'static,
6113{
6114    fn from(
6115        err: ::aws_smithy_runtime_api::client::result::SdkError<
6116            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
6117            R,
6118        >,
6119    ) -> Self {
6120        match err {
6121            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6122            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6123                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6124                source: err.into(),
6125            }),
6126        }
6127    }
6128}
6129impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
6130    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
6131        match err {
6132            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
6133        }
6134    }
6135}
6136impl<R>
6137    From<
6138        ::aws_smithy_runtime_api::client::result::SdkError<
6139            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
6140            R,
6141        >,
6142    > for Error
6143where
6144    R: Send + Sync + std::fmt::Debug + 'static,
6145{
6146    fn from(
6147        err: ::aws_smithy_runtime_api::client::result::SdkError<
6148            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
6149            R,
6150        >,
6151    ) -> Self {
6152        match err {
6153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6156                source: err.into(),
6157            }),
6158        }
6159    }
6160}
6161impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
6162    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
6163        match err {
6164            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
6165                Error::Unhandled(inner)
6166            }
6167        }
6168    }
6169}
6170impl<R>
6171    From<
6172        ::aws_smithy_runtime_api::client::result::SdkError<
6173            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
6174            R,
6175        >,
6176    > for Error
6177where
6178    R: Send + Sync + std::fmt::Debug + 'static,
6179{
6180    fn from(
6181        err: ::aws_smithy_runtime_api::client::result::SdkError<
6182            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
6183            R,
6184        >,
6185    ) -> Self {
6186        match err {
6187            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6188            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6189                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6190                source: err.into(),
6191            }),
6192        }
6193    }
6194}
6195impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
6196    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
6197        match err {
6198            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
6199                Error::Unhandled(inner)
6200            }
6201        }
6202    }
6203}
6204impl<R>
6205    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
6206    for Error
6207where
6208    R: Send + Sync + std::fmt::Debug + 'static,
6209{
6210    fn from(
6211        err: ::aws_smithy_runtime_api::client::result::SdkError<
6212            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
6213            R,
6214        >,
6215    ) -> Self {
6216        match err {
6217            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6218            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6219                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6220                source: err.into(),
6221            }),
6222        }
6223    }
6224}
6225impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
6226    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
6227        match err {
6228            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
6229        }
6230    }
6231}
6232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
6233    for Error
6234where
6235    R: Send + Sync + std::fmt::Debug + 'static,
6236{
6237    fn from(
6238        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
6239    ) -> Self {
6240        match err {
6241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6244                source: err.into(),
6245            }),
6246        }
6247    }
6248}
6249impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
6250    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
6251        match err {
6252            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
6253        }
6254    }
6255}
6256impl<R>
6257    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
6258    for Error
6259where
6260    R: Send + Sync + std::fmt::Debug + 'static,
6261{
6262    fn from(
6263        err: ::aws_smithy_runtime_api::client::result::SdkError<
6264            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
6265            R,
6266        >,
6267    ) -> Self {
6268        match err {
6269            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6270            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6271                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6272                source: err.into(),
6273            }),
6274        }
6275    }
6276}
6277impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
6278    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
6279        match err {
6280            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
6281        }
6282    }
6283}
6284impl<R>
6285    From<
6286        ::aws_smithy_runtime_api::client::result::SdkError<
6287            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
6288            R,
6289        >,
6290    > for Error
6291where
6292    R: Send + Sync + std::fmt::Debug + 'static,
6293{
6294    fn from(
6295        err: ::aws_smithy_runtime_api::client::result::SdkError<
6296            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
6297            R,
6298        >,
6299    ) -> Self {
6300        match err {
6301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6304                source: err.into(),
6305            }),
6306        }
6307    }
6308}
6309impl From<crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
6310    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
6311        match err {
6312            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
6313                Error::Unhandled(inner)
6314            }
6315        }
6316    }
6317}
6318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
6319where
6320    R: Send + Sync + std::fmt::Debug + 'static,
6321{
6322    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> Self {
6323        match err {
6324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6327                source: err.into(),
6328            }),
6329        }
6330    }
6331}
6332impl From<crate::operation::delete_volume::DeleteVolumeError> for Error {
6333    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
6334        match err {
6335            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
6336        }
6337    }
6338}
6339impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
6340where
6341    R: Send + Sync + std::fmt::Debug + 'static,
6342{
6343    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> Self {
6344        match err {
6345            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6346            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6347                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6348                source: err.into(),
6349            }),
6350        }
6351    }
6352}
6353impl From<crate::operation::delete_vpc::DeleteVpcError> for Error {
6354    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
6355        match err {
6356            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
6357        }
6358    }
6359}
6360impl<R>
6361    From<
6362        ::aws_smithy_runtime_api::client::result::SdkError<
6363            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
6364            R,
6365        >,
6366    > for Error
6367where
6368    R: Send + Sync + std::fmt::Debug + 'static,
6369{
6370    fn from(
6371        err: ::aws_smithy_runtime_api::client::result::SdkError<
6372            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
6373            R,
6374        >,
6375    ) -> Self {
6376        match err {
6377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6380                source: err.into(),
6381            }),
6382        }
6383    }
6384}
6385impl From<crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
6386    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
6387        match err {
6388            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
6389                Error::Unhandled(inner)
6390            }
6391        }
6392    }
6393}
6394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError, R>>
6395    for Error
6396where
6397    R: Send + Sync + std::fmt::Debug + 'static,
6398{
6399    fn from(
6400        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError, R>,
6401    ) -> Self {
6402        match err {
6403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6406                source: err.into(),
6407            }),
6408        }
6409    }
6410}
6411impl From<crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError> for Error {
6412    fn from(err: crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError) -> Self {
6413        match err {
6414            crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError::Unhandled(inner) => Error::Unhandled(inner),
6415        }
6416    }
6417}
6418impl<R>
6419    From<
6420        ::aws_smithy_runtime_api::client::result::SdkError<
6421            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6422            R,
6423        >,
6424    > for Error
6425where
6426    R: Send + Sync + std::fmt::Debug + 'static,
6427{
6428    fn from(
6429        err: ::aws_smithy_runtime_api::client::result::SdkError<
6430            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6431            R,
6432        >,
6433    ) -> Self {
6434        match err {
6435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6438                source: err.into(),
6439            }),
6440        }
6441    }
6442}
6443impl From<crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
6444    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
6445        match err {
6446            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
6447                Error::Unhandled(inner)
6448            }
6449        }
6450    }
6451}
6452impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
6453where
6454    R: Send + Sync + std::fmt::Debug + 'static,
6455{
6456    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
6457        match err {
6458            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6459            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6460                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6461                source: err.into(),
6462            }),
6463        }
6464    }
6465}
6466impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
6467    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
6468        match err {
6469            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6470        }
6471    }
6472}
6473impl<R>
6474    From<
6475        ::aws_smithy_runtime_api::client::result::SdkError<
6476            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6477            R,
6478        >,
6479    > for Error
6480where
6481    R: Send + Sync + std::fmt::Debug + 'static,
6482{
6483    fn from(
6484        err: ::aws_smithy_runtime_api::client::result::SdkError<
6485            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6486            R,
6487        >,
6488    ) -> Self {
6489        match err {
6490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6493                source: err.into(),
6494            }),
6495        }
6496    }
6497}
6498impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
6499    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
6500        match err {
6501            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
6502                Error::Unhandled(inner)
6503            }
6504        }
6505    }
6506}
6507impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
6508    for Error
6509where
6510    R: Send + Sync + std::fmt::Debug + 'static,
6511{
6512    fn from(
6513        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
6514    ) -> Self {
6515        match err {
6516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6519                source: err.into(),
6520            }),
6521        }
6522    }
6523}
6524impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
6525    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
6526        match err {
6527            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6528        }
6529    }
6530}
6531impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError, R>> for Error
6532where
6533    R: Send + Sync + std::fmt::Debug + 'static,
6534{
6535    fn from(
6536        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError, R>,
6537    ) -> Self {
6538        match err {
6539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6542                source: err.into(),
6543            }),
6544        }
6545    }
6546}
6547impl From<crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError> for Error {
6548    fn from(err: crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError) -> Self {
6549        match err {
6550            crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError::Unhandled(inner) => Error::Unhandled(inner),
6551        }
6552    }
6553}
6554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>> for Error
6555where
6556    R: Send + Sync + std::fmt::Debug + 'static,
6557{
6558    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>) -> Self {
6559        match err {
6560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6563                source: err.into(),
6564            }),
6565        }
6566    }
6567}
6568impl From<crate::operation::delete_vpn_connection::DeleteVpnConnectionError> for Error {
6569    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
6570        match err {
6571            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6572        }
6573    }
6574}
6575impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
6576    for Error
6577where
6578    R: Send + Sync + std::fmt::Debug + 'static,
6579{
6580    fn from(
6581        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
6582    ) -> Self {
6583        match err {
6584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6587                source: err.into(),
6588            }),
6589        }
6590    }
6591}
6592impl From<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
6593    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
6594        match err {
6595            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
6596        }
6597    }
6598}
6599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
6600where
6601    R: Send + Sync + std::fmt::Debug + 'static,
6602{
6603    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
6604        match err {
6605            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6606            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6607                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6608                source: err.into(),
6609            }),
6610        }
6611    }
6612}
6613impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
6614    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
6615        match err {
6616            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
6617        }
6618    }
6619}
6620impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
6621where
6622    R: Send + Sync + std::fmt::Debug + 'static,
6623{
6624    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
6625        match err {
6626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6629                source: err.into(),
6630            }),
6631        }
6632    }
6633}
6634impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
6635    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
6636        match err {
6637            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
6638        }
6639    }
6640}
6641impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
6642where
6643    R: Send + Sync + std::fmt::Debug + 'static,
6644{
6645    fn from(
6646        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
6647    ) -> Self {
6648        match err {
6649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6652                source: err.into(),
6653            }),
6654        }
6655    }
6656}
6657impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
6658    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
6659        match err {
6660            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
6661        }
6662    }
6663}
6664impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
6665    for Error
6666where
6667    R: Send + Sync + std::fmt::Debug + 'static,
6668{
6669    fn from(
6670        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
6671    ) -> Self {
6672        match err {
6673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6676                source: err.into(),
6677            }),
6678        }
6679    }
6680}
6681impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
6682    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
6683        match err {
6684            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6685        }
6686    }
6687}
6688impl<R>
6689    From<
6690        ::aws_smithy_runtime_api::client::result::SdkError<
6691            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6692            R,
6693        >,
6694    > for Error
6695where
6696    R: Send + Sync + std::fmt::Debug + 'static,
6697{
6698    fn from(
6699        err: ::aws_smithy_runtime_api::client::result::SdkError<
6700            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6701            R,
6702        >,
6703    ) -> Self {
6704        match err {
6705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6708                source: err.into(),
6709            }),
6710        }
6711    }
6712}
6713impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
6714    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
6715        match err {
6716            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6717        }
6718    }
6719}
6720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
6721where
6722    R: Send + Sync + std::fmt::Debug + 'static,
6723{
6724    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
6725        match err {
6726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6729                source: err.into(),
6730            }),
6731        }
6732    }
6733}
6734impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
6735    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
6736        match err {
6737            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
6738        }
6739    }
6740}
6741impl<R>
6742    From<
6743        ::aws_smithy_runtime_api::client::result::SdkError<
6744            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6745            R,
6746        >,
6747    > for Error
6748where
6749    R: Send + Sync + std::fmt::Debug + 'static,
6750{
6751    fn from(
6752        err: ::aws_smithy_runtime_api::client::result::SdkError<
6753            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6754            R,
6755        >,
6756    ) -> Self {
6757        match err {
6758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6761                source: err.into(),
6762            }),
6763        }
6764    }
6765}
6766impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
6767    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
6768        match err {
6769            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
6770                inner,
6771            ) => Error::Unhandled(inner),
6772        }
6773    }
6774}
6775impl<R>
6776    From<
6777        ::aws_smithy_runtime_api::client::result::SdkError<
6778            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6779            R,
6780        >,
6781    > for Error
6782where
6783    R: Send + Sync + std::fmt::Debug + 'static,
6784{
6785    fn from(
6786        err: ::aws_smithy_runtime_api::client::result::SdkError<
6787            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6788            R,
6789        >,
6790    ) -> Self {
6791        match err {
6792            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6793            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6794                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6795                source: err.into(),
6796            }),
6797        }
6798    }
6799}
6800impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
6801    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
6802        match err {
6803            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
6804                inner,
6805            ) => Error::Unhandled(inner),
6806        }
6807    }
6808}
6809impl<R>
6810    From<
6811        ::aws_smithy_runtime_api::client::result::SdkError<
6812            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6813            R,
6814        >,
6815    > for Error
6816where
6817    R: Send + Sync + std::fmt::Debug + 'static,
6818{
6819    fn from(
6820        err: ::aws_smithy_runtime_api::client::result::SdkError<
6821            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6822            R,
6823        >,
6824    ) -> Self {
6825        match err {
6826            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6827            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6828                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6829                source: err.into(),
6830            }),
6831        }
6832    }
6833}
6834impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
6835    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
6836        match err {
6837            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
6838                inner,
6839            ) => Error::Unhandled(inner),
6840        }
6841    }
6842}
6843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
6844    for Error
6845where
6846    R: Send + Sync + std::fmt::Debug + 'static,
6847{
6848    fn from(
6849        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
6850    ) -> Self {
6851        match err {
6852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6855                source: err.into(),
6856            }),
6857        }
6858    }
6859}
6860impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
6861    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
6862        match err {
6863            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
6864        }
6865    }
6866}
6867impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
6868where
6869    R: Send + Sync + std::fmt::Debug + 'static,
6870{
6871    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
6872        match err {
6873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6876                source: err.into(),
6877            }),
6878        }
6879    }
6880}
6881impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
6882    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
6883        match err {
6884            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
6885        }
6886    }
6887}
6888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
6889    for Error
6890where
6891    R: Send + Sync + std::fmt::Debug + 'static,
6892{
6893    fn from(
6894        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
6895    ) -> Self {
6896        match err {
6897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6900                source: err.into(),
6901            }),
6902        }
6903    }
6904}
6905impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
6906    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
6907        match err {
6908            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6909        }
6910    }
6911}
6912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>>
6913    for Error
6914where
6915    R: Send + Sync + std::fmt::Debug + 'static,
6916{
6917    fn from(
6918        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
6919    ) -> Self {
6920        match err {
6921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6924                source: err.into(),
6925            }),
6926        }
6927    }
6928}
6929impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
6930    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
6931        match err {
6932            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
6933        }
6934    }
6935}
6936impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
6937    for Error
6938where
6939    R: Send + Sync + std::fmt::Debug + 'static,
6940{
6941    fn from(
6942        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
6943    ) -> Self {
6944        match err {
6945            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6946            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6947                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6948                source: err.into(),
6949            }),
6950        }
6951    }
6952}
6953impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
6954    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
6955        match err {
6956            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
6957        }
6958    }
6959}
6960impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
6961    for Error
6962where
6963    R: Send + Sync + std::fmt::Debug + 'static,
6964{
6965    fn from(
6966        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
6967    ) -> Self {
6968        match err {
6969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6972                source: err.into(),
6973            }),
6974        }
6975    }
6976}
6977impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
6978    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
6979        match err {
6980            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
6981        }
6982    }
6983}
6984impl<R>
6985    From<
6986        ::aws_smithy_runtime_api::client::result::SdkError<
6987            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6988            R,
6989        >,
6990    > for Error
6991where
6992    R: Send + Sync + std::fmt::Debug + 'static,
6993{
6994    fn from(
6995        err: ::aws_smithy_runtime_api::client::result::SdkError<
6996            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6997            R,
6998        >,
6999    ) -> Self {
7000        match err {
7001            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7002            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7003                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7004                source: err.into(),
7005            }),
7006        }
7007    }
7008}
7009impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
7010    fn from(
7011        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
7012    ) -> Self {
7013        match err {
7014            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
7015        }
7016    }
7017}
7018impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
7019where
7020    R: Send + Sync + std::fmt::Debug + 'static,
7021{
7022    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> Self {
7023        match err {
7024            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7025            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7026                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7027                source: err.into(),
7028            }),
7029        }
7030    }
7031}
7032impl From<crate::operation::describe_bundle_tasks::DescribeBundleTasksError> for Error {
7033    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
7034        match err {
7035            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
7036        }
7037    }
7038}
7039impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>> for Error
7040where
7041    R: Send + Sync + std::fmt::Debug + 'static,
7042{
7043    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>) -> Self {
7044        match err {
7045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7048                source: err.into(),
7049            }),
7050        }
7051    }
7052}
7053impl From<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError> for Error {
7054    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
7055        match err {
7056            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
7057        }
7058    }
7059}
7060impl<R>
7061    From<
7062        ::aws_smithy_runtime_api::client::result::SdkError<
7063            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
7064            R,
7065        >,
7066    > for Error
7067where
7068    R: Send + Sync + std::fmt::Debug + 'static,
7069{
7070    fn from(
7071        err: ::aws_smithy_runtime_api::client::result::SdkError<
7072            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
7073            R,
7074        >,
7075    ) -> Self {
7076        match err {
7077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7080                source: err.into(),
7081            }),
7082        }
7083    }
7084}
7085impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
7086    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
7087        match err {
7088            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
7089                Error::Unhandled(inner)
7090            }
7091        }
7092    }
7093}
7094impl<R>
7095    From<
7096        ::aws_smithy_runtime_api::client::result::SdkError<
7097            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
7098            R,
7099        >,
7100    > for Error
7101where
7102    R: Send + Sync + std::fmt::Debug + 'static,
7103{
7104    fn from(
7105        err: ::aws_smithy_runtime_api::client::result::SdkError<
7106            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
7107            R,
7108        >,
7109    ) -> Self {
7110        match err {
7111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7114                source: err.into(),
7115            }),
7116        }
7117    }
7118}
7119impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
7120    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
7121        match err {
7122            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
7123                Error::Unhandled(inner)
7124            }
7125        }
7126    }
7127}
7128impl<R>
7129    From<
7130        ::aws_smithy_runtime_api::client::result::SdkError<
7131            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
7132            R,
7133        >,
7134    > for Error
7135where
7136    R: Send + Sync + std::fmt::Debug + 'static,
7137{
7138    fn from(
7139        err: ::aws_smithy_runtime_api::client::result::SdkError<
7140            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
7141            R,
7142        >,
7143    ) -> Self {
7144        match err {
7145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7148                source: err.into(),
7149            }),
7150        }
7151    }
7152}
7153impl From<crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
7154    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
7155        match err {
7156            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7157        }
7158    }
7159}
7160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>> for Error
7161where
7162    R: Send + Sync + std::fmt::Debug + 'static,
7163{
7164    fn from(
7165        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>,
7166    ) -> Self {
7167        match err {
7168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7171                source: err.into(),
7172            }),
7173        }
7174    }
7175}
7176impl From<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError> for Error {
7177    fn from(err: crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError) -> Self {
7178        match err {
7179            crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError::Unhandled(inner) => Error::Unhandled(inner),
7180        }
7181    }
7182}
7183impl<R>
7184    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError, R>>
7185    for Error
7186where
7187    R: Send + Sync + std::fmt::Debug + 'static,
7188{
7189    fn from(
7190        err: ::aws_smithy_runtime_api::client::result::SdkError<
7191            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError,
7192            R,
7193        >,
7194    ) -> Self {
7195        match err {
7196            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7197            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7198                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7199                source: err.into(),
7200            }),
7201        }
7202    }
7203}
7204impl From<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError> for Error {
7205    fn from(err: crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError) -> Self {
7206        match err {
7207            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError::Unhandled(inner) => Error::Unhandled(inner),
7208        }
7209    }
7210}
7211impl<R>
7212    From<
7213        ::aws_smithy_runtime_api::client::result::SdkError<
7214            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
7215            R,
7216        >,
7217    > for Error
7218where
7219    R: Send + Sync + std::fmt::Debug + 'static,
7220{
7221    fn from(
7222        err: ::aws_smithy_runtime_api::client::result::SdkError<
7223            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
7224            R,
7225        >,
7226    ) -> Self {
7227        match err {
7228            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7229            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7230                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7231                source: err.into(),
7232            }),
7233        }
7234    }
7235}
7236impl From<crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError> for Error {
7237    fn from(err: crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError) -> Self {
7238        match err {
7239            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError::Unhandled(inner) => {
7240                Error::Unhandled(inner)
7241            }
7242        }
7243    }
7244}
7245impl<R>
7246    From<
7247        ::aws_smithy_runtime_api::client::result::SdkError<
7248            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
7249            R,
7250        >,
7251    > for Error
7252where
7253    R: Send + Sync + std::fmt::Debug + 'static,
7254{
7255    fn from(
7256        err: ::aws_smithy_runtime_api::client::result::SdkError<
7257            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
7258            R,
7259        >,
7260    ) -> Self {
7261        match err {
7262            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7263            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7264                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7265                source: err.into(),
7266            }),
7267        }
7268    }
7269}
7270impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
7271    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
7272        match err {
7273            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
7274                Error::Unhandled(inner)
7275            }
7276        }
7277    }
7278}
7279impl<R>
7280    From<
7281        ::aws_smithy_runtime_api::client::result::SdkError<
7282            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
7283            R,
7284        >,
7285    > for Error
7286where
7287    R: Send + Sync + std::fmt::Debug + 'static,
7288{
7289    fn from(
7290        err: ::aws_smithy_runtime_api::client::result::SdkError<
7291            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
7292            R,
7293        >,
7294    ) -> Self {
7295        match err {
7296            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7297            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7298                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7299                source: err.into(),
7300            }),
7301        }
7302    }
7303}
7304impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
7305    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
7306        match err {
7307            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
7308                Error::Unhandled(inner)
7309            }
7310        }
7311    }
7312}
7313impl<R>
7314    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, R>>
7315    for Error
7316where
7317    R: Send + Sync + std::fmt::Debug + 'static,
7318{
7319    fn from(
7320        err: ::aws_smithy_runtime_api::client::result::SdkError<
7321            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
7322            R,
7323        >,
7324    ) -> Self {
7325        match err {
7326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7329                source: err.into(),
7330            }),
7331        }
7332    }
7333}
7334impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
7335    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
7336        match err {
7337            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7338        }
7339    }
7340}
7341impl<R>
7342    From<
7343        ::aws_smithy_runtime_api::client::result::SdkError<
7344            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
7345            R,
7346        >,
7347    > for Error
7348where
7349    R: Send + Sync + std::fmt::Debug + 'static,
7350{
7351    fn from(
7352        err: ::aws_smithy_runtime_api::client::result::SdkError<
7353            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
7354            R,
7355        >,
7356    ) -> Self {
7357        match err {
7358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7361                source: err.into(),
7362            }),
7363        }
7364    }
7365}
7366impl From<crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError> for Error {
7367    fn from(err: crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError) -> Self {
7368        match err {
7369            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError::Unhandled(inner) => {
7370                Error::Unhandled(inner)
7371            }
7372        }
7373    }
7374}
7375impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
7376    for Error
7377where
7378    R: Send + Sync + std::fmt::Debug + 'static,
7379{
7380    fn from(
7381        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
7382    ) -> Self {
7383        match err {
7384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7387                source: err.into(),
7388            }),
7389        }
7390    }
7391}
7392impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
7393    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
7394        match err {
7395            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7396        }
7397    }
7398}
7399impl<R>
7400    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
7401    for Error
7402where
7403    R: Send + Sync + std::fmt::Debug + 'static,
7404{
7405    fn from(
7406        err: ::aws_smithy_runtime_api::client::result::SdkError<
7407            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError,
7408            R,
7409        >,
7410    ) -> Self {
7411        match err {
7412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7415                source: err.into(),
7416            }),
7417        }
7418    }
7419}
7420impl From<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
7421    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
7422        match err {
7423            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7424        }
7425    }
7426}
7427impl<R>
7428    From<
7429        ::aws_smithy_runtime_api::client::result::SdkError<
7430            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7431            R,
7432        >,
7433    > for Error
7434where
7435    R: Send + Sync + std::fmt::Debug + 'static,
7436{
7437    fn from(
7438        err: ::aws_smithy_runtime_api::client::result::SdkError<
7439            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7440            R,
7441        >,
7442    ) -> Self {
7443        match err {
7444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7447                source: err.into(),
7448            }),
7449        }
7450    }
7451}
7452impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
7453    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
7454        match err {
7455            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
7456                Error::Unhandled(inner)
7457            }
7458        }
7459    }
7460}
7461impl<R>
7462    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
7463    for Error
7464where
7465    R: Send + Sync + std::fmt::Debug + 'static,
7466{
7467    fn from(
7468        err: ::aws_smithy_runtime_api::client::result::SdkError<
7469            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError,
7470            R,
7471        >,
7472    ) -> Self {
7473        match err {
7474            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7475            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7476                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7477                source: err.into(),
7478            }),
7479        }
7480    }
7481}
7482impl From<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
7483    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
7484        match err {
7485            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
7486        }
7487    }
7488}
7489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
7490    for Error
7491where
7492    R: Send + Sync + std::fmt::Debug + 'static,
7493{
7494    fn from(
7495        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
7496    ) -> Self {
7497        match err {
7498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7501                source: err.into(),
7502            }),
7503        }
7504    }
7505}
7506impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
7507    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
7508        match err {
7509            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7510        }
7511    }
7512}
7513impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
7514    for Error
7515where
7516    R: Send + Sync + std::fmt::Debug + 'static,
7517{
7518    fn from(
7519        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
7520    ) -> Self {
7521        match err {
7522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7525                source: err.into(),
7526            }),
7527        }
7528    }
7529}
7530impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
7531    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
7532        match err {
7533            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
7534        }
7535    }
7536}
7537impl<R>
7538    From<
7539        ::aws_smithy_runtime_api::client::result::SdkError<
7540            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7541            R,
7542        >,
7543    > for Error
7544where
7545    R: Send + Sync + std::fmt::Debug + 'static,
7546{
7547    fn from(
7548        err: ::aws_smithy_runtime_api::client::result::SdkError<
7549            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7550            R,
7551        >,
7552    ) -> Self {
7553        match err {
7554            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7555            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7556                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7557                source: err.into(),
7558            }),
7559        }
7560    }
7561}
7562impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
7563    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
7564        match err {
7565            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
7566        }
7567    }
7568}
7569impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
7570where
7571    R: Send + Sync + std::fmt::Debug + 'static,
7572{
7573    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> Self {
7574        match err {
7575            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7576            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7577                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7578                source: err.into(),
7579            }),
7580        }
7581    }
7582}
7583impl From<crate::operation::describe_coip_pools::DescribeCoipPoolsError> for Error {
7584    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
7585        match err {
7586            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
7587        }
7588    }
7589}
7590impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
7591    for Error
7592where
7593    R: Send + Sync + std::fmt::Debug + 'static,
7594{
7595    fn from(
7596        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
7597    ) -> Self {
7598        match err {
7599            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7600            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7601                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7602                source: err.into(),
7603            }),
7604        }
7605    }
7606}
7607impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
7608    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
7609        match err {
7610            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
7611        }
7612    }
7613}
7614impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
7615    for Error
7616where
7617    R: Send + Sync + std::fmt::Debug + 'static,
7618{
7619    fn from(
7620        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
7621    ) -> Self {
7622        match err {
7623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7626                source: err.into(),
7627            }),
7628        }
7629    }
7630}
7631impl From<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError> for Error {
7632    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
7633        match err {
7634            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7635        }
7636    }
7637}
7638impl<R>
7639    From<
7640        ::aws_smithy_runtime_api::client::result::SdkError<
7641            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7642            R,
7643        >,
7644    > for Error
7645where
7646    R: Send + Sync + std::fmt::Debug + 'static,
7647{
7648    fn from(
7649        err: ::aws_smithy_runtime_api::client::result::SdkError<
7650            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7651            R,
7652        >,
7653    ) -> Self {
7654        match err {
7655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7658                source: err.into(),
7659            }),
7660        }
7661    }
7662}
7663impl From<crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
7664    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
7665        match err {
7666            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
7667                Error::Unhandled(inner)
7668            }
7669        }
7670    }
7671}
7672impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
7673where
7674    R: Send + Sync + std::fmt::Debug + 'static,
7675{
7676    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> Self {
7677        match err {
7678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7681                source: err.into(),
7682            }),
7683        }
7684    }
7685}
7686impl From<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError> for Error {
7687    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
7688        match err {
7689            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
7690        }
7691    }
7692}
7693impl<R>
7694    From<
7695        ::aws_smithy_runtime_api::client::result::SdkError<
7696            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7697            R,
7698        >,
7699    > for Error
7700where
7701    R: Send + Sync + std::fmt::Debug + 'static,
7702{
7703    fn from(
7704        err: ::aws_smithy_runtime_api::client::result::SdkError<
7705            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7706            R,
7707        >,
7708    ) -> Self {
7709        match err {
7710            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7711            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7712                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7713                source: err.into(),
7714            }),
7715        }
7716    }
7717}
7718impl From<crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
7719    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
7720        match err {
7721            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
7722                Error::Unhandled(inner)
7723            }
7724        }
7725    }
7726}
7727impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
7728where
7729    R: Send + Sync + std::fmt::Debug + 'static,
7730{
7731    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
7732        match err {
7733            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7734            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7735                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7736                source: err.into(),
7737            }),
7738        }
7739    }
7740}
7741impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
7742    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
7743        match err {
7744            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
7745        }
7746    }
7747}
7748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
7749    for Error
7750where
7751    R: Send + Sync + std::fmt::Debug + 'static,
7752{
7753    fn from(
7754        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
7755    ) -> Self {
7756        match err {
7757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7760                source: err.into(),
7761            }),
7762        }
7763    }
7764}
7765impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
7766    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
7767        match err {
7768            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7769        }
7770    }
7771}
7772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
7773where
7774    R: Send + Sync + std::fmt::Debug + 'static,
7775{
7776    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
7777        match err {
7778            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7779            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7780                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7781                source: err.into(),
7782            }),
7783        }
7784    }
7785}
7786impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
7787    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
7788        match err {
7789            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
7790        }
7791    }
7792}
7793impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
7794    for Error
7795where
7796    R: Send + Sync + std::fmt::Debug + 'static,
7797{
7798    fn from(
7799        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
7800    ) -> Self {
7801        match err {
7802            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7803            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7804                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7805                source: err.into(),
7806            }),
7807        }
7808    }
7809}
7810impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
7811    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
7812        match err {
7813            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
7814        }
7815    }
7816}
7817impl<R>
7818    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
7819    for Error
7820where
7821    R: Send + Sync + std::fmt::Debug + 'static,
7822{
7823    fn from(
7824        err: ::aws_smithy_runtime_api::client::result::SdkError<
7825            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
7826            R,
7827        >,
7828    ) -> Self {
7829        match err {
7830            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7831            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7832                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7833                source: err.into(),
7834            }),
7835        }
7836    }
7837}
7838impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
7839    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
7840        match err {
7841            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
7842        }
7843    }
7844}
7845impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
7846where
7847    R: Send + Sync + std::fmt::Debug + 'static,
7848{
7849    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
7850        match err {
7851            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7852            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7853                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7854                source: err.into(),
7855            }),
7856        }
7857    }
7858}
7859impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
7860    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
7861        match err {
7862            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
7863        }
7864    }
7865}
7866impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> for Error
7867where
7868    R: Send + Sync + std::fmt::Debug + 'static,
7869{
7870    fn from(
7871        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>,
7872    ) -> Self {
7873        match err {
7874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7877                source: err.into(),
7878            }),
7879        }
7880    }
7881}
7882impl From<crate::operation::describe_fleet_instances::DescribeFleetInstancesError> for Error {
7883    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
7884        match err {
7885            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7886        }
7887    }
7888}
7889impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
7890where
7891    R: Send + Sync + std::fmt::Debug + 'static,
7892{
7893    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
7894        match err {
7895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7898                source: err.into(),
7899            }),
7900        }
7901    }
7902}
7903impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
7904    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
7905        match err {
7906            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
7907        }
7908    }
7909}
7910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
7911where
7912    R: Send + Sync + std::fmt::Debug + 'static,
7913{
7914    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> Self {
7915        match err {
7916            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7917            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7918                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7919                source: err.into(),
7920            }),
7921        }
7922    }
7923}
7924impl From<crate::operation::describe_flow_logs::DescribeFlowLogsError> for Error {
7925    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
7926        match err {
7927            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
7928        }
7929    }
7930}
7931impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
7932    for Error
7933where
7934    R: Send + Sync + std::fmt::Debug + 'static,
7935{
7936    fn from(
7937        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
7938    ) -> Self {
7939        match err {
7940            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7941            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7942                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7943                source: err.into(),
7944            }),
7945        }
7946    }
7947}
7948impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
7949    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
7950        match err {
7951            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7952        }
7953    }
7954}
7955impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
7956where
7957    R: Send + Sync + std::fmt::Debug + 'static,
7958{
7959    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
7960        match err {
7961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7964                source: err.into(),
7965            }),
7966        }
7967    }
7968}
7969impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
7970    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
7971        match err {
7972            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
7973        }
7974    }
7975}
7976impl<R>
7977    From<
7978        ::aws_smithy_runtime_api::client::result::SdkError<
7979            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7980            R,
7981        >,
7982    > for Error
7983where
7984    R: Send + Sync + std::fmt::Debug + 'static,
7985{
7986    fn from(
7987        err: ::aws_smithy_runtime_api::client::result::SdkError<
7988            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7989            R,
7990        >,
7991    ) -> Self {
7992        match err {
7993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7996                source: err.into(),
7997            }),
7998        }
7999    }
8000}
8001impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
8002    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
8003        match err {
8004            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
8005        }
8006    }
8007}
8008impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
8009    for Error
8010where
8011    R: Send + Sync + std::fmt::Debug + 'static,
8012{
8013    fn from(
8014        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
8015    ) -> Self {
8016        match err {
8017            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8018            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8019                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8020                source: err.into(),
8021            }),
8022        }
8023    }
8024}
8025impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
8026    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
8027        match err {
8028            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
8029        }
8030    }
8031}
8032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
8033where
8034    R: Send + Sync + std::fmt::Debug + 'static,
8035{
8036    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
8037        match err {
8038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8041                source: err.into(),
8042            }),
8043        }
8044    }
8045}
8046impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
8047    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
8048        match err {
8049            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
8050        }
8051    }
8052}
8053impl<R>
8054    From<
8055        ::aws_smithy_runtime_api::client::result::SdkError<
8056            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
8057            R,
8058        >,
8059    > for Error
8060where
8061    R: Send + Sync + std::fmt::Debug + 'static,
8062{
8063    fn from(
8064        err: ::aws_smithy_runtime_api::client::result::SdkError<
8065            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
8066            R,
8067        >,
8068    ) -> Self {
8069        match err {
8070            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8071            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8072                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8073                source: err.into(),
8074            }),
8075        }
8076    }
8077}
8078impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
8079    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
8080        match err {
8081            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
8082                Error::Unhandled(inner)
8083            }
8084        }
8085    }
8086}
8087impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
8088    for Error
8089where
8090    R: Send + Sync + std::fmt::Debug + 'static,
8091{
8092    fn from(
8093        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
8094    ) -> Self {
8095        match err {
8096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8099                source: err.into(),
8100            }),
8101        }
8102    }
8103}
8104impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
8105    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
8106        match err {
8107            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
8108        }
8109    }
8110}
8111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
8112where
8113    R: Send + Sync + std::fmt::Debug + 'static,
8114{
8115    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
8116        match err {
8117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8120                source: err.into(),
8121            }),
8122        }
8123    }
8124}
8125impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
8126    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
8127        match err {
8128            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
8129        }
8130    }
8131}
8132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
8133where
8134    R: Send + Sync + std::fmt::Debug + 'static,
8135{
8136    fn from(
8137        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
8138    ) -> Self {
8139        match err {
8140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8143                source: err.into(),
8144            }),
8145        }
8146    }
8147}
8148impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
8149    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
8150        match err {
8151            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
8152        }
8153    }
8154}
8155impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>>
8156    for Error
8157where
8158    R: Send + Sync + std::fmt::Debug + 'static,
8159{
8160    fn from(
8161        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>,
8162    ) -> Self {
8163        match err {
8164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8167                source: err.into(),
8168            }),
8169        }
8170    }
8171}
8172impl From<crate::operation::describe_image_references::DescribeImageReferencesError> for Error {
8173    fn from(err: crate::operation::describe_image_references::DescribeImageReferencesError) -> Self {
8174        match err {
8175            crate::operation::describe_image_references::DescribeImageReferencesError::Unhandled(inner) => Error::Unhandled(inner),
8176        }
8177    }
8178}
8179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
8180where
8181    R: Send + Sync + std::fmt::Debug + 'static,
8182{
8183    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
8184        match err {
8185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8188                source: err.into(),
8189            }),
8190        }
8191    }
8192}
8193impl From<crate::operation::describe_images::DescribeImagesError> for Error {
8194    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
8195        match err {
8196            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
8197        }
8198    }
8199}
8200impl<R>
8201    From<
8202        ::aws_smithy_runtime_api::client::result::SdkError<
8203            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
8204            R,
8205        >,
8206    > for Error
8207where
8208    R: Send + Sync + std::fmt::Debug + 'static,
8209{
8210    fn from(
8211        err: ::aws_smithy_runtime_api::client::result::SdkError<
8212            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
8213            R,
8214        >,
8215    ) -> Self {
8216        match err {
8217            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8218            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8219                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8220                source: err.into(),
8221            }),
8222        }
8223    }
8224}
8225impl From<crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError> for Error {
8226    fn from(err: crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError) -> Self {
8227        match err {
8228            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError::Unhandled(inner) => Error::Unhandled(inner),
8229        }
8230    }
8231}
8232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>>
8233    for Error
8234where
8235    R: Send + Sync + std::fmt::Debug + 'static,
8236{
8237    fn from(
8238        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>,
8239    ) -> Self {
8240        match err {
8241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8244                source: err.into(),
8245            }),
8246        }
8247    }
8248}
8249impl From<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError> for Error {
8250    fn from(err: crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError) -> Self {
8251        match err {
8252            crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError::Unhandled(inner) => Error::Unhandled(inner),
8253        }
8254    }
8255}
8256impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
8257    for Error
8258where
8259    R: Send + Sync + std::fmt::Debug + 'static,
8260{
8261    fn from(
8262        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
8263    ) -> Self {
8264        match err {
8265            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8266            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8267                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8268                source: err.into(),
8269            }),
8270        }
8271    }
8272}
8273impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
8274    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
8275        match err {
8276            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
8277        }
8278    }
8279}
8280impl<R>
8281    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
8282    for Error
8283where
8284    R: Send + Sync + std::fmt::Debug + 'static,
8285{
8286    fn from(
8287        err: ::aws_smithy_runtime_api::client::result::SdkError<
8288            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
8289            R,
8290        >,
8291    ) -> Self {
8292        match err {
8293            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8294            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8295                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8296                source: err.into(),
8297            }),
8298        }
8299    }
8300}
8301impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
8302    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
8303        match err {
8304            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
8305        }
8306    }
8307}
8308impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
8309    for Error
8310where
8311    R: Send + Sync + std::fmt::Debug + 'static,
8312{
8313    fn from(
8314        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
8315    ) -> Self {
8316        match err {
8317            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8318            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8319                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8320                source: err.into(),
8321            }),
8322        }
8323    }
8324}
8325impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
8326    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
8327        match err {
8328            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
8329        }
8330    }
8331}
8332impl<R>
8333    From<
8334        ::aws_smithy_runtime_api::client::result::SdkError<
8335            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
8336            R,
8337        >,
8338    > for Error
8339where
8340    R: Send + Sync + std::fmt::Debug + 'static,
8341{
8342    fn from(
8343        err: ::aws_smithy_runtime_api::client::result::SdkError<
8344            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
8345            R,
8346        >,
8347    ) -> Self {
8348        match err {
8349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8352                source: err.into(),
8353            }),
8354        }
8355    }
8356}
8357impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
8358    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
8359        match err {
8360            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
8361        }
8362    }
8363}
8364impl<R>
8365    From<
8366        ::aws_smithy_runtime_api::client::result::SdkError<
8367            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
8368            R,
8369        >,
8370    > for Error
8371where
8372    R: Send + Sync + std::fmt::Debug + 'static,
8373{
8374    fn from(
8375        err: ::aws_smithy_runtime_api::client::result::SdkError<
8376            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
8377            R,
8378        >,
8379    ) -> Self {
8380        match err {
8381            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8382            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8383                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8384                source: err.into(),
8385            }),
8386        }
8387    }
8388}
8389impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
8390    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
8391        match err {
8392            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
8393                Error::Unhandled(inner)
8394            }
8395        }
8396    }
8397}
8398impl<R>
8399    From<
8400        ::aws_smithy_runtime_api::client::result::SdkError<
8401            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8402            R,
8403        >,
8404    > for Error
8405where
8406    R: Send + Sync + std::fmt::Debug + 'static,
8407{
8408    fn from(
8409        err: ::aws_smithy_runtime_api::client::result::SdkError<
8410            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8411            R,
8412        >,
8413    ) -> Self {
8414        match err {
8415            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8416            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8417                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8418                source: err.into(),
8419            }),
8420        }
8421    }
8422}
8423impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
8424    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
8425        match err {
8426            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
8427                Error::Unhandled(inner)
8428            }
8429        }
8430    }
8431}
8432impl<R>
8433    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
8434    for Error
8435where
8436    R: Send + Sync + std::fmt::Debug + 'static,
8437{
8438    fn from(
8439        err: ::aws_smithy_runtime_api::client::result::SdkError<
8440            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
8441            R,
8442        >,
8443    ) -> Self {
8444        match err {
8445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8448                source: err.into(),
8449            }),
8450        }
8451    }
8452}
8453impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
8454    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
8455        match err {
8456            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
8457        }
8458    }
8459}
8460impl<R>
8461    From<
8462        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
8463    > for Error
8464where
8465    R: Send + Sync + std::fmt::Debug + 'static,
8466{
8467    fn from(
8468        err: ::aws_smithy_runtime_api::client::result::SdkError<
8469            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
8470            R,
8471        >,
8472    ) -> Self {
8473        match err {
8474            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8475            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8476                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8477                source: err.into(),
8478            }),
8479        }
8480    }
8481}
8482impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
8483    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
8484        match err {
8485            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8486        }
8487    }
8488}
8489impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
8490where
8491    R: Send + Sync + std::fmt::Debug + 'static,
8492{
8493    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> Self {
8494        match err {
8495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8498                source: err.into(),
8499            }),
8500        }
8501    }
8502}
8503impl From<crate::operation::describe_instances::DescribeInstancesError> for Error {
8504    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
8505        match err {
8506            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8507        }
8508    }
8509}
8510impl<R>
8511    From<
8512        ::aws_smithy_runtime_api::client::result::SdkError<
8513            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError,
8514            R,
8515        >,
8516    > for Error
8517where
8518    R: Send + Sync + std::fmt::Debug + 'static,
8519{
8520    fn from(
8521        err: ::aws_smithy_runtime_api::client::result::SdkError<
8522            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError,
8523            R,
8524        >,
8525    ) -> Self {
8526        match err {
8527            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8528            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8529                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8530                source: err.into(),
8531            }),
8532        }
8533    }
8534}
8535impl From<crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError> for Error {
8536    fn from(err: crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError) -> Self {
8537        match err {
8538            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError::Unhandled(inner) => {
8539                Error::Unhandled(inner)
8540            }
8541        }
8542    }
8543}
8544impl<R>
8545    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError, R>>
8546    for Error
8547where
8548    R: Send + Sync + std::fmt::Debug + 'static,
8549{
8550    fn from(
8551        err: ::aws_smithy_runtime_api::client::result::SdkError<
8552            crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError,
8553            R,
8554        >,
8555    ) -> Self {
8556        match err {
8557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8560                source: err.into(),
8561            }),
8562        }
8563    }
8564}
8565impl From<crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError> for Error {
8566    fn from(err: crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError) -> Self {
8567        match err {
8568            crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError::Unhandled(inner) => Error::Unhandled(inner),
8569        }
8570    }
8571}
8572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
8573where
8574    R: Send + Sync + std::fmt::Debug + 'static,
8575{
8576    fn from(
8577        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
8578    ) -> Self {
8579        match err {
8580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8583                source: err.into(),
8584            }),
8585        }
8586    }
8587}
8588impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
8589    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
8590        match err {
8591            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
8592        }
8593    }
8594}
8595impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
8596    for Error
8597where
8598    R: Send + Sync + std::fmt::Debug + 'static,
8599{
8600    fn from(
8601        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>,
8602    ) -> Self {
8603        match err {
8604            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8605            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8606                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8607                source: err.into(),
8608            }),
8609        }
8610    }
8611}
8612impl From<crate::operation::describe_instance_topology::DescribeInstanceTopologyError> for Error {
8613    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
8614        match err {
8615            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
8616        }
8617    }
8618}
8619impl<R>
8620    From<
8621        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
8622    > for Error
8623where
8624    R: Send + Sync + std::fmt::Debug + 'static,
8625{
8626    fn from(
8627        err: ::aws_smithy_runtime_api::client::result::SdkError<
8628            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
8629            R,
8630        >,
8631    ) -> Self {
8632        match err {
8633            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8634            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8635                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8636                source: err.into(),
8637            }),
8638        }
8639    }
8640}
8641impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
8642    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
8643        match err {
8644            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
8645        }
8646    }
8647}
8648impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
8649where
8650    R: Send + Sync + std::fmt::Debug + 'static,
8651{
8652    fn from(
8653        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
8654    ) -> Self {
8655        match err {
8656            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8657            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8658                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8659                source: err.into(),
8660            }),
8661        }
8662    }
8663}
8664impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
8665    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
8666        match err {
8667            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
8668        }
8669    }
8670}
8671impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
8672    for Error
8673where
8674    R: Send + Sync + std::fmt::Debug + 'static,
8675{
8676    fn from(
8677        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
8678    ) -> Self {
8679        match err {
8680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8683                source: err.into(),
8684            }),
8685        }
8686    }
8687}
8688impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
8689    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
8690        match err {
8691            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8692        }
8693    }
8694}
8695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
8696where
8697    R: Send + Sync + std::fmt::Debug + 'static,
8698{
8699    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
8700        match err {
8701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8704                source: err.into(),
8705            }),
8706        }
8707    }
8708}
8709impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
8710    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
8711        match err {
8712            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
8713        }
8714    }
8715}
8716impl<R>
8717    From<
8718        ::aws_smithy_runtime_api::client::result::SdkError<
8719            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8720            R,
8721        >,
8722    > for Error
8723where
8724    R: Send + Sync + std::fmt::Debug + 'static,
8725{
8726    fn from(
8727        err: ::aws_smithy_runtime_api::client::result::SdkError<
8728            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8729            R,
8730        >,
8731    ) -> Self {
8732        match err {
8733            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8734            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8735                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8736                source: err.into(),
8737            }),
8738        }
8739    }
8740}
8741impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
8742    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
8743        match err {
8744            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
8745                inner,
8746            ) => Error::Unhandled(inner),
8747        }
8748    }
8749}
8750impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_policies::DescribeIpamPoliciesError, R>> for Error
8751where
8752    R: Send + Sync + std::fmt::Debug + 'static,
8753{
8754    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_policies::DescribeIpamPoliciesError, R>) -> Self {
8755        match err {
8756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8759                source: err.into(),
8760            }),
8761        }
8762    }
8763}
8764impl From<crate::operation::describe_ipam_policies::DescribeIpamPoliciesError> for Error {
8765    fn from(err: crate::operation::describe_ipam_policies::DescribeIpamPoliciesError) -> Self {
8766        match err {
8767            crate::operation::describe_ipam_policies::DescribeIpamPoliciesError::Unhandled(inner) => Error::Unhandled(inner),
8768        }
8769    }
8770}
8771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
8772where
8773    R: Send + Sync + std::fmt::Debug + 'static,
8774{
8775    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
8776        match err {
8777            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8778            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8779                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8780                source: err.into(),
8781            }),
8782        }
8783    }
8784}
8785impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
8786    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
8787        match err {
8788            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
8789        }
8790    }
8791}
8792impl<R>
8793    From<
8794        ::aws_smithy_runtime_api::client::result::SdkError<
8795            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError,
8796            R,
8797        >,
8798    > for Error
8799where
8800    R: Send + Sync + std::fmt::Debug + 'static,
8801{
8802    fn from(
8803        err: ::aws_smithy_runtime_api::client::result::SdkError<
8804            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError,
8805            R,
8806        >,
8807    ) -> Self {
8808        match err {
8809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8812                source: err.into(),
8813            }),
8814        }
8815    }
8816}
8817impl From<crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError> for Error {
8818    fn from(err: crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError) -> Self {
8819        match err {
8820            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError::Unhandled(inner) => Error::Unhandled(inner),
8821        }
8822    }
8823}
8824impl<R>
8825    From<
8826        ::aws_smithy_runtime_api::client::result::SdkError<
8827            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError,
8828            R,
8829        >,
8830    > for Error
8831where
8832    R: Send + Sync + std::fmt::Debug + 'static,
8833{
8834    fn from(
8835        err: ::aws_smithy_runtime_api::client::result::SdkError<
8836            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError,
8837            R,
8838        >,
8839    ) -> Self {
8840        match err {
8841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8844                source: err.into(),
8845            }),
8846        }
8847    }
8848}
8849impl From<crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError> for Error {
8850    fn from(err: crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError) -> Self {
8851        match err {
8852            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError::Unhandled(inner) => {
8853                Error::Unhandled(inner)
8854            }
8855        }
8856    }
8857}
8858impl<R>
8859    From<
8860        ::aws_smithy_runtime_api::client::result::SdkError<
8861            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8862            R,
8863        >,
8864    > for Error
8865where
8866    R: Send + Sync + std::fmt::Debug + 'static,
8867{
8868    fn from(
8869        err: ::aws_smithy_runtime_api::client::result::SdkError<
8870            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8871            R,
8872        >,
8873    ) -> Self {
8874        match err {
8875            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8876            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8877                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8878                source: err.into(),
8879            }),
8880        }
8881    }
8882}
8883impl From<crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
8884    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
8885        match err {
8886            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
8887        }
8888    }
8889}
8890impl<R>
8891    From<
8892        ::aws_smithy_runtime_api::client::result::SdkError<
8893            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8894            R,
8895        >,
8896    > for Error
8897where
8898    R: Send + Sync + std::fmt::Debug + 'static,
8899{
8900    fn from(
8901        err: ::aws_smithy_runtime_api::client::result::SdkError<
8902            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8903            R,
8904        >,
8905    ) -> Self {
8906        match err {
8907            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8908            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8909                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8910                source: err.into(),
8911            }),
8912        }
8913    }
8914}
8915impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
8916    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
8917        match err {
8918            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
8919                Error::Unhandled(inner)
8920            }
8921        }
8922    }
8923}
8924impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
8925where
8926    R: Send + Sync + std::fmt::Debug + 'static,
8927{
8928    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
8929        match err {
8930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8933                source: err.into(),
8934            }),
8935        }
8936    }
8937}
8938impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
8939    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
8940        match err {
8941            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
8942        }
8943    }
8944}
8945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
8946where
8947    R: Send + Sync + std::fmt::Debug + 'static,
8948{
8949    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
8950        match err {
8951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8954                source: err.into(),
8955            }),
8956        }
8957    }
8958}
8959impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
8960    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
8961        match err {
8962            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
8963        }
8964    }
8965}
8966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
8967where
8968    R: Send + Sync + std::fmt::Debug + 'static,
8969{
8970    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
8971        match err {
8972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8975                source: err.into(),
8976            }),
8977        }
8978    }
8979}
8980impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
8981    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
8982        match err {
8983            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8984        }
8985    }
8986}
8987impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
8988where
8989    R: Send + Sync + std::fmt::Debug + 'static,
8990{
8991    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> Self {
8992        match err {
8993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8996                source: err.into(),
8997            }),
8998        }
8999    }
9000}
9001impl From<crate::operation::describe_key_pairs::DescribeKeyPairsError> for Error {
9002    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
9003        match err {
9004            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
9005        }
9006    }
9007}
9008impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
9009    for Error
9010where
9011    R: Send + Sync + std::fmt::Debug + 'static,
9012{
9013    fn from(
9014        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>,
9015    ) -> Self {
9016        match err {
9017            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9018            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9019                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9020                source: err.into(),
9021            }),
9022        }
9023    }
9024}
9025impl From<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError> for Error {
9026    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
9027        match err {
9028            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
9029        }
9030    }
9031}
9032impl<R>
9033    From<
9034        ::aws_smithy_runtime_api::client::result::SdkError<
9035            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
9036            R,
9037        >,
9038    > for Error
9039where
9040    R: Send + Sync + std::fmt::Debug + 'static,
9041{
9042    fn from(
9043        err: ::aws_smithy_runtime_api::client::result::SdkError<
9044            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
9045            R,
9046        >,
9047    ) -> Self {
9048        match err {
9049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9052                source: err.into(),
9053            }),
9054        }
9055    }
9056}
9057impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
9058    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
9059        match err {
9060            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
9061        }
9062    }
9063}
9064impl<R>
9065    From<
9066        ::aws_smithy_runtime_api::client::result::SdkError<
9067            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
9068            R,
9069        >,
9070    > for Error
9071where
9072    R: Send + Sync + std::fmt::Debug + 'static,
9073{
9074    fn from(
9075        err: ::aws_smithy_runtime_api::client::result::SdkError<
9076            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
9077            R,
9078        >,
9079    ) -> Self {
9080        match err {
9081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9084                source: err.into(),
9085            }),
9086        }
9087    }
9088}
9089impl From<crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
9090    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
9091        match err {
9092            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
9093        }
9094    }
9095}
9096impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>> for Error where R: Send + Sync + std::fmt::Debug + 'static {
9097    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
9098        match err {
9099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9100            _ => Error::Unhandled(
9101                                        crate::error::sealed_unhandled::Unhandled {
9102                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9103                                            source: err.into(),
9104                                        }
9105                                    ),
9106        }
9107    }
9108}
9109impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
9110    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
9111        match err {
9112            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
9113        }
9114    }
9115}
9116impl<R>
9117    From<
9118        ::aws_smithy_runtime_api::client::result::SdkError<
9119            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
9120            R,
9121        >,
9122    > for Error
9123where
9124    R: Send + Sync + std::fmt::Debug + 'static,
9125{
9126    fn from(
9127        err: ::aws_smithy_runtime_api::client::result::SdkError<
9128            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
9129            R,
9130        >,
9131    ) -> Self {
9132        match err {
9133            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9134            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9135                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9136                source: err.into(),
9137            }),
9138        }
9139    }
9140}
9141impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
9142    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
9143        match err {
9144            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
9145                inner,
9146            ) => Error::Unhandled(inner),
9147        }
9148    }
9149}
9150impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
9151where
9152    R: Send + Sync + std::fmt::Debug + 'static,
9153{
9154    fn from(
9155        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
9156    ) -> Self {
9157        match err {
9158            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9159            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9160                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9161                source: err.into(),
9162            }),
9163        }
9164    }
9165}
9166impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
9167    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
9168        match err {
9169            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
9170        }
9171    }
9172}
9173impl<R>
9174    From<
9175        ::aws_smithy_runtime_api::client::result::SdkError<
9176            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
9177            R,
9178        >,
9179    > for Error
9180where
9181    R: Send + Sync + std::fmt::Debug + 'static,
9182{
9183    fn from(
9184        err: ::aws_smithy_runtime_api::client::result::SdkError<
9185            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
9186            R,
9187        >,
9188    ) -> Self {
9189        match err {
9190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9193                source: err.into(),
9194            }),
9195        }
9196    }
9197}
9198impl From<crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
9199    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
9200        match err {
9201            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
9202                Error::Unhandled(inner)
9203            }
9204        }
9205    }
9206}
9207impl<R>
9208    From<
9209        ::aws_smithy_runtime_api::client::result::SdkError<
9210            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
9211            R,
9212        >,
9213    > for Error
9214where
9215    R: Send + Sync + std::fmt::Debug + 'static,
9216{
9217    fn from(
9218        err: ::aws_smithy_runtime_api::client::result::SdkError<
9219            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
9220            R,
9221        >,
9222    ) -> Self {
9223        match err {
9224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9227                source: err.into(),
9228            }),
9229        }
9230    }
9231}
9232impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
9233    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
9234        match err {
9235            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
9236                Error::Unhandled(inner)
9237            }
9238        }
9239    }
9240}
9241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
9242    for Error
9243where
9244    R: Send + Sync + std::fmt::Debug + 'static,
9245{
9246    fn from(
9247        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
9248    ) -> Self {
9249        match err {
9250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9253                source: err.into(),
9254            }),
9255        }
9256    }
9257}
9258impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
9259    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
9260        match err {
9261            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
9262        }
9263    }
9264}
9265impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
9266where
9267    R: Send + Sync + std::fmt::Debug + 'static,
9268{
9269    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
9270        match err {
9271            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9272            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9273                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9274                source: err.into(),
9275            }),
9276        }
9277    }
9278}
9279impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
9280    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
9281        match err {
9282            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
9283        }
9284    }
9285}
9286impl<R>
9287    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError, R>>
9288    for Error
9289where
9290    R: Send + Sync + std::fmt::Debug + 'static,
9291{
9292    fn from(
9293        err: ::aws_smithy_runtime_api::client::result::SdkError<
9294            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError,
9295            R,
9296        >,
9297    ) -> Self {
9298        match err {
9299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9302                source: err.into(),
9303            }),
9304        }
9305    }
9306}
9307impl From<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError> for Error {
9308    fn from(err: crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError) -> Self {
9309        match err {
9310            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError::Unhandled(inner) => Error::Unhandled(inner),
9311        }
9312    }
9313}
9314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
9315    for Error
9316where
9317    R: Send + Sync + std::fmt::Debug + 'static,
9318{
9319    fn from(
9320        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
9321    ) -> Self {
9322        match err {
9323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9326                source: err.into(),
9327            }),
9328        }
9329    }
9330}
9331impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
9332    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
9333        match err {
9334            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
9335        }
9336    }
9337}
9338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
9339    for Error
9340where
9341    R: Send + Sync + std::fmt::Debug + 'static,
9342{
9343    fn from(
9344        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
9345    ) -> Self {
9346        match err {
9347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9350                source: err.into(),
9351            }),
9352        }
9353    }
9354}
9355impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
9356    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
9357        match err {
9358            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
9359        }
9360    }
9361}
9362impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
9363where
9364    R: Send + Sync + std::fmt::Debug + 'static,
9365{
9366    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
9367        match err {
9368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9371                source: err.into(),
9372            }),
9373        }
9374    }
9375}
9376impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
9377    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
9378        match err {
9379            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
9380        }
9381    }
9382}
9383impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
9384where
9385    R: Send + Sync + std::fmt::Debug + 'static,
9386{
9387    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
9388        match err {
9389            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9390            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9391                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9392                source: err.into(),
9393            }),
9394        }
9395    }
9396}
9397impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
9398    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
9399        match err {
9400            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
9401        }
9402    }
9403}
9404impl<R>
9405    From<
9406        ::aws_smithy_runtime_api::client::result::SdkError<
9407            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
9408            R,
9409        >,
9410    > for Error
9411where
9412    R: Send + Sync + std::fmt::Debug + 'static,
9413{
9414    fn from(
9415        err: ::aws_smithy_runtime_api::client::result::SdkError<
9416            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
9417            R,
9418        >,
9419    ) -> Self {
9420        match err {
9421            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9422            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9423                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9424                source: err.into(),
9425            }),
9426        }
9427    }
9428}
9429impl From<crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
9430    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
9431        match err {
9432            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
9433                Error::Unhandled(inner)
9434            }
9435        }
9436    }
9437}
9438impl<R>
9439    From<
9440        ::aws_smithy_runtime_api::client::result::SdkError<
9441            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
9442            R,
9443        >,
9444    > for Error
9445where
9446    R: Send + Sync + std::fmt::Debug + 'static,
9447{
9448    fn from(
9449        err: ::aws_smithy_runtime_api::client::result::SdkError<
9450            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
9451            R,
9452        >,
9453    ) -> Self {
9454        match err {
9455            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9456            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9457                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9458                source: err.into(),
9459            }),
9460        }
9461    }
9462}
9463impl From<crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
9464    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
9465        match err {
9466            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
9467                Error::Unhandled(inner)
9468            }
9469        }
9470    }
9471}
9472impl<R>
9473    From<
9474        ::aws_smithy_runtime_api::client::result::SdkError<
9475            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
9476            R,
9477        >,
9478    > for Error
9479where
9480    R: Send + Sync + std::fmt::Debug + 'static,
9481{
9482    fn from(
9483        err: ::aws_smithy_runtime_api::client::result::SdkError<
9484            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
9485            R,
9486        >,
9487    ) -> Self {
9488        match err {
9489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9492                source: err.into(),
9493            }),
9494        }
9495    }
9496}
9497impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
9498    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
9499        match err {
9500            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
9501        }
9502    }
9503}
9504impl<R>
9505    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
9506    for Error
9507where
9508    R: Send + Sync + std::fmt::Debug + 'static,
9509{
9510    fn from(
9511        err: ::aws_smithy_runtime_api::client::result::SdkError<
9512            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
9513            R,
9514        >,
9515    ) -> Self {
9516        match err {
9517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9520                source: err.into(),
9521            }),
9522        }
9523    }
9524}
9525impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
9526    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
9527        match err {
9528            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
9529        }
9530    }
9531}
9532impl<R>
9533    From<
9534        ::aws_smithy_runtime_api::client::result::SdkError<
9535            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
9536            R,
9537        >,
9538    > for Error
9539where
9540    R: Send + Sync + std::fmt::Debug + 'static,
9541{
9542    fn from(
9543        err: ::aws_smithy_runtime_api::client::result::SdkError<
9544            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
9545            R,
9546        >,
9547    ) -> Self {
9548        match err {
9549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9552                source: err.into(),
9553            }),
9554        }
9555    }
9556}
9557impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
9558    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
9559        match err {
9560            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
9561                Error::Unhandled(inner)
9562            }
9563        }
9564    }
9565}
9566impl<R>
9567    From<
9568        ::aws_smithy_runtime_api::client::result::SdkError<
9569            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9570            R,
9571        >,
9572    > for Error
9573where
9574    R: Send + Sync + std::fmt::Debug + 'static,
9575{
9576    fn from(
9577        err: ::aws_smithy_runtime_api::client::result::SdkError<
9578            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9579            R,
9580        >,
9581    ) -> Self {
9582        match err {
9583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9586                source: err.into(),
9587            }),
9588        }
9589    }
9590}
9591impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
9592    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
9593        match err {
9594            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
9595                Error::Unhandled(inner)
9596            }
9597        }
9598    }
9599}
9600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
9601    for Error
9602where
9603    R: Send + Sync + std::fmt::Debug + 'static,
9604{
9605    fn from(
9606        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
9607    ) -> Self {
9608        match err {
9609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9612                source: err.into(),
9613            }),
9614        }
9615    }
9616}
9617impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
9618    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
9619        match err {
9620            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
9621        }
9622    }
9623}
9624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>> for Error
9625where
9626    R: Send + Sync + std::fmt::Debug + 'static,
9627{
9628    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>) -> Self {
9629        match err {
9630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9633                source: err.into(),
9634            }),
9635        }
9636    }
9637}
9638impl From<crate::operation::describe_outpost_lags::DescribeOutpostLagsError> for Error {
9639    fn from(err: crate::operation::describe_outpost_lags::DescribeOutpostLagsError) -> Self {
9640        match err {
9641            crate::operation::describe_outpost_lags::DescribeOutpostLagsError::Unhandled(inner) => Error::Unhandled(inner),
9642        }
9643    }
9644}
9645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
9646    for Error
9647where
9648    R: Send + Sync + std::fmt::Debug + 'static,
9649{
9650    fn from(
9651        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
9652    ) -> Self {
9653        match err {
9654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9657                source: err.into(),
9658            }),
9659        }
9660    }
9661}
9662impl From<crate::operation::describe_placement_groups::DescribePlacementGroupsError> for Error {
9663    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
9664        match err {
9665            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9666        }
9667    }
9668}
9669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
9670where
9671    R: Send + Sync + std::fmt::Debug + 'static,
9672{
9673    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
9674        match err {
9675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9678                source: err.into(),
9679            }),
9680        }
9681    }
9682}
9683impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
9684    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
9685        match err {
9686            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
9687        }
9688    }
9689}
9690impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
9691    for Error
9692where
9693    R: Send + Sync + std::fmt::Debug + 'static,
9694{
9695    fn from(
9696        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
9697    ) -> Self {
9698        match err {
9699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9702                source: err.into(),
9703            }),
9704        }
9705    }
9706}
9707impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
9708    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
9709        match err {
9710            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
9711        }
9712    }
9713}
9714impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
9715    for Error
9716where
9717    R: Send + Sync + std::fmt::Debug + 'static,
9718{
9719    fn from(
9720        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
9721    ) -> Self {
9722        match err {
9723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9726                source: err.into(),
9727            }),
9728        }
9729    }
9730}
9731impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
9732    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
9733        match err {
9734            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
9735        }
9736    }
9737}
9738impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
9739where
9740    R: Send + Sync + std::fmt::Debug + 'static,
9741{
9742    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
9743        match err {
9744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9747                source: err.into(),
9748            }),
9749        }
9750    }
9751}
9752impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
9753    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
9754        match err {
9755            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
9756        }
9757    }
9758}
9759impl<R>
9760    From<
9761        ::aws_smithy_runtime_api::client::result::SdkError<
9762            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9763            R,
9764        >,
9765    > for Error
9766where
9767    R: Send + Sync + std::fmt::Debug + 'static,
9768{
9769    fn from(
9770        err: ::aws_smithy_runtime_api::client::result::SdkError<
9771            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9772            R,
9773        >,
9774    ) -> Self {
9775        match err {
9776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9779                source: err.into(),
9780            }),
9781        }
9782    }
9783}
9784impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
9785    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
9786        match err {
9787            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
9788        }
9789    }
9790}
9791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
9792    for Error
9793where
9794    R: Send + Sync + std::fmt::Debug + 'static,
9795{
9796    fn from(
9797        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
9798    ) -> Self {
9799        match err {
9800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9803                source: err.into(),
9804            }),
9805        }
9806    }
9807}
9808impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
9809    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
9810        match err {
9811            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9812        }
9813    }
9814}
9815impl<R>
9816    From<
9817        ::aws_smithy_runtime_api::client::result::SdkError<
9818            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9819            R,
9820        >,
9821    > for Error
9822where
9823    R: Send + Sync + std::fmt::Debug + 'static,
9824{
9825    fn from(
9826        err: ::aws_smithy_runtime_api::client::result::SdkError<
9827            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9828            R,
9829        >,
9830    ) -> Self {
9831        match err {
9832            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9833            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9834                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9835                source: err.into(),
9836            }),
9837        }
9838    }
9839}
9840impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
9841    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
9842        match err {
9843            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
9844                Error::Unhandled(inner)
9845            }
9846        }
9847    }
9848}
9849impl<R>
9850    From<
9851        ::aws_smithy_runtime_api::client::result::SdkError<
9852            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9853            R,
9854        >,
9855    > for Error
9856where
9857    R: Send + Sync + std::fmt::Debug + 'static,
9858{
9859    fn from(
9860        err: ::aws_smithy_runtime_api::client::result::SdkError<
9861            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9862            R,
9863        >,
9864    ) -> Self {
9865        match err {
9866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9869                source: err.into(),
9870            }),
9871        }
9872    }
9873}
9874impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
9875    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
9876        match err {
9877            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
9878                Error::Unhandled(inner)
9879            }
9880        }
9881    }
9882}
9883impl<R>
9884    From<
9885        ::aws_smithy_runtime_api::client::result::SdkError<
9886            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9887            R,
9888        >,
9889    > for Error
9890where
9891    R: Send + Sync + std::fmt::Debug + 'static,
9892{
9893    fn from(
9894        err: ::aws_smithy_runtime_api::client::result::SdkError<
9895            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9896            R,
9897        >,
9898    ) -> Self {
9899        match err {
9900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9903                source: err.into(),
9904            }),
9905        }
9906    }
9907}
9908impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
9909    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
9910        match err {
9911            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
9912                Error::Unhandled(inner)
9913            }
9914        }
9915    }
9916}
9917impl<R>
9918    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError, R>>
9919    for Error
9920where
9921    R: Send + Sync + std::fmt::Debug + 'static,
9922{
9923    fn from(
9924        err: ::aws_smithy_runtime_api::client::result::SdkError<
9925            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError,
9926            R,
9927        >,
9928    ) -> Self {
9929        match err {
9930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9933                source: err.into(),
9934            }),
9935        }
9936    }
9937}
9938impl From<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError> for Error {
9939    fn from(err: crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError) -> Self {
9940        match err {
9941            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
9942        }
9943    }
9944}
9945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>>
9946    for Error
9947where
9948    R: Send + Sync + std::fmt::Debug + 'static,
9949{
9950    fn from(
9951        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>,
9952    ) -> Self {
9953        match err {
9954            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9955            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9956                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9957                source: err.into(),
9958            }),
9959        }
9960    }
9961}
9962impl From<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError> for Error {
9963    fn from(err: crate::operation::describe_route_server_peers::DescribeRouteServerPeersError) -> Self {
9964        match err {
9965            crate::operation::describe_route_server_peers::DescribeRouteServerPeersError::Unhandled(inner) => Error::Unhandled(inner),
9966        }
9967    }
9968}
9969impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>> for Error
9970where
9971    R: Send + Sync + std::fmt::Debug + 'static,
9972{
9973    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>) -> Self {
9974        match err {
9975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9978                source: err.into(),
9979            }),
9980        }
9981    }
9982}
9983impl From<crate::operation::describe_route_servers::DescribeRouteServersError> for Error {
9984    fn from(err: crate::operation::describe_route_servers::DescribeRouteServersError) -> Self {
9985        match err {
9986            crate::operation::describe_route_servers::DescribeRouteServersError::Unhandled(inner) => Error::Unhandled(inner),
9987        }
9988    }
9989}
9990impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
9991where
9992    R: Send + Sync + std::fmt::Debug + 'static,
9993{
9994    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> Self {
9995        match err {
9996            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9997            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9998                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9999                source: err.into(),
10000            }),
10001        }
10002    }
10003}
10004impl From<crate::operation::describe_route_tables::DescribeRouteTablesError> for Error {
10005    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
10006        match err {
10007            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
10008        }
10009    }
10010}
10011impl<R>
10012    From<
10013        ::aws_smithy_runtime_api::client::result::SdkError<
10014            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
10015            R,
10016        >,
10017    > for Error
10018where
10019    R: Send + Sync + std::fmt::Debug + 'static,
10020{
10021    fn from(
10022        err: ::aws_smithy_runtime_api::client::result::SdkError<
10023            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
10024            R,
10025        >,
10026    ) -> Self {
10027        match err {
10028            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10029            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10030                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10031                source: err.into(),
10032            }),
10033        }
10034    }
10035}
10036impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
10037    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
10038        match err {
10039            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
10040                Error::Unhandled(inner)
10041            }
10042        }
10043    }
10044}
10045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>>
10046    for Error
10047where
10048    R: Send + Sync + std::fmt::Debug + 'static,
10049{
10050    fn from(
10051        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
10052    ) -> Self {
10053        match err {
10054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10057                source: err.into(),
10058            }),
10059        }
10060    }
10061}
10062impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
10063    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
10064        match err {
10065            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10066        }
10067    }
10068}
10069impl<R>
10070    From<
10071        ::aws_smithy_runtime_api::client::result::SdkError<
10072            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
10073            R,
10074        >,
10075    > for Error
10076where
10077    R: Send + Sync + std::fmt::Debug + 'static,
10078{
10079    fn from(
10080        err: ::aws_smithy_runtime_api::client::result::SdkError<
10081            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
10082            R,
10083        >,
10084    ) -> Self {
10085        match err {
10086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10089                source: err.into(),
10090            }),
10091        }
10092    }
10093}
10094impl From<crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError> for Error {
10095    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
10096        match err {
10097            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
10098        }
10099    }
10100}
10101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>>
10102    for Error
10103where
10104    R: Send + Sync + std::fmt::Debug + 'static,
10105{
10106    fn from(
10107        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>,
10108    ) -> Self {
10109        match err {
10110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10113                source: err.into(),
10114            }),
10115        }
10116    }
10117}
10118impl From<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError> for Error {
10119    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
10120        match err {
10121            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
10122        }
10123    }
10124}
10125impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
10126where
10127    R: Send + Sync + std::fmt::Debug + 'static,
10128{
10129    fn from(
10130        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
10131    ) -> Self {
10132        match err {
10133            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10134            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10135                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10136                source: err.into(),
10137            }),
10138        }
10139    }
10140}
10141impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
10142    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
10143        match err {
10144            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10145        }
10146    }
10147}
10148impl<R>
10149    From<
10150        ::aws_smithy_runtime_api::client::result::SdkError<
10151            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
10152            R,
10153        >,
10154    > for Error
10155where
10156    R: Send + Sync + std::fmt::Debug + 'static,
10157{
10158    fn from(
10159        err: ::aws_smithy_runtime_api::client::result::SdkError<
10160            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
10161            R,
10162        >,
10163    ) -> Self {
10164        match err {
10165            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10166            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10167                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10168                source: err.into(),
10169            }),
10170        }
10171    }
10172}
10173impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
10174    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
10175        match err {
10176            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
10177                Error::Unhandled(inner)
10178            }
10179        }
10180    }
10181}
10182impl<R>
10183    From<
10184        ::aws_smithy_runtime_api::client::result::SdkError<
10185            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
10186            R,
10187        >,
10188    > for Error
10189where
10190    R: Send + Sync + std::fmt::Debug + 'static,
10191{
10192    fn from(
10193        err: ::aws_smithy_runtime_api::client::result::SdkError<
10194            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
10195            R,
10196        >,
10197    ) -> Self {
10198        match err {
10199            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10200            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10201                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10202                source: err.into(),
10203            }),
10204        }
10205    }
10206}
10207impl From<crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError> for Error {
10208    fn from(err: crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError) -> Self {
10209        match err {
10210            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError::Unhandled(inner) => {
10211                Error::Unhandled(inner)
10212            }
10213        }
10214    }
10215}
10216impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
10217    for Error
10218where
10219    R: Send + Sync + std::fmt::Debug + 'static,
10220{
10221    fn from(
10222        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
10223    ) -> Self {
10224        match err {
10225            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10226            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10227                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10228                source: err.into(),
10229            }),
10230        }
10231    }
10232}
10233impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
10234    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
10235        match err {
10236            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10237        }
10238    }
10239}
10240impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
10241where
10242    R: Send + Sync + std::fmt::Debug + 'static,
10243{
10244    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> Self {
10245        match err {
10246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10249                source: err.into(),
10250            }),
10251        }
10252    }
10253}
10254impl From<crate::operation::describe_snapshots::DescribeSnapshotsError> for Error {
10255    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
10256        match err {
10257            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
10258        }
10259    }
10260}
10261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
10262    for Error
10263where
10264    R: Send + Sync + std::fmt::Debug + 'static,
10265{
10266    fn from(
10267        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
10268    ) -> Self {
10269        match err {
10270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10273                source: err.into(),
10274            }),
10275        }
10276    }
10277}
10278impl From<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
10279    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
10280        match err {
10281            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
10282        }
10283    }
10284}
10285impl<R>
10286    From<
10287        ::aws_smithy_runtime_api::client::result::SdkError<
10288            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
10289            R,
10290        >,
10291    > for Error
10292where
10293    R: Send + Sync + std::fmt::Debug + 'static,
10294{
10295    fn from(
10296        err: ::aws_smithy_runtime_api::client::result::SdkError<
10297            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
10298            R,
10299        >,
10300    ) -> Self {
10301        match err {
10302            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10303            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10304                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10305                source: err.into(),
10306            }),
10307        }
10308    }
10309}
10310impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
10311    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
10312        match err {
10313            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
10314        }
10315    }
10316}
10317impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
10318    for Error
10319where
10320    R: Send + Sync + std::fmt::Debug + 'static,
10321{
10322    fn from(
10323        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
10324    ) -> Self {
10325        match err {
10326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10329                source: err.into(),
10330            }),
10331        }
10332    }
10333}
10334impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
10335    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
10336        match err {
10337            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10338        }
10339    }
10340}
10341impl<R>
10342    From<
10343        ::aws_smithy_runtime_api::client::result::SdkError<
10344            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
10345            R,
10346        >,
10347    > for Error
10348where
10349    R: Send + Sync + std::fmt::Debug + 'static,
10350{
10351    fn from(
10352        err: ::aws_smithy_runtime_api::client::result::SdkError<
10353            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
10354            R,
10355        >,
10356    ) -> Self {
10357        match err {
10358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10361                source: err.into(),
10362            }),
10363        }
10364    }
10365}
10366impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
10367    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
10368        match err {
10369            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
10370        }
10371    }
10372}
10373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
10374    for Error
10375where
10376    R: Send + Sync + std::fmt::Debug + 'static,
10377{
10378    fn from(
10379        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
10380    ) -> Self {
10381        match err {
10382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10385                source: err.into(),
10386            }),
10387        }
10388    }
10389}
10390impl From<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
10391    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
10392        match err {
10393            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
10394        }
10395    }
10396}
10397impl<R>
10398    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
10399    for Error
10400where
10401    R: Send + Sync + std::fmt::Debug + 'static,
10402{
10403    fn from(
10404        err: ::aws_smithy_runtime_api::client::result::SdkError<
10405            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
10406            R,
10407        >,
10408    ) -> Self {
10409        match err {
10410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10413                source: err.into(),
10414            }),
10415        }
10416    }
10417}
10418impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
10419    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
10420        match err {
10421            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
10422        }
10423    }
10424}
10425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
10426    for Error
10427where
10428    R: Send + Sync + std::fmt::Debug + 'static,
10429{
10430    fn from(
10431        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
10432    ) -> Self {
10433        match err {
10434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10437                source: err.into(),
10438            }),
10439        }
10440    }
10441}
10442impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
10443    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
10444        match err {
10445            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
10446        }
10447    }
10448}
10449impl<R>
10450    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
10451    for Error
10452where
10453    R: Send + Sync + std::fmt::Debug + 'static,
10454{
10455    fn from(
10456        err: ::aws_smithy_runtime_api::client::result::SdkError<
10457            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
10458            R,
10459        >,
10460    ) -> Self {
10461        match err {
10462            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10463            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10464                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10465                source: err.into(),
10466            }),
10467        }
10468    }
10469}
10470impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
10471    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
10472        match err {
10473            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10474        }
10475    }
10476}
10477impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
10478    for Error
10479where
10480    R: Send + Sync + std::fmt::Debug + 'static,
10481{
10482    fn from(
10483        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
10484    ) -> Self {
10485        match err {
10486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10489                source: err.into(),
10490            }),
10491        }
10492    }
10493}
10494impl From<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError> for Error {
10495    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
10496        match err {
10497            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
10498        }
10499    }
10500}
10501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
10502where
10503    R: Send + Sync + std::fmt::Debug + 'static,
10504{
10505    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> Self {
10506        match err {
10507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10510                source: err.into(),
10511            }),
10512        }
10513    }
10514}
10515impl From<crate::operation::describe_subnets::DescribeSubnetsError> for Error {
10516    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
10517        match err {
10518            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
10519        }
10520    }
10521}
10522impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
10523where
10524    R: Send + Sync + std::fmt::Debug + 'static,
10525{
10526    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
10527        match err {
10528            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10529            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10530                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10531                source: err.into(),
10532            }),
10533        }
10534    }
10535}
10536impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
10537    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
10538        match err {
10539            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
10540        }
10541    }
10542}
10543impl<R>
10544    From<
10545        ::aws_smithy_runtime_api::client::result::SdkError<
10546            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
10547            R,
10548        >,
10549    > for Error
10550where
10551    R: Send + Sync + std::fmt::Debug + 'static,
10552{
10553    fn from(
10554        err: ::aws_smithy_runtime_api::client::result::SdkError<
10555            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
10556            R,
10557        >,
10558    ) -> Self {
10559        match err {
10560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10563                source: err.into(),
10564            }),
10565        }
10566    }
10567}
10568impl From<crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
10569    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
10570        match err {
10571            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
10572                Error::Unhandled(inner)
10573            }
10574        }
10575    }
10576}
10577impl<R>
10578    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
10579    for Error
10580where
10581    R: Send + Sync + std::fmt::Debug + 'static,
10582{
10583    fn from(
10584        err: ::aws_smithy_runtime_api::client::result::SdkError<
10585            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
10586            R,
10587        >,
10588    ) -> Self {
10589        match err {
10590            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10591            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10592                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10593                source: err.into(),
10594            }),
10595        }
10596    }
10597}
10598impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
10599    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
10600        match err {
10601            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
10602        }
10603    }
10604}
10605impl<R>
10606    From<
10607        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
10608    > for Error
10609where
10610    R: Send + Sync + std::fmt::Debug + 'static,
10611{
10612    fn from(
10613        err: ::aws_smithy_runtime_api::client::result::SdkError<
10614            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
10615            R,
10616        >,
10617    ) -> Self {
10618        match err {
10619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10622                source: err.into(),
10623            }),
10624        }
10625    }
10626}
10627impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
10628    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
10629        match err {
10630            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
10631        }
10632    }
10633}
10634impl<R>
10635    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
10636    for Error
10637where
10638    R: Send + Sync + std::fmt::Debug + 'static,
10639{
10640    fn from(
10641        err: ::aws_smithy_runtime_api::client::result::SdkError<
10642            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
10643            R,
10644        >,
10645    ) -> Self {
10646        match err {
10647            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10648            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10649                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10650                source: err.into(),
10651            }),
10652        }
10653    }
10654}
10655impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
10656    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
10657        match err {
10658            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
10659        }
10660    }
10661}
10662impl<R>
10663    From<
10664        ::aws_smithy_runtime_api::client::result::SdkError<
10665            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10666            R,
10667        >,
10668    > for Error
10669where
10670    R: Send + Sync + std::fmt::Debug + 'static,
10671{
10672    fn from(
10673        err: ::aws_smithy_runtime_api::client::result::SdkError<
10674            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10675            R,
10676        >,
10677    ) -> Self {
10678        match err {
10679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10682                source: err.into(),
10683            }),
10684        }
10685    }
10686}
10687impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
10688    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
10689        match err {
10690            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
10691                Error::Unhandled(inner)
10692            }
10693        }
10694    }
10695}
10696impl<R>
10697    From<
10698        ::aws_smithy_runtime_api::client::result::SdkError<
10699            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10700            R,
10701        >,
10702    > for Error
10703where
10704    R: Send + Sync + std::fmt::Debug + 'static,
10705{
10706    fn from(
10707        err: ::aws_smithy_runtime_api::client::result::SdkError<
10708            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10709            R,
10710        >,
10711    ) -> Self {
10712        match err {
10713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10716                source: err.into(),
10717            }),
10718        }
10719    }
10720}
10721impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
10722    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
10723        match err {
10724            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
10725                Error::Unhandled(inner)
10726            }
10727        }
10728    }
10729}
10730impl<R>
10731    From<
10732        ::aws_smithy_runtime_api::client::result::SdkError<
10733            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10734            R,
10735        >,
10736    > for Error
10737where
10738    R: Send + Sync + std::fmt::Debug + 'static,
10739{
10740    fn from(
10741        err: ::aws_smithy_runtime_api::client::result::SdkError<
10742            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10743            R,
10744        >,
10745    ) -> Self {
10746        match err {
10747            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10748            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10749                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10750                source: err.into(),
10751            }),
10752        }
10753    }
10754}
10755impl From<crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
10756    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
10757        match err {
10758            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
10759        }
10760    }
10761}
10762impl<R>
10763    From<
10764        ::aws_smithy_runtime_api::client::result::SdkError<
10765            crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError,
10766            R,
10767        >,
10768    > for Error
10769where
10770    R: Send + Sync + std::fmt::Debug + 'static,
10771{
10772    fn from(
10773        err: ::aws_smithy_runtime_api::client::result::SdkError<
10774            crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError,
10775            R,
10776        >,
10777    ) -> Self {
10778        match err {
10779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10782                source: err.into(),
10783            }),
10784        }
10785    }
10786}
10787impl From<crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError> for Error {
10788    fn from(err: crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError) -> Self {
10789        match err {
10790            crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError::Unhandled(inner) => {
10791                Error::Unhandled(inner)
10792            }
10793        }
10794    }
10795}
10796impl<R>
10797    From<
10798        ::aws_smithy_runtime_api::client::result::SdkError<
10799            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10800            R,
10801        >,
10802    > for Error
10803where
10804    R: Send + Sync + std::fmt::Debug + 'static,
10805{
10806    fn from(
10807        err: ::aws_smithy_runtime_api::client::result::SdkError<
10808            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10809            R,
10810        >,
10811    ) -> Self {
10812        match err {
10813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10816                source: err.into(),
10817            }),
10818        }
10819    }
10820}
10821impl From<crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
10822    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
10823        match err {
10824            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
10825                Error::Unhandled(inner)
10826            }
10827        }
10828    }
10829}
10830impl<R>
10831    From<
10832        ::aws_smithy_runtime_api::client::result::SdkError<
10833            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10834            R,
10835        >,
10836    > for Error
10837where
10838    R: Send + Sync + std::fmt::Debug + 'static,
10839{
10840    fn from(
10841        err: ::aws_smithy_runtime_api::client::result::SdkError<
10842            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10843            R,
10844        >,
10845    ) -> Self {
10846        match err {
10847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10850                source: err.into(),
10851            }),
10852        }
10853    }
10854}
10855impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
10856    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
10857        match err {
10858            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
10859                Error::Unhandled(inner)
10860            }
10861        }
10862    }
10863}
10864impl<R>
10865    From<
10866        ::aws_smithy_runtime_api::client::result::SdkError<
10867            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10868            R,
10869        >,
10870    > for Error
10871where
10872    R: Send + Sync + std::fmt::Debug + 'static,
10873{
10874    fn from(
10875        err: ::aws_smithy_runtime_api::client::result::SdkError<
10876            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10877            R,
10878        >,
10879    ) -> Self {
10880        match err {
10881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10884                source: err.into(),
10885            }),
10886        }
10887    }
10888}
10889impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
10890    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
10891        match err {
10892            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
10893                Error::Unhandled(inner)
10894            }
10895        }
10896    }
10897}
10898impl<R>
10899    From<
10900        ::aws_smithy_runtime_api::client::result::SdkError<
10901            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10902            R,
10903        >,
10904    > for Error
10905where
10906    R: Send + Sync + std::fmt::Debug + 'static,
10907{
10908    fn from(
10909        err: ::aws_smithy_runtime_api::client::result::SdkError<
10910            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10911            R,
10912        >,
10913    ) -> Self {
10914        match err {
10915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10918                source: err.into(),
10919            }),
10920        }
10921    }
10922}
10923impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
10924    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
10925        match err {
10926            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
10927                inner,
10928            ) => Error::Unhandled(inner),
10929        }
10930    }
10931}
10932impl<R>
10933    From<
10934        ::aws_smithy_runtime_api::client::result::SdkError<
10935            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10936            R,
10937        >,
10938    > for Error
10939where
10940    R: Send + Sync + std::fmt::Debug + 'static,
10941{
10942    fn from(
10943        err: ::aws_smithy_runtime_api::client::result::SdkError<
10944            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10945            R,
10946        >,
10947    ) -> Self {
10948        match err {
10949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10952                source: err.into(),
10953            }),
10954        }
10955    }
10956}
10957impl From<crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
10958    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
10959        match err {
10960            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
10961                Error::Unhandled(inner)
10962            }
10963        }
10964    }
10965}
10966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
10967    for Error
10968where
10969    R: Send + Sync + std::fmt::Debug + 'static,
10970{
10971    fn from(
10972        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
10973    ) -> Self {
10974        match err {
10975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10978                source: err.into(),
10979            }),
10980        }
10981    }
10982}
10983impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
10984    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
10985        match err {
10986            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10987        }
10988    }
10989}
10990impl<R>
10991    From<
10992        ::aws_smithy_runtime_api::client::result::SdkError<
10993            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10994            R,
10995        >,
10996    > for Error
10997where
10998    R: Send + Sync + std::fmt::Debug + 'static,
10999{
11000    fn from(
11001        err: ::aws_smithy_runtime_api::client::result::SdkError<
11002            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
11003            R,
11004        >,
11005    ) -> Self {
11006        match err {
11007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11010                source: err.into(),
11011            }),
11012        }
11013    }
11014}
11015impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
11016    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
11017        match err {
11018            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
11019                Error::Unhandled(inner)
11020            }
11021        }
11022    }
11023}
11024impl<R>
11025    From<
11026        ::aws_smithy_runtime_api::client::result::SdkError<
11027            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
11028            R,
11029        >,
11030    > for Error
11031where
11032    R: Send + Sync + std::fmt::Debug + 'static,
11033{
11034    fn from(
11035        err: ::aws_smithy_runtime_api::client::result::SdkError<
11036            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
11037            R,
11038        >,
11039    ) -> Self {
11040        match err {
11041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11044                source: err.into(),
11045            }),
11046        }
11047    }
11048}
11049impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
11050    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
11051        match err {
11052            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
11053                Error::Unhandled(inner)
11054            }
11055        }
11056    }
11057}
11058impl<R>
11059    From<
11060        ::aws_smithy_runtime_api::client::result::SdkError<
11061            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
11062            R,
11063        >,
11064    > for Error
11065where
11066    R: Send + Sync + std::fmt::Debug + 'static,
11067{
11068    fn from(
11069        err: ::aws_smithy_runtime_api::client::result::SdkError<
11070            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
11071            R,
11072        >,
11073    ) -> Self {
11074        match err {
11075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11078                source: err.into(),
11079            }),
11080        }
11081    }
11082}
11083impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
11084    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
11085        match err {
11086            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
11087        }
11088    }
11089}
11090impl<R>
11091    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
11092    for Error
11093where
11094    R: Send + Sync + std::fmt::Debug + 'static,
11095{
11096    fn from(
11097        err: ::aws_smithy_runtime_api::client::result::SdkError<
11098            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
11099            R,
11100        >,
11101    ) -> Self {
11102        match err {
11103            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11104            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11105                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11106                source: err.into(),
11107            }),
11108        }
11109    }
11110}
11111impl From<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
11112    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
11113        match err {
11114            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
11115        }
11116    }
11117}
11118impl<R>
11119    From<
11120        ::aws_smithy_runtime_api::client::result::SdkError<
11121            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
11122            R,
11123        >,
11124    > for Error
11125where
11126    R: Send + Sync + std::fmt::Debug + 'static,
11127{
11128    fn from(
11129        err: ::aws_smithy_runtime_api::client::result::SdkError<
11130            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
11131            R,
11132        >,
11133    ) -> Self {
11134        match err {
11135            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11136            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11137                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11138                source: err.into(),
11139            }),
11140        }
11141    }
11142}
11143impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
11144    for Error
11145{
11146    fn from(
11147        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
11148    ) -> Self {
11149        match err {
11150            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
11151        }
11152    }
11153}
11154impl<R>
11155    From<
11156        ::aws_smithy_runtime_api::client::result::SdkError<
11157            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
11158            R,
11159        >,
11160    > for Error
11161where
11162    R: Send + Sync + std::fmt::Debug + 'static,
11163{
11164    fn from(
11165        err: ::aws_smithy_runtime_api::client::result::SdkError<
11166            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
11167            R,
11168        >,
11169    ) -> Self {
11170        match err {
11171            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11172            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11173                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11174                source: err.into(),
11175            }),
11176        }
11177    }
11178}
11179impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
11180    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
11181        match err {
11182            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
11183        }
11184    }
11185}
11186impl<R>
11187    From<
11188        ::aws_smithy_runtime_api::client::result::SdkError<
11189            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
11190            R,
11191        >,
11192    > for Error
11193where
11194    R: Send + Sync + std::fmt::Debug + 'static,
11195{
11196    fn from(
11197        err: ::aws_smithy_runtime_api::client::result::SdkError<
11198            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
11199            R,
11200        >,
11201    ) -> Self {
11202        match err {
11203            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11204            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11205                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11206                source: err.into(),
11207            }),
11208        }
11209    }
11210}
11211impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
11212    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
11213        match err {
11214            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
11215                Error::Unhandled(inner)
11216            }
11217        }
11218    }
11219}
11220impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
11221    for Error
11222where
11223    R: Send + Sync + std::fmt::Debug + 'static,
11224{
11225    fn from(
11226        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
11227    ) -> Self {
11228        match err {
11229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11232                source: err.into(),
11233            }),
11234        }
11235    }
11236}
11237impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
11238    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
11239        match err {
11240            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
11241        }
11242    }
11243}
11244impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
11245where
11246    R: Send + Sync + std::fmt::Debug + 'static,
11247{
11248    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
11249        match err {
11250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11253                source: err.into(),
11254            }),
11255        }
11256    }
11257}
11258impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
11259    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
11260        match err {
11261            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
11262        }
11263    }
11264}
11265impl<R>
11266    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
11267    for Error
11268where
11269    R: Send + Sync + std::fmt::Debug + 'static,
11270{
11271    fn from(
11272        err: ::aws_smithy_runtime_api::client::result::SdkError<
11273            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
11274            R,
11275        >,
11276    ) -> Self {
11277        match err {
11278            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11279            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11280                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11281                source: err.into(),
11282            }),
11283        }
11284    }
11285}
11286impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
11287    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
11288        match err {
11289            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
11290        }
11291    }
11292}
11293impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
11294where
11295    R: Send + Sync + std::fmt::Debug + 'static,
11296{
11297    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
11298        match err {
11299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11302                source: err.into(),
11303            }),
11304        }
11305    }
11306}
11307impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
11308    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
11309        match err {
11310            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
11311        }
11312    }
11313}
11314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
11315where
11316    R: Send + Sync + std::fmt::Debug + 'static,
11317{
11318    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
11319        match err {
11320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11323                source: err.into(),
11324            }),
11325        }
11326    }
11327}
11328impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
11329    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
11330        match err {
11331            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
11332        }
11333    }
11334}
11335impl<R>
11336    From<
11337        ::aws_smithy_runtime_api::client::result::SdkError<
11338            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
11339            R,
11340        >,
11341    > for Error
11342where
11343    R: Send + Sync + std::fmt::Debug + 'static,
11344{
11345    fn from(
11346        err: ::aws_smithy_runtime_api::client::result::SdkError<
11347            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
11348            R,
11349        >,
11350    ) -> Self {
11351        match err {
11352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11355                source: err.into(),
11356            }),
11357        }
11358    }
11359}
11360impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
11361    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
11362        match err {
11363            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
11364                Error::Unhandled(inner)
11365            }
11366        }
11367    }
11368}
11369impl<R>
11370    From<
11371        ::aws_smithy_runtime_api::client::result::SdkError<
11372            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
11373            R,
11374        >,
11375    > for Error
11376where
11377    R: Send + Sync + std::fmt::Debug + 'static,
11378{
11379    fn from(
11380        err: ::aws_smithy_runtime_api::client::result::SdkError<
11381            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
11382            R,
11383        >,
11384    ) -> Self {
11385        match err {
11386            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11387            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11388                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11389                source: err.into(),
11390            }),
11391        }
11392    }
11393}
11394impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
11395    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
11396        match err {
11397            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
11398                Error::Unhandled(inner)
11399            }
11400        }
11401    }
11402}
11403impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
11404    for Error
11405where
11406    R: Send + Sync + std::fmt::Debug + 'static,
11407{
11408    fn from(
11409        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
11410    ) -> Self {
11411        match err {
11412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11415                source: err.into(),
11416            }),
11417        }
11418    }
11419}
11420impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
11421    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
11422        match err {
11423            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11424        }
11425    }
11426}
11427impl<R>
11428    From<
11429        ::aws_smithy_runtime_api::client::result::SdkError<
11430            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
11431            R,
11432        >,
11433    > for Error
11434where
11435    R: Send + Sync + std::fmt::Debug + 'static,
11436{
11437    fn from(
11438        err: ::aws_smithy_runtime_api::client::result::SdkError<
11439            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
11440            R,
11441        >,
11442    ) -> Self {
11443        match err {
11444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11447                source: err.into(),
11448            }),
11449        }
11450    }
11451}
11452impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
11453    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
11454        match err {
11455            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
11456                Error::Unhandled(inner)
11457            }
11458        }
11459    }
11460}
11461impl<R>
11462    From<
11463        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError, R>,
11464    > for Error
11465where
11466    R: Send + Sync + std::fmt::Debug + 'static,
11467{
11468    fn from(
11469        err: ::aws_smithy_runtime_api::client::result::SdkError<
11470            crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError,
11471            R,
11472        >,
11473    ) -> Self {
11474        match err {
11475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11478                source: err.into(),
11479            }),
11480        }
11481    }
11482}
11483impl From<crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError> for Error {
11484    fn from(err: crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError) -> Self {
11485        match err {
11486            crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError::Unhandled(inner) => Error::Unhandled(inner),
11487        }
11488    }
11489}
11490impl<R>
11491    From<
11492        ::aws_smithy_runtime_api::client::result::SdkError<
11493            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
11494            R,
11495        >,
11496    > for Error
11497where
11498    R: Send + Sync + std::fmt::Debug + 'static,
11499{
11500    fn from(
11501        err: ::aws_smithy_runtime_api::client::result::SdkError<
11502            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
11503            R,
11504        >,
11505    ) -> Self {
11506        match err {
11507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11510                source: err.into(),
11511            }),
11512        }
11513    }
11514}
11515impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
11516    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
11517        match err {
11518            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
11519        }
11520    }
11521}
11522impl<R>
11523    From<
11524        ::aws_smithy_runtime_api::client::result::SdkError<
11525            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
11526            R,
11527        >,
11528    > for Error
11529where
11530    R: Send + Sync + std::fmt::Debug + 'static,
11531{
11532    fn from(
11533        err: ::aws_smithy_runtime_api::client::result::SdkError<
11534            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
11535            R,
11536        >,
11537    ) -> Self {
11538        match err {
11539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11542                source: err.into(),
11543            }),
11544        }
11545    }
11546}
11547impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
11548    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
11549        match err {
11550            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
11551                Error::Unhandled(inner)
11552            }
11553        }
11554    }
11555}
11556impl<R>
11557    From<
11558        ::aws_smithy_runtime_api::client::result::SdkError<
11559            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
11560            R,
11561        >,
11562    > for Error
11563where
11564    R: Send + Sync + std::fmt::Debug + 'static,
11565{
11566    fn from(
11567        err: ::aws_smithy_runtime_api::client::result::SdkError<
11568            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
11569            R,
11570        >,
11571    ) -> Self {
11572        match err {
11573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11576                source: err.into(),
11577            }),
11578        }
11579    }
11580}
11581impl From<crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
11582    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
11583        match err {
11584            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11585        }
11586    }
11587}
11588impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>> for Error
11589where
11590    R: Send + Sync + std::fmt::Debug + 'static,
11591{
11592    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>) -> Self {
11593        match err {
11594            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11595            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11596                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11597                source: err.into(),
11598            }),
11599        }
11600    }
11601}
11602impl From<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError> for Error {
11603    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
11604        match err {
11605            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
11606        }
11607    }
11608}
11609impl<R>
11610    From<
11611        ::aws_smithy_runtime_api::client::result::SdkError<
11612            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11613            R,
11614        >,
11615    > for Error
11616where
11617    R: Send + Sync + std::fmt::Debug + 'static,
11618{
11619    fn from(
11620        err: ::aws_smithy_runtime_api::client::result::SdkError<
11621            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11622            R,
11623        >,
11624    ) -> Self {
11625        match err {
11626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11629                source: err.into(),
11630            }),
11631        }
11632    }
11633}
11634impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
11635    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
11636        match err {
11637            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
11638                Error::Unhandled(inner)
11639            }
11640        }
11641    }
11642}
11643impl<R>
11644    From<
11645        ::aws_smithy_runtime_api::client::result::SdkError<
11646            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11647            R,
11648        >,
11649    > for Error
11650where
11651    R: Send + Sync + std::fmt::Debug + 'static,
11652{
11653    fn from(
11654        err: ::aws_smithy_runtime_api::client::result::SdkError<
11655            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11656            R,
11657        >,
11658    ) -> Self {
11659        match err {
11660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11663                source: err.into(),
11664            }),
11665        }
11666    }
11667}
11668impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
11669    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
11670        match err {
11671            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
11672                Error::Unhandled(inner)
11673            }
11674        }
11675    }
11676}
11677impl<R>
11678    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
11679    for Error
11680where
11681    R: Send + Sync + std::fmt::Debug + 'static,
11682{
11683    fn from(
11684        err: ::aws_smithy_runtime_api::client::result::SdkError<
11685            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
11686            R,
11687        >,
11688    ) -> Self {
11689        match err {
11690            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11691            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11692                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11693                source: err.into(),
11694            }),
11695        }
11696    }
11697}
11698impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
11699    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
11700        match err {
11701            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
11702        }
11703    }
11704}
11705impl<R>
11706    From<
11707        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
11708    > for Error
11709where
11710    R: Send + Sync + std::fmt::Debug + 'static,
11711{
11712    fn from(
11713        err: ::aws_smithy_runtime_api::client::result::SdkError<
11714            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
11715            R,
11716        >,
11717    ) -> Self {
11718        match err {
11719            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11720            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11721                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11722                source: err.into(),
11723            }),
11724        }
11725    }
11726}
11727impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
11728    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
11729        match err {
11730            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11731        }
11732    }
11733}
11734impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
11735where
11736    R: Send + Sync + std::fmt::Debug + 'static,
11737{
11738    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
11739        match err {
11740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11743                source: err.into(),
11744            }),
11745        }
11746    }
11747}
11748impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
11749    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
11750        match err {
11751            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
11752        }
11753    }
11754}
11755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError, R>>
11756    for Error
11757where
11758    R: Send + Sync + std::fmt::Debug + 'static,
11759{
11760    fn from(
11761        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError, R>,
11762    ) -> Self {
11763        match err {
11764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11767                source: err.into(),
11768            }),
11769        }
11770    }
11771}
11772impl From<crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError> for Error {
11773    fn from(err: crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError) -> Self {
11774        match err {
11775            crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError::Unhandled(inner) => Error::Unhandled(inner),
11776        }
11777    }
11778}
11779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
11780where
11781    R: Send + Sync + std::fmt::Debug + 'static,
11782{
11783    fn from(
11784        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
11785    ) -> Self {
11786        match err {
11787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11790                source: err.into(),
11791            }),
11792        }
11793    }
11794}
11795impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
11796    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
11797        match err {
11798            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11799        }
11800    }
11801}
11802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
11803where
11804    R: Send + Sync + std::fmt::Debug + 'static,
11805{
11806    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> Self {
11807        match err {
11808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11811                source: err.into(),
11812            }),
11813        }
11814    }
11815}
11816impl From<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError> for Error {
11817    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
11818        match err {
11819            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
11820        }
11821    }
11822}
11823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
11824where
11825    R: Send + Sync + std::fmt::Debug + 'static,
11826{
11827    fn from(
11828        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
11829    ) -> Self {
11830        match err {
11831            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11832            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11833                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11834                source: err.into(),
11835            }),
11836        }
11837    }
11838}
11839impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
11840    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
11841        match err {
11842            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
11843        }
11844    }
11845}
11846impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
11847where
11848    R: Send + Sync + std::fmt::Debug + 'static,
11849{
11850    fn from(
11851        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
11852    ) -> Self {
11853        match err {
11854            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11855            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11856                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11857                source: err.into(),
11858            }),
11859        }
11860    }
11861}
11862impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
11863    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
11864        match err {
11865            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11866        }
11867    }
11868}
11869impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
11870where
11871    R: Send + Sync + std::fmt::Debug + 'static,
11872{
11873    fn from(
11874        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
11875    ) -> Self {
11876        match err {
11877            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11878            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11879                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11880                source: err.into(),
11881            }),
11882        }
11883    }
11884}
11885impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
11886    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
11887        match err {
11888            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
11889        }
11890    }
11891}
11892impl<R>
11893    From<
11894        ::aws_smithy_runtime_api::client::result::SdkError<
11895            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11896            R,
11897        >,
11898    > for Error
11899where
11900    R: Send + Sync + std::fmt::Debug + 'static,
11901{
11902    fn from(
11903        err: ::aws_smithy_runtime_api::client::result::SdkError<
11904            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11905            R,
11906        >,
11907    ) -> Self {
11908        match err {
11909            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11910            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11911                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11912                source: err.into(),
11913            }),
11914        }
11915    }
11916}
11917impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
11918    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
11919        match err {
11920            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
11921                Error::Unhandled(inner)
11922            }
11923        }
11924    }
11925}
11926impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
11927where
11928    R: Send + Sync + std::fmt::Debug + 'static,
11929{
11930    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
11931        match err {
11932            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11933            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11934                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11935                source: err.into(),
11936            }),
11937        }
11938    }
11939}
11940impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
11941    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
11942        match err {
11943            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
11944        }
11945    }
11946}
11947impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
11948where
11949    R: Send + Sync + std::fmt::Debug + 'static,
11950{
11951    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
11952        match err {
11953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11956                source: err.into(),
11957            }),
11958        }
11959    }
11960}
11961impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
11962    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
11963        match err {
11964            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11965        }
11966    }
11967}
11968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
11969where
11970    R: Send + Sync + std::fmt::Debug + 'static,
11971{
11972    fn from(
11973        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
11974    ) -> Self {
11975        match err {
11976            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11977            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11978                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11979                source: err.into(),
11980            }),
11981        }
11982    }
11983}
11984impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
11985    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
11986        match err {
11987            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
11988        }
11989    }
11990}
11991impl<R>
11992    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
11993    for Error
11994where
11995    R: Send + Sync + std::fmt::Debug + 'static,
11996{
11997    fn from(
11998        err: ::aws_smithy_runtime_api::client::result::SdkError<
11999            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
12000            R,
12001        >,
12002    ) -> Self {
12003        match err {
12004            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12005            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12006                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12007                source: err.into(),
12008            }),
12009        }
12010    }
12011}
12012impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
12013    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
12014        match err {
12015            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12016        }
12017    }
12018}
12019impl<R>
12020    From<
12021        ::aws_smithy_runtime_api::client::result::SdkError<
12022            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
12023            R,
12024        >,
12025    > for Error
12026where
12027    R: Send + Sync + std::fmt::Debug + 'static,
12028{
12029    fn from(
12030        err: ::aws_smithy_runtime_api::client::result::SdkError<
12031            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
12032            R,
12033        >,
12034    ) -> Self {
12035        match err {
12036            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12037            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12038                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12039                source: err.into(),
12040            }),
12041        }
12042    }
12043}
12044impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
12045    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
12046        match err {
12047            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
12048                inner,
12049            ) => Error::Unhandled(inner),
12050        }
12051    }
12052}
12053impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>> for Error
12054where
12055    R: Send + Sync + std::fmt::Debug + 'static,
12056{
12057    fn from(
12058        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>,
12059    ) -> Self {
12060        match err {
12061            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12062            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12063                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12064                source: err.into(),
12065            }),
12066        }
12067    }
12068}
12069impl From<crate::operation::disable_capacity_manager::DisableCapacityManagerError> for Error {
12070    fn from(err: crate::operation::disable_capacity_manager::DisableCapacityManagerError) -> Self {
12071        match err {
12072            crate::operation::disable_capacity_manager::DisableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
12073        }
12074    }
12075}
12076impl<R>
12077    From<
12078        ::aws_smithy_runtime_api::client::result::SdkError<
12079            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
12080            R,
12081        >,
12082    > for Error
12083where
12084    R: Send + Sync + std::fmt::Debug + 'static,
12085{
12086    fn from(
12087        err: ::aws_smithy_runtime_api::client::result::SdkError<
12088            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
12089            R,
12090        >,
12091    ) -> Self {
12092        match err {
12093            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12094            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12095                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12096                source: err.into(),
12097            }),
12098        }
12099    }
12100}
12101impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
12102    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
12103        match err {
12104            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12105        }
12106    }
12107}
12108impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
12109where
12110    R: Send + Sync + std::fmt::Debug + 'static,
12111{
12112    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
12113        match err {
12114            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12115            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12116                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12117                source: err.into(),
12118            }),
12119        }
12120    }
12121}
12122impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
12123    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
12124        match err {
12125            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
12126        }
12127    }
12128}
12129impl<R>
12130    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
12131    for Error
12132where
12133    R: Send + Sync + std::fmt::Debug + 'static,
12134{
12135    fn from(
12136        err: ::aws_smithy_runtime_api::client::result::SdkError<
12137            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
12138            R,
12139        >,
12140    ) -> Self {
12141        match err {
12142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12145                source: err.into(),
12146            }),
12147        }
12148    }
12149}
12150impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
12151    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
12152        match err {
12153            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
12154        }
12155    }
12156}
12157impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
12158where
12159    R: Send + Sync + std::fmt::Debug + 'static,
12160{
12161    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
12162        match err {
12163            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12164            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12165                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12166                source: err.into(),
12167            }),
12168        }
12169    }
12170}
12171impl From<crate::operation::disable_image::DisableImageError> for Error {
12172    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
12173        match err {
12174            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
12175        }
12176    }
12177}
12178impl<R>
12179    From<
12180        ::aws_smithy_runtime_api::client::result::SdkError<
12181            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
12182            R,
12183        >,
12184    > for Error
12185where
12186    R: Send + Sync + std::fmt::Debug + 'static,
12187{
12188    fn from(
12189        err: ::aws_smithy_runtime_api::client::result::SdkError<
12190            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
12191            R,
12192        >,
12193    ) -> Self {
12194        match err {
12195            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12196            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12197                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12198                source: err.into(),
12199            }),
12200        }
12201    }
12202}
12203impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
12204    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
12205        match err {
12206            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12207        }
12208    }
12209}
12210impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
12211    for Error
12212where
12213    R: Send + Sync + std::fmt::Debug + 'static,
12214{
12215    fn from(
12216        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
12217    ) -> Self {
12218        match err {
12219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12222                source: err.into(),
12223            }),
12224        }
12225    }
12226}
12227impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
12228    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
12229        match err {
12230            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
12231        }
12232    }
12233}
12234impl<R>
12235    From<
12236        ::aws_smithy_runtime_api::client::result::SdkError<
12237            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
12238            R,
12239        >,
12240    > for Error
12241where
12242    R: Send + Sync + std::fmt::Debug + 'static,
12243{
12244    fn from(
12245        err: ::aws_smithy_runtime_api::client::result::SdkError<
12246            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
12247            R,
12248        >,
12249    ) -> Self {
12250        match err {
12251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12254                source: err.into(),
12255            }),
12256        }
12257    }
12258}
12259impl From<crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
12260    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
12261        match err {
12262            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
12263                Error::Unhandled(inner)
12264            }
12265        }
12266    }
12267}
12268impl<R>
12269    From<
12270        ::aws_smithy_runtime_api::client::result::SdkError<
12271            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError,
12272            R,
12273        >,
12274    > for Error
12275where
12276    R: Send + Sync + std::fmt::Debug + 'static,
12277{
12278    fn from(
12279        err: ::aws_smithy_runtime_api::client::result::SdkError<
12280            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError,
12281            R,
12282        >,
12283    ) -> Self {
12284        match err {
12285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12288                source: err.into(),
12289            }),
12290        }
12291    }
12292}
12293impl From<crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError> for Error {
12294    fn from(err: crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError) -> Self {
12295        match err {
12296            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError::Unhandled(inner) => {
12297                Error::Unhandled(inner)
12298            }
12299        }
12300    }
12301}
12302impl<R>
12303    From<
12304        ::aws_smithy_runtime_api::client::result::SdkError<
12305            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
12306            R,
12307        >,
12308    > for Error
12309where
12310    R: Send + Sync + std::fmt::Debug + 'static,
12311{
12312    fn from(
12313        err: ::aws_smithy_runtime_api::client::result::SdkError<
12314            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
12315            R,
12316        >,
12317    ) -> Self {
12318        match err {
12319            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12320            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12321                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12322                source: err.into(),
12323            }),
12324        }
12325    }
12326}
12327impl From<crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
12328    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
12329        match err {
12330            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
12331                Error::Unhandled(inner)
12332            }
12333        }
12334    }
12335}
12336impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_ipam_policy::DisableIpamPolicyError, R>> for Error
12337where
12338    R: Send + Sync + std::fmt::Debug + 'static,
12339{
12340    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_ipam_policy::DisableIpamPolicyError, R>) -> Self {
12341        match err {
12342            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12343            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12344                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12345                source: err.into(),
12346            }),
12347        }
12348    }
12349}
12350impl From<crate::operation::disable_ipam_policy::DisableIpamPolicyError> for Error {
12351    fn from(err: crate::operation::disable_ipam_policy::DisableIpamPolicyError) -> Self {
12352        match err {
12353            crate::operation::disable_ipam_policy::DisableIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
12354        }
12355    }
12356}
12357impl<R>
12358    From<
12359        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError, R>,
12360    > for Error
12361where
12362    R: Send + Sync + std::fmt::Debug + 'static,
12363{
12364    fn from(
12365        err: ::aws_smithy_runtime_api::client::result::SdkError<
12366            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError,
12367            R,
12368        >,
12369    ) -> Self {
12370        match err {
12371            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12372            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12373                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12374                source: err.into(),
12375            }),
12376        }
12377    }
12378}
12379impl From<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError> for Error {
12380    fn from(err: crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError) -> Self {
12381        match err {
12382            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
12383        }
12384    }
12385}
12386impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
12387    for Error
12388where
12389    R: Send + Sync + std::fmt::Debug + 'static,
12390{
12391    fn from(
12392        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
12393    ) -> Self {
12394        match err {
12395            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12396            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12397                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12398                source: err.into(),
12399            }),
12400        }
12401    }
12402}
12403impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
12404    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
12405        match err {
12406            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
12407        }
12408    }
12409}
12410impl<R>
12411    From<
12412        ::aws_smithy_runtime_api::client::result::SdkError<
12413            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
12414            R,
12415        >,
12416    > for Error
12417where
12418    R: Send + Sync + std::fmt::Debug + 'static,
12419{
12420    fn from(
12421        err: ::aws_smithy_runtime_api::client::result::SdkError<
12422            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
12423            R,
12424        >,
12425    ) -> Self {
12426        match err {
12427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12430                source: err.into(),
12431            }),
12432        }
12433    }
12434}
12435impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
12436    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
12437        match err {
12438            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
12439                Error::Unhandled(inner)
12440            }
12441        }
12442    }
12443}
12444impl<R>
12445    From<
12446        ::aws_smithy_runtime_api::client::result::SdkError<
12447            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
12448            R,
12449        >,
12450    > for Error
12451where
12452    R: Send + Sync + std::fmt::Debug + 'static,
12453{
12454    fn from(
12455        err: ::aws_smithy_runtime_api::client::result::SdkError<
12456            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
12457            R,
12458        >,
12459    ) -> Self {
12460        match err {
12461            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12462            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12463                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12464                source: err.into(),
12465            }),
12466        }
12467    }
12468}
12469impl From<crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
12470    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
12471        match err {
12472            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
12473                Error::Unhandled(inner)
12474            }
12475        }
12476    }
12477}
12478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
12479    for Error
12480where
12481    R: Send + Sync + std::fmt::Debug + 'static,
12482{
12483    fn from(
12484        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
12485    ) -> Self {
12486        match err {
12487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12490                source: err.into(),
12491            }),
12492        }
12493    }
12494}
12495impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
12496    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
12497        match err {
12498            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
12499        }
12500    }
12501}
12502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
12503where
12504    R: Send + Sync + std::fmt::Debug + 'static,
12505{
12506    fn from(
12507        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
12508    ) -> Self {
12509        match err {
12510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12513                source: err.into(),
12514            }),
12515        }
12516    }
12517}
12518impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
12519    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
12520        match err {
12521            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
12522        }
12523    }
12524}
12525impl<R>
12526    From<
12527        ::aws_smithy_runtime_api::client::result::SdkError<
12528            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
12529            R,
12530        >,
12531    > for Error
12532where
12533    R: Send + Sync + std::fmt::Debug + 'static,
12534{
12535    fn from(
12536        err: ::aws_smithy_runtime_api::client::result::SdkError<
12537            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
12538            R,
12539        >,
12540    ) -> Self {
12541        match err {
12542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12545                source: err.into(),
12546            }),
12547        }
12548    }
12549}
12550impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
12551    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
12552        match err {
12553            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
12554        }
12555    }
12556}
12557impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
12558where
12559    R: Send + Sync + std::fmt::Debug + 'static,
12560{
12561    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
12562        match err {
12563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12566                source: err.into(),
12567            }),
12568        }
12569    }
12570}
12571impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
12572    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
12573        match err {
12574            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
12575        }
12576    }
12577}
12578impl<R>
12579    From<
12580        ::aws_smithy_runtime_api::client::result::SdkError<
12581            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
12582            R,
12583        >,
12584    > for Error
12585where
12586    R: Send + Sync + std::fmt::Debug + 'static,
12587{
12588    fn from(
12589        err: ::aws_smithy_runtime_api::client::result::SdkError<
12590            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
12591            R,
12592        >,
12593    ) -> Self {
12594        match err {
12595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12598                source: err.into(),
12599            }),
12600        }
12601    }
12602}
12603impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
12604    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
12605        match err {
12606            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
12607                Error::Unhandled(inner)
12608            }
12609        }
12610    }
12611}
12612impl<R>
12613    From<
12614        ::aws_smithy_runtime_api::client::result::SdkError<
12615            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
12616            R,
12617        >,
12618    > for Error
12619where
12620    R: Send + Sync + std::fmt::Debug + 'static,
12621{
12622    fn from(
12623        err: ::aws_smithy_runtime_api::client::result::SdkError<
12624            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
12625            R,
12626        >,
12627    ) -> Self {
12628        match err {
12629            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12630            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12631                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12632                source: err.into(),
12633            }),
12634        }
12635    }
12636}
12637impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
12638    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
12639        match err {
12640            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
12641                Error::Unhandled(inner)
12642            }
12643        }
12644    }
12645}
12646impl<R>
12647    From<
12648        ::aws_smithy_runtime_api::client::result::SdkError<
12649            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
12650            R,
12651        >,
12652    > for Error
12653where
12654    R: Send + Sync + std::fmt::Debug + 'static,
12655{
12656    fn from(
12657        err: ::aws_smithy_runtime_api::client::result::SdkError<
12658            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
12659            R,
12660        >,
12661    ) -> Self {
12662        match err {
12663            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12664            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12665                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12666                source: err.into(),
12667            }),
12668        }
12669    }
12670}
12671impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
12672    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
12673        match err {
12674            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
12675                Error::Unhandled(inner)
12676            }
12677        }
12678    }
12679}
12680impl<R>
12681    From<
12682        ::aws_smithy_runtime_api::client::result::SdkError<
12683            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
12684            R,
12685        >,
12686    > for Error
12687where
12688    R: Send + Sync + std::fmt::Debug + 'static,
12689{
12690    fn from(
12691        err: ::aws_smithy_runtime_api::client::result::SdkError<
12692            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
12693            R,
12694        >,
12695    ) -> Self {
12696        match err {
12697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12700                source: err.into(),
12701            }),
12702        }
12703    }
12704}
12705impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
12706    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
12707        match err {
12708            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
12709        }
12710    }
12711}
12712impl<R>
12713    From<
12714        ::aws_smithy_runtime_api::client::result::SdkError<
12715            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12716            R,
12717        >,
12718    > for Error
12719where
12720    R: Send + Sync + std::fmt::Debug + 'static,
12721{
12722    fn from(
12723        err: ::aws_smithy_runtime_api::client::result::SdkError<
12724            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12725            R,
12726        >,
12727    ) -> Self {
12728        match err {
12729            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12730            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12731                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12732                source: err.into(),
12733            }),
12734        }
12735    }
12736}
12737impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
12738    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
12739        match err {
12740            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
12741        }
12742    }
12743}
12744impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> for Error
12745where
12746    R: Send + Sync + std::fmt::Debug + 'static,
12747{
12748    fn from(
12749        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>,
12750    ) -> Self {
12751        match err {
12752            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12753            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12754                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12755                source: err.into(),
12756            }),
12757        }
12758    }
12759}
12760impl From<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
12761    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
12762        match err {
12763            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
12764        }
12765    }
12766}
12767impl<R>
12768    From<
12769        ::aws_smithy_runtime_api::client::result::SdkError<
12770            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
12771            R,
12772        >,
12773    > for Error
12774where
12775    R: Send + Sync + std::fmt::Debug + 'static,
12776{
12777    fn from(
12778        err: ::aws_smithy_runtime_api::client::result::SdkError<
12779            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
12780            R,
12781        >,
12782    ) -> Self {
12783        match err {
12784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12787                source: err.into(),
12788            }),
12789        }
12790    }
12791}
12792impl From<crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
12793    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
12794        match err {
12795            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
12796                Error::Unhandled(inner)
12797            }
12798        }
12799    }
12800}
12801impl<R>
12802    From<
12803        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
12804    > for Error
12805where
12806    R: Send + Sync + std::fmt::Debug + 'static,
12807{
12808    fn from(
12809        err: ::aws_smithy_runtime_api::client::result::SdkError<
12810            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
12811            R,
12812        >,
12813    ) -> Self {
12814        match err {
12815            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12816            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12817                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12818                source: err.into(),
12819            }),
12820        }
12821    }
12822}
12823impl From<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
12824    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
12825        match err {
12826            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
12827        }
12828    }
12829}
12830impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>>
12831    for Error
12832where
12833    R: Send + Sync + std::fmt::Debug + 'static,
12834{
12835    fn from(
12836        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>,
12837    ) -> Self {
12838        match err {
12839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12842                source: err.into(),
12843            }),
12844        }
12845    }
12846}
12847impl From<crate::operation::disassociate_route_server::DisassociateRouteServerError> for Error {
12848    fn from(err: crate::operation::disassociate_route_server::DisassociateRouteServerError) -> Self {
12849        match err {
12850            crate::operation::disassociate_route_server::DisassociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
12851        }
12852    }
12853}
12854impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> for Error
12855where
12856    R: Send + Sync + std::fmt::Debug + 'static,
12857{
12858    fn from(
12859        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>,
12860    ) -> Self {
12861        match err {
12862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12865                source: err.into(),
12866            }),
12867        }
12868    }
12869}
12870impl From<crate::operation::disassociate_route_table::DisassociateRouteTableError> for Error {
12871    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
12872        match err {
12873            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
12874        }
12875    }
12876}
12877impl<R>
12878    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
12879    for Error
12880where
12881    R: Send + Sync + std::fmt::Debug + 'static,
12882{
12883    fn from(
12884        err: ::aws_smithy_runtime_api::client::result::SdkError<
12885            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
12886            R,
12887        >,
12888    ) -> Self {
12889        match err {
12890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12893                source: err.into(),
12894            }),
12895        }
12896    }
12897}
12898impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
12899    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
12900        match err {
12901            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
12902        }
12903    }
12904}
12905impl<R>
12906    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
12907    for Error
12908where
12909    R: Send + Sync + std::fmt::Debug + 'static,
12910{
12911    fn from(
12912        err: ::aws_smithy_runtime_api::client::result::SdkError<
12913            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
12914            R,
12915        >,
12916    ) -> Self {
12917        match err {
12918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12921                source: err.into(),
12922            }),
12923        }
12924    }
12925}
12926impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
12927    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
12928        match err {
12929            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12930        }
12931    }
12932}
12933impl<R>
12934    From<
12935        ::aws_smithy_runtime_api::client::result::SdkError<
12936            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12937            R,
12938        >,
12939    > for Error
12940where
12941    R: Send + Sync + std::fmt::Debug + 'static,
12942{
12943    fn from(
12944        err: ::aws_smithy_runtime_api::client::result::SdkError<
12945            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12946            R,
12947        >,
12948    ) -> Self {
12949        match err {
12950            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12951            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12952                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12953                source: err.into(),
12954            }),
12955        }
12956    }
12957}
12958impl From<crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
12959    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
12960        match err {
12961            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
12962                Error::Unhandled(inner)
12963            }
12964        }
12965    }
12966}
12967impl<R>
12968    From<
12969        ::aws_smithy_runtime_api::client::result::SdkError<
12970            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
12971            R,
12972        >,
12973    > for Error
12974where
12975    R: Send + Sync + std::fmt::Debug + 'static,
12976{
12977    fn from(
12978        err: ::aws_smithy_runtime_api::client::result::SdkError<
12979            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
12980            R,
12981        >,
12982    ) -> Self {
12983        match err {
12984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12987                source: err.into(),
12988            }),
12989        }
12990    }
12991}
12992impl From<crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
12993    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
12994        match err {
12995            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
12996                Error::Unhandled(inner)
12997            }
12998        }
12999    }
13000}
13001impl<R>
13002    From<
13003        ::aws_smithy_runtime_api::client::result::SdkError<
13004            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
13005            R,
13006        >,
13007    > for Error
13008where
13009    R: Send + Sync + std::fmt::Debug + 'static,
13010{
13011    fn from(
13012        err: ::aws_smithy_runtime_api::client::result::SdkError<
13013            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
13014            R,
13015        >,
13016    ) -> Self {
13017        match err {
13018            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13019            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13020                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13021                source: err.into(),
13022            }),
13023        }
13024    }
13025}
13026impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
13027    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
13028        match err {
13029            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
13030                Error::Unhandled(inner)
13031            }
13032        }
13033    }
13034}
13035impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
13036    for Error
13037where
13038    R: Send + Sync + std::fmt::Debug + 'static,
13039{
13040    fn from(
13041        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
13042    ) -> Self {
13043        match err {
13044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13047                source: err.into(),
13048            }),
13049        }
13050    }
13051}
13052impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
13053    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
13054        match err {
13055            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
13056        }
13057    }
13058}
13059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>>
13060    for Error
13061where
13062    R: Send + Sync + std::fmt::Debug + 'static,
13063{
13064    fn from(
13065        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>,
13066    ) -> Self {
13067        match err {
13068            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13069            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13070                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13071                source: err.into(),
13072            }),
13073        }
13074    }
13075}
13076impl From<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
13077    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
13078        match err {
13079            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
13080        }
13081    }
13082}
13083impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
13084where
13085    R: Send + Sync + std::fmt::Debug + 'static,
13086{
13087    fn from(
13088        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
13089    ) -> Self {
13090        match err {
13091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13094                source: err.into(),
13095            }),
13096        }
13097    }
13098}
13099impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
13100    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
13101        match err {
13102            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
13103        }
13104    }
13105}
13106impl<R>
13107    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
13108    for Error
13109where
13110    R: Send + Sync + std::fmt::Debug + 'static,
13111{
13112    fn from(
13113        err: ::aws_smithy_runtime_api::client::result::SdkError<
13114            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
13115            R,
13116        >,
13117    ) -> Self {
13118        match err {
13119            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13120            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13121                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13122                source: err.into(),
13123            }),
13124        }
13125    }
13126}
13127impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
13128    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
13129        match err {
13130            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
13131        }
13132    }
13133}
13134impl<R>
13135    From<
13136        ::aws_smithy_runtime_api::client::result::SdkError<
13137            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
13138            R,
13139        >,
13140    > for Error
13141where
13142    R: Send + Sync + std::fmt::Debug + 'static,
13143{
13144    fn from(
13145        err: ::aws_smithy_runtime_api::client::result::SdkError<
13146            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
13147            R,
13148        >,
13149    ) -> Self {
13150        match err {
13151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13154                source: err.into(),
13155            }),
13156        }
13157    }
13158}
13159impl From<crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
13160    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
13161        match err {
13162            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
13163                inner,
13164            ) => Error::Unhandled(inner),
13165        }
13166    }
13167}
13168impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>> for Error
13169where
13170    R: Send + Sync + std::fmt::Debug + 'static,
13171{
13172    fn from(
13173        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>,
13174    ) -> Self {
13175        match err {
13176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13179                source: err.into(),
13180            }),
13181        }
13182    }
13183}
13184impl From<crate::operation::enable_capacity_manager::EnableCapacityManagerError> for Error {
13185    fn from(err: crate::operation::enable_capacity_manager::EnableCapacityManagerError) -> Self {
13186        match err {
13187            crate::operation::enable_capacity_manager::EnableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
13188        }
13189    }
13190}
13191impl<R>
13192    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
13193    for Error
13194where
13195    R: Send + Sync + std::fmt::Debug + 'static,
13196{
13197    fn from(
13198        err: ::aws_smithy_runtime_api::client::result::SdkError<
13199            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
13200            R,
13201        >,
13202    ) -> Self {
13203        match err {
13204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13207                source: err.into(),
13208            }),
13209        }
13210    }
13211}
13212impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
13213    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
13214        match err {
13215            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
13216        }
13217    }
13218}
13219impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
13220where
13221    R: Send + Sync + std::fmt::Debug + 'static,
13222{
13223    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
13224        match err {
13225            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13226            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13227                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13228                source: err.into(),
13229            }),
13230        }
13231    }
13232}
13233impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
13234    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
13235        match err {
13236            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
13237        }
13238    }
13239}
13240impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
13241    for Error
13242where
13243    R: Send + Sync + std::fmt::Debug + 'static,
13244{
13245    fn from(
13246        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>,
13247    ) -> Self {
13248        match err {
13249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13252                source: err.into(),
13253            }),
13254        }
13255    }
13256}
13257impl From<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
13258    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
13259        match err {
13260            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
13261        }
13262    }
13263}
13264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
13265where
13266    R: Send + Sync + std::fmt::Debug + 'static,
13267{
13268    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
13269        match err {
13270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13273                source: err.into(),
13274            }),
13275        }
13276    }
13277}
13278impl From<crate::operation::enable_image::EnableImageError> for Error {
13279    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
13280        match err {
13281            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
13282        }
13283    }
13284}
13285impl<R>
13286    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
13287    for Error
13288where
13289    R: Send + Sync + std::fmt::Debug + 'static,
13290{
13291    fn from(
13292        err: ::aws_smithy_runtime_api::client::result::SdkError<
13293            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
13294            R,
13295        >,
13296    ) -> Self {
13297        match err {
13298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13301                source: err.into(),
13302            }),
13303        }
13304    }
13305}
13306impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
13307    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
13308        match err {
13309            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
13310        }
13311    }
13312}
13313impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> for Error
13314where
13315    R: Send + Sync + std::fmt::Debug + 'static,
13316{
13317    fn from(
13318        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>,
13319    ) -> Self {
13320        match err {
13321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13324                source: err.into(),
13325            }),
13326        }
13327    }
13328}
13329impl From<crate::operation::enable_image_deprecation::EnableImageDeprecationError> for Error {
13330    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
13331        match err {
13332            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
13333        }
13334    }
13335}
13336impl<R>
13337    From<
13338        ::aws_smithy_runtime_api::client::result::SdkError<
13339            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
13340            R,
13341        >,
13342    > for Error
13343where
13344    R: Send + Sync + std::fmt::Debug + 'static,
13345{
13346    fn from(
13347        err: ::aws_smithy_runtime_api::client::result::SdkError<
13348            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
13349            R,
13350        >,
13351    ) -> Self {
13352        match err {
13353            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13354            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13355                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13356                source: err.into(),
13357            }),
13358        }
13359    }
13360}
13361impl From<crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
13362    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
13363        match err {
13364            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::Unhandled(inner) => {
13365                Error::Unhandled(inner)
13366            }
13367        }
13368    }
13369}
13370impl<R>
13371    From<
13372        ::aws_smithy_runtime_api::client::result::SdkError<
13373            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError,
13374            R,
13375        >,
13376    > for Error
13377where
13378    R: Send + Sync + std::fmt::Debug + 'static,
13379{
13380    fn from(
13381        err: ::aws_smithy_runtime_api::client::result::SdkError<
13382            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError,
13383            R,
13384        >,
13385    ) -> Self {
13386        match err {
13387            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13388            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13389                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13390                source: err.into(),
13391            }),
13392        }
13393    }
13394}
13395impl From<crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError> for Error {
13396    fn from(err: crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError) -> Self {
13397        match err {
13398            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError::Unhandled(inner) => {
13399                Error::Unhandled(inner)
13400            }
13401        }
13402    }
13403}
13404impl<R>
13405    From<
13406        ::aws_smithy_runtime_api::client::result::SdkError<
13407            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
13408            R,
13409        >,
13410    > for Error
13411where
13412    R: Send + Sync + std::fmt::Debug + 'static,
13413{
13414    fn from(
13415        err: ::aws_smithy_runtime_api::client::result::SdkError<
13416            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
13417            R,
13418        >,
13419    ) -> Self {
13420        match err {
13421            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13422            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13423                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13424                source: err.into(),
13425            }),
13426        }
13427    }
13428}
13429impl From<crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
13430    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
13431        match err {
13432            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
13433                Error::Unhandled(inner)
13434            }
13435        }
13436    }
13437}
13438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ipam_policy::EnableIpamPolicyError, R>> for Error
13439where
13440    R: Send + Sync + std::fmt::Debug + 'static,
13441{
13442    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ipam_policy::EnableIpamPolicyError, R>) -> Self {
13443        match err {
13444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13447                source: err.into(),
13448            }),
13449        }
13450    }
13451}
13452impl From<crate::operation::enable_ipam_policy::EnableIpamPolicyError> for Error {
13453    fn from(err: crate::operation::enable_ipam_policy::EnableIpamPolicyError) -> Self {
13454        match err {
13455            crate::operation::enable_ipam_policy::EnableIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
13456        }
13457    }
13458}
13459impl<R>
13460    From<
13461        ::aws_smithy_runtime_api::client::result::SdkError<
13462            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
13463            R,
13464        >,
13465    > for Error
13466where
13467    R: Send + Sync + std::fmt::Debug + 'static,
13468{
13469    fn from(
13470        err: ::aws_smithy_runtime_api::client::result::SdkError<
13471            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
13472            R,
13473        >,
13474    ) -> Self {
13475        match err {
13476            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13477            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13478                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13479                source: err.into(),
13480            }),
13481        }
13482    }
13483}
13484impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
13485    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
13486        match err {
13487            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
13488                inner,
13489            ) => Error::Unhandled(inner),
13490        }
13491    }
13492}
13493impl<R>
13494    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError, R>>
13495    for Error
13496where
13497    R: Send + Sync + std::fmt::Debug + 'static,
13498{
13499    fn from(
13500        err: ::aws_smithy_runtime_api::client::result::SdkError<
13501            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError,
13502            R,
13503        >,
13504    ) -> Self {
13505        match err {
13506            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13507            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13508                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13509                source: err.into(),
13510            }),
13511        }
13512    }
13513}
13514impl From<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError> for Error {
13515    fn from(err: crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError) -> Self {
13516        match err {
13517            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
13518        }
13519    }
13520}
13521impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
13522    for Error
13523where
13524    R: Send + Sync + std::fmt::Debug + 'static,
13525{
13526    fn from(
13527        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
13528    ) -> Self {
13529        match err {
13530            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13531            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13532                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13533                source: err.into(),
13534            }),
13535        }
13536    }
13537}
13538impl From<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
13539    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
13540        match err {
13541            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
13542        }
13543    }
13544}
13545impl<R>
13546    From<
13547        ::aws_smithy_runtime_api::client::result::SdkError<
13548            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
13549            R,
13550        >,
13551    > for Error
13552where
13553    R: Send + Sync + std::fmt::Debug + 'static,
13554{
13555    fn from(
13556        err: ::aws_smithy_runtime_api::client::result::SdkError<
13557            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
13558            R,
13559        >,
13560    ) -> Self {
13561        match err {
13562            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13563            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13564                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13565                source: err.into(),
13566            }),
13567        }
13568    }
13569}
13570impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
13571    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
13572        match err {
13573            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
13574        }
13575    }
13576}
13577impl<R>
13578    From<
13579        ::aws_smithy_runtime_api::client::result::SdkError<
13580            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
13581            R,
13582        >,
13583    > for Error
13584where
13585    R: Send + Sync + std::fmt::Debug + 'static,
13586{
13587    fn from(
13588        err: ::aws_smithy_runtime_api::client::result::SdkError<
13589            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
13590            R,
13591        >,
13592    ) -> Self {
13593        match err {
13594            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13595            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13596                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13597                source: err.into(),
13598            }),
13599        }
13600    }
13601}
13602impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
13603    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
13604        match err {
13605            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
13606                Error::Unhandled(inner)
13607            }
13608        }
13609    }
13610}
13611impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
13612    for Error
13613where
13614    R: Send + Sync + std::fmt::Debug + 'static,
13615{
13616    fn from(
13617        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
13618    ) -> Self {
13619        match err {
13620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13623                source: err.into(),
13624            }),
13625        }
13626    }
13627}
13628impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
13629    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
13630        match err {
13631            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
13632        }
13633    }
13634}
13635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
13636where
13637    R: Send + Sync + std::fmt::Debug + 'static,
13638{
13639    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
13640        match err {
13641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13644                source: err.into(),
13645            }),
13646        }
13647    }
13648}
13649impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
13650    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
13651        match err {
13652            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
13653        }
13654    }
13655}
13656impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
13657where
13658    R: Send + Sync + std::fmt::Debug + 'static,
13659{
13660    fn from(
13661        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
13662    ) -> Self {
13663        match err {
13664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13667                source: err.into(),
13668            }),
13669        }
13670    }
13671}
13672impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
13673    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
13674        match err {
13675            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
13676        }
13677    }
13678}
13679impl<R>
13680    From<
13681        ::aws_smithy_runtime_api::client::result::SdkError<
13682            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
13683            R,
13684        >,
13685    > for Error
13686where
13687    R: Send + Sync + std::fmt::Debug + 'static,
13688{
13689    fn from(
13690        err: ::aws_smithy_runtime_api::client::result::SdkError<
13691            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
13692            R,
13693        >,
13694    ) -> Self {
13695        match err {
13696            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13697            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13698                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13699                source: err.into(),
13700            }),
13701        }
13702    }
13703}
13704impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
13705    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
13706        match err {
13707            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
13708        }
13709    }
13710}
13711impl<R>
13712    From<
13713        ::aws_smithy_runtime_api::client::result::SdkError<
13714            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13715            R,
13716        >,
13717    > for Error
13718where
13719    R: Send + Sync + std::fmt::Debug + 'static,
13720{
13721    fn from(
13722        err: ::aws_smithy_runtime_api::client::result::SdkError<
13723            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13724            R,
13725        >,
13726    ) -> Self {
13727        match err {
13728            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13729            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13730                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13731                source: err.into(),
13732            }),
13733        }
13734    }
13735}
13736impl From<crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
13737    fn from(
13738        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13739    ) -> Self {
13740        match err {
13741            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
13742        }
13743    }
13744}
13745impl<R>
13746    From<
13747        ::aws_smithy_runtime_api::client::result::SdkError<
13748            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13749            R,
13750        >,
13751    > for Error
13752where
13753    R: Send + Sync + std::fmt::Debug + 'static,
13754{
13755    fn from(
13756        err: ::aws_smithy_runtime_api::client::result::SdkError<
13757            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13758            R,
13759        >,
13760    ) -> Self {
13761        match err {
13762            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13763            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13764                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13765                source: err.into(),
13766            }),
13767        }
13768    }
13769}
13770impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
13771    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
13772        match err {
13773            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
13774                Error::Unhandled(inner)
13775            }
13776        }
13777    }
13778}
13779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
13780where
13781    R: Send + Sync + std::fmt::Debug + 'static,
13782{
13783    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
13784        match err {
13785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13788                source: err.into(),
13789            }),
13790        }
13791    }
13792}
13793impl From<crate::operation::export_image::ExportImageError> for Error {
13794    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
13795        match err {
13796            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
13797        }
13798    }
13799}
13800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
13801    for Error
13802where
13803    R: Send + Sync + std::fmt::Debug + 'static,
13804{
13805    fn from(
13806        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
13807    ) -> Self {
13808        match err {
13809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13812                source: err.into(),
13813            }),
13814        }
13815    }
13816}
13817impl From<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
13818    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
13819        match err {
13820            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
13821        }
13822    }
13823}
13824impl<R>
13825    From<
13826        ::aws_smithy_runtime_api::client::result::SdkError<
13827            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13828            R,
13829        >,
13830    > for Error
13831where
13832    R: Send + Sync + std::fmt::Debug + 'static,
13833{
13834    fn from(
13835        err: ::aws_smithy_runtime_api::client::result::SdkError<
13836            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13837            R,
13838        >,
13839    ) -> Self {
13840        match err {
13841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13844                source: err.into(),
13845            }),
13846        }
13847    }
13848}
13849impl From<crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
13850    fn from(
13851        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13852    ) -> Self {
13853        match err {
13854            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
13855        }
13856    }
13857}
13858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>>
13859    for Error
13860where
13861    R: Send + Sync + std::fmt::Debug + 'static,
13862{
13863    fn from(
13864        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>,
13865    ) -> Self {
13866        match err {
13867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13870                source: err.into(),
13871            }),
13872        }
13873    }
13874}
13875impl From<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError> for Error {
13876    fn from(err: crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError) -> Self {
13877        match err {
13878            crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError::Unhandled(inner) => Error::Unhandled(inner),
13879        }
13880    }
13881}
13882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
13883    for Error
13884where
13885    R: Send + Sync + std::fmt::Debug + 'static,
13886{
13887    fn from(
13888        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
13889    ) -> Self {
13890        match err {
13891            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13892            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13893                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13894                source: err.into(),
13895            }),
13896        }
13897    }
13898}
13899impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
13900    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
13901        match err {
13902            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
13903        }
13904    }
13905}
13906impl<R>
13907    From<
13908        ::aws_smithy_runtime_api::client::result::SdkError<
13909            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
13910            R,
13911        >,
13912    > for Error
13913where
13914    R: Send + Sync + std::fmt::Debug + 'static,
13915{
13916    fn from(
13917        err: ::aws_smithy_runtime_api::client::result::SdkError<
13918            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
13919            R,
13920        >,
13921    ) -> Self {
13922        match err {
13923            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13924            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13925                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13926                source: err.into(),
13927            }),
13928        }
13929    }
13930}
13931impl From<crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
13932    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
13933        match err {
13934            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
13935                Error::Unhandled(inner)
13936            }
13937        }
13938    }
13939}
13940impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
13941    for Error
13942where
13943    R: Send + Sync + std::fmt::Debug + 'static,
13944{
13945    fn from(
13946        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
13947    ) -> Self {
13948        match err {
13949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13952                source: err.into(),
13953            }),
13954        }
13955    }
13956}
13957impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
13958    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
13959        match err {
13960            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13961        }
13962    }
13963}
13964impl<R>
13965    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
13966    for Error
13967where
13968    R: Send + Sync + std::fmt::Debug + 'static,
13969{
13970    fn from(
13971        err: ::aws_smithy_runtime_api::client::result::SdkError<
13972            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
13973            R,
13974        >,
13975    ) -> Self {
13976        match err {
13977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13980                source: err.into(),
13981            }),
13982        }
13983    }
13984}
13985impl From<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
13986    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
13987        match err {
13988            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
13989        }
13990    }
13991}
13992impl<R>
13993    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError, R>>
13994    for Error
13995where
13996    R: Send + Sync + std::fmt::Debug + 'static,
13997{
13998    fn from(
13999        err: ::aws_smithy_runtime_api::client::result::SdkError<
14000            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError,
14001            R,
14002        >,
14003    ) -> Self {
14004        match err {
14005            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14006            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14007                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14008                source: err.into(),
14009            }),
14010        }
14011    }
14012}
14013impl From<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError> for Error {
14014    fn from(err: crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError) -> Self {
14015        match err {
14016            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError::Unhandled(inner) => Error::Unhandled(inner),
14017        }
14018    }
14019}
14020impl<R>
14021    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError, R>>
14022    for Error
14023where
14024    R: Send + Sync + std::fmt::Debug + 'static,
14025{
14026    fn from(
14027        err: ::aws_smithy_runtime_api::client::result::SdkError<
14028            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError,
14029            R,
14030        >,
14031    ) -> Self {
14032        match err {
14033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14036                source: err.into(),
14037            }),
14038        }
14039    }
14040}
14041impl From<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError> for Error {
14042    fn from(err: crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError) -> Self {
14043        match err {
14044            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError::Unhandled(inner) => Error::Unhandled(inner),
14045        }
14046    }
14047}
14048impl<R>
14049    From<
14050        ::aws_smithy_runtime_api::client::result::SdkError<
14051            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
14052            R,
14053        >,
14054    > for Error
14055where
14056    R: Send + Sync + std::fmt::Debug + 'static,
14057{
14058    fn from(
14059        err: ::aws_smithy_runtime_api::client::result::SdkError<
14060            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
14061            R,
14062        >,
14063    ) -> Self {
14064        match err {
14065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14068                source: err.into(),
14069            }),
14070        }
14071    }
14072}
14073impl From<crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError> for Error {
14074    fn from(err: crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError) -> Self {
14075        match err {
14076            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError::Unhandled(inner) => {
14077                Error::Unhandled(inner)
14078            }
14079        }
14080    }
14081}
14082impl<R>
14083    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
14084    for Error
14085where
14086    R: Send + Sync + std::fmt::Debug + 'static,
14087{
14088    fn from(
14089        err: ::aws_smithy_runtime_api::client::result::SdkError<
14090            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
14091            R,
14092        >,
14093    ) -> Self {
14094        match err {
14095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14098                source: err.into(),
14099            }),
14100        }
14101    }
14102}
14103impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
14104    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
14105        match err {
14106            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
14107        }
14108    }
14109}
14110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
14111where
14112    R: Send + Sync + std::fmt::Debug + 'static,
14113{
14114    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
14115        match err {
14116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14119                source: err.into(),
14120            }),
14121        }
14122    }
14123}
14124impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
14125    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
14126        match err {
14127            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
14128        }
14129    }
14130}
14131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
14132where
14133    R: Send + Sync + std::fmt::Debug + 'static,
14134{
14135    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
14136        match err {
14137            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14138            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14139                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14140                source: err.into(),
14141            }),
14142        }
14143    }
14144}
14145impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
14146    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
14147        match err {
14148            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
14149        }
14150    }
14151}
14152impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
14153where
14154    R: Send + Sync + std::fmt::Debug + 'static,
14155{
14156    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
14157        match err {
14158            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14159            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14160                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14161                source: err.into(),
14162            }),
14163        }
14164    }
14165}
14166impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
14167    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
14168        match err {
14169            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
14170        }
14171    }
14172}
14173impl<R>
14174    From<
14175        ::aws_smithy_runtime_api::client::result::SdkError<
14176            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
14177            R,
14178        >,
14179    > for Error
14180where
14181    R: Send + Sync + std::fmt::Debug + 'static,
14182{
14183    fn from(
14184        err: ::aws_smithy_runtime_api::client::result::SdkError<
14185            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
14186            R,
14187        >,
14188    ) -> Self {
14189        match err {
14190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14193                source: err.into(),
14194            }),
14195        }
14196    }
14197}
14198impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
14199    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
14200        match err {
14201            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
14202                Error::Unhandled(inner)
14203            }
14204        }
14205    }
14206}
14207impl<R>
14208    From<
14209        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
14210    > for Error
14211where
14212    R: Send + Sync + std::fmt::Debug + 'static,
14213{
14214    fn from(
14215        err: ::aws_smithy_runtime_api::client::result::SdkError<
14216            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
14217            R,
14218        >,
14219    ) -> Self {
14220        match err {
14221            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14222            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14223                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14224                source: err.into(),
14225            }),
14226        }
14227    }
14228}
14229impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
14230    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
14231        match err {
14232            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
14233        }
14234    }
14235}
14236impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
14237    for Error
14238where
14239    R: Send + Sync + std::fmt::Debug + 'static,
14240{
14241    fn from(
14242        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
14243    ) -> Self {
14244        match err {
14245            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14246            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14247                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14248                source: err.into(),
14249            }),
14250        }
14251    }
14252}
14253impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
14254    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
14255        match err {
14256            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
14257        }
14258    }
14259}
14260impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
14261    for Error
14262where
14263    R: Send + Sync + std::fmt::Debug + 'static,
14264{
14265    fn from(
14266        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
14267    ) -> Self {
14268        match err {
14269            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14270            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14271                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14272                source: err.into(),
14273            }),
14274        }
14275    }
14276}
14277impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
14278    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
14279        match err {
14280            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
14281        }
14282    }
14283}
14284impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError, R>> for Error
14285where
14286    R: Send + Sync + std::fmt::Debug + 'static,
14287{
14288    fn from(
14289        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError, R>,
14290    ) -> Self {
14291        match err {
14292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14295                source: err.into(),
14296            }),
14297        }
14298    }
14299}
14300impl From<crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError> for Error {
14301    fn from(err: crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError) -> Self {
14302        match err {
14303            crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14304        }
14305    }
14306}
14307impl<R>
14308    From<
14309        ::aws_smithy_runtime_api::client::result::SdkError<
14310            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
14311            R,
14312        >,
14313    > for Error
14314where
14315    R: Send + Sync + std::fmt::Debug + 'static,
14316{
14317    fn from(
14318        err: ::aws_smithy_runtime_api::client::result::SdkError<
14319            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
14320            R,
14321        >,
14322    ) -> Self {
14323        match err {
14324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14327                source: err.into(),
14328            }),
14329        }
14330    }
14331}
14332impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
14333    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
14334        match err {
14335            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
14336        }
14337    }
14338}
14339impl<R>
14340    From<
14341        ::aws_smithy_runtime_api::client::result::SdkError<
14342            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
14343            R,
14344        >,
14345    > for Error
14346where
14347    R: Send + Sync + std::fmt::Debug + 'static,
14348{
14349    fn from(
14350        err: ::aws_smithy_runtime_api::client::result::SdkError<
14351            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
14352            R,
14353        >,
14354    ) -> Self {
14355        match err {
14356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14359                source: err.into(),
14360            }),
14361        }
14362    }
14363}
14364impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
14365    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
14366        match err {
14367            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
14368        }
14369    }
14370}
14371impl<R>
14372    From<
14373        ::aws_smithy_runtime_api::client::result::SdkError<
14374            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
14375            R,
14376        >,
14377    > for Error
14378where
14379    R: Send + Sync + std::fmt::Debug + 'static,
14380{
14381    fn from(
14382        err: ::aws_smithy_runtime_api::client::result::SdkError<
14383            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
14384            R,
14385        >,
14386    ) -> Self {
14387        match err {
14388            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14389            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14390                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14391                source: err.into(),
14392            }),
14393        }
14394    }
14395}
14396impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
14397    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
14398        match err {
14399            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
14400                Error::Unhandled(inner)
14401            }
14402        }
14403    }
14404}
14405impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_image_ancestry::GetImageAncestryError, R>> for Error
14406where
14407    R: Send + Sync + std::fmt::Debug + 'static,
14408{
14409    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_image_ancestry::GetImageAncestryError, R>) -> Self {
14410        match err {
14411            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14412            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14413                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14414                source: err.into(),
14415            }),
14416        }
14417    }
14418}
14419impl From<crate::operation::get_image_ancestry::GetImageAncestryError> for Error {
14420    fn from(err: crate::operation::get_image_ancestry::GetImageAncestryError) -> Self {
14421        match err {
14422            crate::operation::get_image_ancestry::GetImageAncestryError::Unhandled(inner) => Error::Unhandled(inner),
14423        }
14424    }
14425}
14426impl<R>
14427    From<
14428        ::aws_smithy_runtime_api::client::result::SdkError<
14429            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
14430            R,
14431        >,
14432    > for Error
14433where
14434    R: Send + Sync + std::fmt::Debug + 'static,
14435{
14436    fn from(
14437        err: ::aws_smithy_runtime_api::client::result::SdkError<
14438            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
14439            R,
14440        >,
14441    ) -> Self {
14442        match err {
14443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14446                source: err.into(),
14447            }),
14448        }
14449    }
14450}
14451impl From<crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
14452    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
14453        match err {
14454            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
14455        }
14456    }
14457}
14458impl<R>
14459    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
14460    for Error
14461where
14462    R: Send + Sync + std::fmt::Debug + 'static,
14463{
14464    fn from(
14465        err: ::aws_smithy_runtime_api::client::result::SdkError<
14466            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
14467            R,
14468        >,
14469    ) -> Self {
14470        match err {
14471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14474                source: err.into(),
14475            }),
14476        }
14477    }
14478}
14479impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
14480    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
14481        match err {
14482            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
14483        }
14484    }
14485}
14486impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
14487where
14488    R: Send + Sync + std::fmt::Debug + 'static,
14489{
14490    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> Self {
14491        match err {
14492            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14493            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14494                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14495                source: err.into(),
14496            }),
14497        }
14498    }
14499}
14500impl From<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
14501    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
14502        match err {
14503            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
14504        }
14505    }
14506}
14507impl<R>
14508    From<
14509        ::aws_smithy_runtime_api::client::result::SdkError<
14510            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
14511            R,
14512        >,
14513    > for Error
14514where
14515    R: Send + Sync + std::fmt::Debug + 'static,
14516{
14517    fn from(
14518        err: ::aws_smithy_runtime_api::client::result::SdkError<
14519            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
14520            R,
14521        >,
14522    ) -> Self {
14523        match err {
14524            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14525            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14526                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14527                source: err.into(),
14528            }),
14529        }
14530    }
14531}
14532impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
14533    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
14534        match err {
14535            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
14536                Error::Unhandled(inner)
14537            }
14538        }
14539    }
14540}
14541impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
14542where
14543    R: Send + Sync + std::fmt::Debug + 'static,
14544{
14545    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
14546        match err {
14547            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14548            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14549                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14550                source: err.into(),
14551            }),
14552        }
14553    }
14554}
14555impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
14556    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
14557        match err {
14558            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
14559        }
14560    }
14561}
14562impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
14563where
14564    R: Send + Sync + std::fmt::Debug + 'static,
14565{
14566    fn from(
14567        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
14568    ) -> Self {
14569        match err {
14570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14573                source: err.into(),
14574            }),
14575        }
14576    }
14577}
14578impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
14579    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
14580        match err {
14581            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
14582        }
14583    }
14584}
14585impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
14586    for Error
14587where
14588    R: Send + Sync + std::fmt::Debug + 'static,
14589{
14590    fn from(
14591        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
14592    ) -> Self {
14593        match err {
14594            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14595            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14596                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14597                source: err.into(),
14598            }),
14599        }
14600    }
14601}
14602impl From<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
14603    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
14604        match err {
14605            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
14606        }
14607    }
14608}
14609impl<R>
14610    From<
14611        ::aws_smithy_runtime_api::client::result::SdkError<
14612            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
14613            R,
14614        >,
14615    > for Error
14616where
14617    R: Send + Sync + std::fmt::Debug + 'static,
14618{
14619    fn from(
14620        err: ::aws_smithy_runtime_api::client::result::SdkError<
14621            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
14622            R,
14623        >,
14624    ) -> Self {
14625        match err {
14626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14629                source: err.into(),
14630            }),
14631        }
14632    }
14633}
14634impl From<crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
14635    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
14636        match err {
14637            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
14638                Error::Unhandled(inner)
14639            }
14640        }
14641    }
14642}
14643impl<R>
14644    From<
14645        ::aws_smithy_runtime_api::client::result::SdkError<
14646            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
14647            R,
14648        >,
14649    > for Error
14650where
14651    R: Send + Sync + std::fmt::Debug + 'static,
14652{
14653    fn from(
14654        err: ::aws_smithy_runtime_api::client::result::SdkError<
14655            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
14656            R,
14657        >,
14658    ) -> Self {
14659        match err {
14660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14663                source: err.into(),
14664            }),
14665        }
14666    }
14667}
14668impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
14669    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
14670        match err {
14671            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14672        }
14673    }
14674}
14675impl<R>
14676    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError, R>>
14677    for Error
14678where
14679    R: Send + Sync + std::fmt::Debug + 'static,
14680{
14681    fn from(
14682        err: ::aws_smithy_runtime_api::client::result::SdkError<
14683            crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError,
14684            R,
14685        >,
14686    ) -> Self {
14687        match err {
14688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14691                source: err.into(),
14692            }),
14693        }
14694    }
14695}
14696impl From<crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError> for Error {
14697    fn from(err: crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError) -> Self {
14698        match err {
14699            crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError::Unhandled(inner) => Error::Unhandled(inner),
14700        }
14701    }
14702}
14703impl<R>
14704    From<
14705        ::aws_smithy_runtime_api::client::result::SdkError<
14706            crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError,
14707            R,
14708        >,
14709    > for Error
14710where
14711    R: Send + Sync + std::fmt::Debug + 'static,
14712{
14713    fn from(
14714        err: ::aws_smithy_runtime_api::client::result::SdkError<
14715            crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError,
14716            R,
14717        >,
14718    ) -> Self {
14719        match err {
14720            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14721            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14722                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14723                source: err.into(),
14724            }),
14725        }
14726    }
14727}
14728impl From<crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError> for Error {
14729    fn from(err: crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError) -> Self {
14730        match err {
14731            crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError::Unhandled(inner) => {
14732                Error::Unhandled(inner)
14733            }
14734        }
14735    }
14736}
14737impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
14738    for Error
14739where
14740    R: Send + Sync + std::fmt::Debug + 'static,
14741{
14742    fn from(
14743        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
14744    ) -> Self {
14745        match err {
14746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14749                source: err.into(),
14750            }),
14751        }
14752    }
14753}
14754impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
14755    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
14756        match err {
14757            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
14758        }
14759    }
14760}
14761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
14762where
14763    R: Send + Sync + std::fmt::Debug + 'static,
14764{
14765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
14766        match err {
14767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14770                source: err.into(),
14771            }),
14772        }
14773    }
14774}
14775impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
14776    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
14777        match err {
14778            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14779        }
14780    }
14781}
14782impl<R>
14783    From<
14784        ::aws_smithy_runtime_api::client::result::SdkError<
14785            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError,
14786            R,
14787        >,
14788    > for Error
14789where
14790    R: Send + Sync + std::fmt::Debug + 'static,
14791{
14792    fn from(
14793        err: ::aws_smithy_runtime_api::client::result::SdkError<
14794            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError,
14795            R,
14796        >,
14797    ) -> Self {
14798        match err {
14799            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14800            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14801                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14802                source: err.into(),
14803            }),
14804        }
14805    }
14806}
14807impl From<crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError> for Error {
14808    fn from(err: crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError) -> Self {
14809        match err {
14810            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError::Unhandled(inner) => Error::Unhandled(inner),
14811        }
14812    }
14813}
14814impl<R>
14815    From<
14816        ::aws_smithy_runtime_api::client::result::SdkError<
14817            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError,
14818            R,
14819        >,
14820    > for Error
14821where
14822    R: Send + Sync + std::fmt::Debug + 'static,
14823{
14824    fn from(
14825        err: ::aws_smithy_runtime_api::client::result::SdkError<
14826            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError,
14827            R,
14828        >,
14829    ) -> Self {
14830        match err {
14831            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14832            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14833                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14834                source: err.into(),
14835            }),
14836        }
14837    }
14838}
14839impl From<crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError> for Error {
14840    fn from(err: crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError) -> Self {
14841        match err {
14842            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError::Unhandled(inner) => {
14843                Error::Unhandled(inner)
14844            }
14845        }
14846    }
14847}
14848impl<R>
14849    From<
14850        ::aws_smithy_runtime_api::client::result::SdkError<
14851            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError,
14852            R,
14853        >,
14854    > for Error
14855where
14856    R: Send + Sync + std::fmt::Debug + 'static,
14857{
14858    fn from(
14859        err: ::aws_smithy_runtime_api::client::result::SdkError<
14860            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError,
14861            R,
14862        >,
14863    ) -> Self {
14864        match err {
14865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14868                source: err.into(),
14869            }),
14870        }
14871    }
14872}
14873impl From<crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError> for Error {
14874    fn from(err: crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError) -> Self {
14875        match err {
14876            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError::Unhandled(inner) => {
14877                Error::Unhandled(inner)
14878            }
14879        }
14880    }
14881}
14882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
14883where
14884    R: Send + Sync + std::fmt::Debug + 'static,
14885{
14886    fn from(
14887        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
14888    ) -> Self {
14889        match err {
14890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14893                source: err.into(),
14894            }),
14895        }
14896    }
14897}
14898impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
14899    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
14900        match err {
14901            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14902        }
14903    }
14904}
14905impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
14906where
14907    R: Send + Sync + std::fmt::Debug + 'static,
14908{
14909    fn from(
14910        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
14911    ) -> Self {
14912        match err {
14913            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14914            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14915                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14916                source: err.into(),
14917            }),
14918        }
14919    }
14920}
14921impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
14922    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
14923        match err {
14924            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
14925        }
14926    }
14927}
14928impl<R>
14929    From<
14930        ::aws_smithy_runtime_api::client::result::SdkError<
14931            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
14932            R,
14933        >,
14934    > for Error
14935where
14936    R: Send + Sync + std::fmt::Debug + 'static,
14937{
14938    fn from(
14939        err: ::aws_smithy_runtime_api::client::result::SdkError<
14940            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
14941            R,
14942        >,
14943    ) -> Self {
14944        match err {
14945            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14946            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14947                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14948                source: err.into(),
14949            }),
14950        }
14951    }
14952}
14953impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
14954    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
14955        match err {
14956            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
14957                Error::Unhandled(inner)
14958            }
14959        }
14960    }
14961}
14962impl<R>
14963    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
14964    for Error
14965where
14966    R: Send + Sync + std::fmt::Debug + 'static,
14967{
14968    fn from(
14969        err: ::aws_smithy_runtime_api::client::result::SdkError<
14970            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
14971            R,
14972        >,
14973    ) -> Self {
14974        match err {
14975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14978                source: err.into(),
14979            }),
14980        }
14981    }
14982}
14983impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
14984    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
14985        match err {
14986            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
14987        }
14988    }
14989}
14990impl<R>
14991    From<
14992        ::aws_smithy_runtime_api::client::result::SdkError<
14993            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
14994            R,
14995        >,
14996    > for Error
14997where
14998    R: Send + Sync + std::fmt::Debug + 'static,
14999{
15000    fn from(
15001        err: ::aws_smithy_runtime_api::client::result::SdkError<
15002            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
15003            R,
15004        >,
15005    ) -> Self {
15006        match err {
15007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15010                source: err.into(),
15011            }),
15012        }
15013    }
15014}
15015impl From<crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
15016    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
15017        match err {
15018            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
15019                inner,
15020            ) => Error::Unhandled(inner),
15021        }
15022    }
15023}
15024impl<R>
15025    From<
15026        ::aws_smithy_runtime_api::client::result::SdkError<
15027            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
15028            R,
15029        >,
15030    > for Error
15031where
15032    R: Send + Sync + std::fmt::Debug + 'static,
15033{
15034    fn from(
15035        err: ::aws_smithy_runtime_api::client::result::SdkError<
15036            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
15037            R,
15038        >,
15039    ) -> Self {
15040        match err {
15041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15044                source: err.into(),
15045            }),
15046        }
15047    }
15048}
15049impl From<crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
15050    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
15051        match err {
15052            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
15053                Error::Unhandled(inner)
15054            }
15055        }
15056    }
15057}
15058impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
15059where
15060    R: Send + Sync + std::fmt::Debug + 'static,
15061{
15062    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
15063        match err {
15064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15067                source: err.into(),
15068            }),
15069        }
15070    }
15071}
15072impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
15073    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
15074        match err {
15075            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
15076        }
15077    }
15078}
15079impl<R>
15080    From<
15081        ::aws_smithy_runtime_api::client::result::SdkError<
15082            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
15083            R,
15084        >,
15085    > for Error
15086where
15087    R: Send + Sync + std::fmt::Debug + 'static,
15088{
15089    fn from(
15090        err: ::aws_smithy_runtime_api::client::result::SdkError<
15091            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
15092            R,
15093        >,
15094    ) -> Self {
15095        match err {
15096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15099                source: err.into(),
15100            }),
15101        }
15102    }
15103}
15104impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
15105    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
15106        match err {
15107            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
15108                Error::Unhandled(inner)
15109            }
15110        }
15111    }
15112}
15113impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>>
15114    for Error
15115where
15116    R: Send + Sync + std::fmt::Debug + 'static,
15117{
15118    fn from(
15119        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>,
15120    ) -> Self {
15121        match err {
15122            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15123            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15124                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15125                source: err.into(),
15126            }),
15127        }
15128    }
15129}
15130impl From<crate::operation::get_route_server_associations::GetRouteServerAssociationsError> for Error {
15131    fn from(err: crate::operation::get_route_server_associations::GetRouteServerAssociationsError) -> Self {
15132        match err {
15133            crate::operation::get_route_server_associations::GetRouteServerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
15134        }
15135    }
15136}
15137impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>>
15138    for Error
15139where
15140    R: Send + Sync + std::fmt::Debug + 'static,
15141{
15142    fn from(
15143        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>,
15144    ) -> Self {
15145        match err {
15146            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15147            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15148                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15149                source: err.into(),
15150            }),
15151        }
15152    }
15153}
15154impl From<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError> for Error {
15155    fn from(err: crate::operation::get_route_server_propagations::GetRouteServerPropagationsError) -> Self {
15156        match err {
15157            crate::operation::get_route_server_propagations::GetRouteServerPropagationsError::Unhandled(inner) => Error::Unhandled(inner),
15158        }
15159    }
15160}
15161impl<R>
15162    From<
15163        ::aws_smithy_runtime_api::client::result::SdkError<
15164            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
15165            R,
15166        >,
15167    > for Error
15168where
15169    R: Send + Sync + std::fmt::Debug + 'static,
15170{
15171    fn from(
15172        err: ::aws_smithy_runtime_api::client::result::SdkError<
15173            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
15174            R,
15175        >,
15176    ) -> Self {
15177        match err {
15178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15181                source: err.into(),
15182            }),
15183        }
15184    }
15185}
15186impl From<crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError> for Error {
15187    fn from(err: crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError) -> Self {
15188        match err {
15189            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
15190        }
15191    }
15192}
15193impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
15194    for Error
15195where
15196    R: Send + Sync + std::fmt::Debug + 'static,
15197{
15198    fn from(
15199        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
15200    ) -> Self {
15201        match err {
15202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15205                source: err.into(),
15206            }),
15207        }
15208    }
15209}
15210impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
15211    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
15212        match err {
15213            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
15214        }
15215    }
15216}
15217impl<R>
15218    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
15219    for Error
15220where
15221    R: Send + Sync + std::fmt::Debug + 'static,
15222{
15223    fn from(
15224        err: ::aws_smithy_runtime_api::client::result::SdkError<
15225            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
15226            R,
15227        >,
15228    ) -> Self {
15229        match err {
15230            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15231            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15232                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15233                source: err.into(),
15234            }),
15235        }
15236    }
15237}
15238impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
15239    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
15240        match err {
15241            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
15242        }
15243    }
15244}
15245impl<R>
15246    From<
15247        ::aws_smithy_runtime_api::client::result::SdkError<
15248            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
15249            R,
15250        >,
15251    > for Error
15252where
15253    R: Send + Sync + std::fmt::Debug + 'static,
15254{
15255    fn from(
15256        err: ::aws_smithy_runtime_api::client::result::SdkError<
15257            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
15258            R,
15259        >,
15260    ) -> Self {
15261        match err {
15262            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15263            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15264                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15265                source: err.into(),
15266            }),
15267        }
15268    }
15269}
15270impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
15271    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
15272        match err {
15273            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
15274                Error::Unhandled(inner)
15275            }
15276        }
15277    }
15278}
15279impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
15280    for Error
15281where
15282    R: Send + Sync + std::fmt::Debug + 'static,
15283{
15284    fn from(
15285        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
15286    ) -> Self {
15287        match err {
15288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15291                source: err.into(),
15292            }),
15293        }
15294    }
15295}
15296impl From<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError> for Error {
15297    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
15298        match err {
15299            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
15300        }
15301    }
15302}
15303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
15304    for Error
15305where
15306    R: Send + Sync + std::fmt::Debug + 'static,
15307{
15308    fn from(
15309        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
15310    ) -> Self {
15311        match err {
15312            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15313            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15314                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15315                source: err.into(),
15316            }),
15317        }
15318    }
15319}
15320impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
15321    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
15322        match err {
15323            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
15324        }
15325    }
15326}
15327impl<R>
15328    From<
15329        ::aws_smithy_runtime_api::client::result::SdkError<
15330            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
15331            R,
15332        >,
15333    > for Error
15334where
15335    R: Send + Sync + std::fmt::Debug + 'static,
15336{
15337    fn from(
15338        err: ::aws_smithy_runtime_api::client::result::SdkError<
15339            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
15340            R,
15341        >,
15342    ) -> Self {
15343        match err {
15344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15347                source: err.into(),
15348            }),
15349        }
15350    }
15351}
15352impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
15353    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
15354        match err {
15355            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
15356                Error::Unhandled(inner)
15357            }
15358        }
15359    }
15360}
15361impl<R>
15362    From<
15363        ::aws_smithy_runtime_api::client::result::SdkError<
15364            crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError,
15365            R,
15366        >,
15367    > for Error
15368where
15369    R: Send + Sync + std::fmt::Debug + 'static,
15370{
15371    fn from(
15372        err: ::aws_smithy_runtime_api::client::result::SdkError<
15373            crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError,
15374            R,
15375        >,
15376    ) -> Self {
15377        match err {
15378            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15379            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15380                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15381                source: err.into(),
15382            }),
15383        }
15384    }
15385}
15386impl From<crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError> for Error {
15387    fn from(err: crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError) -> Self {
15388        match err {
15389            crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError::Unhandled(inner) => {
15390                Error::Unhandled(inner)
15391            }
15392        }
15393    }
15394}
15395impl<R>
15396    From<
15397        ::aws_smithy_runtime_api::client::result::SdkError<
15398            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
15399            R,
15400        >,
15401    > for Error
15402where
15403    R: Send + Sync + std::fmt::Debug + 'static,
15404{
15405    fn from(
15406        err: ::aws_smithy_runtime_api::client::result::SdkError<
15407            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
15408            R,
15409        >,
15410    ) -> Self {
15411        match err {
15412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15415                source: err.into(),
15416            }),
15417        }
15418    }
15419}
15420impl From<crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
15421    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
15422        match err {
15423            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
15424                inner,
15425            ) => Error::Unhandled(inner),
15426        }
15427    }
15428}
15429impl<R>
15430    From<
15431        ::aws_smithy_runtime_api::client::result::SdkError<
15432            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
15433            R,
15434        >,
15435    > for Error
15436where
15437    R: Send + Sync + std::fmt::Debug + 'static,
15438{
15439    fn from(
15440        err: ::aws_smithy_runtime_api::client::result::SdkError<
15441            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
15442            R,
15443        >,
15444    ) -> Self {
15445        match err {
15446            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15447            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15448                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15449                source: err.into(),
15450            }),
15451        }
15452    }
15453}
15454impl From<crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
15455    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
15456        match err {
15457            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
15458                Error::Unhandled(inner)
15459            }
15460        }
15461    }
15462}
15463impl<R>
15464    From<
15465        ::aws_smithy_runtime_api::client::result::SdkError<
15466            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
15467            R,
15468        >,
15469    > for Error
15470where
15471    R: Send + Sync + std::fmt::Debug + 'static,
15472{
15473    fn from(
15474        err: ::aws_smithy_runtime_api::client::result::SdkError<
15475            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
15476            R,
15477        >,
15478    ) -> Self {
15479        match err {
15480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15483                source: err.into(),
15484            }),
15485        }
15486    }
15487}
15488impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
15489    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
15490        match err {
15491            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
15492                Error::Unhandled(inner)
15493            }
15494        }
15495    }
15496}
15497impl<R>
15498    From<
15499        ::aws_smithy_runtime_api::client::result::SdkError<
15500            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
15501            R,
15502        >,
15503    > for Error
15504where
15505    R: Send + Sync + std::fmt::Debug + 'static,
15506{
15507    fn from(
15508        err: ::aws_smithy_runtime_api::client::result::SdkError<
15509            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
15510            R,
15511        >,
15512    ) -> Self {
15513        match err {
15514            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15515            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15516                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15517                source: err.into(),
15518            }),
15519        }
15520    }
15521}
15522impl From<crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
15523    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
15524        match err {
15525            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
15526                Error::Unhandled(inner)
15527            }
15528        }
15529    }
15530}
15531impl<R>
15532    From<
15533        ::aws_smithy_runtime_api::client::result::SdkError<
15534            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
15535            R,
15536        >,
15537    > for Error
15538where
15539    R: Send + Sync + std::fmt::Debug + 'static,
15540{
15541    fn from(
15542        err: ::aws_smithy_runtime_api::client::result::SdkError<
15543            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
15544            R,
15545        >,
15546    ) -> Self {
15547        match err {
15548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15551                source: err.into(),
15552            }),
15553        }
15554    }
15555}
15556impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
15557    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
15558        match err {
15559            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
15560                Error::Unhandled(inner)
15561            }
15562        }
15563    }
15564}
15565impl<R>
15566    From<
15567        ::aws_smithy_runtime_api::client::result::SdkError<
15568            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
15569            R,
15570        >,
15571    > for Error
15572where
15573    R: Send + Sync + std::fmt::Debug + 'static,
15574{
15575    fn from(
15576        err: ::aws_smithy_runtime_api::client::result::SdkError<
15577            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
15578            R,
15579        >,
15580    ) -> Self {
15581        match err {
15582            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15583            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15584                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15585                source: err.into(),
15586            }),
15587        }
15588    }
15589}
15590impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
15591    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
15592        match err {
15593            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
15594                Error::Unhandled(inner)
15595            }
15596        }
15597    }
15598}
15599impl<R>
15600    From<
15601        ::aws_smithy_runtime_api::client::result::SdkError<
15602            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
15603            R,
15604        >,
15605    > for Error
15606where
15607    R: Send + Sync + std::fmt::Debug + 'static,
15608{
15609    fn from(
15610        err: ::aws_smithy_runtime_api::client::result::SdkError<
15611            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
15612            R,
15613        >,
15614    ) -> Self {
15615        match err {
15616            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15617            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15618                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15619                source: err.into(),
15620            }),
15621        }
15622    }
15623}
15624impl From<crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
15625    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
15626        match err {
15627            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15628        }
15629    }
15630}
15631impl<R>
15632    From<
15633        ::aws_smithy_runtime_api::client::result::SdkError<
15634            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
15635            R,
15636        >,
15637    > for Error
15638where
15639    R: Send + Sync + std::fmt::Debug + 'static,
15640{
15641    fn from(
15642        err: ::aws_smithy_runtime_api::client::result::SdkError<
15643            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
15644            R,
15645        >,
15646    ) -> Self {
15647        match err {
15648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15651                source: err.into(),
15652            }),
15653        }
15654    }
15655}
15656impl From<crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
15657    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
15658        match err {
15659            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
15660                Error::Unhandled(inner)
15661            }
15662        }
15663    }
15664}
15665impl<R>
15666    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
15667    for Error
15668where
15669    R: Send + Sync + std::fmt::Debug + 'static,
15670{
15671    fn from(
15672        err: ::aws_smithy_runtime_api::client::result::SdkError<
15673            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
15674            R,
15675        >,
15676    ) -> Self {
15677        match err {
15678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15681                source: err.into(),
15682            }),
15683        }
15684    }
15685}
15686impl From<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
15687    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
15688        match err {
15689            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15690        }
15691    }
15692}
15693impl<R>
15694    From<
15695        ::aws_smithy_runtime_api::client::result::SdkError<
15696            crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError,
15697            R,
15698        >,
15699    > for Error
15700where
15701    R: Send + Sync + std::fmt::Debug + 'static,
15702{
15703    fn from(
15704        err: ::aws_smithy_runtime_api::client::result::SdkError<
15705            crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError,
15706            R,
15707        >,
15708    ) -> Self {
15709        match err {
15710            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15711            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15712                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15713                source: err.into(),
15714            }),
15715        }
15716    }
15717}
15718impl From<crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError> for Error {
15719    fn from(err: crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError) -> Self {
15720        match err {
15721            crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError::Unhandled(
15722                inner,
15723            ) => Error::Unhandled(inner),
15724        }
15725    }
15726}
15727impl<R>
15728    From<
15729        ::aws_smithy_runtime_api::client::result::SdkError<
15730            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
15731            R,
15732        >,
15733    > for Error
15734where
15735    R: Send + Sync + std::fmt::Debug + 'static,
15736{
15737    fn from(
15738        err: ::aws_smithy_runtime_api::client::result::SdkError<
15739            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
15740            R,
15741        >,
15742    ) -> Self {
15743        match err {
15744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15747                source: err.into(),
15748            }),
15749        }
15750    }
15751}
15752impl From<crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
15753    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
15754        match err {
15755            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
15756                Error::Unhandled(inner)
15757            }
15758        }
15759    }
15760}
15761impl<R>
15762    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
15763    for Error
15764where
15765    R: Send + Sync + std::fmt::Debug + 'static,
15766{
15767    fn from(
15768        err: ::aws_smithy_runtime_api::client::result::SdkError<
15769            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
15770            R,
15771        >,
15772    ) -> Self {
15773        match err {
15774            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15775            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15776                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15777                source: err.into(),
15778            }),
15779        }
15780    }
15781}
15782impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
15783    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
15784        match err {
15785            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
15786        }
15787    }
15788}
15789impl<R>
15790    From<
15791        ::aws_smithy_runtime_api::client::result::SdkError<
15792            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
15793            R,
15794        >,
15795    > for Error
15796where
15797    R: Send + Sync + std::fmt::Debug + 'static,
15798{
15799    fn from(
15800        err: ::aws_smithy_runtime_api::client::result::SdkError<
15801            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
15802            R,
15803        >,
15804    ) -> Self {
15805        match err {
15806            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15807            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15808                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15809                source: err.into(),
15810            }),
15811        }
15812    }
15813}
15814impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
15815    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
15816        match err {
15817            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
15818        }
15819    }
15820}
15821impl<R>
15822    From<
15823        ::aws_smithy_runtime_api::client::result::SdkError<
15824            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
15825            R,
15826        >,
15827    > for Error
15828where
15829    R: Send + Sync + std::fmt::Debug + 'static,
15830{
15831    fn from(
15832        err: ::aws_smithy_runtime_api::client::result::SdkError<
15833            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
15834            R,
15835        >,
15836    ) -> Self {
15837        match err {
15838            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15839            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15840                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15841                source: err.into(),
15842            }),
15843        }
15844    }
15845}
15846impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
15847    fn from(
15848        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
15849    ) -> Self {
15850        match err {
15851            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
15852        }
15853    }
15854}
15855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
15856where
15857    R: Send + Sync + std::fmt::Debug + 'static,
15858{
15859    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
15860        match err {
15861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15864                source: err.into(),
15865            }),
15866        }
15867    }
15868}
15869impl From<crate::operation::import_image::ImportImageError> for Error {
15870    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
15871        match err {
15872            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
15873        }
15874    }
15875}
15876impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
15877where
15878    R: Send + Sync + std::fmt::Debug + 'static,
15879{
15880    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
15881        match err {
15882            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15883            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15884                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15885                source: err.into(),
15886            }),
15887        }
15888    }
15889}
15890impl From<crate::operation::import_instance::ImportInstanceError> for Error {
15891    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
15892        match err {
15893            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
15894        }
15895    }
15896}
15897impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
15898where
15899    R: Send + Sync + std::fmt::Debug + 'static,
15900{
15901    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
15902        match err {
15903            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15904            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15905                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15906                source: err.into(),
15907            }),
15908        }
15909    }
15910}
15911impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
15912    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
15913        match err {
15914            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
15915        }
15916    }
15917}
15918impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
15919where
15920    R: Send + Sync + std::fmt::Debug + 'static,
15921{
15922    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
15923        match err {
15924            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15925            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15926                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15927                source: err.into(),
15928            }),
15929        }
15930    }
15931}
15932impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
15933    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
15934        match err {
15935            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
15936        }
15937    }
15938}
15939impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
15940where
15941    R: Send + Sync + std::fmt::Debug + 'static,
15942{
15943    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
15944        match err {
15945            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15946            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15947                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15948                source: err.into(),
15949            }),
15950        }
15951    }
15952}
15953impl From<crate::operation::import_volume::ImportVolumeError> for Error {
15954    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
15955        match err {
15956            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
15957        }
15958    }
15959}
15960impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
15961    for Error
15962where
15963    R: Send + Sync + std::fmt::Debug + 'static,
15964{
15965    fn from(
15966        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
15967    ) -> Self {
15968        match err {
15969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15972                source: err.into(),
15973            }),
15974        }
15975    }
15976}
15977impl From<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
15978    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
15979        match err {
15980            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
15981        }
15982    }
15983}
15984impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
15985    for Error
15986where
15987    R: Send + Sync + std::fmt::Debug + 'static,
15988{
15989    fn from(
15990        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
15991    ) -> Self {
15992        match err {
15993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15996                source: err.into(),
15997            }),
15998        }
15999    }
16000}
16001impl From<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
16002    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
16003        match err {
16004            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
16005        }
16006    }
16007}
16008impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError, R>>
16009    for Error
16010where
16011    R: Send + Sync + std::fmt::Debug + 'static,
16012{
16013    fn from(
16014        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError, R>,
16015    ) -> Self {
16016        match err {
16017            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16018            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16019                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16020                source: err.into(),
16021            }),
16022        }
16023    }
16024}
16025impl From<crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError> for Error {
16026    fn from(err: crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError) -> Self {
16027        match err {
16028            crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
16029        }
16030    }
16031}
16032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
16033where
16034    R: Send + Sync + std::fmt::Debug + 'static,
16035{
16036    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
16037        match err {
16038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16041                source: err.into(),
16042            }),
16043        }
16044    }
16045}
16046impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
16047    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
16048        match err {
16049            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
16050        }
16051    }
16052}
16053impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> for Error
16054where
16055    R: Send + Sync + std::fmt::Debug + 'static,
16056{
16057    fn from(
16058        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>,
16059    ) -> Self {
16060        match err {
16061            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16062            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16063                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16064                source: err.into(),
16065            }),
16066        }
16067    }
16068}
16069impl From<crate::operation::modify_address_attribute::ModifyAddressAttributeError> for Error {
16070    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
16071        match err {
16072            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16073        }
16074    }
16075}
16076impl<R>
16077    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
16078    for Error
16079where
16080    R: Send + Sync + std::fmt::Debug + 'static,
16081{
16082    fn from(
16083        err: ::aws_smithy_runtime_api::client::result::SdkError<
16084            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
16085            R,
16086        >,
16087    ) -> Self {
16088        match err {
16089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16092                source: err.into(),
16093            }),
16094        }
16095    }
16096}
16097impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
16098    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
16099        match err {
16100            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
16101        }
16102    }
16103}
16104impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
16105    for Error
16106where
16107    R: Send + Sync + std::fmt::Debug + 'static,
16108{
16109    fn from(
16110        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
16111    ) -> Self {
16112        match err {
16113            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16114            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16115                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16116                source: err.into(),
16117            }),
16118        }
16119    }
16120}
16121impl From<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
16122    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
16123        match err {
16124            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
16125        }
16126    }
16127}
16128impl<R>
16129    From<
16130        ::aws_smithy_runtime_api::client::result::SdkError<
16131            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
16132            R,
16133        >,
16134    > for Error
16135where
16136    R: Send + Sync + std::fmt::Debug + 'static,
16137{
16138    fn from(
16139        err: ::aws_smithy_runtime_api::client::result::SdkError<
16140            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
16141            R,
16142        >,
16143    ) -> Self {
16144        match err {
16145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16148                source: err.into(),
16149            }),
16150        }
16151    }
16152}
16153impl From<crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
16154    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
16155        match err {
16156            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
16157        }
16158    }
16159}
16160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
16161    for Error
16162where
16163    R: Send + Sync + std::fmt::Debug + 'static,
16164{
16165    fn from(
16166        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
16167    ) -> Self {
16168        match err {
16169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16172                source: err.into(),
16173            }),
16174        }
16175    }
16176}
16177impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
16178    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
16179        match err {
16180            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16181        }
16182    }
16183}
16184impl<R>
16185    From<
16186        ::aws_smithy_runtime_api::client::result::SdkError<
16187            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
16188            R,
16189        >,
16190    > for Error
16191where
16192    R: Send + Sync + std::fmt::Debug + 'static,
16193{
16194    fn from(
16195        err: ::aws_smithy_runtime_api::client::result::SdkError<
16196            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
16197            R,
16198        >,
16199    ) -> Self {
16200        match err {
16201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16204                source: err.into(),
16205            }),
16206        }
16207    }
16208}
16209impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
16210    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
16211        match err {
16212            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
16213        }
16214    }
16215}
16216impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
16217    for Error
16218where
16219    R: Send + Sync + std::fmt::Debug + 'static,
16220{
16221    fn from(
16222        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>,
16223    ) -> Self {
16224        match err {
16225            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16226            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16227                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16228                source: err.into(),
16229            }),
16230        }
16231    }
16232}
16233impl From<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
16234    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
16235        match err {
16236            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
16237        }
16238    }
16239}
16240impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
16241where
16242    R: Send + Sync + std::fmt::Debug + 'static,
16243{
16244    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
16245        match err {
16246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16249                source: err.into(),
16250            }),
16251        }
16252    }
16253}
16254impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
16255    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
16256        match err {
16257            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
16258        }
16259    }
16260}
16261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
16262    for Error
16263where
16264    R: Send + Sync + std::fmt::Debug + 'static,
16265{
16266    fn from(
16267        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
16268    ) -> Self {
16269        match err {
16270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16273                source: err.into(),
16274            }),
16275        }
16276    }
16277}
16278impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
16279    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
16280        match err {
16281            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16282        }
16283    }
16284}
16285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
16286where
16287    R: Send + Sync + std::fmt::Debug + 'static,
16288{
16289    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
16290        match err {
16291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16294                source: err.into(),
16295            }),
16296        }
16297    }
16298}
16299impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
16300    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
16301        match err {
16302            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
16303        }
16304    }
16305}
16306impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>>
16307    for Error
16308where
16309    R: Send + Sync + std::fmt::Debug + 'static,
16310{
16311    fn from(
16312        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
16313    ) -> Self {
16314        match err {
16315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16318                source: err.into(),
16319            }),
16320        }
16321    }
16322}
16323impl From<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
16324    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
16325        match err {
16326            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
16327        }
16328    }
16329}
16330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
16331where
16332    R: Send + Sync + std::fmt::Debug + 'static,
16333{
16334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
16335        match err {
16336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16339                source: err.into(),
16340            }),
16341        }
16342    }
16343}
16344impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
16345    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
16346        match err {
16347            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
16348        }
16349    }
16350}
16351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
16352where
16353    R: Send + Sync + std::fmt::Debug + 'static,
16354{
16355    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
16356        match err {
16357            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16358            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16359                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16360                source: err.into(),
16361            }),
16362        }
16363    }
16364}
16365impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
16366    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
16367        match err {
16368            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16369        }
16370    }
16371}
16372impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>>
16373    for Error
16374where
16375    R: Send + Sync + std::fmt::Debug + 'static,
16376{
16377    fn from(
16378        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
16379    ) -> Self {
16380        match err {
16381            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16382            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16383                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16384                source: err.into(),
16385            }),
16386        }
16387    }
16388}
16389impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
16390    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
16391        match err {
16392            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16393        }
16394    }
16395}
16396impl<R>
16397    From<
16398        ::aws_smithy_runtime_api::client::result::SdkError<
16399            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
16400            R,
16401        >,
16402    > for Error
16403where
16404    R: Send + Sync + std::fmt::Debug + 'static,
16405{
16406    fn from(
16407        err: ::aws_smithy_runtime_api::client::result::SdkError<
16408            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
16409            R,
16410        >,
16411    ) -> Self {
16412        match err {
16413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16416                source: err.into(),
16417            }),
16418        }
16419    }
16420}
16421impl From<crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
16422    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
16423        match err {
16424            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
16425                Error::Unhandled(inner)
16426            }
16427        }
16428    }
16429}
16430impl<R>
16431    From<
16432        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError, R>,
16433    > for Error
16434where
16435    R: Send + Sync + std::fmt::Debug + 'static,
16436{
16437    fn from(
16438        err: ::aws_smithy_runtime_api::client::result::SdkError<
16439            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError,
16440            R,
16441        >,
16442    ) -> Self {
16443        match err {
16444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16447                source: err.into(),
16448            }),
16449        }
16450    }
16451}
16452impl From<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError> for Error {
16453    fn from(err: crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError) -> Self {
16454        match err {
16455            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16456        }
16457    }
16458}
16459impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
16460    for Error
16461where
16462    R: Send + Sync + std::fmt::Debug + 'static,
16463{
16464    fn from(
16465        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
16466    ) -> Self {
16467        match err {
16468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16471                source: err.into(),
16472            }),
16473        }
16474    }
16475}
16476impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
16477    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
16478        match err {
16479            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16480        }
16481    }
16482}
16483impl<R>
16484    From<
16485        ::aws_smithy_runtime_api::client::result::SdkError<
16486            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
16487            R,
16488        >,
16489    > for Error
16490where
16491    R: Send + Sync + std::fmt::Debug + 'static,
16492{
16493    fn from(
16494        err: ::aws_smithy_runtime_api::client::result::SdkError<
16495            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
16496            R,
16497        >,
16498    ) -> Self {
16499        match err {
16500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16503                source: err.into(),
16504            }),
16505        }
16506    }
16507}
16508impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
16509    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
16510        match err {
16511            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
16512                Error::Unhandled(inner)
16513            }
16514        }
16515    }
16516}
16517impl<R>
16518    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
16519    for Error
16520where
16521    R: Send + Sync + std::fmt::Debug + 'static,
16522{
16523    fn from(
16524        err: ::aws_smithy_runtime_api::client::result::SdkError<
16525            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
16526            R,
16527        >,
16528    ) -> Self {
16529        match err {
16530            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16531            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16532                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16533                source: err.into(),
16534            }),
16535        }
16536    }
16537}
16538impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
16539    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
16540        match err {
16541            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
16542        }
16543    }
16544}
16545impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
16546    for Error
16547where
16548    R: Send + Sync + std::fmt::Debug + 'static,
16549{
16550    fn from(
16551        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
16552    ) -> Self {
16553        match err {
16554            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16555            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16556                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16557                source: err.into(),
16558            }),
16559        }
16560    }
16561}
16562impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
16563    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
16564        match err {
16565            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
16566        }
16567    }
16568}
16569impl<R>
16570    From<
16571        ::aws_smithy_runtime_api::client::result::SdkError<
16572            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
16573            R,
16574        >,
16575    > for Error
16576where
16577    R: Send + Sync + std::fmt::Debug + 'static,
16578{
16579    fn from(
16580        err: ::aws_smithy_runtime_api::client::result::SdkError<
16581            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
16582            R,
16583        >,
16584    ) -> Self {
16585        match err {
16586            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16587            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16588                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16589                source: err.into(),
16590            }),
16591        }
16592    }
16593}
16594impl From<crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
16595    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
16596        match err {
16597            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16598        }
16599    }
16600}
16601impl<R>
16602    From<
16603        ::aws_smithy_runtime_api::client::result::SdkError<
16604            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
16605            R,
16606        >,
16607    > for Error
16608where
16609    R: Send + Sync + std::fmt::Debug + 'static,
16610{
16611    fn from(
16612        err: ::aws_smithy_runtime_api::client::result::SdkError<
16613            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
16614            R,
16615        >,
16616    ) -> Self {
16617        match err {
16618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16621                source: err.into(),
16622            }),
16623        }
16624    }
16625}
16626impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
16627    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
16628        match err {
16629            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
16630        }
16631    }
16632}
16633impl<R>
16634    From<
16635        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
16636    > for Error
16637where
16638    R: Send + Sync + std::fmt::Debug + 'static,
16639{
16640    fn from(
16641        err: ::aws_smithy_runtime_api::client::result::SdkError<
16642            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
16643            R,
16644        >,
16645    ) -> Self {
16646        match err {
16647            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16648            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16649                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16650                source: err.into(),
16651            }),
16652        }
16653    }
16654}
16655impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
16656    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
16657        match err {
16658            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16659        }
16660    }
16661}
16662impl<R>
16663    From<
16664        ::aws_smithy_runtime_api::client::result::SdkError<
16665            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
16666            R,
16667        >,
16668    > for Error
16669where
16670    R: Send + Sync + std::fmt::Debug + 'static,
16671{
16672    fn from(
16673        err: ::aws_smithy_runtime_api::client::result::SdkError<
16674            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
16675            R,
16676        >,
16677    ) -> Self {
16678        match err {
16679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16682                source: err.into(),
16683            }),
16684        }
16685    }
16686}
16687impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
16688    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
16689        match err {
16690            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
16691                Error::Unhandled(inner)
16692            }
16693        }
16694    }
16695}
16696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>>
16697    for Error
16698where
16699    R: Send + Sync + std::fmt::Debug + 'static,
16700{
16701    fn from(
16702        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
16703    ) -> Self {
16704        match err {
16705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16708                source: err.into(),
16709            }),
16710        }
16711    }
16712}
16713impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
16714    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
16715        match err {
16716            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
16717        }
16718    }
16719}
16720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
16721where
16722    R: Send + Sync + std::fmt::Debug + 'static,
16723{
16724    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
16725        match err {
16726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16729                source: err.into(),
16730            }),
16731        }
16732    }
16733}
16734impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
16735    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
16736        match err {
16737            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
16738        }
16739    }
16740}
16741impl<R>
16742    From<
16743        ::aws_smithy_runtime_api::client::result::SdkError<
16744            crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError,
16745            R,
16746        >,
16747    > for Error
16748where
16749    R: Send + Sync + std::fmt::Debug + 'static,
16750{
16751    fn from(
16752        err: ::aws_smithy_runtime_api::client::result::SdkError<
16753            crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError,
16754            R,
16755        >,
16756    ) -> Self {
16757        match err {
16758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16761                source: err.into(),
16762            }),
16763        }
16764    }
16765}
16766impl From<crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError> for Error {
16767    fn from(err: crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError) -> Self {
16768        match err {
16769            crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError::Unhandled(inner) => Error::Unhandled(inner),
16770        }
16771    }
16772}
16773impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
16774where
16775    R: Send + Sync + std::fmt::Debug + 'static,
16776{
16777    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
16778        match err {
16779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16782                source: err.into(),
16783            }),
16784        }
16785    }
16786}
16787impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
16788    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
16789        match err {
16790            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
16791        }
16792    }
16793}
16794impl<R>
16795    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError, R>>
16796    for Error
16797where
16798    R: Send + Sync + std::fmt::Debug + 'static,
16799{
16800    fn from(
16801        err: ::aws_smithy_runtime_api::client::result::SdkError<
16802            crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError,
16803            R,
16804        >,
16805    ) -> Self {
16806        match err {
16807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16810                source: err.into(),
16811            }),
16812        }
16813    }
16814}
16815impl From<crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError> for Error {
16816    fn from(err: crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError) -> Self {
16817        match err {
16818            crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
16819        }
16820    }
16821}
16822impl<R>
16823    From<
16824        ::aws_smithy_runtime_api::client::result::SdkError<
16825            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError,
16826            R,
16827        >,
16828    > for Error
16829where
16830    R: Send + Sync + std::fmt::Debug + 'static,
16831{
16832    fn from(
16833        err: ::aws_smithy_runtime_api::client::result::SdkError<
16834            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError,
16835            R,
16836        >,
16837    ) -> Self {
16838        match err {
16839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16842                source: err.into(),
16843            }),
16844        }
16845    }
16846}
16847impl From<crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError> for Error {
16848    fn from(err: crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError) -> Self {
16849        match err {
16850            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError::Unhandled(inner) => {
16851                Error::Unhandled(inner)
16852            }
16853        }
16854    }
16855}
16856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
16857    for Error
16858where
16859    R: Send + Sync + std::fmt::Debug + 'static,
16860{
16861    fn from(
16862        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
16863    ) -> Self {
16864        match err {
16865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16868                source: err.into(),
16869            }),
16870        }
16871    }
16872}
16873impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
16874    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
16875        match err {
16876            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
16877        }
16878    }
16879}
16880impl<R>
16881    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
16882    for Error
16883where
16884    R: Send + Sync + std::fmt::Debug + 'static,
16885{
16886    fn from(
16887        err: ::aws_smithy_runtime_api::client::result::SdkError<
16888            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
16889            R,
16890        >,
16891    ) -> Self {
16892        match err {
16893            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16894            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16895                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16896                source: err.into(),
16897            }),
16898        }
16899    }
16900}
16901impl From<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
16902    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
16903        match err {
16904            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
16905        }
16906    }
16907}
16908impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
16909where
16910    R: Send + Sync + std::fmt::Debug + 'static,
16911{
16912    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> Self {
16913        match err {
16914            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16915            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16916                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16917                source: err.into(),
16918            }),
16919        }
16920    }
16921}
16922impl From<crate::operation::modify_ipam_scope::ModifyIpamScopeError> for Error {
16923    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
16924        match err {
16925            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
16926        }
16927    }
16928}
16929impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
16930where
16931    R: Send + Sync + std::fmt::Debug + 'static,
16932{
16933    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
16934        match err {
16935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16938                source: err.into(),
16939            }),
16940        }
16941    }
16942}
16943impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
16944    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
16945        match err {
16946            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
16947        }
16948    }
16949}
16950impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
16951    for Error
16952where
16953    R: Send + Sync + std::fmt::Debug + 'static,
16954{
16955    fn from(
16956        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
16957    ) -> Self {
16958        match err {
16959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16962                source: err.into(),
16963            }),
16964        }
16965    }
16966}
16967impl From<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
16968    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
16969        match err {
16970            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
16971        }
16972    }
16973}
16974impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>>
16975    for Error
16976where
16977    R: Send + Sync + std::fmt::Debug + 'static,
16978{
16979    fn from(
16980        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>,
16981    ) -> Self {
16982        match err {
16983            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16984            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16985                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16986                source: err.into(),
16987            }),
16988        }
16989    }
16990}
16991impl From<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError> for Error {
16992    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
16993        match err {
16994            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
16995        }
16996    }
16997}
16998impl<R>
16999    From<
17000        ::aws_smithy_runtime_api::client::result::SdkError<
17001            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
17002            R,
17003        >,
17004    > for Error
17005where
17006    R: Send + Sync + std::fmt::Debug + 'static,
17007{
17008    fn from(
17009        err: ::aws_smithy_runtime_api::client::result::SdkError<
17010            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
17011            R,
17012        >,
17013    ) -> Self {
17014        match err {
17015            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17016            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17017                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17018                source: err.into(),
17019            }),
17020        }
17021    }
17022}
17023impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
17024    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
17025        match err {
17026            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17027        }
17028    }
17029}
17030impl<R>
17031    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
17032    for Error
17033where
17034    R: Send + Sync + std::fmt::Debug + 'static,
17035{
17036    fn from(
17037        err: ::aws_smithy_runtime_api::client::result::SdkError<
17038            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
17039            R,
17040        >,
17041    ) -> Self {
17042        match err {
17043            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17044            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17045                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17046                source: err.into(),
17047            }),
17048        }
17049    }
17050}
17051impl From<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
17052    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
17053        match err {
17054            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
17055        }
17056    }
17057}
17058impl<R>
17059    From<
17060        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError, R>,
17061    > for Error
17062where
17063    R: Send + Sync + std::fmt::Debug + 'static,
17064{
17065    fn from(
17066        err: ::aws_smithy_runtime_api::client::result::SdkError<
17067            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError,
17068            R,
17069        >,
17070    ) -> Self {
17071        match err {
17072            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17073            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17074                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17075                source: err.into(),
17076            }),
17077        }
17078    }
17079}
17080impl From<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError> for Error {
17081    fn from(err: crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError) -> Self {
17082        match err {
17083            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
17084        }
17085    }
17086}
17087impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
17088    for Error
17089where
17090    R: Send + Sync + std::fmt::Debug + 'static,
17091{
17092    fn from(
17093        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
17094    ) -> Self {
17095        match err {
17096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17099                source: err.into(),
17100            }),
17101        }
17102    }
17103}
17104impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
17105    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
17106        match err {
17107            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17108        }
17109    }
17110}
17111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>> for Error
17112where
17113    R: Send + Sync + std::fmt::Debug + 'static,
17114{
17115    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>) -> Self {
17116        match err {
17117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17120                source: err.into(),
17121            }),
17122        }
17123    }
17124}
17125impl From<crate::operation::modify_route_server::ModifyRouteServerError> for Error {
17126    fn from(err: crate::operation::modify_route_server::ModifyRouteServerError) -> Self {
17127        match err {
17128            crate::operation::modify_route_server::ModifyRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
17129        }
17130    }
17131}
17132impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
17133    for Error
17134where
17135    R: Send + Sync + std::fmt::Debug + 'static,
17136{
17137    fn from(
17138        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
17139    ) -> Self {
17140        match err {
17141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17144                source: err.into(),
17145            }),
17146        }
17147    }
17148}
17149impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
17150    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
17151        match err {
17152            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
17153        }
17154    }
17155}
17156impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
17157    for Error
17158where
17159    R: Send + Sync + std::fmt::Debug + 'static,
17160{
17161    fn from(
17162        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
17163    ) -> Self {
17164        match err {
17165            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17166            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17167                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17168                source: err.into(),
17169            }),
17170        }
17171    }
17172}
17173impl From<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
17174    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
17175        match err {
17176            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17177        }
17178    }
17179}
17180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
17181where
17182    R: Send + Sync + std::fmt::Debug + 'static,
17183{
17184    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> Self {
17185        match err {
17186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17189                source: err.into(),
17190            }),
17191        }
17192    }
17193}
17194impl From<crate::operation::modify_snapshot_tier::ModifySnapshotTierError> for Error {
17195    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
17196        match err {
17197            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
17198        }
17199    }
17200}
17201impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>>
17202    for Error
17203where
17204    R: Send + Sync + std::fmt::Debug + 'static,
17205{
17206    fn from(
17207        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>,
17208    ) -> Self {
17209        match err {
17210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17213                source: err.into(),
17214            }),
17215        }
17216    }
17217}
17218impl From<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError> for Error {
17219    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
17220        match err {
17221            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
17222        }
17223    }
17224}
17225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
17226where
17227    R: Send + Sync + std::fmt::Debug + 'static,
17228{
17229    fn from(
17230        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
17231    ) -> Self {
17232        match err {
17233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17236                source: err.into(),
17237            }),
17238        }
17239    }
17240}
17241impl From<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError> for Error {
17242    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
17243        match err {
17244            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17245        }
17246    }
17247}
17248impl<R>
17249    From<
17250        ::aws_smithy_runtime_api::client::result::SdkError<
17251            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
17252            R,
17253        >,
17254    > for Error
17255where
17256    R: Send + Sync + std::fmt::Debug + 'static,
17257{
17258    fn from(
17259        err: ::aws_smithy_runtime_api::client::result::SdkError<
17260            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
17261            R,
17262        >,
17263    ) -> Self {
17264        match err {
17265            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17266            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17267                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17268                source: err.into(),
17269            }),
17270        }
17271    }
17272}
17273impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
17274    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
17275        match err {
17276            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
17277                Error::Unhandled(inner)
17278            }
17279        }
17280    }
17281}
17282impl<R>
17283    From<
17284        ::aws_smithy_runtime_api::client::result::SdkError<
17285            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
17286            R,
17287        >,
17288    > for Error
17289where
17290    R: Send + Sync + std::fmt::Debug + 'static,
17291{
17292    fn from(
17293        err: ::aws_smithy_runtime_api::client::result::SdkError<
17294            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
17295            R,
17296        >,
17297    ) -> Self {
17298        match err {
17299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17302                source: err.into(),
17303            }),
17304        }
17305    }
17306}
17307impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
17308    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
17309        match err {
17310            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
17311        }
17312    }
17313}
17314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
17315    for Error
17316where
17317    R: Send + Sync + std::fmt::Debug + 'static,
17318{
17319    fn from(
17320        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
17321    ) -> Self {
17322        match err {
17323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17326                source: err.into(),
17327            }),
17328        }
17329    }
17330}
17331impl From<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
17332    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
17333        match err {
17334            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
17335        }
17336    }
17337}
17338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
17339where
17340    R: Send + Sync + std::fmt::Debug + 'static,
17341{
17342    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> Self {
17343        match err {
17344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17347                source: err.into(),
17348            }),
17349        }
17350    }
17351}
17352impl From<crate::operation::modify_transit_gateway::ModifyTransitGatewayError> for Error {
17353    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
17354        match err {
17355            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
17356        }
17357    }
17358}
17359impl<R>
17360    From<
17361        ::aws_smithy_runtime_api::client::result::SdkError<
17362            crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError,
17363            R,
17364        >,
17365    > for Error
17366where
17367    R: Send + Sync + std::fmt::Debug + 'static,
17368{
17369    fn from(
17370        err: ::aws_smithy_runtime_api::client::result::SdkError<
17371            crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError,
17372            R,
17373        >,
17374    ) -> Self {
17375        match err {
17376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17379                source: err.into(),
17380            }),
17381        }
17382    }
17383}
17384impl From<crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError> for Error {
17385    fn from(err: crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError) -> Self {
17386        match err {
17387            crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError::Unhandled(inner) => {
17388                Error::Unhandled(inner)
17389            }
17390        }
17391    }
17392}
17393impl<R>
17394    From<
17395        ::aws_smithy_runtime_api::client::result::SdkError<
17396            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
17397            R,
17398        >,
17399    > for Error
17400where
17401    R: Send + Sync + std::fmt::Debug + 'static,
17402{
17403    fn from(
17404        err: ::aws_smithy_runtime_api::client::result::SdkError<
17405            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
17406            R,
17407        >,
17408    ) -> Self {
17409        match err {
17410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17413                source: err.into(),
17414            }),
17415        }
17416    }
17417}
17418impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
17419    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
17420        match err {
17421            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
17422                Error::Unhandled(inner)
17423            }
17424        }
17425    }
17426}
17427impl<R>
17428    From<
17429        ::aws_smithy_runtime_api::client::result::SdkError<
17430            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
17431            R,
17432        >,
17433    > for Error
17434where
17435    R: Send + Sync + std::fmt::Debug + 'static,
17436{
17437    fn from(
17438        err: ::aws_smithy_runtime_api::client::result::SdkError<
17439            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
17440            R,
17441        >,
17442    ) -> Self {
17443        match err {
17444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17447                source: err.into(),
17448            }),
17449        }
17450    }
17451}
17452impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
17453    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
17454        match err {
17455            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
17456                Error::Unhandled(inner)
17457            }
17458        }
17459    }
17460}
17461impl<R>
17462    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
17463    for Error
17464where
17465    R: Send + Sync + std::fmt::Debug + 'static,
17466{
17467    fn from(
17468        err: ::aws_smithy_runtime_api::client::result::SdkError<
17469            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
17470            R,
17471        >,
17472    ) -> Self {
17473        match err {
17474            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17475            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17476                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17477                source: err.into(),
17478            }),
17479        }
17480    }
17481}
17482impl From<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
17483    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
17484        match err {
17485            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
17486        }
17487    }
17488}
17489impl<R>
17490    From<
17491        ::aws_smithy_runtime_api::client::result::SdkError<
17492            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
17493            R,
17494        >,
17495    > for Error
17496where
17497    R: Send + Sync + std::fmt::Debug + 'static,
17498{
17499    fn from(
17500        err: ::aws_smithy_runtime_api::client::result::SdkError<
17501            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
17502            R,
17503        >,
17504    ) -> Self {
17505        match err {
17506            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17507            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17508                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17509                source: err.into(),
17510            }),
17511        }
17512    }
17513}
17514impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
17515    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
17516        match err {
17517            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
17518                Error::Unhandled(inner)
17519            }
17520        }
17521    }
17522}
17523impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
17524    for Error
17525where
17526    R: Send + Sync + std::fmt::Debug + 'static,
17527{
17528    fn from(
17529        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
17530    ) -> Self {
17531        match err {
17532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17535                source: err.into(),
17536            }),
17537        }
17538    }
17539}
17540impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
17541    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
17542        match err {
17543            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
17544        }
17545    }
17546}
17547impl<R>
17548    From<
17549        ::aws_smithy_runtime_api::client::result::SdkError<
17550            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
17551            R,
17552        >,
17553    > for Error
17554where
17555    R: Send + Sync + std::fmt::Debug + 'static,
17556{
17557    fn from(
17558        err: ::aws_smithy_runtime_api::client::result::SdkError<
17559            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
17560            R,
17561        >,
17562    ) -> Self {
17563        match err {
17564            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17565            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17566                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17567                source: err.into(),
17568            }),
17569        }
17570    }
17571}
17572impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
17573    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
17574        match err {
17575            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
17576        }
17577    }
17578}
17579impl<R>
17580    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
17581    for Error
17582where
17583    R: Send + Sync + std::fmt::Debug + 'static,
17584{
17585    fn from(
17586        err: ::aws_smithy_runtime_api::client::result::SdkError<
17587            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
17588            R,
17589        >,
17590    ) -> Self {
17591        match err {
17592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17593            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17594                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17595                source: err.into(),
17596            }),
17597        }
17598    }
17599}
17600impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
17601    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
17602        match err {
17603            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
17604        }
17605    }
17606}
17607impl<R>
17608    From<
17609        ::aws_smithy_runtime_api::client::result::SdkError<
17610            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
17611            R,
17612        >,
17613    > for Error
17614where
17615    R: Send + Sync + std::fmt::Debug + 'static,
17616{
17617    fn from(
17618        err: ::aws_smithy_runtime_api::client::result::SdkError<
17619            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
17620            R,
17621        >,
17622    ) -> Self {
17623        match err {
17624            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17625            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17626                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17627                source: err.into(),
17628            }),
17629        }
17630    }
17631}
17632impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
17633    fn from(
17634        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
17635    ) -> Self {
17636        match err {
17637            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
17638        }
17639    }
17640}
17641impl<R>
17642    From<
17643        ::aws_smithy_runtime_api::client::result::SdkError<
17644            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
17645            R,
17646        >,
17647    > for Error
17648where
17649    R: Send + Sync + std::fmt::Debug + 'static,
17650{
17651    fn from(
17652        err: ::aws_smithy_runtime_api::client::result::SdkError<
17653            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
17654            R,
17655        >,
17656    ) -> Self {
17657        match err {
17658            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17659            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17660                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17661                source: err.into(),
17662            }),
17663        }
17664    }
17665}
17666impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
17667    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
17668        match err {
17669            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
17670                Error::Unhandled(inner)
17671            }
17672        }
17673    }
17674}
17675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
17676where
17677    R: Send + Sync + std::fmt::Debug + 'static,
17678{
17679    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> Self {
17680        match err {
17681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17684                source: err.into(),
17685            }),
17686        }
17687    }
17688}
17689impl From<crate::operation::modify_volume::ModifyVolumeError> for Error {
17690    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
17691        match err {
17692            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
17693        }
17694    }
17695}
17696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
17697where
17698    R: Send + Sync + std::fmt::Debug + 'static,
17699{
17700    fn from(
17701        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
17702    ) -> Self {
17703        match err {
17704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17707                source: err.into(),
17708            }),
17709        }
17710    }
17711}
17712impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
17713    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
17714        match err {
17715            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17716        }
17717    }
17718}
17719impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
17720where
17721    R: Send + Sync + std::fmt::Debug + 'static,
17722{
17723    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> Self {
17724        match err {
17725            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17726            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17727                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17728                source: err.into(),
17729            }),
17730        }
17731    }
17732}
17733impl From<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError> for Error {
17734    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
17735        match err {
17736            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17737        }
17738    }
17739}
17740impl<R>
17741    From<
17742        ::aws_smithy_runtime_api::client::result::SdkError<
17743            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
17744            R,
17745        >,
17746    > for Error
17747where
17748    R: Send + Sync + std::fmt::Debug + 'static,
17749{
17750    fn from(
17751        err: ::aws_smithy_runtime_api::client::result::SdkError<
17752            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
17753            R,
17754        >,
17755    ) -> Self {
17756        match err {
17757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17760                source: err.into(),
17761            }),
17762        }
17763    }
17764}
17765impl From<crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
17766    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
17767        match err {
17768            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
17769                Error::Unhandled(inner)
17770            }
17771        }
17772    }
17773}
17774impl<R>
17775    From<
17776        ::aws_smithy_runtime_api::client::result::SdkError<
17777            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
17778            R,
17779        >,
17780    > for Error
17781where
17782    R: Send + Sync + std::fmt::Debug + 'static,
17783{
17784    fn from(
17785        err: ::aws_smithy_runtime_api::client::result::SdkError<
17786            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
17787            R,
17788        >,
17789    ) -> Self {
17790        match err {
17791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17794                source: err.into(),
17795            }),
17796        }
17797    }
17798}
17799impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
17800    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
17801        match err {
17802            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
17803                Error::Unhandled(inner)
17804            }
17805        }
17806    }
17807}
17808impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError, R>>
17809    for Error
17810where
17811    R: Send + Sync + std::fmt::Debug + 'static,
17812{
17813    fn from(
17814        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError, R>,
17815    ) -> Self {
17816        match err {
17817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17820                source: err.into(),
17821            }),
17822        }
17823    }
17824}
17825impl From<crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError> for Error {
17826    fn from(err: crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError) -> Self {
17827        match err {
17828            crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError::Unhandled(inner) => Error::Unhandled(inner),
17829        }
17830    }
17831}
17832impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
17833where
17834    R: Send + Sync + std::fmt::Debug + 'static,
17835{
17836    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
17837        match err {
17838            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17839            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17840                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17841                source: err.into(),
17842            }),
17843        }
17844    }
17845}
17846impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
17847    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
17848        match err {
17849            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
17850        }
17851    }
17852}
17853impl<R>
17854    From<
17855        ::aws_smithy_runtime_api::client::result::SdkError<
17856            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
17857            R,
17858        >,
17859    > for Error
17860where
17861    R: Send + Sync + std::fmt::Debug + 'static,
17862{
17863    fn from(
17864        err: ::aws_smithy_runtime_api::client::result::SdkError<
17865            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
17866            R,
17867        >,
17868    ) -> Self {
17869        match err {
17870            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17871            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17872                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17873                source: err.into(),
17874            }),
17875        }
17876    }
17877}
17878impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
17879    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
17880        match err {
17881            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
17882                Error::Unhandled(inner)
17883            }
17884        }
17885    }
17886}
17887impl<R>
17888    From<
17889        ::aws_smithy_runtime_api::client::result::SdkError<
17890            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
17891            R,
17892        >,
17893    > for Error
17894where
17895    R: Send + Sync + std::fmt::Debug + 'static,
17896{
17897    fn from(
17898        err: ::aws_smithy_runtime_api::client::result::SdkError<
17899            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
17900            R,
17901        >,
17902    ) -> Self {
17903        match err {
17904            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17905            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17906                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17907                source: err.into(),
17908            }),
17909        }
17910    }
17911}
17912impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
17913    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
17914        match err {
17915            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
17916                Error::Unhandled(inner)
17917            }
17918        }
17919    }
17920}
17921impl<R>
17922    From<
17923        ::aws_smithy_runtime_api::client::result::SdkError<
17924            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
17925            R,
17926        >,
17927    > for Error
17928where
17929    R: Send + Sync + std::fmt::Debug + 'static,
17930{
17931    fn from(
17932        err: ::aws_smithy_runtime_api::client::result::SdkError<
17933            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
17934            R,
17935        >,
17936    ) -> Self {
17937        match err {
17938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17941                source: err.into(),
17942            }),
17943        }
17944    }
17945}
17946impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
17947    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
17948        match err {
17949            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
17950                inner,
17951            ) => Error::Unhandled(inner),
17952        }
17953    }
17954}
17955impl<R>
17956    From<
17957        ::aws_smithy_runtime_api::client::result::SdkError<
17958            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
17959            R,
17960        >,
17961    > for Error
17962where
17963    R: Send + Sync + std::fmt::Debug + 'static,
17964{
17965    fn from(
17966        err: ::aws_smithy_runtime_api::client::result::SdkError<
17967            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
17968            R,
17969        >,
17970    ) -> Self {
17971        match err {
17972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17975                source: err.into(),
17976            }),
17977        }
17978    }
17979}
17980impl From<crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
17981    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
17982        match err {
17983            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
17984                Error::Unhandled(inner)
17985            }
17986        }
17987    }
17988}
17989impl<R>
17990    From<
17991        ::aws_smithy_runtime_api::client::result::SdkError<
17992            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
17993            R,
17994        >,
17995    > for Error
17996where
17997    R: Send + Sync + std::fmt::Debug + 'static,
17998{
17999    fn from(
18000        err: ::aws_smithy_runtime_api::client::result::SdkError<
18001            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
18002            R,
18003        >,
18004    ) -> Self {
18005        match err {
18006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18009                source: err.into(),
18010            }),
18011        }
18012    }
18013}
18014impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
18015    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
18016        match err {
18017            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
18018                Error::Unhandled(inner)
18019            }
18020        }
18021    }
18022}
18023impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
18024where
18025    R: Send + Sync + std::fmt::Debug + 'static,
18026{
18027    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> Self {
18028        match err {
18029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18032                source: err.into(),
18033            }),
18034        }
18035    }
18036}
18037impl From<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError> for Error {
18038    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
18039        match err {
18040            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
18041        }
18042    }
18043}
18044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>> for Error
18045where
18046    R: Send + Sync + std::fmt::Debug + 'static,
18047{
18048    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>) -> Self {
18049        match err {
18050            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18051            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18052                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18053                source: err.into(),
18054            }),
18055        }
18056    }
18057}
18058impl From<crate::operation::modify_vpn_connection::ModifyVpnConnectionError> for Error {
18059    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
18060        match err {
18061            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
18062        }
18063    }
18064}
18065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
18066    for Error
18067where
18068    R: Send + Sync + std::fmt::Debug + 'static,
18069{
18070    fn from(
18071        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
18072    ) -> Self {
18073        match err {
18074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18077                source: err.into(),
18078            }),
18079        }
18080    }
18081}
18082impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
18083    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
18084        match err {
18085            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
18086        }
18087    }
18088}
18089impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>>
18090    for Error
18091where
18092    R: Send + Sync + std::fmt::Debug + 'static,
18093{
18094    fn from(
18095        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
18096    ) -> Self {
18097        match err {
18098            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18099            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18100                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18101                source: err.into(),
18102            }),
18103        }
18104    }
18105}
18106impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
18107    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
18108        match err {
18109            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
18110        }
18111    }
18112}
18113impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
18114    for Error
18115where
18116    R: Send + Sync + std::fmt::Debug + 'static,
18117{
18118    fn from(
18119        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
18120    ) -> Self {
18121        match err {
18122            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18123            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18124                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18125                source: err.into(),
18126            }),
18127        }
18128    }
18129}
18130impl From<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
18131    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
18132        match err {
18133            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
18134        }
18135    }
18136}
18137impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
18138where
18139    R: Send + Sync + std::fmt::Debug + 'static,
18140{
18141    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
18142        match err {
18143            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18144            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18145                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18146                source: err.into(),
18147            }),
18148        }
18149    }
18150}
18151impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
18152    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
18153        match err {
18154            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18155        }
18156    }
18157}
18158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
18159where
18160    R: Send + Sync + std::fmt::Debug + 'static,
18161{
18162    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
18163        match err {
18164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18167                source: err.into(),
18168            }),
18169        }
18170    }
18171}
18172impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
18173    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
18174        match err {
18175            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
18176        }
18177    }
18178}
18179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
18180where
18181    R: Send + Sync + std::fmt::Debug + 'static,
18182{
18183    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
18184        match err {
18185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18188                source: err.into(),
18189            }),
18190        }
18191    }
18192}
18193impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
18194    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
18195        match err {
18196            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
18197        }
18198    }
18199}
18200impl<R>
18201    From<
18202        ::aws_smithy_runtime_api::client::result::SdkError<
18203            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
18204            R,
18205        >,
18206    > for Error
18207where
18208    R: Send + Sync + std::fmt::Debug + 'static,
18209{
18210    fn from(
18211        err: ::aws_smithy_runtime_api::client::result::SdkError<
18212            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
18213            R,
18214        >,
18215    ) -> Self {
18216        match err {
18217            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18218            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18219                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18220                source: err.into(),
18221            }),
18222        }
18223    }
18224}
18225impl From<crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
18226    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
18227        match err {
18228            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18229        }
18230    }
18231}
18232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
18233where
18234    R: Send + Sync + std::fmt::Debug + 'static,
18235{
18236    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
18237        match err {
18238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18241                source: err.into(),
18242            }),
18243        }
18244    }
18245}
18246impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
18247    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
18248        match err {
18249            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
18250        }
18251    }
18252}
18253impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
18254where
18255    R: Send + Sync + std::fmt::Debug + 'static,
18256{
18257    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
18258        match err {
18259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18262                source: err.into(),
18263            }),
18264        }
18265    }
18266}
18267impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
18268    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
18269        match err {
18270            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
18271        }
18272    }
18273}
18274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
18275where
18276    R: Send + Sync + std::fmt::Debug + 'static,
18277{
18278    fn from(
18279        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
18280    ) -> Self {
18281        match err {
18282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18285                source: err.into(),
18286            }),
18287        }
18288    }
18289}
18290impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
18291    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
18292        match err {
18293            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
18294        }
18295    }
18296}
18297impl<R>
18298    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
18299    for Error
18300where
18301    R: Send + Sync + std::fmt::Debug + 'static,
18302{
18303    fn from(
18304        err: ::aws_smithy_runtime_api::client::result::SdkError<
18305            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
18306            R,
18307        >,
18308    ) -> Self {
18309        match err {
18310            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18311            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18312                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18313                source: err.into(),
18314            }),
18315        }
18316    }
18317}
18318impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
18319    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
18320        match err {
18321            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
18322        }
18323    }
18324}
18325impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
18326where
18327    R: Send + Sync + std::fmt::Debug + 'static,
18328{
18329    fn from(
18330        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
18331    ) -> Self {
18332        match err {
18333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18336                source: err.into(),
18337            }),
18338        }
18339    }
18340}
18341impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
18342    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
18343        match err {
18344            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
18345        }
18346    }
18347}
18348impl<R>
18349    From<
18350        ::aws_smithy_runtime_api::client::result::SdkError<
18351            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
18352            R,
18353        >,
18354    > for Error
18355where
18356    R: Send + Sync + std::fmt::Debug + 'static,
18357{
18358    fn from(
18359        err: ::aws_smithy_runtime_api::client::result::SdkError<
18360            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
18361            R,
18362        >,
18363    ) -> Self {
18364        match err {
18365            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18366            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18367                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18368                source: err.into(),
18369            }),
18370        }
18371    }
18372}
18373impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
18374    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
18375        match err {
18376            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
18377        }
18378    }
18379}
18380impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
18381    for Error
18382where
18383    R: Send + Sync + std::fmt::Debug + 'static,
18384{
18385    fn from(
18386        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
18387    ) -> Self {
18388        match err {
18389            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18390            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18391                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18392                source: err.into(),
18393            }),
18394        }
18395    }
18396}
18397impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
18398    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
18399        match err {
18400            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
18401        }
18402    }
18403}
18404impl<R>
18405    From<
18406        ::aws_smithy_runtime_api::client::result::SdkError<
18407            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
18408            R,
18409        >,
18410    > for Error
18411where
18412    R: Send + Sync + std::fmt::Debug + 'static,
18413{
18414    fn from(
18415        err: ::aws_smithy_runtime_api::client::result::SdkError<
18416            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
18417            R,
18418        >,
18419    ) -> Self {
18420        match err {
18421            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18422            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18423                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18424                source: err.into(),
18425            }),
18426        }
18427    }
18428}
18429impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
18430    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
18431        match err {
18432            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
18433                Error::Unhandled(inner)
18434            }
18435        }
18436    }
18437}
18438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
18439    for Error
18440where
18441    R: Send + Sync + std::fmt::Debug + 'static,
18442{
18443    fn from(
18444        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
18445    ) -> Self {
18446        match err {
18447            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18448            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18449                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18450                source: err.into(),
18451            }),
18452        }
18453    }
18454}
18455impl From<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
18456    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
18457        match err {
18458            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18459        }
18460    }
18461}
18462impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
18463where
18464    R: Send + Sync + std::fmt::Debug + 'static,
18465{
18466    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> Self {
18467        match err {
18468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18471                source: err.into(),
18472            }),
18473        }
18474    }
18475}
18476impl From<crate::operation::reboot_instances::RebootInstancesError> for Error {
18477    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
18478        match err {
18479            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18480        }
18481    }
18482}
18483impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
18484where
18485    R: Send + Sync + std::fmt::Debug + 'static,
18486{
18487    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
18488        match err {
18489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18492                source: err.into(),
18493            }),
18494        }
18495    }
18496}
18497impl From<crate::operation::register_image::RegisterImageError> for Error {
18498    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
18499        match err {
18500            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
18501        }
18502    }
18503}
18504impl<R>
18505    From<
18506        ::aws_smithy_runtime_api::client::result::SdkError<
18507            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
18508            R,
18509        >,
18510    > for Error
18511where
18512    R: Send + Sync + std::fmt::Debug + 'static,
18513{
18514    fn from(
18515        err: ::aws_smithy_runtime_api::client::result::SdkError<
18516            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
18517            R,
18518        >,
18519    ) -> Self {
18520        match err {
18521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18524                source: err.into(),
18525            }),
18526        }
18527    }
18528}
18529impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
18530    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
18531        match err {
18532            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
18533                Error::Unhandled(inner)
18534            }
18535        }
18536    }
18537}
18538impl<R>
18539    From<
18540        ::aws_smithy_runtime_api::client::result::SdkError<
18541            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
18542            R,
18543        >,
18544    > for Error
18545where
18546    R: Send + Sync + std::fmt::Debug + 'static,
18547{
18548    fn from(
18549        err: ::aws_smithy_runtime_api::client::result::SdkError<
18550            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
18551            R,
18552        >,
18553    ) -> Self {
18554        match err {
18555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18558                source: err.into(),
18559            }),
18560        }
18561    }
18562}
18563impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
18564    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
18565        match err {
18566            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
18567                inner,
18568            ) => Error::Unhandled(inner),
18569        }
18570    }
18571}
18572impl<R>
18573    From<
18574        ::aws_smithy_runtime_api::client::result::SdkError<
18575            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
18576            R,
18577        >,
18578    > for Error
18579where
18580    R: Send + Sync + std::fmt::Debug + 'static,
18581{
18582    fn from(
18583        err: ::aws_smithy_runtime_api::client::result::SdkError<
18584            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
18585            R,
18586        >,
18587    ) -> Self {
18588        match err {
18589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18592                source: err.into(),
18593            }),
18594        }
18595    }
18596}
18597impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
18598    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
18599        match err {
18600            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
18601                inner,
18602            ) => Error::Unhandled(inner),
18603        }
18604    }
18605}
18606impl<R>
18607    From<
18608        ::aws_smithy_runtime_api::client::result::SdkError<
18609            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
18610            R,
18611        >,
18612    > for Error
18613where
18614    R: Send + Sync + std::fmt::Debug + 'static,
18615{
18616    fn from(
18617        err: ::aws_smithy_runtime_api::client::result::SdkError<
18618            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
18619            R,
18620        >,
18621    ) -> Self {
18622        match err {
18623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18626                source: err.into(),
18627            }),
18628        }
18629    }
18630}
18631impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
18632    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
18633        match err {
18634            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
18635                Error::Unhandled(inner)
18636            }
18637        }
18638    }
18639}
18640impl<R>
18641    From<
18642        ::aws_smithy_runtime_api::client::result::SdkError<
18643            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
18644            R,
18645        >,
18646    > for Error
18647where
18648    R: Send + Sync + std::fmt::Debug + 'static,
18649{
18650    fn from(
18651        err: ::aws_smithy_runtime_api::client::result::SdkError<
18652            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
18653            R,
18654        >,
18655    ) -> Self {
18656        match err {
18657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18660                source: err.into(),
18661            }),
18662        }
18663    }
18664}
18665impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
18666    fn from(
18667        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
18668    ) -> Self {
18669        match err {
18670            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
18671        }
18672    }
18673}
18674impl<R>
18675    From<
18676        ::aws_smithy_runtime_api::client::result::SdkError<
18677            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
18678            R,
18679        >,
18680    > for Error
18681where
18682    R: Send + Sync + std::fmt::Debug + 'static,
18683{
18684    fn from(
18685        err: ::aws_smithy_runtime_api::client::result::SdkError<
18686            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
18687            R,
18688        >,
18689    ) -> Self {
18690        match err {
18691            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18692            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18693                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18694                source: err.into(),
18695            }),
18696        }
18697    }
18698}
18699impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
18700    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
18701        match err {
18702            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
18703                Error::Unhandled(inner)
18704            }
18705        }
18706    }
18707}
18708impl<R>
18709    From<
18710        ::aws_smithy_runtime_api::client::result::SdkError<
18711            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
18712            R,
18713        >,
18714    > for Error
18715where
18716    R: Send + Sync + std::fmt::Debug + 'static,
18717{
18718    fn from(
18719        err: ::aws_smithy_runtime_api::client::result::SdkError<
18720            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
18721            R,
18722        >,
18723    ) -> Self {
18724        match err {
18725            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18726            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18727                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18728                source: err.into(),
18729            }),
18730        }
18731    }
18732}
18733impl From<crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
18734    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
18735        match err {
18736            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
18737                Error::Unhandled(inner)
18738            }
18739        }
18740    }
18741}
18742impl<R>
18743    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
18744    for Error
18745where
18746    R: Send + Sync + std::fmt::Debug + 'static,
18747{
18748    fn from(
18749        err: ::aws_smithy_runtime_api::client::result::SdkError<
18750            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
18751            R,
18752        >,
18753    ) -> Self {
18754        match err {
18755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18758                source: err.into(),
18759            }),
18760        }
18761    }
18762}
18763impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
18764    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
18765        match err {
18766            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
18767        }
18768    }
18769}
18770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
18771    for Error
18772where
18773    R: Send + Sync + std::fmt::Debug + 'static,
18774{
18775    fn from(
18776        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
18777    ) -> Self {
18778        match err {
18779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18782                source: err.into(),
18783            }),
18784        }
18785    }
18786}
18787impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
18788    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
18789        match err {
18790            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
18791        }
18792    }
18793}
18794impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
18795where
18796    R: Send + Sync + std::fmt::Debug + 'static,
18797{
18798    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> Self {
18799        match err {
18800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18803                source: err.into(),
18804            }),
18805        }
18806    }
18807}
18808impl From<crate::operation::release_address::ReleaseAddressError> for Error {
18809    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
18810        match err {
18811            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
18812        }
18813    }
18814}
18815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
18816where
18817    R: Send + Sync + std::fmt::Debug + 'static,
18818{
18819    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
18820        match err {
18821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18824                source: err.into(),
18825            }),
18826        }
18827    }
18828}
18829impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
18830    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
18831        match err {
18832            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
18833        }
18834    }
18835}
18836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
18837    for Error
18838where
18839    R: Send + Sync + std::fmt::Debug + 'static,
18840{
18841    fn from(
18842        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
18843    ) -> Self {
18844        match err {
18845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18848                source: err.into(),
18849            }),
18850        }
18851    }
18852}
18853impl From<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
18854    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
18855        match err {
18856            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
18857        }
18858    }
18859}
18860impl<R>
18861    From<
18862        ::aws_smithy_runtime_api::client::result::SdkError<
18863            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
18864            R,
18865        >,
18866    > for Error
18867where
18868    R: Send + Sync + std::fmt::Debug + 'static,
18869{
18870    fn from(
18871        err: ::aws_smithy_runtime_api::client::result::SdkError<
18872            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
18873            R,
18874        >,
18875    ) -> Self {
18876        match err {
18877            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18878            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18879                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18880                source: err.into(),
18881            }),
18882        }
18883    }
18884}
18885impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
18886    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
18887        match err {
18888            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
18889                Error::Unhandled(inner)
18890            }
18891        }
18892    }
18893}
18894impl<R>
18895    From<
18896        ::aws_smithy_runtime_api::client::result::SdkError<
18897            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
18898            R,
18899        >,
18900    > for Error
18901where
18902    R: Send + Sync + std::fmt::Debug + 'static,
18903{
18904    fn from(
18905        err: ::aws_smithy_runtime_api::client::result::SdkError<
18906            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
18907            R,
18908        >,
18909    ) -> Self {
18910        match err {
18911            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18912            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18913                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18914                source: err.into(),
18915            }),
18916        }
18917    }
18918}
18919impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
18920    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
18921        match err {
18922            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
18923                inner,
18924            ) => Error::Unhandled(inner),
18925        }
18926    }
18927}
18928impl<R>
18929    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
18930    for Error
18931where
18932    R: Send + Sync + std::fmt::Debug + 'static,
18933{
18934    fn from(
18935        err: ::aws_smithy_runtime_api::client::result::SdkError<
18936            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
18937            R,
18938        >,
18939    ) -> Self {
18940        match err {
18941            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18942            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18943                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18944                source: err.into(),
18945            }),
18946        }
18947    }
18948}
18949impl From<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
18950    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
18951        match err {
18952            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
18953        }
18954    }
18955}
18956impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>>
18957    for Error
18958where
18959    R: Send + Sync + std::fmt::Debug + 'static,
18960{
18961    fn from(
18962        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>,
18963    ) -> Self {
18964        match err {
18965            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18966            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18967                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18968                source: err.into(),
18969            }),
18970        }
18971    }
18972}
18973impl From<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
18974    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
18975        match err {
18976            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
18977        }
18978    }
18979}
18980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
18981where
18982    R: Send + Sync + std::fmt::Debug + 'static,
18983{
18984    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> Self {
18985        match err {
18986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18989                source: err.into(),
18990            }),
18991        }
18992    }
18993}
18994impl From<crate::operation::replace_route::ReplaceRouteError> for Error {
18995    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
18996        match err {
18997            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
18998        }
18999    }
19000}
19001impl<R>
19002    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
19003    for Error
19004where
19005    R: Send + Sync + std::fmt::Debug + 'static,
19006{
19007    fn from(
19008        err: ::aws_smithy_runtime_api::client::result::SdkError<
19009            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
19010            R,
19011        >,
19012    ) -> Self {
19013        match err {
19014            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19015            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19016                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19017                source: err.into(),
19018            }),
19019        }
19020    }
19021}
19022impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
19023    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
19024        match err {
19025            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
19026        }
19027    }
19028}
19029impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
19030    for Error
19031where
19032    R: Send + Sync + std::fmt::Debug + 'static,
19033{
19034    fn from(
19035        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
19036    ) -> Self {
19037        match err {
19038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19041                source: err.into(),
19042            }),
19043        }
19044    }
19045}
19046impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
19047    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
19048        match err {
19049            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
19050        }
19051    }
19052}
19053impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
19054where
19055    R: Send + Sync + std::fmt::Debug + 'static,
19056{
19057    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
19058        match err {
19059            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19060            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19061                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19062                source: err.into(),
19063            }),
19064        }
19065    }
19066}
19067impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
19068    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
19069        match err {
19070            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
19071        }
19072    }
19073}
19074impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
19075where
19076    R: Send + Sync + std::fmt::Debug + 'static,
19077{
19078    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
19079        match err {
19080            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19081            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19082                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19083                source: err.into(),
19084            }),
19085        }
19086    }
19087}
19088impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
19089    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
19090        match err {
19091            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
19092        }
19093    }
19094}
19095impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
19096where
19097    R: Send + Sync + std::fmt::Debug + 'static,
19098{
19099    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> Self {
19100        match err {
19101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19104                source: err.into(),
19105            }),
19106        }
19107    }
19108}
19109impl From<crate::operation::request_spot_fleet::RequestSpotFleetError> for Error {
19110    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
19111        match err {
19112            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
19113        }
19114    }
19115}
19116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
19117where
19118    R: Send + Sync + std::fmt::Debug + 'static,
19119{
19120    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> Self {
19121        match err {
19122            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19123            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19124                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19125                source: err.into(),
19126            }),
19127        }
19128    }
19129}
19130impl From<crate::operation::request_spot_instances::RequestSpotInstancesError> for Error {
19131    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
19132        match err {
19133            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19134        }
19135    }
19136}
19137impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
19138where
19139    R: Send + Sync + std::fmt::Debug + 'static,
19140{
19141    fn from(
19142        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
19143    ) -> Self {
19144        match err {
19145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19148                source: err.into(),
19149            }),
19150        }
19151    }
19152}
19153impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
19154    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
19155        match err {
19156            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19157        }
19158    }
19159}
19160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
19161    for Error
19162where
19163    R: Send + Sync + std::fmt::Debug + 'static,
19164{
19165    fn from(
19166        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
19167    ) -> Self {
19168        match err {
19169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19172                source: err.into(),
19173            }),
19174        }
19175    }
19176}
19177impl From<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
19178    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
19179        match err {
19180            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
19181        }
19182    }
19183}
19184impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
19185    for Error
19186where
19187    R: Send + Sync + std::fmt::Debug + 'static,
19188{
19189    fn from(
19190        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
19191    ) -> Self {
19192        match err {
19193            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19194            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19195                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19196                source: err.into(),
19197            }),
19198        }
19199    }
19200}
19201impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
19202    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
19203        match err {
19204            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19205        }
19206    }
19207}
19208impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
19209where
19210    R: Send + Sync + std::fmt::Debug + 'static,
19211{
19212    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
19213        match err {
19214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19217                source: err.into(),
19218            }),
19219        }
19220    }
19221}
19222impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
19223    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
19224        match err {
19225            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19226        }
19227    }
19228}
19229impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
19230where
19231    R: Send + Sync + std::fmt::Debug + 'static,
19232{
19233    fn from(
19234        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
19235    ) -> Self {
19236        match err {
19237            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19238            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19239                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19240                source: err.into(),
19241            }),
19242        }
19243    }
19244}
19245impl From<crate::operation::reset_instance_attribute::ResetInstanceAttributeError> for Error {
19246    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
19247        match err {
19248            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19249        }
19250    }
19251}
19252impl<R>
19253    From<
19254        ::aws_smithy_runtime_api::client::result::SdkError<
19255            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
19256            R,
19257        >,
19258    > for Error
19259where
19260    R: Send + Sync + std::fmt::Debug + 'static,
19261{
19262    fn from(
19263        err: ::aws_smithy_runtime_api::client::result::SdkError<
19264            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
19265            R,
19266        >,
19267    ) -> Self {
19268        match err {
19269            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19270            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19271                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19272                source: err.into(),
19273            }),
19274        }
19275    }
19276}
19277impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
19278    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
19279        match err {
19280            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19281        }
19282    }
19283}
19284impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
19285where
19286    R: Send + Sync + std::fmt::Debug + 'static,
19287{
19288    fn from(
19289        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
19290    ) -> Self {
19291        match err {
19292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19295                source: err.into(),
19296            }),
19297        }
19298    }
19299}
19300impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
19301    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
19302        match err {
19303            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19304        }
19305    }
19306}
19307impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
19308    for Error
19309where
19310    R: Send + Sync + std::fmt::Debug + 'static,
19311{
19312    fn from(
19313        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
19314    ) -> Self {
19315        match err {
19316            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19317            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19318                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19319                source: err.into(),
19320            }),
19321        }
19322    }
19323}
19324impl From<crate::operation::restore_address_to_classic::RestoreAddressToClassicError> for Error {
19325    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
19326        match err {
19327            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
19328        }
19329    }
19330}
19331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
19332    for Error
19333where
19334    R: Send + Sync + std::fmt::Debug + 'static,
19335{
19336    fn from(
19337        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
19338    ) -> Self {
19339        match err {
19340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19343                source: err.into(),
19344            }),
19345        }
19346    }
19347}
19348impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
19349    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
19350        match err {
19351            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
19352        }
19353    }
19354}
19355impl<R>
19356    From<
19357        ::aws_smithy_runtime_api::client::result::SdkError<
19358            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
19359            R,
19360        >,
19361    > for Error
19362where
19363    R: Send + Sync + std::fmt::Debug + 'static,
19364{
19365    fn from(
19366        err: ::aws_smithy_runtime_api::client::result::SdkError<
19367            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
19368            R,
19369        >,
19370    ) -> Self {
19371        match err {
19372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19375                source: err.into(),
19376            }),
19377        }
19378    }
19379}
19380impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
19381    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
19382        match err {
19383            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
19384        }
19385    }
19386}
19387impl<R>
19388    From<
19389        ::aws_smithy_runtime_api::client::result::SdkError<
19390            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
19391            R,
19392        >,
19393    > for Error
19394where
19395    R: Send + Sync + std::fmt::Debug + 'static,
19396{
19397    fn from(
19398        err: ::aws_smithy_runtime_api::client::result::SdkError<
19399            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
19400            R,
19401        >,
19402    ) -> Self {
19403        match err {
19404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19407                source: err.into(),
19408            }),
19409        }
19410    }
19411}
19412impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
19413    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
19414        match err {
19415            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
19416        }
19417    }
19418}
19419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
19420where
19421    R: Send + Sync + std::fmt::Debug + 'static,
19422{
19423    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
19424        match err {
19425            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19426            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19427                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19428                source: err.into(),
19429            }),
19430        }
19431    }
19432}
19433impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
19434    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
19435        match err {
19436            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
19437        }
19438    }
19439}
19440impl<R>
19441    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError, R>>
19442    for Error
19443where
19444    R: Send + Sync + std::fmt::Debug + 'static,
19445{
19446    fn from(
19447        err: ::aws_smithy_runtime_api::client::result::SdkError<
19448            crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError,
19449            R,
19450        >,
19451    ) -> Self {
19452        match err {
19453            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19454            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19455                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19456                source: err.into(),
19457            }),
19458        }
19459    }
19460}
19461impl From<crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError> for Error {
19462    fn from(err: crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError) -> Self {
19463        match err {
19464            crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
19465        }
19466    }
19467}
19468impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
19469    for Error
19470where
19471    R: Send + Sync + std::fmt::Debug + 'static,
19472{
19473    fn from(
19474        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
19475    ) -> Self {
19476        match err {
19477            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19478            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19479                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19480                source: err.into(),
19481            }),
19482        }
19483    }
19484}
19485impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
19486    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
19487        match err {
19488            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
19489        }
19490    }
19491}
19492impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
19493    for Error
19494where
19495    R: Send + Sync + std::fmt::Debug + 'static,
19496{
19497    fn from(
19498        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
19499    ) -> Self {
19500        match err {
19501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19504                source: err.into(),
19505            }),
19506        }
19507    }
19508}
19509impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
19510    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
19511        match err {
19512            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
19513        }
19514    }
19515}
19516impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
19517    for Error
19518where
19519    R: Send + Sync + std::fmt::Debug + 'static,
19520{
19521    fn from(
19522        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
19523    ) -> Self {
19524        match err {
19525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19528                source: err.into(),
19529            }),
19530        }
19531    }
19532}
19533impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
19534    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
19535        match err {
19536            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
19537        }
19538    }
19539}
19540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
19541where
19542    R: Send + Sync + std::fmt::Debug + 'static,
19543{
19544    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
19545        match err {
19546            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19547            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19548                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19549                source: err.into(),
19550            }),
19551        }
19552    }
19553}
19554impl From<crate::operation::run_instances::RunInstancesError> for Error {
19555    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
19556        match err {
19557            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19558        }
19559    }
19560}
19561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
19562where
19563    R: Send + Sync + std::fmt::Debug + 'static,
19564{
19565    fn from(
19566        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
19567    ) -> Self {
19568        match err {
19569            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19570            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19571                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19572                source: err.into(),
19573            }),
19574        }
19575    }
19576}
19577impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
19578    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
19579        match err {
19580            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19581        }
19582    }
19583}
19584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
19585    for Error
19586where
19587    R: Send + Sync + std::fmt::Debug + 'static,
19588{
19589    fn from(
19590        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
19591    ) -> Self {
19592        match err {
19593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19596                source: err.into(),
19597            }),
19598        }
19599    }
19600}
19601impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
19602    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
19603        match err {
19604            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
19605        }
19606    }
19607}
19608impl<R>
19609    From<
19610        ::aws_smithy_runtime_api::client::result::SdkError<
19611            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
19612            R,
19613        >,
19614    > for Error
19615where
19616    R: Send + Sync + std::fmt::Debug + 'static,
19617{
19618    fn from(
19619        err: ::aws_smithy_runtime_api::client::result::SdkError<
19620            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
19621            R,
19622        >,
19623    ) -> Self {
19624        match err {
19625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19628                source: err.into(),
19629            }),
19630        }
19631    }
19632}
19633impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
19634    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
19635        match err {
19636            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
19637                Error::Unhandled(inner)
19638            }
19639        }
19640    }
19641}
19642impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
19643    for Error
19644where
19645    R: Send + Sync + std::fmt::Debug + 'static,
19646{
19647    fn from(
19648        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
19649    ) -> Self {
19650        match err {
19651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19654                source: err.into(),
19655            }),
19656        }
19657    }
19658}
19659impl From<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
19660    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
19661        match err {
19662            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
19663        }
19664    }
19665}
19666impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
19667    for Error
19668where
19669    R: Send + Sync + std::fmt::Debug + 'static,
19670{
19671    fn from(
19672        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
19673    ) -> Self {
19674        match err {
19675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19678                source: err.into(),
19679            }),
19680        }
19681    }
19682}
19683impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
19684    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
19685        match err {
19686            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
19687        }
19688    }
19689}
19690impl<R>
19691    From<
19692        ::aws_smithy_runtime_api::client::result::SdkError<
19693            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
19694            R,
19695        >,
19696    > for Error
19697where
19698    R: Send + Sync + std::fmt::Debug + 'static,
19699{
19700    fn from(
19701        err: ::aws_smithy_runtime_api::client::result::SdkError<
19702            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
19703            R,
19704        >,
19705    ) -> Self {
19706        match err {
19707            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19708            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19709                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19710                source: err.into(),
19711            }),
19712        }
19713    }
19714}
19715impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
19716    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
19717        match err {
19718            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
19719        }
19720    }
19721}
19722impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
19723where
19724    R: Send + Sync + std::fmt::Debug + 'static,
19725{
19726    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
19727        match err {
19728            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19729            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19730                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19731                source: err.into(),
19732            }),
19733        }
19734    }
19735}
19736impl From<crate::operation::start_instances::StartInstancesError> for Error {
19737    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
19738        match err {
19739            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19740        }
19741    }
19742}
19743impl<R>
19744    From<
19745        ::aws_smithy_runtime_api::client::result::SdkError<
19746            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
19747            R,
19748        >,
19749    > for Error
19750where
19751    R: Send + Sync + std::fmt::Debug + 'static,
19752{
19753    fn from(
19754        err: ::aws_smithy_runtime_api::client::result::SdkError<
19755            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
19756            R,
19757        >,
19758    ) -> Self {
19759        match err {
19760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19763                source: err.into(),
19764            }),
19765        }
19766    }
19767}
19768impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
19769    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
19770        match err {
19771            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
19772                Error::Unhandled(inner)
19773            }
19774        }
19775    }
19776}
19777impl<R>
19778    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
19779    for Error
19780where
19781    R: Send + Sync + std::fmt::Debug + 'static,
19782{
19783    fn from(
19784        err: ::aws_smithy_runtime_api::client::result::SdkError<
19785            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
19786            R,
19787        >,
19788    ) -> Self {
19789        match err {
19790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19793                source: err.into(),
19794            }),
19795        }
19796    }
19797}
19798impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
19799    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
19800        match err {
19801            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
19802        }
19803    }
19804}
19805impl<R>
19806    From<
19807        ::aws_smithy_runtime_api::client::result::SdkError<
19808            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
19809            R,
19810        >,
19811    > for Error
19812where
19813    R: Send + Sync + std::fmt::Debug + 'static,
19814{
19815    fn from(
19816        err: ::aws_smithy_runtime_api::client::result::SdkError<
19817            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
19818            R,
19819        >,
19820    ) -> Self {
19821        match err {
19822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19825                source: err.into(),
19826            }),
19827        }
19828    }
19829}
19830impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
19831    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
19832        match err {
19833            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
19834                inner,
19835            ) => Error::Unhandled(inner),
19836        }
19837    }
19838}
19839impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>> for Error
19840where
19841    R: Send + Sync + std::fmt::Debug + 'static,
19842{
19843    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>) -> Self {
19844        match err {
19845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19848                source: err.into(),
19849            }),
19850        }
19851    }
19852}
19853impl From<crate::operation::stop_instances::StopInstancesError> for Error {
19854    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
19855        match err {
19856            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19857        }
19858    }
19859}
19860impl<R>
19861    From<
19862        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
19863    > for Error
19864where
19865    R: Send + Sync + std::fmt::Debug + 'static,
19866{
19867    fn from(
19868        err: ::aws_smithy_runtime_api::client::result::SdkError<
19869            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
19870            R,
19871        >,
19872    ) -> Self {
19873        match err {
19874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19877                source: err.into(),
19878            }),
19879        }
19880    }
19881}
19882impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
19883    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
19884        match err {
19885            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
19886        }
19887    }
19888}
19889impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
19890where
19891    R: Send + Sync + std::fmt::Debug + 'static,
19892{
19893    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
19894        match err {
19895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19898                source: err.into(),
19899            }),
19900        }
19901    }
19902}
19903impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
19904    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
19905        match err {
19906            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19907        }
19908    }
19909}
19910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
19911where
19912    R: Send + Sync + std::fmt::Debug + 'static,
19913{
19914    fn from(
19915        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
19916    ) -> Self {
19917        match err {
19918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19921                source: err.into(),
19922            }),
19923        }
19924    }
19925}
19926impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
19927    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
19928        match err {
19929            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
19930        }
19931    }
19932}
19933impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
19934    for Error
19935where
19936    R: Send + Sync + std::fmt::Debug + 'static,
19937{
19938    fn from(
19939        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
19940    ) -> Self {
19941        match err {
19942            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19943            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19944                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19945                source: err.into(),
19946            }),
19947        }
19948    }
19949}
19950impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
19951    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
19952        match err {
19953            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
19954        }
19955    }
19956}
19957impl<R>
19958    From<
19959        ::aws_smithy_runtime_api::client::result::SdkError<
19960            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
19961            R,
19962        >,
19963    > for Error
19964where
19965    R: Send + Sync + std::fmt::Debug + 'static,
19966{
19967    fn from(
19968        err: ::aws_smithy_runtime_api::client::result::SdkError<
19969            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
19970            R,
19971        >,
19972    ) -> Self {
19973        match err {
19974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19977                source: err.into(),
19978            }),
19979        }
19980    }
19981}
19982impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
19983    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
19984        match err {
19985            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
19986                Error::Unhandled(inner)
19987            }
19988        }
19989    }
19990}
19991impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
19992where
19993    R: Send + Sync + std::fmt::Debug + 'static,
19994{
19995    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
19996        match err {
19997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20000                source: err.into(),
20001            }),
20002        }
20003    }
20004}
20005impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
20006    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
20007        match err {
20008            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
20009        }
20010    }
20011}
20012impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
20013where
20014    R: Send + Sync + std::fmt::Debug + 'static,
20015{
20016    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> Self {
20017        match err {
20018            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20019            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20020                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20021                source: err.into(),
20022            }),
20023        }
20024    }
20025}
20026impl From<crate::operation::unmonitor_instances::UnmonitorInstancesError> for Error {
20027    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
20028        match err {
20029            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
20030        }
20031    }
20032}
20033impl<R>
20034    From<
20035        ::aws_smithy_runtime_api::client::result::SdkError<
20036            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
20037            R,
20038        >,
20039    > for Error
20040where
20041    R: Send + Sync + std::fmt::Debug + 'static,
20042{
20043    fn from(
20044        err: ::aws_smithy_runtime_api::client::result::SdkError<
20045            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
20046            R,
20047        >,
20048    ) -> Self {
20049        match err {
20050            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20051            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20052                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20053                source: err.into(),
20054            }),
20055        }
20056    }
20057}
20058impl From<crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError> for Error {
20059    fn from(err: crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError) -> Self {
20060        match err {
20061            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError::Unhandled(inner) => {
20062                Error::Unhandled(inner)
20063            }
20064        }
20065    }
20066}
20067impl<R>
20068    From<
20069        ::aws_smithy_runtime_api::client::result::SdkError<
20070            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
20071            R,
20072        >,
20073    > for Error
20074where
20075    R: Send + Sync + std::fmt::Debug + 'static,
20076{
20077    fn from(
20078        err: ::aws_smithy_runtime_api::client::result::SdkError<
20079            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
20080            R,
20081        >,
20082    ) -> Self {
20083        match err {
20084            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20085            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20086                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20087                source: err.into(),
20088            }),
20089        }
20090    }
20091}
20092impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
20093    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
20094        match err {
20095            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
20096                Error::Unhandled(inner)
20097            }
20098        }
20099    }
20100}
20101impl<R>
20102    From<
20103        ::aws_smithy_runtime_api::client::result::SdkError<
20104            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
20105            R,
20106        >,
20107    > for Error
20108where
20109    R: Send + Sync + std::fmt::Debug + 'static,
20110{
20111    fn from(
20112        err: ::aws_smithy_runtime_api::client::result::SdkError<
20113            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
20114            R,
20115        >,
20116    ) -> Self {
20117        match err {
20118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20121                source: err.into(),
20122            }),
20123        }
20124    }
20125}
20126impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
20127    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
20128        match err {
20129            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
20130                Error::Unhandled(inner)
20131            }
20132        }
20133    }
20134}
20135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
20136where
20137    R: Send + Sync + std::fmt::Debug + 'static,
20138{
20139    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
20140        match err {
20141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20144                source: err.into(),
20145            }),
20146        }
20147    }
20148}
20149impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
20150    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
20151        match err {
20152            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
20153        }
20154    }
20155}
20156impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
20157where
20158    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
20159    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
20160{
20161    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
20162        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20163            meta: ::std::default::Default::default(),
20164            source: err.into(),
20165        })
20166    }
20167}
20168impl ::std::error::Error for Error {
20169    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
20170        match self {
20171            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
20172        }
20173    }
20174}
20175impl ::aws_types::request_id::RequestId for Error {
20176    fn request_id(&self) -> Option<&str> {
20177        match self {
20178            Self::Unhandled(e) => e.meta.request_id(),
20179        }
20180    }
20181}