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_multicast_domain::CreateTransitGatewayMulticastDomainError,
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_multicast_domain::CreateTransitGatewayMulticastDomainError,
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_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3552    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3553        match err {
3554            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::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_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
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_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
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_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3586    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3587        match err {
3588            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::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_policy_table::CreateTransitGatewayPolicyTableError,
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_policy_table::CreateTransitGatewayPolicyTableError,
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_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3620    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3621        match err {
3622            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3623        }
3624    }
3625}
3626impl<R>
3627    From<
3628        ::aws_smithy_runtime_api::client::result::SdkError<
3629            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3630            R,
3631        >,
3632    > for Error
3633where
3634    R: Send + Sync + std::fmt::Debug + 'static,
3635{
3636    fn from(
3637        err: ::aws_smithy_runtime_api::client::result::SdkError<
3638            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3639            R,
3640        >,
3641    ) -> Self {
3642        match err {
3643            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3644            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3645                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3646                source: err.into(),
3647            }),
3648        }
3649    }
3650}
3651impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3652    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3653        match err {
3654            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3655                Error::Unhandled(inner)
3656            }
3657        }
3658    }
3659}
3660impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3661    for Error
3662where
3663    R: Send + Sync + std::fmt::Debug + 'static,
3664{
3665    fn from(
3666        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3667    ) -> Self {
3668        match err {
3669            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3670            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3671                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3672                source: err.into(),
3673            }),
3674        }
3675    }
3676}
3677impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3678    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3679        match err {
3680            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3681        }
3682    }
3683}
3684impl<R>
3685    From<
3686        ::aws_smithy_runtime_api::client::result::SdkError<
3687            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3688            R,
3689        >,
3690    > for Error
3691where
3692    R: Send + Sync + std::fmt::Debug + 'static,
3693{
3694    fn from(
3695        err: ::aws_smithy_runtime_api::client::result::SdkError<
3696            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3697            R,
3698        >,
3699    ) -> Self {
3700        match err {
3701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3704                source: err.into(),
3705            }),
3706        }
3707    }
3708}
3709impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3710    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3711        match err {
3712            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3713        }
3714    }
3715}
3716impl<R>
3717    From<
3718        ::aws_smithy_runtime_api::client::result::SdkError<
3719            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3720            R,
3721        >,
3722    > for Error
3723where
3724    R: Send + Sync + std::fmt::Debug + 'static,
3725{
3726    fn from(
3727        err: ::aws_smithy_runtime_api::client::result::SdkError<
3728            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3729            R,
3730        >,
3731    ) -> Self {
3732        match err {
3733            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3734            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3735                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3736                source: err.into(),
3737            }),
3738        }
3739    }
3740}
3741impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3742    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3743        match err {
3744            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3745                Error::Unhandled(inner)
3746            }
3747        }
3748    }
3749}
3750impl<R>
3751    From<
3752        ::aws_smithy_runtime_api::client::result::SdkError<
3753            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3754            R,
3755        >,
3756    > for Error
3757where
3758    R: Send + Sync + std::fmt::Debug + 'static,
3759{
3760    fn from(
3761        err: ::aws_smithy_runtime_api::client::result::SdkError<
3762            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3763            R,
3764        >,
3765    ) -> Self {
3766        match err {
3767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3770                source: err.into(),
3771            }),
3772        }
3773    }
3774}
3775impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3776    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3777        match err {
3778            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3779                Error::Unhandled(inner)
3780            }
3781        }
3782    }
3783}
3784impl<R>
3785    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3786    for Error
3787where
3788    R: Send + Sync + std::fmt::Debug + 'static,
3789{
3790    fn from(
3791        err: ::aws_smithy_runtime_api::client::result::SdkError<
3792            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3793            R,
3794        >,
3795    ) -> Self {
3796        match err {
3797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3800                source: err.into(),
3801            }),
3802        }
3803    }
3804}
3805impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3806    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3807        match err {
3808            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3809        }
3810    }
3811}
3812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>>
3813    for Error
3814where
3815    R: Send + Sync + std::fmt::Debug + 'static,
3816{
3817    fn from(
3818        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>,
3819    ) -> Self {
3820        match err {
3821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3824                source: err.into(),
3825            }),
3826        }
3827    }
3828}
3829impl From<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3830    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3831        match err {
3832            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3833        }
3834    }
3835}
3836impl<R>
3837    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3838    for Error
3839where
3840    R: Send + Sync + std::fmt::Debug + 'static,
3841{
3842    fn from(
3843        err: ::aws_smithy_runtime_api::client::result::SdkError<
3844            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3845            R,
3846        >,
3847    ) -> Self {
3848        match err {
3849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3852                source: err.into(),
3853            }),
3854        }
3855    }
3856}
3857impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
3858    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
3859        match err {
3860            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3861        }
3862    }
3863}
3864impl<R>
3865    From<
3866        ::aws_smithy_runtime_api::client::result::SdkError<
3867            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3868            R,
3869        >,
3870    > for Error
3871where
3872    R: Send + Sync + std::fmt::Debug + 'static,
3873{
3874    fn from(
3875        err: ::aws_smithy_runtime_api::client::result::SdkError<
3876            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3877            R,
3878        >,
3879    ) -> Self {
3880        match err {
3881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3884                source: err.into(),
3885            }),
3886        }
3887    }
3888}
3889impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
3890    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
3891        match err {
3892            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
3893                Error::Unhandled(inner)
3894            }
3895        }
3896    }
3897}
3898impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
3899where
3900    R: Send + Sync + std::fmt::Debug + 'static,
3901{
3902    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> Self {
3903        match err {
3904            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3905            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3906                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3907                source: err.into(),
3908            }),
3909        }
3910    }
3911}
3912impl From<crate::operation::create_volume::CreateVolumeError> for Error {
3913    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
3914        match err {
3915            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
3916        }
3917    }
3918}
3919impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
3920where
3921    R: Send + Sync + std::fmt::Debug + 'static,
3922{
3923    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
3924        match err {
3925            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3926            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3927                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3928                source: err.into(),
3929            }),
3930        }
3931    }
3932}
3933impl From<crate::operation::create_vpc::CreateVpcError> for Error {
3934    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
3935        match err {
3936            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
3937        }
3938    }
3939}
3940impl<R>
3941    From<
3942        ::aws_smithy_runtime_api::client::result::SdkError<
3943            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3944            R,
3945        >,
3946    > for Error
3947where
3948    R: Send + Sync + std::fmt::Debug + 'static,
3949{
3950    fn from(
3951        err: ::aws_smithy_runtime_api::client::result::SdkError<
3952            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3953            R,
3954        >,
3955    ) -> Self {
3956        match err {
3957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3960                source: err.into(),
3961            }),
3962        }
3963    }
3964}
3965impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
3966    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
3967        match err {
3968            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
3969                Error::Unhandled(inner)
3970            }
3971        }
3972    }
3973}
3974impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
3975where
3976    R: Send + Sync + std::fmt::Debug + 'static,
3977{
3978    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
3979        match err {
3980            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3981            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3982                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3983                source: err.into(),
3984            }),
3985        }
3986    }
3987}
3988impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
3989    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
3990        match err {
3991            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3992        }
3993    }
3994}
3995impl<R>
3996    From<
3997        ::aws_smithy_runtime_api::client::result::SdkError<
3998            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3999            R,
4000        >,
4001    > for Error
4002where
4003    R: Send + Sync + std::fmt::Debug + 'static,
4004{
4005    fn from(
4006        err: ::aws_smithy_runtime_api::client::result::SdkError<
4007            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
4008            R,
4009        >,
4010    ) -> Self {
4011        match err {
4012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4015                source: err.into(),
4016            }),
4017        }
4018    }
4019}
4020impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
4021    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
4022        match err {
4023            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
4024                Error::Unhandled(inner)
4025            }
4026        }
4027    }
4028}
4029impl<R>
4030    From<
4031        ::aws_smithy_runtime_api::client::result::SdkError<
4032            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
4033            R,
4034        >,
4035    > for Error
4036where
4037    R: Send + Sync + std::fmt::Debug + 'static,
4038{
4039    fn from(
4040        err: ::aws_smithy_runtime_api::client::result::SdkError<
4041            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
4042            R,
4043        >,
4044    ) -> Self {
4045        match err {
4046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4049                source: err.into(),
4050            }),
4051        }
4052    }
4053}
4054impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
4055    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
4056        match err {
4057            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
4058                Error::Unhandled(inner)
4059            }
4060        }
4061    }
4062}
4063impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
4064    for Error
4065where
4066    R: Send + Sync + std::fmt::Debug + 'static,
4067{
4068    fn from(
4069        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
4070    ) -> 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_peering_connection::CreateVpcPeeringConnectionError> for Error {
4081    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
4082        match err {
4083            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4084        }
4085    }
4086}
4087impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_concentrator::CreateVpnConcentratorError, R>> for Error
4088where
4089    R: Send + Sync + std::fmt::Debug + 'static,
4090{
4091    fn from(
4092        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_concentrator::CreateVpnConcentratorError, R>,
4093    ) -> Self {
4094        match err {
4095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4098                source: err.into(),
4099            }),
4100        }
4101    }
4102}
4103impl From<crate::operation::create_vpn_concentrator::CreateVpnConcentratorError> for Error {
4104    fn from(err: crate::operation::create_vpn_concentrator::CreateVpnConcentratorError) -> Self {
4105        match err {
4106            crate::operation::create_vpn_concentrator::CreateVpnConcentratorError::Unhandled(inner) => Error::Unhandled(inner),
4107        }
4108    }
4109}
4110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
4111where
4112    R: Send + Sync + std::fmt::Debug + 'static,
4113{
4114    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
4115        match err {
4116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4119                source: err.into(),
4120            }),
4121        }
4122    }
4123}
4124impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
4125    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
4126        match err {
4127            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4128        }
4129    }
4130}
4131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
4132    for Error
4133where
4134    R: Send + Sync + std::fmt::Debug + 'static,
4135{
4136    fn from(
4137        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
4138    ) -> Self {
4139        match err {
4140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4143                source: err.into(),
4144            }),
4145        }
4146    }
4147}
4148impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
4149    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
4150        match err {
4151            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
4152        }
4153    }
4154}
4155impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
4156where
4157    R: Send + Sync + std::fmt::Debug + 'static,
4158{
4159    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
4160        match err {
4161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4164                source: err.into(),
4165            }),
4166        }
4167    }
4168}
4169impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
4170    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
4171        match err {
4172            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4173        }
4174    }
4175}
4176impl<R>
4177    From<
4178        ::aws_smithy_runtime_api::client::result::SdkError<
4179            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4180            R,
4181        >,
4182    > for Error
4183where
4184    R: Send + Sync + std::fmt::Debug + 'static,
4185{
4186    fn from(
4187        err: ::aws_smithy_runtime_api::client::result::SdkError<
4188            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4189            R,
4190        >,
4191    ) -> Self {
4192        match err {
4193            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4194            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4195                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4196                source: err.into(),
4197            }),
4198        }
4199    }
4200}
4201impl From<crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError> for Error {
4202    fn from(err: crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError) -> Self {
4203        match err {
4204            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError::Unhandled(inner) => Error::Unhandled(inner),
4205        }
4206    }
4207}
4208impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
4209where
4210    R: Send + Sync + std::fmt::Debug + 'static,
4211{
4212    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> Self {
4213        match err {
4214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4217                source: err.into(),
4218            }),
4219        }
4220    }
4221}
4222impl From<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
4223    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
4224        match err {
4225            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4226        }
4227    }
4228}
4229impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
4230    for Error
4231where
4232    R: Send + Sync + std::fmt::Debug + 'static,
4233{
4234    fn from(
4235        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
4236    ) -> Self {
4237        match err {
4238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4241                source: err.into(),
4242            }),
4243        }
4244    }
4245}
4246impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
4247    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
4248        match err {
4249            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4250        }
4251    }
4252}
4253impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
4254where
4255    R: Send + Sync + std::fmt::Debug + 'static,
4256{
4257    fn from(
4258        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
4259    ) -> Self {
4260        match err {
4261            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4262            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4263                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4264                source: err.into(),
4265            }),
4266        }
4267    }
4268}
4269impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
4270    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
4271        match err {
4272            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
4273        }
4274    }
4275}
4276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
4277where
4278    R: Send + Sync + std::fmt::Debug + 'static,
4279{
4280    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
4281        match err {
4282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4285                source: err.into(),
4286            }),
4287        }
4288    }
4289}
4290impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
4291    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
4292        match err {
4293            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
4294        }
4295    }
4296}
4297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
4298where
4299    R: Send + Sync + std::fmt::Debug + 'static,
4300{
4301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
4302        match err {
4303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4306                source: err.into(),
4307            }),
4308        }
4309    }
4310}
4311impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
4312    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
4313        match err {
4314            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
4315        }
4316    }
4317}
4318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
4319where
4320    R: Send + Sync + std::fmt::Debug + 'static,
4321{
4322    fn from(
4323        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
4324    ) -> Self {
4325        match err {
4326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4329                source: err.into(),
4330            }),
4331        }
4332    }
4333}
4334impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
4335    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
4336        match err {
4337            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4338        }
4339    }
4340}
4341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
4342where
4343    R: Send + Sync + std::fmt::Debug + 'static,
4344{
4345    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> Self {
4346        match err {
4347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4350                source: err.into(),
4351            }),
4352        }
4353    }
4354}
4355impl From<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError> for Error {
4356    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
4357        match err {
4358            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
4359        }
4360    }
4361}
4362impl<R>
4363    From<
4364        ::aws_smithy_runtime_api::client::result::SdkError<
4365            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4366            R,
4367        >,
4368    > for Error
4369where
4370    R: Send + Sync + std::fmt::Debug + 'static,
4371{
4372    fn from(
4373        err: ::aws_smithy_runtime_api::client::result::SdkError<
4374            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4375            R,
4376        >,
4377    ) -> Self {
4378        match err {
4379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4382                source: err.into(),
4383            }),
4384        }
4385    }
4386}
4387impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
4388    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
4389        match err {
4390            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4391        }
4392    }
4393}
4394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
4395where
4396    R: Send + Sync + std::fmt::Debug + 'static,
4397{
4398    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> Self {
4399        match err {
4400            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4401            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4402                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4403                source: err.into(),
4404            }),
4405        }
4406    }
4407}
4408impl From<crate::operation::delete_fleets::DeleteFleetsError> for Error {
4409    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
4410        match err {
4411            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
4412        }
4413    }
4414}
4415impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
4416where
4417    R: Send + Sync + std::fmt::Debug + 'static,
4418{
4419    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
4420        match err {
4421            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4422            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4423                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4424                source: err.into(),
4425            }),
4426        }
4427    }
4428}
4429impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
4430    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
4431        match err {
4432            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
4433        }
4434    }
4435}
4436impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
4437where
4438    R: Send + Sync + std::fmt::Debug + 'static,
4439{
4440    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
4441        match err {
4442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4445                source: err.into(),
4446            }),
4447        }
4448    }
4449}
4450impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4451    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4452        match err {
4453            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4454        }
4455    }
4456}
4457impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>>
4458    for Error
4459where
4460    R: Send + Sync + std::fmt::Debug + 'static,
4461{
4462    fn from(
4463        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>,
4464    ) -> Self {
4465        match err {
4466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4469                source: err.into(),
4470            }),
4471        }
4472    }
4473}
4474impl From<crate::operation::delete_image_usage_report::DeleteImageUsageReportError> for Error {
4475    fn from(err: crate::operation::delete_image_usage_report::DeleteImageUsageReportError) -> Self {
4476        match err {
4477            crate::operation::delete_image_usage_report::DeleteImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
4478        }
4479    }
4480}
4481impl<R>
4482    From<
4483        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4484    > for Error
4485where
4486    R: Send + Sync + std::fmt::Debug + 'static,
4487{
4488    fn from(
4489        err: ::aws_smithy_runtime_api::client::result::SdkError<
4490            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4491            R,
4492        >,
4493    ) -> Self {
4494        match err {
4495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4498                source: err.into(),
4499            }),
4500        }
4501    }
4502}
4503impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4504    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4505        match err {
4506            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4507        }
4508    }
4509}
4510impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4511    for Error
4512where
4513    R: Send + Sync + std::fmt::Debug + 'static,
4514{
4515    fn from(
4516        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4517    ) -> Self {
4518        match err {
4519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4522                source: err.into(),
4523            }),
4524        }
4525    }
4526}
4527impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4528    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4529        match err {
4530            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4531        }
4532    }
4533}
4534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4535where
4536    R: Send + Sync + std::fmt::Debug + 'static,
4537{
4538    fn from(
4539        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4540    ) -> Self {
4541        match err {
4542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4545                source: err.into(),
4546            }),
4547        }
4548    }
4549}
4550impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4551    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4552        match err {
4553            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4554        }
4555    }
4556}
4557impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4558where
4559    R: Send + Sync + std::fmt::Debug + 'static,
4560{
4561    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4562        match err {
4563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4566                source: err.into(),
4567            }),
4568        }
4569    }
4570}
4571impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4572    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4573        match err {
4574            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4575        }
4576    }
4577}
4578impl<R>
4579    From<
4580        ::aws_smithy_runtime_api::client::result::SdkError<
4581            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4582            R,
4583        >,
4584    > for Error
4585where
4586    R: Send + Sync + std::fmt::Debug + 'static,
4587{
4588    fn from(
4589        err: ::aws_smithy_runtime_api::client::result::SdkError<
4590            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4591            R,
4592        >,
4593    ) -> Self {
4594        match err {
4595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4598                source: err.into(),
4599            }),
4600        }
4601    }
4602}
4603impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4604    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4605        match err {
4606            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4607                inner,
4608            ) => Error::Unhandled(inner),
4609        }
4610    }
4611}
4612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_policy::DeleteIpamPolicyError, R>> for Error
4613where
4614    R: Send + Sync + std::fmt::Debug + 'static,
4615{
4616    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_policy::DeleteIpamPolicyError, R>) -> Self {
4617        match err {
4618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4621                source: err.into(),
4622            }),
4623        }
4624    }
4625}
4626impl From<crate::operation::delete_ipam_policy::DeleteIpamPolicyError> for Error {
4627    fn from(err: crate::operation::delete_ipam_policy::DeleteIpamPolicyError) -> Self {
4628        match err {
4629            crate::operation::delete_ipam_policy::DeleteIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
4630        }
4631    }
4632}
4633impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4634where
4635    R: Send + Sync + std::fmt::Debug + 'static,
4636{
4637    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4638        match err {
4639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4642                source: err.into(),
4643            }),
4644        }
4645    }
4646}
4647impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4648    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4649        match err {
4650            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4651        }
4652    }
4653}
4654impl<R>
4655    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError, R>>
4656    for Error
4657where
4658    R: Send + Sync + std::fmt::Debug + 'static,
4659{
4660    fn from(
4661        err: ::aws_smithy_runtime_api::client::result::SdkError<
4662            crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError,
4663            R,
4664        >,
4665    ) -> Self {
4666        match err {
4667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4670                source: err.into(),
4671            }),
4672        }
4673    }
4674}
4675impl From<crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError> for Error {
4676    fn from(err: crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError) -> Self {
4677        match err {
4678            crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
4679        }
4680    }
4681}
4682impl<R>
4683    From<
4684        ::aws_smithy_runtime_api::client::result::SdkError<
4685            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError,
4686            R,
4687        >,
4688    > for Error
4689where
4690    R: Send + Sync + std::fmt::Debug + 'static,
4691{
4692    fn from(
4693        err: ::aws_smithy_runtime_api::client::result::SdkError<
4694            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError,
4695            R,
4696        >,
4697    ) -> Self {
4698        match err {
4699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4702                source: err.into(),
4703            }),
4704        }
4705    }
4706}
4707impl From<crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError> for Error {
4708    fn from(err: crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError) -> Self {
4709        match err {
4710            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError::Unhandled(inner) => {
4711                Error::Unhandled(inner)
4712            }
4713        }
4714    }
4715}
4716impl<R>
4717    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4718    for Error
4719where
4720    R: Send + Sync + std::fmt::Debug + 'static,
4721{
4722    fn from(
4723        err: ::aws_smithy_runtime_api::client::result::SdkError<
4724            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4725            R,
4726        >,
4727    ) -> Self {
4728        match err {
4729            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4730            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4731                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4732                source: err.into(),
4733            }),
4734        }
4735    }
4736}
4737impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4738    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4739        match err {
4740            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4741        }
4742    }
4743}
4744impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4745where
4746    R: Send + Sync + std::fmt::Debug + 'static,
4747{
4748    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4749        match err {
4750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4753                source: err.into(),
4754            }),
4755        }
4756    }
4757}
4758impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4759    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4760        match err {
4761            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4762        }
4763    }
4764}
4765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4766where
4767    R: Send + Sync + std::fmt::Debug + 'static,
4768{
4769    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4770        match err {
4771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4774                source: err.into(),
4775            }),
4776        }
4777    }
4778}
4779impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4780    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4781        match err {
4782            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4783        }
4784    }
4785}
4786impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4787where
4788    R: Send + Sync + std::fmt::Debug + 'static,
4789{
4790    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4791        match err {
4792            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4793            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4794                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4795                source: err.into(),
4796            }),
4797        }
4798    }
4799}
4800impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4801    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4802        match err {
4803            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4804        }
4805    }
4806}
4807impl<R>
4808    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4809    for Error
4810where
4811    R: Send + Sync + std::fmt::Debug + 'static,
4812{
4813    fn from(
4814        err: ::aws_smithy_runtime_api::client::result::SdkError<
4815            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4816            R,
4817        >,
4818    ) -> Self {
4819        match err {
4820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4823                source: err.into(),
4824            }),
4825        }
4826    }
4827}
4828impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
4829    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
4830        match err {
4831            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
4832        }
4833    }
4834}
4835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
4836    for Error
4837where
4838    R: Send + Sync + std::fmt::Debug + 'static,
4839{
4840    fn from(
4841        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
4842    ) -> Self {
4843        match err {
4844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4847                source: err.into(),
4848            }),
4849        }
4850    }
4851}
4852impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
4853    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
4854        match err {
4855            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
4856        }
4857    }
4858}
4859impl<R>
4860    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
4861    for Error
4862where
4863    R: Send + Sync + std::fmt::Debug + 'static,
4864{
4865    fn from(
4866        err: ::aws_smithy_runtime_api::client::result::SdkError<
4867            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
4868            R,
4869        >,
4870    ) -> Self {
4871        match err {
4872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4875                source: err.into(),
4876            }),
4877        }
4878    }
4879}
4880impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
4881    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
4882        match err {
4883            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4884        }
4885    }
4886}
4887impl<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 {
4888    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
4889        match err {
4890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4891            _ => Error::Unhandled(
4892                                        crate::error::sealed_unhandled::Unhandled {
4893                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4894                                            source: err.into(),
4895                                        }
4896                                    ),
4897        }
4898    }
4899}
4900impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
4901    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
4902        match err {
4903            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4904        }
4905    }
4906}
4907impl<R>
4908    From<
4909        ::aws_smithy_runtime_api::client::result::SdkError<
4910            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4911            R,
4912        >,
4913    > for Error
4914where
4915    R: Send + Sync + std::fmt::Debug + 'static,
4916{
4917    fn from(
4918        err: ::aws_smithy_runtime_api::client::result::SdkError<
4919            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4920            R,
4921        >,
4922    ) -> Self {
4923        match err {
4924            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4925            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4926                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4927                source: err.into(),
4928            }),
4929        }
4930    }
4931}
4932impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
4933    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
4934        match err {
4935            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
4936                Error::Unhandled(inner)
4937            }
4938        }
4939    }
4940}
4941impl<R>
4942    From<
4943        ::aws_smithy_runtime_api::client::result::SdkError<
4944            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4945            R,
4946        >,
4947    > for Error
4948where
4949    R: Send + Sync + std::fmt::Debug + 'static,
4950{
4951    fn from(
4952        err: ::aws_smithy_runtime_api::client::result::SdkError<
4953            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4954            R,
4955        >,
4956    ) -> Self {
4957        match err {
4958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4961                source: err.into(),
4962            }),
4963        }
4964    }
4965}
4966impl From<crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError> for Error {
4967    fn from(err: crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError) -> Self {
4968        match err {
4969            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
4970                Error::Unhandled(inner)
4971            }
4972        }
4973    }
4974}
4975impl<R>
4976    From<
4977        ::aws_smithy_runtime_api::client::result::SdkError<
4978            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4979            R,
4980        >,
4981    > for Error
4982where
4983    R: Send + Sync + std::fmt::Debug + 'static,
4984{
4985    fn from(
4986        err: ::aws_smithy_runtime_api::client::result::SdkError<
4987            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4988            R,
4989        >,
4990    ) -> Self {
4991        match err {
4992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4995                source: err.into(),
4996            }),
4997        }
4998    }
4999}
5000impl From<crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError> for Error {
5001    fn from(err: crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError) -> Self {
5002        match err {
5003            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
5004                Error::Unhandled(inner)
5005            }
5006        }
5007    }
5008}
5009impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
5010    for Error
5011where
5012    R: Send + Sync + std::fmt::Debug + 'static,
5013{
5014    fn from(
5015        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
5016    ) -> Self {
5017        match err {
5018            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5019            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5020                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5021                source: err.into(),
5022            }),
5023        }
5024    }
5025}
5026impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
5027    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
5028        match err {
5029            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
5030        }
5031    }
5032}
5033impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
5034where
5035    R: Send + Sync + std::fmt::Debug + 'static,
5036{
5037    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
5038        match err {
5039            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5040            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5041                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5042                source: err.into(),
5043            }),
5044        }
5045    }
5046}
5047impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
5048    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
5049        match err {
5050            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5051        }
5052    }
5053}
5054impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
5055where
5056    R: Send + Sync + std::fmt::Debug + 'static,
5057{
5058    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
5059        match err {
5060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5063                source: err.into(),
5064            }),
5065        }
5066    }
5067}
5068impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
5069    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
5070        match err {
5071            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
5072        }
5073    }
5074}
5075impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
5076where
5077    R: Send + Sync + std::fmt::Debug + 'static,
5078{
5079    fn from(
5080        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
5081    ) -> Self {
5082        match err {
5083            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5084            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5085                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5086                source: err.into(),
5087            }),
5088        }
5089    }
5090}
5091impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
5092    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
5093        match err {
5094            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
5095        }
5096    }
5097}
5098impl<R>
5099    From<
5100        ::aws_smithy_runtime_api::client::result::SdkError<
5101            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
5102            R,
5103        >,
5104    > for Error
5105where
5106    R: Send + Sync + std::fmt::Debug + 'static,
5107{
5108    fn from(
5109        err: ::aws_smithy_runtime_api::client::result::SdkError<
5110            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
5111            R,
5112        >,
5113    ) -> Self {
5114        match err {
5115            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5116            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5117                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5118                source: err.into(),
5119            }),
5120        }
5121    }
5122}
5123impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
5124    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
5125        match err {
5126            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
5127                Error::Unhandled(inner)
5128            }
5129        }
5130    }
5131}
5132impl<R>
5133    From<
5134        ::aws_smithy_runtime_api::client::result::SdkError<
5135            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
5136            R,
5137        >,
5138    > for Error
5139where
5140    R: Send + Sync + std::fmt::Debug + 'static,
5141{
5142    fn from(
5143        err: ::aws_smithy_runtime_api::client::result::SdkError<
5144            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
5145            R,
5146        >,
5147    ) -> Self {
5148        match err {
5149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5152                source: err.into(),
5153            }),
5154        }
5155    }
5156}
5157impl From<crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
5158    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
5159        match err {
5160            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
5161                Error::Unhandled(inner)
5162            }
5163        }
5164    }
5165}
5166impl<R>
5167    From<
5168        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
5169    > for Error
5170where
5171    R: Send + Sync + std::fmt::Debug + 'static,
5172{
5173    fn from(
5174        err: ::aws_smithy_runtime_api::client::result::SdkError<
5175            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
5176            R,
5177        >,
5178    ) -> Self {
5179        match err {
5180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5183                source: err.into(),
5184            }),
5185        }
5186    }
5187}
5188impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
5189    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
5190        match err {
5191            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
5192        }
5193    }
5194}
5195impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
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<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
5202    ) -> Self {
5203        match err {
5204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5207                source: err.into(),
5208            }),
5209        }
5210    }
5211}
5212impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
5213    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
5214        match err {
5215            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
5216        }
5217    }
5218}
5219impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
5220where
5221    R: Send + Sync + std::fmt::Debug + 'static,
5222{
5223    fn from(
5224        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
5225    ) -> Self {
5226        match err {
5227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5230                source: err.into(),
5231            }),
5232        }
5233    }
5234}
5235impl From<crate::operation::delete_network_interface::DeleteNetworkInterfaceError> for Error {
5236    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
5237        match err {
5238            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
5239        }
5240    }
5241}
5242impl<R>
5243    From<
5244        ::aws_smithy_runtime_api::client::result::SdkError<
5245            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
5246            R,
5247        >,
5248    > for Error
5249where
5250    R: Send + Sync + std::fmt::Debug + 'static,
5251{
5252    fn from(
5253        err: ::aws_smithy_runtime_api::client::result::SdkError<
5254            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
5255            R,
5256        >,
5257    ) -> Self {
5258        match err {
5259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5262                source: err.into(),
5263            }),
5264        }
5265    }
5266}
5267impl From<crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
5268    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
5269        match err {
5270            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
5271        }
5272    }
5273}
5274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>> for Error
5275where
5276    R: Send + Sync + std::fmt::Debug + 'static,
5277{
5278    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>) -> Self {
5279        match err {
5280            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5281            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5282                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5283                source: err.into(),
5284            }),
5285        }
5286    }
5287}
5288impl From<crate::operation::delete_placement_group::DeletePlacementGroupError> for Error {
5289    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
5290        match err {
5291            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
5292        }
5293    }
5294}
5295impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
5296where
5297    R: Send + Sync + std::fmt::Debug + 'static,
5298{
5299    fn from(
5300        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
5301    ) -> Self {
5302        match err {
5303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5306                source: err.into(),
5307            }),
5308        }
5309    }
5310}
5311impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
5312    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
5313        match err {
5314            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
5315        }
5316    }
5317}
5318impl<R>
5319    From<
5320        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
5321    > for Error
5322where
5323    R: Send + Sync + std::fmt::Debug + 'static,
5324{
5325    fn from(
5326        err: ::aws_smithy_runtime_api::client::result::SdkError<
5327            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
5328            R,
5329        >,
5330    ) -> Self {
5331        match err {
5332            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5333            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5334                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5335                source: err.into(),
5336            }),
5337        }
5338    }
5339}
5340impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
5341    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
5342        match err {
5343            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
5344        }
5345    }
5346}
5347impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
5348where
5349    R: Send + Sync + std::fmt::Debug + 'static,
5350{
5351    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> Self {
5352        match err {
5353            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5354            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5355                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5356                source: err.into(),
5357            }),
5358        }
5359    }
5360}
5361impl From<crate::operation::delete_route::DeleteRouteError> for Error {
5362    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
5363        match err {
5364            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
5365        }
5366    }
5367}
5368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>> for Error
5369where
5370    R: Send + Sync + std::fmt::Debug + 'static,
5371{
5372    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>) -> Self {
5373        match err {
5374            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5375            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5376                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5377                source: err.into(),
5378            }),
5379        }
5380    }
5381}
5382impl From<crate::operation::delete_route_server::DeleteRouteServerError> for Error {
5383    fn from(err: crate::operation::delete_route_server::DeleteRouteServerError) -> Self {
5384        match err {
5385            crate::operation::delete_route_server::DeleteRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
5386        }
5387    }
5388}
5389impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>>
5390    for Error
5391where
5392    R: Send + Sync + std::fmt::Debug + 'static,
5393{
5394    fn from(
5395        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>,
5396    ) -> Self {
5397        match err {
5398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5401                source: err.into(),
5402            }),
5403        }
5404    }
5405}
5406impl From<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError> for Error {
5407    fn from(err: crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError) -> Self {
5408        match err {
5409            crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5410        }
5411    }
5412}
5413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>> for Error
5414where
5415    R: Send + Sync + std::fmt::Debug + 'static,
5416{
5417    fn from(
5418        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>,
5419    ) -> Self {
5420        match err {
5421            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5422            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5423                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5424                source: err.into(),
5425            }),
5426        }
5427    }
5428}
5429impl From<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError> for Error {
5430    fn from(err: crate::operation::delete_route_server_peer::DeleteRouteServerPeerError) -> Self {
5431        match err {
5432            crate::operation::delete_route_server_peer::DeleteRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
5433        }
5434    }
5435}
5436impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
5437where
5438    R: Send + Sync + std::fmt::Debug + 'static,
5439{
5440    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> Self {
5441        match err {
5442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5445                source: err.into(),
5446            }),
5447        }
5448    }
5449}
5450impl From<crate::operation::delete_route_table::DeleteRouteTableError> for Error {
5451    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
5452        match err {
5453            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5454        }
5455    }
5456}
5457impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
5458where
5459    R: Send + Sync + std::fmt::Debug + 'static,
5460{
5461    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
5462        match err {
5463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5466                source: err.into(),
5467            }),
5468        }
5469    }
5470}
5471impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
5472    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
5473        match err {
5474            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
5475        }
5476    }
5477}
5478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
5479where
5480    R: Send + Sync + std::fmt::Debug + 'static,
5481{
5482    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
5483        match err {
5484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5487                source: err.into(),
5488            }),
5489        }
5490    }
5491}
5492impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
5493    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
5494        match err {
5495            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5496        }
5497    }
5498}
5499impl<R>
5500    From<
5501        ::aws_smithy_runtime_api::client::result::SdkError<
5502            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5503            R,
5504        >,
5505    > for Error
5506where
5507    R: Send + Sync + std::fmt::Debug + 'static,
5508{
5509    fn from(
5510        err: ::aws_smithy_runtime_api::client::result::SdkError<
5511            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5512            R,
5513        >,
5514    ) -> Self {
5515        match err {
5516            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5517            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5518                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5519                source: err.into(),
5520            }),
5521        }
5522    }
5523}
5524impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
5525    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
5526        match err {
5527            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5528        }
5529    }
5530}
5531impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
5532where
5533    R: Send + Sync + std::fmt::Debug + 'static,
5534{
5535    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
5536        match err {
5537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5540                source: err.into(),
5541            }),
5542        }
5543    }
5544}
5545impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
5546    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
5547        match err {
5548            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
5549        }
5550    }
5551}
5552impl<R>
5553    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, R>>
5554    for Error
5555where
5556    R: Send + Sync + std::fmt::Debug + 'static,
5557{
5558    fn from(
5559        err: ::aws_smithy_runtime_api::client::result::SdkError<
5560            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
5561            R,
5562        >,
5563    ) -> Self {
5564        match err {
5565            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5566            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5567                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5568                source: err.into(),
5569            }),
5570        }
5571    }
5572}
5573impl From<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
5574    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
5575        match err {
5576            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
5577        }
5578    }
5579}
5580impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
5581where
5582    R: Send + Sync + std::fmt::Debug + 'static,
5583{
5584    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
5585        match err {
5586            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5587            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5588                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5589                source: err.into(),
5590            }),
5591        }
5592    }
5593}
5594impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
5595    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
5596        match err {
5597            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
5598        }
5599    }
5600}
5601impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
5602    for Error
5603where
5604    R: Send + Sync + std::fmt::Debug + 'static,
5605{
5606    fn from(
5607        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>,
5608    ) -> Self {
5609        match err {
5610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5613                source: err.into(),
5614            }),
5615        }
5616    }
5617}
5618impl From<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
5619    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
5620        match err {
5621            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
5622        }
5623    }
5624}
5625impl<R>
5626    From<
5627        ::aws_smithy_runtime_api::client::result::SdkError<
5628            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5629            R,
5630        >,
5631    > for Error
5632where
5633    R: Send + Sync + std::fmt::Debug + 'static,
5634{
5635    fn from(
5636        err: ::aws_smithy_runtime_api::client::result::SdkError<
5637            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5638            R,
5639        >,
5640    ) -> Self {
5641        match err {
5642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5645                source: err.into(),
5646            }),
5647        }
5648    }
5649}
5650impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
5651    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
5652        match err {
5653            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
5654        }
5655    }
5656}
5657impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
5658    for Error
5659where
5660    R: Send + Sync + std::fmt::Debug + 'static,
5661{
5662    fn from(
5663        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
5664    ) -> Self {
5665        match err {
5666            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5667            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5668                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5669                source: err.into(),
5670            }),
5671        }
5672    }
5673}
5674impl From<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
5675    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
5676        match err {
5677            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
5678        }
5679    }
5680}
5681impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
5682    for Error
5683where
5684    R: Send + Sync + std::fmt::Debug + 'static,
5685{
5686    fn from(
5687        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5688    ) -> Self {
5689        match err {
5690            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5691            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5692                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5693                source: err.into(),
5694            }),
5695        }
5696    }
5697}
5698impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5699    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5700        match err {
5701            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5702        }
5703    }
5704}
5705impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5706where
5707    R: Send + Sync + std::fmt::Debug + 'static,
5708{
5709    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5710        match err {
5711            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5712            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5713                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5714                source: err.into(),
5715            }),
5716        }
5717    }
5718}
5719impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5720    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5721        match err {
5722            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5723        }
5724    }
5725}
5726impl<R>
5727    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5728    for Error
5729where
5730    R: Send + Sync + std::fmt::Debug + 'static,
5731{
5732    fn from(
5733        err: ::aws_smithy_runtime_api::client::result::SdkError<
5734            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5735            R,
5736        >,
5737    ) -> Self {
5738        match err {
5739            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5740            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5741                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5742                source: err.into(),
5743            }),
5744        }
5745    }
5746}
5747impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5748    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5749        match err {
5750            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5751        }
5752    }
5753}
5754impl<R>
5755    From<
5756        ::aws_smithy_runtime_api::client::result::SdkError<
5757            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5758            R,
5759        >,
5760    > for Error
5761where
5762    R: Send + Sync + std::fmt::Debug + 'static,
5763{
5764    fn from(
5765        err: ::aws_smithy_runtime_api::client::result::SdkError<
5766            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5767            R,
5768        >,
5769    ) -> Self {
5770        match err {
5771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5774                source: err.into(),
5775            }),
5776        }
5777    }
5778}
5779impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5780    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5781        match err {
5782            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
5783        }
5784    }
5785}
5786impl<R>
5787    From<
5788        ::aws_smithy_runtime_api::client::result::SdkError<
5789            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5790            R,
5791        >,
5792    > for Error
5793where
5794    R: Send + Sync + std::fmt::Debug + 'static,
5795{
5796    fn from(
5797        err: ::aws_smithy_runtime_api::client::result::SdkError<
5798            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5799            R,
5800        >,
5801    ) -> 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_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
5812    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
5813        match err {
5814            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
5815                Error::Unhandled(inner)
5816            }
5817        }
5818    }
5819}
5820impl<R>
5821    From<
5822        ::aws_smithy_runtime_api::client::result::SdkError<
5823            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5824            R,
5825        >,
5826    > for Error
5827where
5828    R: Send + Sync + std::fmt::Debug + 'static,
5829{
5830    fn from(
5831        err: ::aws_smithy_runtime_api::client::result::SdkError<
5832            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5833            R,
5834        >,
5835    ) -> Self {
5836        match err {
5837            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5838            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5839                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5840                source: err.into(),
5841            }),
5842        }
5843    }
5844}
5845impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
5846    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
5847        match err {
5848            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
5849                Error::Unhandled(inner)
5850            }
5851        }
5852    }
5853}
5854impl<R>
5855    From<
5856        ::aws_smithy_runtime_api::client::result::SdkError<
5857            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5858            R,
5859        >,
5860    > for Error
5861where
5862    R: Send + Sync + std::fmt::Debug + 'static,
5863{
5864    fn from(
5865        err: ::aws_smithy_runtime_api::client::result::SdkError<
5866            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5867            R,
5868        >,
5869    ) -> Self {
5870        match err {
5871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5874                source: err.into(),
5875            }),
5876        }
5877    }
5878}
5879impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
5880    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
5881        match err {
5882            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
5883        }
5884    }
5885}
5886impl<R>
5887    From<
5888        ::aws_smithy_runtime_api::client::result::SdkError<
5889            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5890            R,
5891        >,
5892    > for Error
5893where
5894    R: Send + Sync + std::fmt::Debug + 'static,
5895{
5896    fn from(
5897        err: ::aws_smithy_runtime_api::client::result::SdkError<
5898            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5899            R,
5900        >,
5901    ) -> Self {
5902        match err {
5903            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5904            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5905                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5906                source: err.into(),
5907            }),
5908        }
5909    }
5910}
5911impl From<crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
5912    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
5913        match err {
5914            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
5915                Error::Unhandled(inner)
5916            }
5917        }
5918    }
5919}
5920impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
5921    for Error
5922where
5923    R: Send + Sync + std::fmt::Debug + 'static,
5924{
5925    fn from(
5926        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
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_route::DeleteTransitGatewayRouteError> for Error {
5938    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
5939        match err {
5940            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
5941        }
5942    }
5943}
5944impl<R>
5945    From<
5946        ::aws_smithy_runtime_api::client::result::SdkError<
5947            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5948            R,
5949        >,
5950    > for Error
5951where
5952    R: Send + Sync + std::fmt::Debug + 'static,
5953{
5954    fn from(
5955        err: ::aws_smithy_runtime_api::client::result::SdkError<
5956            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5957            R,
5958        >,
5959    ) -> Self {
5960        match err {
5961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5964                source: err.into(),
5965            }),
5966        }
5967    }
5968}
5969impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
5970    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
5971        match err {
5972            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5973        }
5974    }
5975}
5976impl<R>
5977    From<
5978        ::aws_smithy_runtime_api::client::result::SdkError<
5979            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5980            R,
5981        >,
5982    > for Error
5983where
5984    R: Send + Sync + std::fmt::Debug + 'static,
5985{
5986    fn from(
5987        err: ::aws_smithy_runtime_api::client::result::SdkError<
5988            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5989            R,
5990        >,
5991    ) -> Self {
5992        match err {
5993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5996                source: err.into(),
5997            }),
5998        }
5999    }
6000}
6001impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
6002    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
6003        match err {
6004            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
6005                Error::Unhandled(inner)
6006            }
6007        }
6008    }
6009}
6010impl<R>
6011    From<
6012        ::aws_smithy_runtime_api::client::result::SdkError<
6013            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
6014            R,
6015        >,
6016    > for Error
6017where
6018    R: Send + Sync + std::fmt::Debug + 'static,
6019{
6020    fn from(
6021        err: ::aws_smithy_runtime_api::client::result::SdkError<
6022            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
6023            R,
6024        >,
6025    ) -> Self {
6026        match err {
6027            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6028            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6029                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6030                source: err.into(),
6031            }),
6032        }
6033    }
6034}
6035impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
6036    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
6037        match err {
6038            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
6039                Error::Unhandled(inner)
6040            }
6041        }
6042    }
6043}
6044impl<R>
6045    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
6046    for Error
6047where
6048    R: Send + Sync + std::fmt::Debug + 'static,
6049{
6050    fn from(
6051        err: ::aws_smithy_runtime_api::client::result::SdkError<
6052            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
6053            R,
6054        >,
6055    ) -> Self {
6056        match err {
6057            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6058            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6059                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6060                source: err.into(),
6061            }),
6062        }
6063    }
6064}
6065impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
6066    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
6067        match err {
6068            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
6069        }
6070    }
6071}
6072impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
6073    for Error
6074where
6075    R: Send + Sync + std::fmt::Debug + 'static,
6076{
6077    fn from(
6078        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
6079    ) -> Self {
6080        match err {
6081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6084                source: err.into(),
6085            }),
6086        }
6087    }
6088}
6089impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
6090    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
6091        match err {
6092            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
6093        }
6094    }
6095}
6096impl<R>
6097    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
6098    for Error
6099where
6100    R: Send + Sync + std::fmt::Debug + 'static,
6101{
6102    fn from(
6103        err: ::aws_smithy_runtime_api::client::result::SdkError<
6104            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
6105            R,
6106        >,
6107    ) -> Self {
6108        match err {
6109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6112                source: err.into(),
6113            }),
6114        }
6115    }
6116}
6117impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
6118    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
6119        match err {
6120            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
6121        }
6122    }
6123}
6124impl<R>
6125    From<
6126        ::aws_smithy_runtime_api::client::result::SdkError<
6127            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
6128            R,
6129        >,
6130    > for Error
6131where
6132    R: Send + Sync + std::fmt::Debug + 'static,
6133{
6134    fn from(
6135        err: ::aws_smithy_runtime_api::client::result::SdkError<
6136            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
6137            R,
6138        >,
6139    ) -> Self {
6140        match err {
6141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6144                source: err.into(),
6145            }),
6146        }
6147    }
6148}
6149impl From<crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
6150    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
6151        match err {
6152            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
6153                Error::Unhandled(inner)
6154            }
6155        }
6156    }
6157}
6158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
6159where
6160    R: Send + Sync + std::fmt::Debug + 'static,
6161{
6162    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> Self {
6163        match err {
6164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6167                source: err.into(),
6168            }),
6169        }
6170    }
6171}
6172impl From<crate::operation::delete_volume::DeleteVolumeError> for Error {
6173    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
6174        match err {
6175            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
6176        }
6177    }
6178}
6179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
6180where
6181    R: Send + Sync + std::fmt::Debug + 'static,
6182{
6183    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> Self {
6184        match err {
6185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6188                source: err.into(),
6189            }),
6190        }
6191    }
6192}
6193impl From<crate::operation::delete_vpc::DeleteVpcError> for Error {
6194    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
6195        match err {
6196            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
6197        }
6198    }
6199}
6200impl<R>
6201    From<
6202        ::aws_smithy_runtime_api::client::result::SdkError<
6203            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
6204            R,
6205        >,
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_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
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_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
6226    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
6227        match err {
6228            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
6229                Error::Unhandled(inner)
6230            }
6231        }
6232    }
6233}
6234impl<R>
6235    From<
6236        ::aws_smithy_runtime_api::client::result::SdkError<
6237            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6238            R,
6239        >,
6240    > for Error
6241where
6242    R: Send + Sync + std::fmt::Debug + 'static,
6243{
6244    fn from(
6245        err: ::aws_smithy_runtime_api::client::result::SdkError<
6246            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6247            R,
6248        >,
6249    ) -> Self {
6250        match err {
6251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6254                source: err.into(),
6255            }),
6256        }
6257    }
6258}
6259impl From<crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
6260    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
6261        match err {
6262            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
6263                Error::Unhandled(inner)
6264            }
6265        }
6266    }
6267}
6268impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
6269where
6270    R: Send + Sync + std::fmt::Debug + 'static,
6271{
6272    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
6273        match err {
6274            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6275            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6276                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6277                source: err.into(),
6278            }),
6279        }
6280    }
6281}
6282impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
6283    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
6284        match err {
6285            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6286        }
6287    }
6288}
6289impl<R>
6290    From<
6291        ::aws_smithy_runtime_api::client::result::SdkError<
6292            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6293            R,
6294        >,
6295    > for Error
6296where
6297    R: Send + Sync + std::fmt::Debug + 'static,
6298{
6299    fn from(
6300        err: ::aws_smithy_runtime_api::client::result::SdkError<
6301            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6302            R,
6303        >,
6304    ) -> Self {
6305        match err {
6306            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6307            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6308                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6309                source: err.into(),
6310            }),
6311        }
6312    }
6313}
6314impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
6315    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
6316        match err {
6317            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
6318                Error::Unhandled(inner)
6319            }
6320        }
6321    }
6322}
6323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
6324    for Error
6325where
6326    R: Send + Sync + std::fmt::Debug + 'static,
6327{
6328    fn from(
6329        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
6330    ) -> Self {
6331        match err {
6332            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6333            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6334                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6335                source: err.into(),
6336            }),
6337        }
6338    }
6339}
6340impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
6341    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
6342        match err {
6343            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6344        }
6345    }
6346}
6347impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError, R>> for Error
6348where
6349    R: Send + Sync + std::fmt::Debug + 'static,
6350{
6351    fn from(
6352        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError, R>,
6353    ) -> Self {
6354        match err {
6355            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6356            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6357                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6358                source: err.into(),
6359            }),
6360        }
6361    }
6362}
6363impl From<crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError> for Error {
6364    fn from(err: crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError) -> Self {
6365        match err {
6366            crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError::Unhandled(inner) => Error::Unhandled(inner),
6367        }
6368    }
6369}
6370impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>> for Error
6371where
6372    R: Send + Sync + std::fmt::Debug + 'static,
6373{
6374    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>) -> Self {
6375        match err {
6376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6379                source: err.into(),
6380            }),
6381        }
6382    }
6383}
6384impl From<crate::operation::delete_vpn_connection::DeleteVpnConnectionError> for Error {
6385    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
6386        match err {
6387            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6388        }
6389    }
6390}
6391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
6392    for Error
6393where
6394    R: Send + Sync + std::fmt::Debug + 'static,
6395{
6396    fn from(
6397        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
6398    ) -> Self {
6399        match err {
6400            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6401            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6402                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6403                source: err.into(),
6404            }),
6405        }
6406    }
6407}
6408impl From<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
6409    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
6410        match err {
6411            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
6412        }
6413    }
6414}
6415impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
6416where
6417    R: Send + Sync + std::fmt::Debug + 'static,
6418{
6419    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
6420        match err {
6421            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6422            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6423                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6424                source: err.into(),
6425            }),
6426        }
6427    }
6428}
6429impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
6430    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
6431        match err {
6432            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
6433        }
6434    }
6435}
6436impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
6437where
6438    R: Send + Sync + std::fmt::Debug + 'static,
6439{
6440    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
6441        match err {
6442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6445                source: err.into(),
6446            }),
6447        }
6448    }
6449}
6450impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
6451    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
6452        match err {
6453            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
6454        }
6455    }
6456}
6457impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
6458where
6459    R: Send + Sync + std::fmt::Debug + 'static,
6460{
6461    fn from(
6462        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
6463    ) -> Self {
6464        match err {
6465            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6466            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6467                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6468                source: err.into(),
6469            }),
6470        }
6471    }
6472}
6473impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
6474    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
6475        match err {
6476            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
6477        }
6478    }
6479}
6480impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
6481    for Error
6482where
6483    R: Send + Sync + std::fmt::Debug + 'static,
6484{
6485    fn from(
6486        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
6487    ) -> Self {
6488        match err {
6489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6492                source: err.into(),
6493            }),
6494        }
6495    }
6496}
6497impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
6498    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
6499        match err {
6500            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6501        }
6502    }
6503}
6504impl<R>
6505    From<
6506        ::aws_smithy_runtime_api::client::result::SdkError<
6507            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6508            R,
6509        >,
6510    > for Error
6511where
6512    R: Send + Sync + std::fmt::Debug + 'static,
6513{
6514    fn from(
6515        err: ::aws_smithy_runtime_api::client::result::SdkError<
6516            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6517            R,
6518        >,
6519    ) -> Self {
6520        match err {
6521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6524                source: err.into(),
6525            }),
6526        }
6527    }
6528}
6529impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
6530    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
6531        match err {
6532            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6533        }
6534    }
6535}
6536impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
6537where
6538    R: Send + Sync + std::fmt::Debug + 'static,
6539{
6540    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
6541        match err {
6542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6545                source: err.into(),
6546            }),
6547        }
6548    }
6549}
6550impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
6551    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
6552        match err {
6553            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
6554        }
6555    }
6556}
6557impl<R>
6558    From<
6559        ::aws_smithy_runtime_api::client::result::SdkError<
6560            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6561            R,
6562        >,
6563    > for Error
6564where
6565    R: Send + Sync + std::fmt::Debug + 'static,
6566{
6567    fn from(
6568        err: ::aws_smithy_runtime_api::client::result::SdkError<
6569            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6570            R,
6571        >,
6572    ) -> Self {
6573        match err {
6574            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6575            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6576                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6577                source: err.into(),
6578            }),
6579        }
6580    }
6581}
6582impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
6583    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
6584        match err {
6585            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
6586                inner,
6587            ) => Error::Unhandled(inner),
6588        }
6589    }
6590}
6591impl<R>
6592    From<
6593        ::aws_smithy_runtime_api::client::result::SdkError<
6594            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6595            R,
6596        >,
6597    > for Error
6598where
6599    R: Send + Sync + std::fmt::Debug + 'static,
6600{
6601    fn from(
6602        err: ::aws_smithy_runtime_api::client::result::SdkError<
6603            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6604            R,
6605        >,
6606    ) -> Self {
6607        match err {
6608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6611                source: err.into(),
6612            }),
6613        }
6614    }
6615}
6616impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
6617    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
6618        match err {
6619            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
6620                inner,
6621            ) => Error::Unhandled(inner),
6622        }
6623    }
6624}
6625impl<R>
6626    From<
6627        ::aws_smithy_runtime_api::client::result::SdkError<
6628            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6629            R,
6630        >,
6631    > for Error
6632where
6633    R: Send + Sync + std::fmt::Debug + 'static,
6634{
6635    fn from(
6636        err: ::aws_smithy_runtime_api::client::result::SdkError<
6637            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6638            R,
6639        >,
6640    ) -> Self {
6641        match err {
6642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6645                source: err.into(),
6646            }),
6647        }
6648    }
6649}
6650impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
6651    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
6652        match err {
6653            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
6654                inner,
6655            ) => Error::Unhandled(inner),
6656        }
6657    }
6658}
6659impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
6660    for Error
6661where
6662    R: Send + Sync + std::fmt::Debug + 'static,
6663{
6664    fn from(
6665        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
6666    ) -> Self {
6667        match err {
6668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6671                source: err.into(),
6672            }),
6673        }
6674    }
6675}
6676impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
6677    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
6678        match err {
6679            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
6680        }
6681    }
6682}
6683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
6684where
6685    R: Send + Sync + std::fmt::Debug + 'static,
6686{
6687    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
6688        match err {
6689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6692                source: err.into(),
6693            }),
6694        }
6695    }
6696}
6697impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
6698    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
6699        match err {
6700            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
6701        }
6702    }
6703}
6704impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
6705    for Error
6706where
6707    R: Send + Sync + std::fmt::Debug + 'static,
6708{
6709    fn from(
6710        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
6711    ) -> Self {
6712        match err {
6713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6716                source: err.into(),
6717            }),
6718        }
6719    }
6720}
6721impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
6722    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
6723        match err {
6724            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6725        }
6726    }
6727}
6728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>>
6729    for Error
6730where
6731    R: Send + Sync + std::fmt::Debug + 'static,
6732{
6733    fn from(
6734        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
6735    ) -> Self {
6736        match err {
6737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6740                source: err.into(),
6741            }),
6742        }
6743    }
6744}
6745impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
6746    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
6747        match err {
6748            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
6749        }
6750    }
6751}
6752impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
6753    for Error
6754where
6755    R: Send + Sync + std::fmt::Debug + 'static,
6756{
6757    fn from(
6758        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
6759    ) -> Self {
6760        match err {
6761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6764                source: err.into(),
6765            }),
6766        }
6767    }
6768}
6769impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
6770    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
6771        match err {
6772            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
6773        }
6774    }
6775}
6776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
6777    for Error
6778where
6779    R: Send + Sync + std::fmt::Debug + 'static,
6780{
6781    fn from(
6782        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
6783    ) -> Self {
6784        match err {
6785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6788                source: err.into(),
6789            }),
6790        }
6791    }
6792}
6793impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
6794    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
6795        match err {
6796            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
6797        }
6798    }
6799}
6800impl<R>
6801    From<
6802        ::aws_smithy_runtime_api::client::result::SdkError<
6803            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6804            R,
6805        >,
6806    > for Error
6807where
6808    R: Send + Sync + std::fmt::Debug + 'static,
6809{
6810    fn from(
6811        err: ::aws_smithy_runtime_api::client::result::SdkError<
6812            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6813            R,
6814        >,
6815    ) -> Self {
6816        match err {
6817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6820                source: err.into(),
6821            }),
6822        }
6823    }
6824}
6825impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
6826    fn from(
6827        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6828    ) -> Self {
6829        match err {
6830            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
6831        }
6832    }
6833}
6834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
6835where
6836    R: Send + Sync + std::fmt::Debug + 'static,
6837{
6838    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> Self {
6839        match err {
6840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6843                source: err.into(),
6844            }),
6845        }
6846    }
6847}
6848impl From<crate::operation::describe_bundle_tasks::DescribeBundleTasksError> for Error {
6849    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
6850        match err {
6851            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
6852        }
6853    }
6854}
6855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>> for Error
6856where
6857    R: Send + Sync + std::fmt::Debug + 'static,
6858{
6859    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>) -> Self {
6860        match err {
6861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6864                source: err.into(),
6865            }),
6866        }
6867    }
6868}
6869impl From<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError> for Error {
6870    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
6871        match err {
6872            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
6873        }
6874    }
6875}
6876impl<R>
6877    From<
6878        ::aws_smithy_runtime_api::client::result::SdkError<
6879            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6880            R,
6881        >,
6882    > for Error
6883where
6884    R: Send + Sync + std::fmt::Debug + 'static,
6885{
6886    fn from(
6887        err: ::aws_smithy_runtime_api::client::result::SdkError<
6888            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6889            R,
6890        >,
6891    ) -> Self {
6892        match err {
6893            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6894            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6895                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6896                source: err.into(),
6897            }),
6898        }
6899    }
6900}
6901impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
6902    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
6903        match err {
6904            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
6905                Error::Unhandled(inner)
6906            }
6907        }
6908    }
6909}
6910impl<R>
6911    From<
6912        ::aws_smithy_runtime_api::client::result::SdkError<
6913            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6914            R,
6915        >,
6916    > for Error
6917where
6918    R: Send + Sync + std::fmt::Debug + 'static,
6919{
6920    fn from(
6921        err: ::aws_smithy_runtime_api::client::result::SdkError<
6922            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6923            R,
6924        >,
6925    ) -> Self {
6926        match err {
6927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6930                source: err.into(),
6931            }),
6932        }
6933    }
6934}
6935impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
6936    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
6937        match err {
6938            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
6939                Error::Unhandled(inner)
6940            }
6941        }
6942    }
6943}
6944impl<R>
6945    From<
6946        ::aws_smithy_runtime_api::client::result::SdkError<
6947            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6948            R,
6949        >,
6950    > for Error
6951where
6952    R: Send + Sync + std::fmt::Debug + 'static,
6953{
6954    fn from(
6955        err: ::aws_smithy_runtime_api::client::result::SdkError<
6956            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6957            R,
6958        >,
6959    ) -> Self {
6960        match err {
6961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6964                source: err.into(),
6965            }),
6966        }
6967    }
6968}
6969impl From<crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
6970    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
6971        match err {
6972            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
6973        }
6974    }
6975}
6976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>> for Error
6977where
6978    R: Send + Sync + std::fmt::Debug + 'static,
6979{
6980    fn from(
6981        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>,
6982    ) -> Self {
6983        match err {
6984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6987                source: err.into(),
6988            }),
6989        }
6990    }
6991}
6992impl From<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError> for Error {
6993    fn from(err: crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError) -> Self {
6994        match err {
6995            crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError::Unhandled(inner) => Error::Unhandled(inner),
6996        }
6997    }
6998}
6999impl<R>
7000    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError, R>>
7001    for Error
7002where
7003    R: Send + Sync + std::fmt::Debug + 'static,
7004{
7005    fn from(
7006        err: ::aws_smithy_runtime_api::client::result::SdkError<
7007            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError,
7008            R,
7009        >,
7010    ) -> Self {
7011        match err {
7012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7015                source: err.into(),
7016            }),
7017        }
7018    }
7019}
7020impl From<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError> for Error {
7021    fn from(err: crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError) -> Self {
7022        match err {
7023            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError::Unhandled(inner) => Error::Unhandled(inner),
7024        }
7025    }
7026}
7027impl<R>
7028    From<
7029        ::aws_smithy_runtime_api::client::result::SdkError<
7030            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
7031            R,
7032        >,
7033    > for Error
7034where
7035    R: Send + Sync + std::fmt::Debug + 'static,
7036{
7037    fn from(
7038        err: ::aws_smithy_runtime_api::client::result::SdkError<
7039            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
7040            R,
7041        >,
7042    ) -> Self {
7043        match err {
7044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7047                source: err.into(),
7048            }),
7049        }
7050    }
7051}
7052impl From<crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError> for Error {
7053    fn from(err: crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError) -> Self {
7054        match err {
7055            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError::Unhandled(inner) => {
7056                Error::Unhandled(inner)
7057            }
7058        }
7059    }
7060}
7061impl<R>
7062    From<
7063        ::aws_smithy_runtime_api::client::result::SdkError<
7064            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
7065            R,
7066        >,
7067    > for Error
7068where
7069    R: Send + Sync + std::fmt::Debug + 'static,
7070{
7071    fn from(
7072        err: ::aws_smithy_runtime_api::client::result::SdkError<
7073            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
7074            R,
7075        >,
7076    ) -> Self {
7077        match err {
7078            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7079            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7080                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7081                source: err.into(),
7082            }),
7083        }
7084    }
7085}
7086impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
7087    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
7088        match err {
7089            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
7090                Error::Unhandled(inner)
7091            }
7092        }
7093    }
7094}
7095impl<R>
7096    From<
7097        ::aws_smithy_runtime_api::client::result::SdkError<
7098            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
7099            R,
7100        >,
7101    > for Error
7102where
7103    R: Send + Sync + std::fmt::Debug + 'static,
7104{
7105    fn from(
7106        err: ::aws_smithy_runtime_api::client::result::SdkError<
7107            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
7108            R,
7109        >,
7110    ) -> Self {
7111        match err {
7112            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7113            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7114                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7115                source: err.into(),
7116            }),
7117        }
7118    }
7119}
7120impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
7121    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
7122        match err {
7123            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
7124                Error::Unhandled(inner)
7125            }
7126        }
7127    }
7128}
7129impl<R>
7130    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, R>>
7131    for Error
7132where
7133    R: Send + Sync + std::fmt::Debug + 'static,
7134{
7135    fn from(
7136        err: ::aws_smithy_runtime_api::client::result::SdkError<
7137            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
7138            R,
7139        >,
7140    ) -> Self {
7141        match err {
7142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7145                source: err.into(),
7146            }),
7147        }
7148    }
7149}
7150impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
7151    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
7152        match err {
7153            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7154        }
7155    }
7156}
7157impl<R>
7158    From<
7159        ::aws_smithy_runtime_api::client::result::SdkError<
7160            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
7161            R,
7162        >,
7163    > for Error
7164where
7165    R: Send + Sync + std::fmt::Debug + 'static,
7166{
7167    fn from(
7168        err: ::aws_smithy_runtime_api::client::result::SdkError<
7169            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
7170            R,
7171        >,
7172    ) -> Self {
7173        match err {
7174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7177                source: err.into(),
7178            }),
7179        }
7180    }
7181}
7182impl From<crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError> for Error {
7183    fn from(err: crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError) -> Self {
7184        match err {
7185            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError::Unhandled(inner) => {
7186                Error::Unhandled(inner)
7187            }
7188        }
7189    }
7190}
7191impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
7192    for Error
7193where
7194    R: Send + Sync + std::fmt::Debug + 'static,
7195{
7196    fn from(
7197        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
7198    ) -> Self {
7199        match err {
7200            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7201            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7202                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7203                source: err.into(),
7204            }),
7205        }
7206    }
7207}
7208impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
7209    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
7210        match err {
7211            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7212        }
7213    }
7214}
7215impl<R>
7216    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
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_classic_link_instances::DescribeClassicLinkInstancesError,
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_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
7237    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
7238        match err {
7239            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7240        }
7241    }
7242}
7243impl<R>
7244    From<
7245        ::aws_smithy_runtime_api::client::result::SdkError<
7246            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7247            R,
7248        >,
7249    > for Error
7250where
7251    R: Send + Sync + std::fmt::Debug + 'static,
7252{
7253    fn from(
7254        err: ::aws_smithy_runtime_api::client::result::SdkError<
7255            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7256            R,
7257        >,
7258    ) -> Self {
7259        match err {
7260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7263                source: err.into(),
7264            }),
7265        }
7266    }
7267}
7268impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
7269    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
7270        match err {
7271            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
7272                Error::Unhandled(inner)
7273            }
7274        }
7275    }
7276}
7277impl<R>
7278    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
7279    for Error
7280where
7281    R: Send + Sync + std::fmt::Debug + 'static,
7282{
7283    fn from(
7284        err: ::aws_smithy_runtime_api::client::result::SdkError<
7285            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError,
7286            R,
7287        >,
7288    ) -> Self {
7289        match err {
7290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7293                source: err.into(),
7294            }),
7295        }
7296    }
7297}
7298impl From<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
7299    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
7300        match err {
7301            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
7302        }
7303    }
7304}
7305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
7306    for Error
7307where
7308    R: Send + Sync + std::fmt::Debug + 'static,
7309{
7310    fn from(
7311        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
7312    ) -> Self {
7313        match err {
7314            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7315            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7316                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7317                source: err.into(),
7318            }),
7319        }
7320    }
7321}
7322impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
7323    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
7324        match err {
7325            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7326        }
7327    }
7328}
7329impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
7330    for Error
7331where
7332    R: Send + Sync + std::fmt::Debug + 'static,
7333{
7334    fn from(
7335        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
7336    ) -> Self {
7337        match err {
7338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7341                source: err.into(),
7342            }),
7343        }
7344    }
7345}
7346impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
7347    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
7348        match err {
7349            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
7350        }
7351    }
7352}
7353impl<R>
7354    From<
7355        ::aws_smithy_runtime_api::client::result::SdkError<
7356            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7357            R,
7358        >,
7359    > for Error
7360where
7361    R: Send + Sync + std::fmt::Debug + 'static,
7362{
7363    fn from(
7364        err: ::aws_smithy_runtime_api::client::result::SdkError<
7365            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7366            R,
7367        >,
7368    ) -> Self {
7369        match err {
7370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7373                source: err.into(),
7374            }),
7375        }
7376    }
7377}
7378impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
7379    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
7380        match err {
7381            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
7382        }
7383    }
7384}
7385impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
7386where
7387    R: Send + Sync + std::fmt::Debug + 'static,
7388{
7389    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> Self {
7390        match err {
7391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7394                source: err.into(),
7395            }),
7396        }
7397    }
7398}
7399impl From<crate::operation::describe_coip_pools::DescribeCoipPoolsError> for Error {
7400    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
7401        match err {
7402            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
7403        }
7404    }
7405}
7406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
7407    for Error
7408where
7409    R: Send + Sync + std::fmt::Debug + 'static,
7410{
7411    fn from(
7412        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
7413    ) -> Self {
7414        match err {
7415            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7416            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7417                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7418                source: err.into(),
7419            }),
7420        }
7421    }
7422}
7423impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
7424    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
7425        match err {
7426            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
7427        }
7428    }
7429}
7430impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
7431    for Error
7432where
7433    R: Send + Sync + std::fmt::Debug + 'static,
7434{
7435    fn from(
7436        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
7437    ) -> Self {
7438        match err {
7439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7442                source: err.into(),
7443            }),
7444        }
7445    }
7446}
7447impl From<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError> for Error {
7448    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
7449        match err {
7450            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7451        }
7452    }
7453}
7454impl<R>
7455    From<
7456        ::aws_smithy_runtime_api::client::result::SdkError<
7457            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7458            R,
7459        >,
7460    > for Error
7461where
7462    R: Send + Sync + std::fmt::Debug + 'static,
7463{
7464    fn from(
7465        err: ::aws_smithy_runtime_api::client::result::SdkError<
7466            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7467            R,
7468        >,
7469    ) -> Self {
7470        match err {
7471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7474                source: err.into(),
7475            }),
7476        }
7477    }
7478}
7479impl From<crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
7480    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
7481        match err {
7482            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
7483                Error::Unhandled(inner)
7484            }
7485        }
7486    }
7487}
7488impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
7489where
7490    R: Send + Sync + std::fmt::Debug + 'static,
7491{
7492    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> Self {
7493        match err {
7494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7497                source: err.into(),
7498            }),
7499        }
7500    }
7501}
7502impl From<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError> for Error {
7503    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
7504        match err {
7505            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
7506        }
7507    }
7508}
7509impl<R>
7510    From<
7511        ::aws_smithy_runtime_api::client::result::SdkError<
7512            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7513            R,
7514        >,
7515    > for Error
7516where
7517    R: Send + Sync + std::fmt::Debug + 'static,
7518{
7519    fn from(
7520        err: ::aws_smithy_runtime_api::client::result::SdkError<
7521            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7522            R,
7523        >,
7524    ) -> Self {
7525        match err {
7526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7529                source: err.into(),
7530            }),
7531        }
7532    }
7533}
7534impl From<crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
7535    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
7536        match err {
7537            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
7538                Error::Unhandled(inner)
7539            }
7540        }
7541    }
7542}
7543impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
7544where
7545    R: Send + Sync + std::fmt::Debug + 'static,
7546{
7547    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
7548        match err {
7549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7552                source: err.into(),
7553            }),
7554        }
7555    }
7556}
7557impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
7558    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
7559        match err {
7560            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
7561        }
7562    }
7563}
7564impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
7565    for Error
7566where
7567    R: Send + Sync + std::fmt::Debug + 'static,
7568{
7569    fn from(
7570        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
7571    ) -> Self {
7572        match err {
7573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7576                source: err.into(),
7577            }),
7578        }
7579    }
7580}
7581impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
7582    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
7583        match err {
7584            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7585        }
7586    }
7587}
7588impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
7589where
7590    R: Send + Sync + std::fmt::Debug + 'static,
7591{
7592    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
7593        match err {
7594            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7595            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7596                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7597                source: err.into(),
7598            }),
7599        }
7600    }
7601}
7602impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
7603    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
7604        match err {
7605            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
7606        }
7607    }
7608}
7609impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
7610    for Error
7611where
7612    R: Send + Sync + std::fmt::Debug + 'static,
7613{
7614    fn from(
7615        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
7616    ) -> Self {
7617        match err {
7618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7621                source: err.into(),
7622            }),
7623        }
7624    }
7625}
7626impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
7627    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
7628        match err {
7629            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
7630        }
7631    }
7632}
7633impl<R>
7634    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
7635    for Error
7636where
7637    R: Send + Sync + std::fmt::Debug + 'static,
7638{
7639    fn from(
7640        err: ::aws_smithy_runtime_api::client::result::SdkError<
7641            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
7642            R,
7643        >,
7644    ) -> Self {
7645        match err {
7646            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7647            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7648                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7649                source: err.into(),
7650            }),
7651        }
7652    }
7653}
7654impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
7655    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
7656        match err {
7657            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
7658        }
7659    }
7660}
7661impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
7662where
7663    R: Send + Sync + std::fmt::Debug + 'static,
7664{
7665    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
7666        match err {
7667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7670                source: err.into(),
7671            }),
7672        }
7673    }
7674}
7675impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
7676    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
7677        match err {
7678            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
7679        }
7680    }
7681}
7682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> for Error
7683where
7684    R: Send + Sync + std::fmt::Debug + 'static,
7685{
7686    fn from(
7687        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>,
7688    ) -> Self {
7689        match err {
7690            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7691            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7692                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7693                source: err.into(),
7694            }),
7695        }
7696    }
7697}
7698impl From<crate::operation::describe_fleet_instances::DescribeFleetInstancesError> for Error {
7699    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
7700        match err {
7701            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7702        }
7703    }
7704}
7705impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
7706where
7707    R: Send + Sync + std::fmt::Debug + 'static,
7708{
7709    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
7710        match err {
7711            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7712            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7713                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7714                source: err.into(),
7715            }),
7716        }
7717    }
7718}
7719impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
7720    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
7721        match err {
7722            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
7723        }
7724    }
7725}
7726impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
7727where
7728    R: Send + Sync + std::fmt::Debug + 'static,
7729{
7730    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> Self {
7731        match err {
7732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7735                source: err.into(),
7736            }),
7737        }
7738    }
7739}
7740impl From<crate::operation::describe_flow_logs::DescribeFlowLogsError> for Error {
7741    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
7742        match err {
7743            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
7744        }
7745    }
7746}
7747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
7748    for Error
7749where
7750    R: Send + Sync + std::fmt::Debug + 'static,
7751{
7752    fn from(
7753        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
7754    ) -> Self {
7755        match err {
7756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7759                source: err.into(),
7760            }),
7761        }
7762    }
7763}
7764impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
7765    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
7766        match err {
7767            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7768        }
7769    }
7770}
7771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
7772where
7773    R: Send + Sync + std::fmt::Debug + 'static,
7774{
7775    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
7776        match err {
7777            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7778            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7779                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7780                source: err.into(),
7781            }),
7782        }
7783    }
7784}
7785impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
7786    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
7787        match err {
7788            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
7789        }
7790    }
7791}
7792impl<R>
7793    From<
7794        ::aws_smithy_runtime_api::client::result::SdkError<
7795            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7796            R,
7797        >,
7798    > for Error
7799where
7800    R: Send + Sync + std::fmt::Debug + 'static,
7801{
7802    fn from(
7803        err: ::aws_smithy_runtime_api::client::result::SdkError<
7804            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7805            R,
7806        >,
7807    ) -> Self {
7808        match err {
7809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7812                source: err.into(),
7813            }),
7814        }
7815    }
7816}
7817impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
7818    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
7819        match err {
7820            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7821        }
7822    }
7823}
7824impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
7825    for Error
7826where
7827    R: Send + Sync + std::fmt::Debug + 'static,
7828{
7829    fn from(
7830        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
7831    ) -> Self {
7832        match err {
7833            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7834            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7835                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7836                source: err.into(),
7837            }),
7838        }
7839    }
7840}
7841impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
7842    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
7843        match err {
7844            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7845        }
7846    }
7847}
7848impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
7849where
7850    R: Send + Sync + std::fmt::Debug + 'static,
7851{
7852    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
7853        match err {
7854            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7855            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7856                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7857                source: err.into(),
7858            }),
7859        }
7860    }
7861}
7862impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
7863    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
7864        match err {
7865            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
7866        }
7867    }
7868}
7869impl<R>
7870    From<
7871        ::aws_smithy_runtime_api::client::result::SdkError<
7872            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7873            R,
7874        >,
7875    > for Error
7876where
7877    R: Send + Sync + std::fmt::Debug + 'static,
7878{
7879    fn from(
7880        err: ::aws_smithy_runtime_api::client::result::SdkError<
7881            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7882            R,
7883        >,
7884    ) -> Self {
7885        match err {
7886            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7887            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7888                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7889                source: err.into(),
7890            }),
7891        }
7892    }
7893}
7894impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
7895    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
7896        match err {
7897            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
7898                Error::Unhandled(inner)
7899            }
7900        }
7901    }
7902}
7903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
7904    for Error
7905where
7906    R: Send + Sync + std::fmt::Debug + 'static,
7907{
7908    fn from(
7909        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
7910    ) -> Self {
7911        match err {
7912            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7913            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7914                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7915                source: err.into(),
7916            }),
7917        }
7918    }
7919}
7920impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
7921    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
7922        match err {
7923            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7924        }
7925    }
7926}
7927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
7928where
7929    R: Send + Sync + std::fmt::Debug + 'static,
7930{
7931    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
7932        match err {
7933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7936                source: err.into(),
7937            }),
7938        }
7939    }
7940}
7941impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
7942    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
7943        match err {
7944            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7945        }
7946    }
7947}
7948impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
7949where
7950    R: Send + Sync + std::fmt::Debug + 'static,
7951{
7952    fn from(
7953        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
7954    ) -> Self {
7955        match err {
7956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7959                source: err.into(),
7960            }),
7961        }
7962    }
7963}
7964impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
7965    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
7966        match err {
7967            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7968        }
7969    }
7970}
7971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>>
7972    for Error
7973where
7974    R: Send + Sync + std::fmt::Debug + 'static,
7975{
7976    fn from(
7977        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>,
7978    ) -> Self {
7979        match err {
7980            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7981            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7982                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7983                source: err.into(),
7984            }),
7985        }
7986    }
7987}
7988impl From<crate::operation::describe_image_references::DescribeImageReferencesError> for Error {
7989    fn from(err: crate::operation::describe_image_references::DescribeImageReferencesError) -> Self {
7990        match err {
7991            crate::operation::describe_image_references::DescribeImageReferencesError::Unhandled(inner) => Error::Unhandled(inner),
7992        }
7993    }
7994}
7995impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
7996where
7997    R: Send + Sync + std::fmt::Debug + 'static,
7998{
7999    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
8000        match err {
8001            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8002            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8003                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8004                source: err.into(),
8005            }),
8006        }
8007    }
8008}
8009impl From<crate::operation::describe_images::DescribeImagesError> for Error {
8010    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
8011        match err {
8012            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
8013        }
8014    }
8015}
8016impl<R>
8017    From<
8018        ::aws_smithy_runtime_api::client::result::SdkError<
8019            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
8020            R,
8021        >,
8022    > for Error
8023where
8024    R: Send + Sync + std::fmt::Debug + 'static,
8025{
8026    fn from(
8027        err: ::aws_smithy_runtime_api::client::result::SdkError<
8028            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
8029            R,
8030        >,
8031    ) -> Self {
8032        match err {
8033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8036                source: err.into(),
8037            }),
8038        }
8039    }
8040}
8041impl From<crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError> for Error {
8042    fn from(err: crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError) -> Self {
8043        match err {
8044            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError::Unhandled(inner) => Error::Unhandled(inner),
8045        }
8046    }
8047}
8048impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>>
8049    for Error
8050where
8051    R: Send + Sync + std::fmt::Debug + 'static,
8052{
8053    fn from(
8054        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>,
8055    ) -> Self {
8056        match err {
8057            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8058            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8059                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8060                source: err.into(),
8061            }),
8062        }
8063    }
8064}
8065impl From<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError> for Error {
8066    fn from(err: crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError) -> Self {
8067        match err {
8068            crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError::Unhandled(inner) => Error::Unhandled(inner),
8069        }
8070    }
8071}
8072impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
8073    for Error
8074where
8075    R: Send + Sync + std::fmt::Debug + 'static,
8076{
8077    fn from(
8078        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
8079    ) -> Self {
8080        match err {
8081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8084                source: err.into(),
8085            }),
8086        }
8087    }
8088}
8089impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
8090    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
8091        match err {
8092            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
8093        }
8094    }
8095}
8096impl<R>
8097    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
8098    for Error
8099where
8100    R: Send + Sync + std::fmt::Debug + 'static,
8101{
8102    fn from(
8103        err: ::aws_smithy_runtime_api::client::result::SdkError<
8104            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
8105            R,
8106        >,
8107    ) -> Self {
8108        match err {
8109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8112                source: err.into(),
8113            }),
8114        }
8115    }
8116}
8117impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
8118    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
8119        match err {
8120            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
8121        }
8122    }
8123}
8124impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
8125    for Error
8126where
8127    R: Send + Sync + std::fmt::Debug + 'static,
8128{
8129    fn from(
8130        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
8131    ) -> Self {
8132        match err {
8133            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8134            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8135                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8136                source: err.into(),
8137            }),
8138        }
8139    }
8140}
8141impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
8142    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
8143        match err {
8144            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
8145        }
8146    }
8147}
8148impl<R>
8149    From<
8150        ::aws_smithy_runtime_api::client::result::SdkError<
8151            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
8152            R,
8153        >,
8154    > for Error
8155where
8156    R: Send + Sync + std::fmt::Debug + 'static,
8157{
8158    fn from(
8159        err: ::aws_smithy_runtime_api::client::result::SdkError<
8160            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
8161            R,
8162        >,
8163    ) -> Self {
8164        match err {
8165            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8166            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8167                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8168                source: err.into(),
8169            }),
8170        }
8171    }
8172}
8173impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
8174    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
8175        match err {
8176            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
8177        }
8178    }
8179}
8180impl<R>
8181    From<
8182        ::aws_smithy_runtime_api::client::result::SdkError<
8183            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
8184            R,
8185        >,
8186    > for Error
8187where
8188    R: Send + Sync + std::fmt::Debug + 'static,
8189{
8190    fn from(
8191        err: ::aws_smithy_runtime_api::client::result::SdkError<
8192            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
8193            R,
8194        >,
8195    ) -> Self {
8196        match err {
8197            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8198            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8199                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8200                source: err.into(),
8201            }),
8202        }
8203    }
8204}
8205impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
8206    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
8207        match err {
8208            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
8209                Error::Unhandled(inner)
8210            }
8211        }
8212    }
8213}
8214impl<R>
8215    From<
8216        ::aws_smithy_runtime_api::client::result::SdkError<
8217            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8218            R,
8219        >,
8220    > for Error
8221where
8222    R: Send + Sync + std::fmt::Debug + 'static,
8223{
8224    fn from(
8225        err: ::aws_smithy_runtime_api::client::result::SdkError<
8226            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8227            R,
8228        >,
8229    ) -> Self {
8230        match err {
8231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8234                source: err.into(),
8235            }),
8236        }
8237    }
8238}
8239impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
8240    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
8241        match err {
8242            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
8243                Error::Unhandled(inner)
8244            }
8245        }
8246    }
8247}
8248impl<R>
8249    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
8250    for Error
8251where
8252    R: Send + Sync + std::fmt::Debug + 'static,
8253{
8254    fn from(
8255        err: ::aws_smithy_runtime_api::client::result::SdkError<
8256            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
8257            R,
8258        >,
8259    ) -> Self {
8260        match err {
8261            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8262            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8263                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8264                source: err.into(),
8265            }),
8266        }
8267    }
8268}
8269impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
8270    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
8271        match err {
8272            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
8273        }
8274    }
8275}
8276impl<R>
8277    From<
8278        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
8279    > for Error
8280where
8281    R: Send + Sync + std::fmt::Debug + 'static,
8282{
8283    fn from(
8284        err: ::aws_smithy_runtime_api::client::result::SdkError<
8285            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
8286            R,
8287        >,
8288    ) -> Self {
8289        match err {
8290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8293                source: err.into(),
8294            }),
8295        }
8296    }
8297}
8298impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
8299    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
8300        match err {
8301            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8302        }
8303    }
8304}
8305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
8306where
8307    R: Send + Sync + std::fmt::Debug + 'static,
8308{
8309    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> Self {
8310        match err {
8311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8314                source: err.into(),
8315            }),
8316        }
8317    }
8318}
8319impl From<crate::operation::describe_instances::DescribeInstancesError> for Error {
8320    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
8321        match err {
8322            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8323        }
8324    }
8325}
8326impl<R>
8327    From<
8328        ::aws_smithy_runtime_api::client::result::SdkError<
8329            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError,
8330            R,
8331        >,
8332    > for Error
8333where
8334    R: Send + Sync + std::fmt::Debug + 'static,
8335{
8336    fn from(
8337        err: ::aws_smithy_runtime_api::client::result::SdkError<
8338            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError,
8339            R,
8340        >,
8341    ) -> Self {
8342        match err {
8343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8346                source: err.into(),
8347            }),
8348        }
8349    }
8350}
8351impl From<crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError> for Error {
8352    fn from(err: crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError) -> Self {
8353        match err {
8354            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError::Unhandled(inner) => {
8355                Error::Unhandled(inner)
8356            }
8357        }
8358    }
8359}
8360impl<R>
8361    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError, R>>
8362    for Error
8363where
8364    R: Send + Sync + std::fmt::Debug + 'static,
8365{
8366    fn from(
8367        err: ::aws_smithy_runtime_api::client::result::SdkError<
8368            crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError,
8369            R,
8370        >,
8371    ) -> Self {
8372        match err {
8373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8376                source: err.into(),
8377            }),
8378        }
8379    }
8380}
8381impl From<crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError> for Error {
8382    fn from(err: crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError) -> Self {
8383        match err {
8384            crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError::Unhandled(inner) => Error::Unhandled(inner),
8385        }
8386    }
8387}
8388impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
8389where
8390    R: Send + Sync + std::fmt::Debug + 'static,
8391{
8392    fn from(
8393        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
8394    ) -> Self {
8395        match err {
8396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8399                source: err.into(),
8400            }),
8401        }
8402    }
8403}
8404impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
8405    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
8406        match err {
8407            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
8408        }
8409    }
8410}
8411impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
8412    for Error
8413where
8414    R: Send + Sync + std::fmt::Debug + 'static,
8415{
8416    fn from(
8417        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>,
8418    ) -> Self {
8419        match err {
8420            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8421            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8422                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8423                source: err.into(),
8424            }),
8425        }
8426    }
8427}
8428impl From<crate::operation::describe_instance_topology::DescribeInstanceTopologyError> for Error {
8429    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
8430        match err {
8431            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
8432        }
8433    }
8434}
8435impl<R>
8436    From<
8437        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
8438    > for Error
8439where
8440    R: Send + Sync + std::fmt::Debug + 'static,
8441{
8442    fn from(
8443        err: ::aws_smithy_runtime_api::client::result::SdkError<
8444            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
8445            R,
8446        >,
8447    ) -> Self {
8448        match err {
8449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8452                source: err.into(),
8453            }),
8454        }
8455    }
8456}
8457impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
8458    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
8459        match err {
8460            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
8461        }
8462    }
8463}
8464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
8465where
8466    R: Send + Sync + std::fmt::Debug + 'static,
8467{
8468    fn from(
8469        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
8470    ) -> Self {
8471        match err {
8472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8475                source: err.into(),
8476            }),
8477        }
8478    }
8479}
8480impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
8481    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
8482        match err {
8483            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
8484        }
8485    }
8486}
8487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
8488    for Error
8489where
8490    R: Send + Sync + std::fmt::Debug + 'static,
8491{
8492    fn from(
8493        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
8494    ) -> Self {
8495        match err {
8496            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8497            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8498                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8499                source: err.into(),
8500            }),
8501        }
8502    }
8503}
8504impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
8505    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
8506        match err {
8507            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8508        }
8509    }
8510}
8511impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
8512where
8513    R: Send + Sync + std::fmt::Debug + 'static,
8514{
8515    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
8516        match err {
8517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8520                source: err.into(),
8521            }),
8522        }
8523    }
8524}
8525impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
8526    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
8527        match err {
8528            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
8529        }
8530    }
8531}
8532impl<R>
8533    From<
8534        ::aws_smithy_runtime_api::client::result::SdkError<
8535            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8536            R,
8537        >,
8538    > for Error
8539where
8540    R: Send + Sync + std::fmt::Debug + 'static,
8541{
8542    fn from(
8543        err: ::aws_smithy_runtime_api::client::result::SdkError<
8544            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8545            R,
8546        >,
8547    ) -> Self {
8548        match err {
8549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8552                source: err.into(),
8553            }),
8554        }
8555    }
8556}
8557impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
8558    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
8559        match err {
8560            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
8561                inner,
8562            ) => Error::Unhandled(inner),
8563        }
8564    }
8565}
8566impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_policies::DescribeIpamPoliciesError, R>> for Error
8567where
8568    R: Send + Sync + std::fmt::Debug + 'static,
8569{
8570    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_policies::DescribeIpamPoliciesError, R>) -> Self {
8571        match err {
8572            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8573            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8574                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8575                source: err.into(),
8576            }),
8577        }
8578    }
8579}
8580impl From<crate::operation::describe_ipam_policies::DescribeIpamPoliciesError> for Error {
8581    fn from(err: crate::operation::describe_ipam_policies::DescribeIpamPoliciesError) -> Self {
8582        match err {
8583            crate::operation::describe_ipam_policies::DescribeIpamPoliciesError::Unhandled(inner) => Error::Unhandled(inner),
8584        }
8585    }
8586}
8587impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
8588where
8589    R: Send + Sync + std::fmt::Debug + 'static,
8590{
8591    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
8592        match err {
8593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8596                source: err.into(),
8597            }),
8598        }
8599    }
8600}
8601impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
8602    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
8603        match err {
8604            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
8605        }
8606    }
8607}
8608impl<R>
8609    From<
8610        ::aws_smithy_runtime_api::client::result::SdkError<
8611            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError,
8612            R,
8613        >,
8614    > for Error
8615where
8616    R: Send + Sync + std::fmt::Debug + 'static,
8617{
8618    fn from(
8619        err: ::aws_smithy_runtime_api::client::result::SdkError<
8620            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError,
8621            R,
8622        >,
8623    ) -> Self {
8624        match err {
8625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8628                source: err.into(),
8629            }),
8630        }
8631    }
8632}
8633impl From<crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError> for Error {
8634    fn from(err: crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError) -> Self {
8635        match err {
8636            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError::Unhandled(inner) => Error::Unhandled(inner),
8637        }
8638    }
8639}
8640impl<R>
8641    From<
8642        ::aws_smithy_runtime_api::client::result::SdkError<
8643            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError,
8644            R,
8645        >,
8646    > for Error
8647where
8648    R: Send + Sync + std::fmt::Debug + 'static,
8649{
8650    fn from(
8651        err: ::aws_smithy_runtime_api::client::result::SdkError<
8652            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError,
8653            R,
8654        >,
8655    ) -> Self {
8656        match err {
8657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8660                source: err.into(),
8661            }),
8662        }
8663    }
8664}
8665impl From<crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError> for Error {
8666    fn from(err: crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError) -> Self {
8667        match err {
8668            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError::Unhandled(inner) => {
8669                Error::Unhandled(inner)
8670            }
8671        }
8672    }
8673}
8674impl<R>
8675    From<
8676        ::aws_smithy_runtime_api::client::result::SdkError<
8677            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8678            R,
8679        >,
8680    > for Error
8681where
8682    R: Send + Sync + std::fmt::Debug + 'static,
8683{
8684    fn from(
8685        err: ::aws_smithy_runtime_api::client::result::SdkError<
8686            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8687            R,
8688        >,
8689    ) -> Self {
8690        match err {
8691            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8692            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8693                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8694                source: err.into(),
8695            }),
8696        }
8697    }
8698}
8699impl From<crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
8700    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
8701        match err {
8702            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
8703        }
8704    }
8705}
8706impl<R>
8707    From<
8708        ::aws_smithy_runtime_api::client::result::SdkError<
8709            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8710            R,
8711        >,
8712    > for Error
8713where
8714    R: Send + Sync + std::fmt::Debug + 'static,
8715{
8716    fn from(
8717        err: ::aws_smithy_runtime_api::client::result::SdkError<
8718            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8719            R,
8720        >,
8721    ) -> Self {
8722        match err {
8723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8726                source: err.into(),
8727            }),
8728        }
8729    }
8730}
8731impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
8732    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
8733        match err {
8734            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
8735                Error::Unhandled(inner)
8736            }
8737        }
8738    }
8739}
8740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
8741where
8742    R: Send + Sync + std::fmt::Debug + 'static,
8743{
8744    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
8745        match err {
8746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8749                source: err.into(),
8750            }),
8751        }
8752    }
8753}
8754impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
8755    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
8756        match err {
8757            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
8758        }
8759    }
8760}
8761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
8762where
8763    R: Send + Sync + std::fmt::Debug + 'static,
8764{
8765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
8766        match err {
8767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8770                source: err.into(),
8771            }),
8772        }
8773    }
8774}
8775impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
8776    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
8777        match err {
8778            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
8779        }
8780    }
8781}
8782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
8783where
8784    R: Send + Sync + std::fmt::Debug + 'static,
8785{
8786    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
8787        match err {
8788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8791                source: err.into(),
8792            }),
8793        }
8794    }
8795}
8796impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
8797    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
8798        match err {
8799            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8800        }
8801    }
8802}
8803impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
8804where
8805    R: Send + Sync + std::fmt::Debug + 'static,
8806{
8807    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> 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_key_pairs::DescribeKeyPairsError> for Error {
8818    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
8819        match err {
8820            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
8821        }
8822    }
8823}
8824impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
8825    for Error
8826where
8827    R: Send + Sync + std::fmt::Debug + 'static,
8828{
8829    fn from(
8830        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>,
8831    ) -> Self {
8832        match err {
8833            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8834            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8835                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8836                source: err.into(),
8837            }),
8838        }
8839    }
8840}
8841impl From<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError> for Error {
8842    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
8843        match err {
8844            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
8845        }
8846    }
8847}
8848impl<R>
8849    From<
8850        ::aws_smithy_runtime_api::client::result::SdkError<
8851            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8852            R,
8853        >,
8854    > for Error
8855where
8856    R: Send + Sync + std::fmt::Debug + 'static,
8857{
8858    fn from(
8859        err: ::aws_smithy_runtime_api::client::result::SdkError<
8860            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8861            R,
8862        >,
8863    ) -> Self {
8864        match err {
8865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8868                source: err.into(),
8869            }),
8870        }
8871    }
8872}
8873impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
8874    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
8875        match err {
8876            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
8877        }
8878    }
8879}
8880impl<R>
8881    From<
8882        ::aws_smithy_runtime_api::client::result::SdkError<
8883            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8884            R,
8885        >,
8886    > for Error
8887where
8888    R: Send + Sync + std::fmt::Debug + 'static,
8889{
8890    fn from(
8891        err: ::aws_smithy_runtime_api::client::result::SdkError<
8892            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8893            R,
8894        >,
8895    ) -> Self {
8896        match err {
8897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8900                source: err.into(),
8901            }),
8902        }
8903    }
8904}
8905impl From<crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
8906    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
8907        match err {
8908            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
8909        }
8910    }
8911}
8912impl<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 {
8913    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
8914        match err {
8915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8916            _ => Error::Unhandled(
8917                                        crate::error::sealed_unhandled::Unhandled {
8918                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8919                                            source: err.into(),
8920                                        }
8921                                    ),
8922        }
8923    }
8924}
8925impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
8926    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
8927        match err {
8928            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
8929        }
8930    }
8931}
8932impl<R>
8933    From<
8934        ::aws_smithy_runtime_api::client::result::SdkError<
8935            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8936            R,
8937        >,
8938    > for Error
8939where
8940    R: Send + Sync + std::fmt::Debug + 'static,
8941{
8942    fn from(
8943        err: ::aws_smithy_runtime_api::client::result::SdkError<
8944            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8945            R,
8946        >,
8947    ) -> Self {
8948        match err {
8949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8952                source: err.into(),
8953            }),
8954        }
8955    }
8956}
8957impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
8958    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
8959        match err {
8960            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
8961                inner,
8962            ) => Error::Unhandled(inner),
8963        }
8964    }
8965}
8966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
8967where
8968    R: Send + Sync + std::fmt::Debug + 'static,
8969{
8970    fn from(
8971        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
8972    ) -> Self {
8973        match err {
8974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8977                source: err.into(),
8978            }),
8979        }
8980    }
8981}
8982impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
8983    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
8984        match err {
8985            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8986        }
8987    }
8988}
8989impl<R>
8990    From<
8991        ::aws_smithy_runtime_api::client::result::SdkError<
8992            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8993            R,
8994        >,
8995    > for Error
8996where
8997    R: Send + Sync + std::fmt::Debug + 'static,
8998{
8999    fn from(
9000        err: ::aws_smithy_runtime_api::client::result::SdkError<
9001            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
9002            R,
9003        >,
9004    ) -> Self {
9005        match err {
9006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9009                source: err.into(),
9010            }),
9011        }
9012    }
9013}
9014impl From<crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
9015    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
9016        match err {
9017            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
9018                Error::Unhandled(inner)
9019            }
9020        }
9021    }
9022}
9023impl<R>
9024    From<
9025        ::aws_smithy_runtime_api::client::result::SdkError<
9026            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
9027            R,
9028        >,
9029    > for Error
9030where
9031    R: Send + Sync + std::fmt::Debug + 'static,
9032{
9033    fn from(
9034        err: ::aws_smithy_runtime_api::client::result::SdkError<
9035            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
9036            R,
9037        >,
9038    ) -> Self {
9039        match err {
9040            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9041            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9042                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9043                source: err.into(),
9044            }),
9045        }
9046    }
9047}
9048impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
9049    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
9050        match err {
9051            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
9052                Error::Unhandled(inner)
9053            }
9054        }
9055    }
9056}
9057impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
9058    for Error
9059where
9060    R: Send + Sync + std::fmt::Debug + 'static,
9061{
9062    fn from(
9063        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
9064    ) -> Self {
9065        match err {
9066            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9067            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9068                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9069                source: err.into(),
9070            }),
9071        }
9072    }
9073}
9074impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
9075    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
9076        match err {
9077            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
9078        }
9079    }
9080}
9081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
9082where
9083    R: Send + Sync + std::fmt::Debug + 'static,
9084{
9085    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
9086        match err {
9087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9090                source: err.into(),
9091            }),
9092        }
9093    }
9094}
9095impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
9096    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
9097        match err {
9098            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
9099        }
9100    }
9101}
9102impl<R>
9103    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError, R>>
9104    for Error
9105where
9106    R: Send + Sync + std::fmt::Debug + 'static,
9107{
9108    fn from(
9109        err: ::aws_smithy_runtime_api::client::result::SdkError<
9110            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError,
9111            R,
9112        >,
9113    ) -> Self {
9114        match err {
9115            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9116            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9117                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9118                source: err.into(),
9119            }),
9120        }
9121    }
9122}
9123impl From<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError> for Error {
9124    fn from(err: crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError) -> Self {
9125        match err {
9126            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError::Unhandled(inner) => Error::Unhandled(inner),
9127        }
9128    }
9129}
9130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
9131    for Error
9132where
9133    R: Send + Sync + std::fmt::Debug + 'static,
9134{
9135    fn from(
9136        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
9137    ) -> Self {
9138        match err {
9139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9142                source: err.into(),
9143            }),
9144        }
9145    }
9146}
9147impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
9148    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
9149        match err {
9150            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
9151        }
9152    }
9153}
9154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
9155    for Error
9156where
9157    R: Send + Sync + std::fmt::Debug + 'static,
9158{
9159    fn from(
9160        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
9161    ) -> Self {
9162        match err {
9163            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9164            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9165                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9166                source: err.into(),
9167            }),
9168        }
9169    }
9170}
9171impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
9172    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
9173        match err {
9174            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
9175        }
9176    }
9177}
9178impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
9179where
9180    R: Send + Sync + std::fmt::Debug + 'static,
9181{
9182    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
9183        match err {
9184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9187                source: err.into(),
9188            }),
9189        }
9190    }
9191}
9192impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
9193    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
9194        match err {
9195            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
9196        }
9197    }
9198}
9199impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
9200where
9201    R: Send + Sync + std::fmt::Debug + 'static,
9202{
9203    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
9204        match err {
9205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9208                source: err.into(),
9209            }),
9210        }
9211    }
9212}
9213impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
9214    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
9215        match err {
9216            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
9217        }
9218    }
9219}
9220impl<R>
9221    From<
9222        ::aws_smithy_runtime_api::client::result::SdkError<
9223            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
9224            R,
9225        >,
9226    > for Error
9227where
9228    R: Send + Sync + std::fmt::Debug + 'static,
9229{
9230    fn from(
9231        err: ::aws_smithy_runtime_api::client::result::SdkError<
9232            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
9233            R,
9234        >,
9235    ) -> Self {
9236        match err {
9237            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9238            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9239                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9240                source: err.into(),
9241            }),
9242        }
9243    }
9244}
9245impl From<crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
9246    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
9247        match err {
9248            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
9249                Error::Unhandled(inner)
9250            }
9251        }
9252    }
9253}
9254impl<R>
9255    From<
9256        ::aws_smithy_runtime_api::client::result::SdkError<
9257            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
9258            R,
9259        >,
9260    > for Error
9261where
9262    R: Send + Sync + std::fmt::Debug + 'static,
9263{
9264    fn from(
9265        err: ::aws_smithy_runtime_api::client::result::SdkError<
9266            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
9267            R,
9268        >,
9269    ) -> 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_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
9280    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
9281        match err {
9282            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
9283                Error::Unhandled(inner)
9284            }
9285        }
9286    }
9287}
9288impl<R>
9289    From<
9290        ::aws_smithy_runtime_api::client::result::SdkError<
9291            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
9292            R,
9293        >,
9294    > for Error
9295where
9296    R: Send + Sync + std::fmt::Debug + 'static,
9297{
9298    fn from(
9299        err: ::aws_smithy_runtime_api::client::result::SdkError<
9300            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
9301            R,
9302        >,
9303    ) -> Self {
9304        match err {
9305            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9306            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9307                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9308                source: err.into(),
9309            }),
9310        }
9311    }
9312}
9313impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
9314    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
9315        match err {
9316            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
9317        }
9318    }
9319}
9320impl<R>
9321    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
9322    for Error
9323where
9324    R: Send + Sync + std::fmt::Debug + 'static,
9325{
9326    fn from(
9327        err: ::aws_smithy_runtime_api::client::result::SdkError<
9328            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
9329            R,
9330        >,
9331    ) -> Self {
9332        match err {
9333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9336                source: err.into(),
9337            }),
9338        }
9339    }
9340}
9341impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
9342    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
9343        match err {
9344            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
9345        }
9346    }
9347}
9348impl<R>
9349    From<
9350        ::aws_smithy_runtime_api::client::result::SdkError<
9351            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
9352            R,
9353        >,
9354    > for Error
9355where
9356    R: Send + Sync + std::fmt::Debug + 'static,
9357{
9358    fn from(
9359        err: ::aws_smithy_runtime_api::client::result::SdkError<
9360            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
9361            R,
9362        >,
9363    ) -> Self {
9364        match err {
9365            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9366            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9367                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9368                source: err.into(),
9369            }),
9370        }
9371    }
9372}
9373impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
9374    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
9375        match err {
9376            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
9377                Error::Unhandled(inner)
9378            }
9379        }
9380    }
9381}
9382impl<R>
9383    From<
9384        ::aws_smithy_runtime_api::client::result::SdkError<
9385            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9386            R,
9387        >,
9388    > for Error
9389where
9390    R: Send + Sync + std::fmt::Debug + 'static,
9391{
9392    fn from(
9393        err: ::aws_smithy_runtime_api::client::result::SdkError<
9394            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9395            R,
9396        >,
9397    ) -> Self {
9398        match err {
9399            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9400            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9401                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9402                source: err.into(),
9403            }),
9404        }
9405    }
9406}
9407impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
9408    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
9409        match err {
9410            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
9411                Error::Unhandled(inner)
9412            }
9413        }
9414    }
9415}
9416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
9417    for Error
9418where
9419    R: Send + Sync + std::fmt::Debug + 'static,
9420{
9421    fn from(
9422        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
9423    ) -> Self {
9424        match err {
9425            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9426            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9427                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9428                source: err.into(),
9429            }),
9430        }
9431    }
9432}
9433impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
9434    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
9435        match err {
9436            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
9437        }
9438    }
9439}
9440impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>> for Error
9441where
9442    R: Send + Sync + std::fmt::Debug + 'static,
9443{
9444    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>) -> Self {
9445        match err {
9446            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9447            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9448                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9449                source: err.into(),
9450            }),
9451        }
9452    }
9453}
9454impl From<crate::operation::describe_outpost_lags::DescribeOutpostLagsError> for Error {
9455    fn from(err: crate::operation::describe_outpost_lags::DescribeOutpostLagsError) -> Self {
9456        match err {
9457            crate::operation::describe_outpost_lags::DescribeOutpostLagsError::Unhandled(inner) => Error::Unhandled(inner),
9458        }
9459    }
9460}
9461impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
9462    for Error
9463where
9464    R: Send + Sync + std::fmt::Debug + 'static,
9465{
9466    fn from(
9467        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
9468    ) -> Self {
9469        match err {
9470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9473                source: err.into(),
9474            }),
9475        }
9476    }
9477}
9478impl From<crate::operation::describe_placement_groups::DescribePlacementGroupsError> for Error {
9479    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
9480        match err {
9481            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9482        }
9483    }
9484}
9485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
9486where
9487    R: Send + Sync + std::fmt::Debug + 'static,
9488{
9489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
9490        match err {
9491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9494                source: err.into(),
9495            }),
9496        }
9497    }
9498}
9499impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
9500    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
9501        match err {
9502            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
9503        }
9504    }
9505}
9506impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
9507    for Error
9508where
9509    R: Send + Sync + std::fmt::Debug + 'static,
9510{
9511    fn from(
9512        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
9513    ) -> Self {
9514        match err {
9515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9518                source: err.into(),
9519            }),
9520        }
9521    }
9522}
9523impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
9524    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
9525        match err {
9526            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
9527        }
9528    }
9529}
9530impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
9531    for Error
9532where
9533    R: Send + Sync + std::fmt::Debug + 'static,
9534{
9535    fn from(
9536        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
9537    ) -> Self {
9538        match err {
9539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9542                source: err.into(),
9543            }),
9544        }
9545    }
9546}
9547impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
9548    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
9549        match err {
9550            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
9551        }
9552    }
9553}
9554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
9555where
9556    R: Send + Sync + std::fmt::Debug + 'static,
9557{
9558    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
9559        match err {
9560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9563                source: err.into(),
9564            }),
9565        }
9566    }
9567}
9568impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
9569    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
9570        match err {
9571            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
9572        }
9573    }
9574}
9575impl<R>
9576    From<
9577        ::aws_smithy_runtime_api::client::result::SdkError<
9578            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9579            R,
9580        >,
9581    > for Error
9582where
9583    R: Send + Sync + std::fmt::Debug + 'static,
9584{
9585    fn from(
9586        err: ::aws_smithy_runtime_api::client::result::SdkError<
9587            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9588            R,
9589        >,
9590    ) -> Self {
9591        match err {
9592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9593            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9594                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9595                source: err.into(),
9596            }),
9597        }
9598    }
9599}
9600impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
9601    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
9602        match err {
9603            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
9604        }
9605    }
9606}
9607impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
9608    for Error
9609where
9610    R: Send + Sync + std::fmt::Debug + 'static,
9611{
9612    fn from(
9613        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
9614    ) -> Self {
9615        match err {
9616            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9617            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9618                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9619                source: err.into(),
9620            }),
9621        }
9622    }
9623}
9624impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
9625    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
9626        match err {
9627            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9628        }
9629    }
9630}
9631impl<R>
9632    From<
9633        ::aws_smithy_runtime_api::client::result::SdkError<
9634            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9635            R,
9636        >,
9637    > for Error
9638where
9639    R: Send + Sync + std::fmt::Debug + 'static,
9640{
9641    fn from(
9642        err: ::aws_smithy_runtime_api::client::result::SdkError<
9643            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9644            R,
9645        >,
9646    ) -> Self {
9647        match err {
9648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9651                source: err.into(),
9652            }),
9653        }
9654    }
9655}
9656impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
9657    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
9658        match err {
9659            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
9660                Error::Unhandled(inner)
9661            }
9662        }
9663    }
9664}
9665impl<R>
9666    From<
9667        ::aws_smithy_runtime_api::client::result::SdkError<
9668            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9669            R,
9670        >,
9671    > for Error
9672where
9673    R: Send + Sync + std::fmt::Debug + 'static,
9674{
9675    fn from(
9676        err: ::aws_smithy_runtime_api::client::result::SdkError<
9677            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9678            R,
9679        >,
9680    ) -> Self {
9681        match err {
9682            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9683            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9684                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9685                source: err.into(),
9686            }),
9687        }
9688    }
9689}
9690impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
9691    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
9692        match err {
9693            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
9694                Error::Unhandled(inner)
9695            }
9696        }
9697    }
9698}
9699impl<R>
9700    From<
9701        ::aws_smithy_runtime_api::client::result::SdkError<
9702            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9703            R,
9704        >,
9705    > for Error
9706where
9707    R: Send + Sync + std::fmt::Debug + 'static,
9708{
9709    fn from(
9710        err: ::aws_smithy_runtime_api::client::result::SdkError<
9711            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9712            R,
9713        >,
9714    ) -> Self {
9715        match err {
9716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9719                source: err.into(),
9720            }),
9721        }
9722    }
9723}
9724impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
9725    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
9726        match err {
9727            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
9728                Error::Unhandled(inner)
9729            }
9730        }
9731    }
9732}
9733impl<R>
9734    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError, R>>
9735    for Error
9736where
9737    R: Send + Sync + std::fmt::Debug + 'static,
9738{
9739    fn from(
9740        err: ::aws_smithy_runtime_api::client::result::SdkError<
9741            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError,
9742            R,
9743        >,
9744    ) -> Self {
9745        match err {
9746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9749                source: err.into(),
9750            }),
9751        }
9752    }
9753}
9754impl From<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError> for Error {
9755    fn from(err: crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError) -> Self {
9756        match err {
9757            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
9758        }
9759    }
9760}
9761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>>
9762    for Error
9763where
9764    R: Send + Sync + std::fmt::Debug + 'static,
9765{
9766    fn from(
9767        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>,
9768    ) -> Self {
9769        match err {
9770            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9771            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9772                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9773                source: err.into(),
9774            }),
9775        }
9776    }
9777}
9778impl From<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError> for Error {
9779    fn from(err: crate::operation::describe_route_server_peers::DescribeRouteServerPeersError) -> Self {
9780        match err {
9781            crate::operation::describe_route_server_peers::DescribeRouteServerPeersError::Unhandled(inner) => Error::Unhandled(inner),
9782        }
9783    }
9784}
9785impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>> for Error
9786where
9787    R: Send + Sync + std::fmt::Debug + 'static,
9788{
9789    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>) -> Self {
9790        match err {
9791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9794                source: err.into(),
9795            }),
9796        }
9797    }
9798}
9799impl From<crate::operation::describe_route_servers::DescribeRouteServersError> for Error {
9800    fn from(err: crate::operation::describe_route_servers::DescribeRouteServersError) -> Self {
9801        match err {
9802            crate::operation::describe_route_servers::DescribeRouteServersError::Unhandled(inner) => Error::Unhandled(inner),
9803        }
9804    }
9805}
9806impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
9807where
9808    R: Send + Sync + std::fmt::Debug + 'static,
9809{
9810    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> Self {
9811        match err {
9812            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9813            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9814                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9815                source: err.into(),
9816            }),
9817        }
9818    }
9819}
9820impl From<crate::operation::describe_route_tables::DescribeRouteTablesError> for Error {
9821    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
9822        match err {
9823            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
9824        }
9825    }
9826}
9827impl<R>
9828    From<
9829        ::aws_smithy_runtime_api::client::result::SdkError<
9830            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9831            R,
9832        >,
9833    > for Error
9834where
9835    R: Send + Sync + std::fmt::Debug + 'static,
9836{
9837    fn from(
9838        err: ::aws_smithy_runtime_api::client::result::SdkError<
9839            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9840            R,
9841        >,
9842    ) -> Self {
9843        match err {
9844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9847                source: err.into(),
9848            }),
9849        }
9850    }
9851}
9852impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
9853    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
9854        match err {
9855            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
9856                Error::Unhandled(inner)
9857            }
9858        }
9859    }
9860}
9861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>>
9862    for Error
9863where
9864    R: Send + Sync + std::fmt::Debug + 'static,
9865{
9866    fn from(
9867        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
9868    ) -> Self {
9869        match err {
9870            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9871            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9872                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9873                source: err.into(),
9874            }),
9875        }
9876    }
9877}
9878impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
9879    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
9880        match err {
9881            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9882        }
9883    }
9884}
9885impl<R>
9886    From<
9887        ::aws_smithy_runtime_api::client::result::SdkError<
9888            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9889            R,
9890        >,
9891    > for Error
9892where
9893    R: Send + Sync + std::fmt::Debug + 'static,
9894{
9895    fn from(
9896        err: ::aws_smithy_runtime_api::client::result::SdkError<
9897            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9898            R,
9899        >,
9900    ) -> Self {
9901        match err {
9902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9905                source: err.into(),
9906            }),
9907        }
9908    }
9909}
9910impl From<crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError> for Error {
9911    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
9912        match err {
9913            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
9914        }
9915    }
9916}
9917impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>>
9918    for Error
9919where
9920    R: Send + Sync + std::fmt::Debug + 'static,
9921{
9922    fn from(
9923        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>,
9924    ) -> Self {
9925        match err {
9926            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9927            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9928                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9929                source: err.into(),
9930            }),
9931        }
9932    }
9933}
9934impl From<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError> for Error {
9935    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
9936        match err {
9937            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
9938        }
9939    }
9940}
9941impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
9942where
9943    R: Send + Sync + std::fmt::Debug + 'static,
9944{
9945    fn from(
9946        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
9947    ) -> Self {
9948        match err {
9949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9952                source: err.into(),
9953            }),
9954        }
9955    }
9956}
9957impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
9958    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
9959        match err {
9960            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9961        }
9962    }
9963}
9964impl<R>
9965    From<
9966        ::aws_smithy_runtime_api::client::result::SdkError<
9967            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9968            R,
9969        >,
9970    > for Error
9971where
9972    R: Send + Sync + std::fmt::Debug + 'static,
9973{
9974    fn from(
9975        err: ::aws_smithy_runtime_api::client::result::SdkError<
9976            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9977            R,
9978        >,
9979    ) -> Self {
9980        match err {
9981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9984                source: err.into(),
9985            }),
9986        }
9987    }
9988}
9989impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
9990    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
9991        match err {
9992            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
9993                Error::Unhandled(inner)
9994            }
9995        }
9996    }
9997}
9998impl<R>
9999    From<
10000        ::aws_smithy_runtime_api::client::result::SdkError<
10001            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
10002            R,
10003        >,
10004    > for Error
10005where
10006    R: Send + Sync + std::fmt::Debug + 'static,
10007{
10008    fn from(
10009        err: ::aws_smithy_runtime_api::client::result::SdkError<
10010            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
10011            R,
10012        >,
10013    ) -> Self {
10014        match err {
10015            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10016            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10017                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10018                source: err.into(),
10019            }),
10020        }
10021    }
10022}
10023impl From<crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError> for Error {
10024    fn from(err: crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError) -> Self {
10025        match err {
10026            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError::Unhandled(inner) => {
10027                Error::Unhandled(inner)
10028            }
10029        }
10030    }
10031}
10032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
10033    for Error
10034where
10035    R: Send + Sync + std::fmt::Debug + 'static,
10036{
10037    fn from(
10038        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
10039    ) -> Self {
10040        match err {
10041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10044                source: err.into(),
10045            }),
10046        }
10047    }
10048}
10049impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
10050    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
10051        match err {
10052            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10053        }
10054    }
10055}
10056impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
10057where
10058    R: Send + Sync + std::fmt::Debug + 'static,
10059{
10060    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> Self {
10061        match err {
10062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10065                source: err.into(),
10066            }),
10067        }
10068    }
10069}
10070impl From<crate::operation::describe_snapshots::DescribeSnapshotsError> for Error {
10071    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
10072        match err {
10073            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
10074        }
10075    }
10076}
10077impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
10078    for Error
10079where
10080    R: Send + Sync + std::fmt::Debug + 'static,
10081{
10082    fn from(
10083        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
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_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
10095    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
10096        match err {
10097            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
10098        }
10099    }
10100}
10101impl<R>
10102    From<
10103        ::aws_smithy_runtime_api::client::result::SdkError<
10104            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
10105            R,
10106        >,
10107    > for Error
10108where
10109    R: Send + Sync + std::fmt::Debug + 'static,
10110{
10111    fn from(
10112        err: ::aws_smithy_runtime_api::client::result::SdkError<
10113            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
10114            R,
10115        >,
10116    ) -> Self {
10117        match err {
10118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10121                source: err.into(),
10122            }),
10123        }
10124    }
10125}
10126impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
10127    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
10128        match err {
10129            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
10130        }
10131    }
10132}
10133impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
10134    for Error
10135where
10136    R: Send + Sync + std::fmt::Debug + 'static,
10137{
10138    fn from(
10139        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
10140    ) -> Self {
10141        match err {
10142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10145                source: err.into(),
10146            }),
10147        }
10148    }
10149}
10150impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
10151    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
10152        match err {
10153            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10154        }
10155    }
10156}
10157impl<R>
10158    From<
10159        ::aws_smithy_runtime_api::client::result::SdkError<
10160            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
10161            R,
10162        >,
10163    > for Error
10164where
10165    R: Send + Sync + std::fmt::Debug + 'static,
10166{
10167    fn from(
10168        err: ::aws_smithy_runtime_api::client::result::SdkError<
10169            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
10170            R,
10171        >,
10172    ) -> Self {
10173        match err {
10174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10177                source: err.into(),
10178            }),
10179        }
10180    }
10181}
10182impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
10183    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
10184        match err {
10185            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
10186        }
10187    }
10188}
10189impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
10190    for Error
10191where
10192    R: Send + Sync + std::fmt::Debug + 'static,
10193{
10194    fn from(
10195        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
10196    ) -> Self {
10197        match err {
10198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10201                source: err.into(),
10202            }),
10203        }
10204    }
10205}
10206impl From<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
10207    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
10208        match err {
10209            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
10210        }
10211    }
10212}
10213impl<R>
10214    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
10215    for Error
10216where
10217    R: Send + Sync + std::fmt::Debug + 'static,
10218{
10219    fn from(
10220        err: ::aws_smithy_runtime_api::client::result::SdkError<
10221            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
10222            R,
10223        >,
10224    ) -> Self {
10225        match err {
10226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10229                source: err.into(),
10230            }),
10231        }
10232    }
10233}
10234impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
10235    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
10236        match err {
10237            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
10238        }
10239    }
10240}
10241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
10242    for Error
10243where
10244    R: Send + Sync + std::fmt::Debug + 'static,
10245{
10246    fn from(
10247        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
10248    ) -> Self {
10249        match err {
10250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10253                source: err.into(),
10254            }),
10255        }
10256    }
10257}
10258impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
10259    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
10260        match err {
10261            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
10262        }
10263    }
10264}
10265impl<R>
10266    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
10267    for Error
10268where
10269    R: Send + Sync + std::fmt::Debug + 'static,
10270{
10271    fn from(
10272        err: ::aws_smithy_runtime_api::client::result::SdkError<
10273            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
10274            R,
10275        >,
10276    ) -> Self {
10277        match err {
10278            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10279            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10280                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10281                source: err.into(),
10282            }),
10283        }
10284    }
10285}
10286impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
10287    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
10288        match err {
10289            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10290        }
10291    }
10292}
10293impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
10294    for Error
10295where
10296    R: Send + Sync + std::fmt::Debug + 'static,
10297{
10298    fn from(
10299        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
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_store_image_tasks::DescribeStoreImageTasksError> for Error {
10311    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
10312        match err {
10313            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
10314        }
10315    }
10316}
10317impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
10318where
10319    R: Send + Sync + std::fmt::Debug + 'static,
10320{
10321    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> Self {
10322        match err {
10323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10326                source: err.into(),
10327            }),
10328        }
10329    }
10330}
10331impl From<crate::operation::describe_subnets::DescribeSubnetsError> for Error {
10332    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
10333        match err {
10334            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
10335        }
10336    }
10337}
10338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
10339where
10340    R: Send + Sync + std::fmt::Debug + 'static,
10341{
10342    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
10343        match err {
10344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10347                source: err.into(),
10348            }),
10349        }
10350    }
10351}
10352impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
10353    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
10354        match err {
10355            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
10356        }
10357    }
10358}
10359impl<R>
10360    From<
10361        ::aws_smithy_runtime_api::client::result::SdkError<
10362            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
10363            R,
10364        >,
10365    > for Error
10366where
10367    R: Send + Sync + std::fmt::Debug + 'static,
10368{
10369    fn from(
10370        err: ::aws_smithy_runtime_api::client::result::SdkError<
10371            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
10372            R,
10373        >,
10374    ) -> Self {
10375        match err {
10376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10379                source: err.into(),
10380            }),
10381        }
10382    }
10383}
10384impl From<crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
10385    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
10386        match err {
10387            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
10388                Error::Unhandled(inner)
10389            }
10390        }
10391    }
10392}
10393impl<R>
10394    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
10395    for Error
10396where
10397    R: Send + Sync + std::fmt::Debug + 'static,
10398{
10399    fn from(
10400        err: ::aws_smithy_runtime_api::client::result::SdkError<
10401            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
10402            R,
10403        >,
10404    ) -> Self {
10405        match err {
10406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10409                source: err.into(),
10410            }),
10411        }
10412    }
10413}
10414impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
10415    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
10416        match err {
10417            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
10418        }
10419    }
10420}
10421impl<R>
10422    From<
10423        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
10424    > for Error
10425where
10426    R: Send + Sync + std::fmt::Debug + 'static,
10427{
10428    fn from(
10429        err: ::aws_smithy_runtime_api::client::result::SdkError<
10430            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
10431            R,
10432        >,
10433    ) -> Self {
10434        match err {
10435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10438                source: err.into(),
10439            }),
10440        }
10441    }
10442}
10443impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
10444    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
10445        match err {
10446            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
10447        }
10448    }
10449}
10450impl<R>
10451    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
10452    for Error
10453where
10454    R: Send + Sync + std::fmt::Debug + 'static,
10455{
10456    fn from(
10457        err: ::aws_smithy_runtime_api::client::result::SdkError<
10458            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
10459            R,
10460        >,
10461    ) -> Self {
10462        match err {
10463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10466                source: err.into(),
10467            }),
10468        }
10469    }
10470}
10471impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
10472    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
10473        match err {
10474            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
10475        }
10476    }
10477}
10478impl<R>
10479    From<
10480        ::aws_smithy_runtime_api::client::result::SdkError<
10481            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10482            R,
10483        >,
10484    > for Error
10485where
10486    R: Send + Sync + std::fmt::Debug + 'static,
10487{
10488    fn from(
10489        err: ::aws_smithy_runtime_api::client::result::SdkError<
10490            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10491            R,
10492        >,
10493    ) -> Self {
10494        match err {
10495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10498                source: err.into(),
10499            }),
10500        }
10501    }
10502}
10503impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
10504    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
10505        match err {
10506            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
10507                Error::Unhandled(inner)
10508            }
10509        }
10510    }
10511}
10512impl<R>
10513    From<
10514        ::aws_smithy_runtime_api::client::result::SdkError<
10515            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10516            R,
10517        >,
10518    > for Error
10519where
10520    R: Send + Sync + std::fmt::Debug + 'static,
10521{
10522    fn from(
10523        err: ::aws_smithy_runtime_api::client::result::SdkError<
10524            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10525            R,
10526        >,
10527    ) -> Self {
10528        match err {
10529            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10530            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10531                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10532                source: err.into(),
10533            }),
10534        }
10535    }
10536}
10537impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
10538    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
10539        match err {
10540            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
10541                Error::Unhandled(inner)
10542            }
10543        }
10544    }
10545}
10546impl<R>
10547    From<
10548        ::aws_smithy_runtime_api::client::result::SdkError<
10549            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10550            R,
10551        >,
10552    > for Error
10553where
10554    R: Send + Sync + std::fmt::Debug + 'static,
10555{
10556    fn from(
10557        err: ::aws_smithy_runtime_api::client::result::SdkError<
10558            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10559            R,
10560        >,
10561    ) -> Self {
10562        match err {
10563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10566                source: err.into(),
10567            }),
10568        }
10569    }
10570}
10571impl From<crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
10572    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
10573        match err {
10574            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
10575        }
10576    }
10577}
10578impl<R>
10579    From<
10580        ::aws_smithy_runtime_api::client::result::SdkError<
10581            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10582            R,
10583        >,
10584    > for Error
10585where
10586    R: Send + Sync + std::fmt::Debug + 'static,
10587{
10588    fn from(
10589        err: ::aws_smithy_runtime_api::client::result::SdkError<
10590            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10591            R,
10592        >,
10593    ) -> Self {
10594        match err {
10595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10598                source: err.into(),
10599            }),
10600        }
10601    }
10602}
10603impl From<crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
10604    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
10605        match err {
10606            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
10607                Error::Unhandled(inner)
10608            }
10609        }
10610    }
10611}
10612impl<R>
10613    From<
10614        ::aws_smithy_runtime_api::client::result::SdkError<
10615            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10616            R,
10617        >,
10618    > for Error
10619where
10620    R: Send + Sync + std::fmt::Debug + 'static,
10621{
10622    fn from(
10623        err: ::aws_smithy_runtime_api::client::result::SdkError<
10624            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10625            R,
10626        >,
10627    ) -> Self {
10628        match err {
10629            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10630            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10631                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10632                source: err.into(),
10633            }),
10634        }
10635    }
10636}
10637impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
10638    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
10639        match err {
10640            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
10641                Error::Unhandled(inner)
10642            }
10643        }
10644    }
10645}
10646impl<R>
10647    From<
10648        ::aws_smithy_runtime_api::client::result::SdkError<
10649            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10650            R,
10651        >,
10652    > for Error
10653where
10654    R: Send + Sync + std::fmt::Debug + 'static,
10655{
10656    fn from(
10657        err: ::aws_smithy_runtime_api::client::result::SdkError<
10658            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10659            R,
10660        >,
10661    ) -> Self {
10662        match err {
10663            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10664            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10665                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10666                source: err.into(),
10667            }),
10668        }
10669    }
10670}
10671impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
10672    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
10673        match err {
10674            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
10675                Error::Unhandled(inner)
10676            }
10677        }
10678    }
10679}
10680impl<R>
10681    From<
10682        ::aws_smithy_runtime_api::client::result::SdkError<
10683            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10684            R,
10685        >,
10686    > for Error
10687where
10688    R: Send + Sync + std::fmt::Debug + 'static,
10689{
10690    fn from(
10691        err: ::aws_smithy_runtime_api::client::result::SdkError<
10692            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10693            R,
10694        >,
10695    ) -> Self {
10696        match err {
10697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10700                source: err.into(),
10701            }),
10702        }
10703    }
10704}
10705impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
10706    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
10707        match err {
10708            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
10709                inner,
10710            ) => Error::Unhandled(inner),
10711        }
10712    }
10713}
10714impl<R>
10715    From<
10716        ::aws_smithy_runtime_api::client::result::SdkError<
10717            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10718            R,
10719        >,
10720    > for Error
10721where
10722    R: Send + Sync + std::fmt::Debug + 'static,
10723{
10724    fn from(
10725        err: ::aws_smithy_runtime_api::client::result::SdkError<
10726            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10727            R,
10728        >,
10729    ) -> Self {
10730        match err {
10731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10734                source: err.into(),
10735            }),
10736        }
10737    }
10738}
10739impl From<crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
10740    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
10741        match err {
10742            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
10743                Error::Unhandled(inner)
10744            }
10745        }
10746    }
10747}
10748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
10749    for Error
10750where
10751    R: Send + Sync + std::fmt::Debug + 'static,
10752{
10753    fn from(
10754        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
10755    ) -> Self {
10756        match err {
10757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10760                source: err.into(),
10761            }),
10762        }
10763    }
10764}
10765impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
10766    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
10767        match err {
10768            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10769        }
10770    }
10771}
10772impl<R>
10773    From<
10774        ::aws_smithy_runtime_api::client::result::SdkError<
10775            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10776            R,
10777        >,
10778    > for Error
10779where
10780    R: Send + Sync + std::fmt::Debug + 'static,
10781{
10782    fn from(
10783        err: ::aws_smithy_runtime_api::client::result::SdkError<
10784            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10785            R,
10786        >,
10787    ) -> Self {
10788        match err {
10789            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10790            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10791                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10792                source: err.into(),
10793            }),
10794        }
10795    }
10796}
10797impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
10798    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
10799        match err {
10800            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
10801                Error::Unhandled(inner)
10802            }
10803        }
10804    }
10805}
10806impl<R>
10807    From<
10808        ::aws_smithy_runtime_api::client::result::SdkError<
10809            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10810            R,
10811        >,
10812    > for Error
10813where
10814    R: Send + Sync + std::fmt::Debug + 'static,
10815{
10816    fn from(
10817        err: ::aws_smithy_runtime_api::client::result::SdkError<
10818            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10819            R,
10820        >,
10821    ) -> Self {
10822        match err {
10823            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10824            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10825                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10826                source: err.into(),
10827            }),
10828        }
10829    }
10830}
10831impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
10832    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
10833        match err {
10834            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
10835                Error::Unhandled(inner)
10836            }
10837        }
10838    }
10839}
10840impl<R>
10841    From<
10842        ::aws_smithy_runtime_api::client::result::SdkError<
10843            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10844            R,
10845        >,
10846    > for Error
10847where
10848    R: Send + Sync + std::fmt::Debug + 'static,
10849{
10850    fn from(
10851        err: ::aws_smithy_runtime_api::client::result::SdkError<
10852            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10853            R,
10854        >,
10855    ) -> Self {
10856        match err {
10857            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10858            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10859                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10860                source: err.into(),
10861            }),
10862        }
10863    }
10864}
10865impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
10866    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
10867        match err {
10868            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10869        }
10870    }
10871}
10872impl<R>
10873    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
10874    for Error
10875where
10876    R: Send + Sync + std::fmt::Debug + 'static,
10877{
10878    fn from(
10879        err: ::aws_smithy_runtime_api::client::result::SdkError<
10880            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
10881            R,
10882        >,
10883    ) -> Self {
10884        match err {
10885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10888                source: err.into(),
10889            }),
10890        }
10891    }
10892}
10893impl From<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
10894    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
10895        match err {
10896            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10897        }
10898    }
10899}
10900impl<R>
10901    From<
10902        ::aws_smithy_runtime_api::client::result::SdkError<
10903            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10904            R,
10905        >,
10906    > for Error
10907where
10908    R: Send + Sync + std::fmt::Debug + 'static,
10909{
10910    fn from(
10911        err: ::aws_smithy_runtime_api::client::result::SdkError<
10912            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10913            R,
10914        >,
10915    ) -> Self {
10916        match err {
10917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10920                source: err.into(),
10921            }),
10922        }
10923    }
10924}
10925impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
10926    for Error
10927{
10928    fn from(
10929        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10930    ) -> Self {
10931        match err {
10932            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
10933        }
10934    }
10935}
10936impl<R>
10937    From<
10938        ::aws_smithy_runtime_api::client::result::SdkError<
10939            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10940            R,
10941        >,
10942    > for Error
10943where
10944    R: Send + Sync + std::fmt::Debug + 'static,
10945{
10946    fn from(
10947        err: ::aws_smithy_runtime_api::client::result::SdkError<
10948            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10949            R,
10950        >,
10951    ) -> Self {
10952        match err {
10953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10956                source: err.into(),
10957            }),
10958        }
10959    }
10960}
10961impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
10962    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
10963        match err {
10964            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10965        }
10966    }
10967}
10968impl<R>
10969    From<
10970        ::aws_smithy_runtime_api::client::result::SdkError<
10971            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10972            R,
10973        >,
10974    > for Error
10975where
10976    R: Send + Sync + std::fmt::Debug + 'static,
10977{
10978    fn from(
10979        err: ::aws_smithy_runtime_api::client::result::SdkError<
10980            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10981            R,
10982        >,
10983    ) -> Self {
10984        match err {
10985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10988                source: err.into(),
10989            }),
10990        }
10991    }
10992}
10993impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
10994    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
10995        match err {
10996            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
10997                Error::Unhandled(inner)
10998            }
10999        }
11000    }
11001}
11002impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
11003    for Error
11004where
11005    R: Send + Sync + std::fmt::Debug + 'static,
11006{
11007    fn from(
11008        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
11009    ) -> Self {
11010        match err {
11011            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11012            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11013                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11014                source: err.into(),
11015            }),
11016        }
11017    }
11018}
11019impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
11020    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
11021        match err {
11022            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
11023        }
11024    }
11025}
11026impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
11027where
11028    R: Send + Sync + std::fmt::Debug + 'static,
11029{
11030    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
11031        match err {
11032            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11033            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11034                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11035                source: err.into(),
11036            }),
11037        }
11038    }
11039}
11040impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
11041    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
11042        match err {
11043            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
11044        }
11045    }
11046}
11047impl<R>
11048    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
11049    for Error
11050where
11051    R: Send + Sync + std::fmt::Debug + 'static,
11052{
11053    fn from(
11054        err: ::aws_smithy_runtime_api::client::result::SdkError<
11055            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
11056            R,
11057        >,
11058    ) -> Self {
11059        match err {
11060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11063                source: err.into(),
11064            }),
11065        }
11066    }
11067}
11068impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
11069    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
11070        match err {
11071            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
11072        }
11073    }
11074}
11075impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
11076where
11077    R: Send + Sync + std::fmt::Debug + 'static,
11078{
11079    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
11080        match err {
11081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11084                source: err.into(),
11085            }),
11086        }
11087    }
11088}
11089impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
11090    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
11091        match err {
11092            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
11093        }
11094    }
11095}
11096impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
11097where
11098    R: Send + Sync + std::fmt::Debug + 'static,
11099{
11100    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
11101        match err {
11102            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11103            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11104                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11105                source: err.into(),
11106            }),
11107        }
11108    }
11109}
11110impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
11111    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
11112        match err {
11113            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
11114        }
11115    }
11116}
11117impl<R>
11118    From<
11119        ::aws_smithy_runtime_api::client::result::SdkError<
11120            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
11121            R,
11122        >,
11123    > for Error
11124where
11125    R: Send + Sync + std::fmt::Debug + 'static,
11126{
11127    fn from(
11128        err: ::aws_smithy_runtime_api::client::result::SdkError<
11129            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
11130            R,
11131        >,
11132    ) -> Self {
11133        match err {
11134            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11135            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11136                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11137                source: err.into(),
11138            }),
11139        }
11140    }
11141}
11142impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
11143    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
11144        match err {
11145            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
11146                Error::Unhandled(inner)
11147            }
11148        }
11149    }
11150}
11151impl<R>
11152    From<
11153        ::aws_smithy_runtime_api::client::result::SdkError<
11154            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
11155            R,
11156        >,
11157    > for Error
11158where
11159    R: Send + Sync + std::fmt::Debug + 'static,
11160{
11161    fn from(
11162        err: ::aws_smithy_runtime_api::client::result::SdkError<
11163            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
11164            R,
11165        >,
11166    ) -> Self {
11167        match err {
11168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11171                source: err.into(),
11172            }),
11173        }
11174    }
11175}
11176impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
11177    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
11178        match err {
11179            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
11180                Error::Unhandled(inner)
11181            }
11182        }
11183    }
11184}
11185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
11186    for Error
11187where
11188    R: Send + Sync + std::fmt::Debug + 'static,
11189{
11190    fn from(
11191        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
11192    ) -> Self {
11193        match err {
11194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11197                source: err.into(),
11198            }),
11199        }
11200    }
11201}
11202impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
11203    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
11204        match err {
11205            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11206        }
11207    }
11208}
11209impl<R>
11210    From<
11211        ::aws_smithy_runtime_api::client::result::SdkError<
11212            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
11213            R,
11214        >,
11215    > for Error
11216where
11217    R: Send + Sync + std::fmt::Debug + 'static,
11218{
11219    fn from(
11220        err: ::aws_smithy_runtime_api::client::result::SdkError<
11221            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
11222            R,
11223        >,
11224    ) -> Self {
11225        match err {
11226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11229                source: err.into(),
11230            }),
11231        }
11232    }
11233}
11234impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
11235    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
11236        match err {
11237            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
11238                Error::Unhandled(inner)
11239            }
11240        }
11241    }
11242}
11243impl<R>
11244    From<
11245        ::aws_smithy_runtime_api::client::result::SdkError<
11246            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
11247            R,
11248        >,
11249    > for Error
11250where
11251    R: Send + Sync + std::fmt::Debug + 'static,
11252{
11253    fn from(
11254        err: ::aws_smithy_runtime_api::client::result::SdkError<
11255            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
11256            R,
11257        >,
11258    ) -> Self {
11259        match err {
11260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11263                source: err.into(),
11264            }),
11265        }
11266    }
11267}
11268impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
11269    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
11270        match err {
11271            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
11272        }
11273    }
11274}
11275impl<R>
11276    From<
11277        ::aws_smithy_runtime_api::client::result::SdkError<
11278            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
11279            R,
11280        >,
11281    > for Error
11282where
11283    R: Send + Sync + std::fmt::Debug + 'static,
11284{
11285    fn from(
11286        err: ::aws_smithy_runtime_api::client::result::SdkError<
11287            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
11288            R,
11289        >,
11290    ) -> Self {
11291        match err {
11292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11295                source: err.into(),
11296            }),
11297        }
11298    }
11299}
11300impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
11301    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
11302        match err {
11303            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
11304                Error::Unhandled(inner)
11305            }
11306        }
11307    }
11308}
11309impl<R>
11310    From<
11311        ::aws_smithy_runtime_api::client::result::SdkError<
11312            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
11313            R,
11314        >,
11315    > for Error
11316where
11317    R: Send + Sync + std::fmt::Debug + 'static,
11318{
11319    fn from(
11320        err: ::aws_smithy_runtime_api::client::result::SdkError<
11321            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
11322            R,
11323        >,
11324    ) -> Self {
11325        match err {
11326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11329                source: err.into(),
11330            }),
11331        }
11332    }
11333}
11334impl From<crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
11335    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
11336        match err {
11337            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11338        }
11339    }
11340}
11341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>> for Error
11342where
11343    R: Send + Sync + std::fmt::Debug + 'static,
11344{
11345    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>) -> Self {
11346        match err {
11347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11350                source: err.into(),
11351            }),
11352        }
11353    }
11354}
11355impl From<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError> for Error {
11356    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
11357        match err {
11358            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
11359        }
11360    }
11361}
11362impl<R>
11363    From<
11364        ::aws_smithy_runtime_api::client::result::SdkError<
11365            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11366            R,
11367        >,
11368    > for Error
11369where
11370    R: Send + Sync + std::fmt::Debug + 'static,
11371{
11372    fn from(
11373        err: ::aws_smithy_runtime_api::client::result::SdkError<
11374            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11375            R,
11376        >,
11377    ) -> Self {
11378        match err {
11379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11382                source: err.into(),
11383            }),
11384        }
11385    }
11386}
11387impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
11388    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
11389        match err {
11390            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
11391                Error::Unhandled(inner)
11392            }
11393        }
11394    }
11395}
11396impl<R>
11397    From<
11398        ::aws_smithy_runtime_api::client::result::SdkError<
11399            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11400            R,
11401        >,
11402    > for Error
11403where
11404    R: Send + Sync + std::fmt::Debug + 'static,
11405{
11406    fn from(
11407        err: ::aws_smithy_runtime_api::client::result::SdkError<
11408            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11409            R,
11410        >,
11411    ) -> Self {
11412        match err {
11413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11416                source: err.into(),
11417            }),
11418        }
11419    }
11420}
11421impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
11422    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
11423        match err {
11424            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
11425                Error::Unhandled(inner)
11426            }
11427        }
11428    }
11429}
11430impl<R>
11431    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
11432    for Error
11433where
11434    R: Send + Sync + std::fmt::Debug + 'static,
11435{
11436    fn from(
11437        err: ::aws_smithy_runtime_api::client::result::SdkError<
11438            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
11439            R,
11440        >,
11441    ) -> Self {
11442        match err {
11443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11446                source: err.into(),
11447            }),
11448        }
11449    }
11450}
11451impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
11452    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
11453        match err {
11454            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
11455        }
11456    }
11457}
11458impl<R>
11459    From<
11460        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
11461    > for Error
11462where
11463    R: Send + Sync + std::fmt::Debug + 'static,
11464{
11465    fn from(
11466        err: ::aws_smithy_runtime_api::client::result::SdkError<
11467            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
11468            R,
11469        >,
11470    ) -> Self {
11471        match err {
11472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11475                source: err.into(),
11476            }),
11477        }
11478    }
11479}
11480impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
11481    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
11482        match err {
11483            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11484        }
11485    }
11486}
11487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
11488where
11489    R: Send + Sync + std::fmt::Debug + 'static,
11490{
11491    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
11492        match err {
11493            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11494            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11495                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11496                source: err.into(),
11497            }),
11498        }
11499    }
11500}
11501impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
11502    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
11503        match err {
11504            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
11505        }
11506    }
11507}
11508impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError, R>>
11509    for Error
11510where
11511    R: Send + Sync + std::fmt::Debug + 'static,
11512{
11513    fn from(
11514        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError, R>,
11515    ) -> Self {
11516        match err {
11517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11520                source: err.into(),
11521            }),
11522        }
11523    }
11524}
11525impl From<crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError> for Error {
11526    fn from(err: crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError) -> Self {
11527        match err {
11528            crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError::Unhandled(inner) => Error::Unhandled(inner),
11529        }
11530    }
11531}
11532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
11533where
11534    R: Send + Sync + std::fmt::Debug + 'static,
11535{
11536    fn from(
11537        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
11538    ) -> Self {
11539        match err {
11540            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11541            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11542                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11543                source: err.into(),
11544            }),
11545        }
11546    }
11547}
11548impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
11549    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
11550        match err {
11551            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11552        }
11553    }
11554}
11555impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
11556where
11557    R: Send + Sync + std::fmt::Debug + 'static,
11558{
11559    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> Self {
11560        match err {
11561            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11562            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11563                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11564                source: err.into(),
11565            }),
11566        }
11567    }
11568}
11569impl From<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError> for Error {
11570    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
11571        match err {
11572            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
11573        }
11574    }
11575}
11576impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
11577where
11578    R: Send + Sync + std::fmt::Debug + 'static,
11579{
11580    fn from(
11581        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
11582    ) -> Self {
11583        match err {
11584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11587                source: err.into(),
11588            }),
11589        }
11590    }
11591}
11592impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
11593    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
11594        match err {
11595            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
11596        }
11597    }
11598}
11599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
11600where
11601    R: Send + Sync + std::fmt::Debug + 'static,
11602{
11603    fn from(
11604        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
11605    ) -> Self {
11606        match err {
11607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11610                source: err.into(),
11611            }),
11612        }
11613    }
11614}
11615impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
11616    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
11617        match err {
11618            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11619        }
11620    }
11621}
11622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
11623where
11624    R: Send + Sync + std::fmt::Debug + 'static,
11625{
11626    fn from(
11627        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
11628    ) -> Self {
11629        match err {
11630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11633                source: err.into(),
11634            }),
11635        }
11636    }
11637}
11638impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
11639    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
11640        match err {
11641            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
11642        }
11643    }
11644}
11645impl<R>
11646    From<
11647        ::aws_smithy_runtime_api::client::result::SdkError<
11648            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11649            R,
11650        >,
11651    > for Error
11652where
11653    R: Send + Sync + std::fmt::Debug + 'static,
11654{
11655    fn from(
11656        err: ::aws_smithy_runtime_api::client::result::SdkError<
11657            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11658            R,
11659        >,
11660    ) -> Self {
11661        match err {
11662            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11663            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11664                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11665                source: err.into(),
11666            }),
11667        }
11668    }
11669}
11670impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
11671    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
11672        match err {
11673            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
11674                Error::Unhandled(inner)
11675            }
11676        }
11677    }
11678}
11679impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
11680where
11681    R: Send + Sync + std::fmt::Debug + 'static,
11682{
11683    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
11684        match err {
11685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11688                source: err.into(),
11689            }),
11690        }
11691    }
11692}
11693impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
11694    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
11695        match err {
11696            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
11697        }
11698    }
11699}
11700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
11701where
11702    R: Send + Sync + std::fmt::Debug + 'static,
11703{
11704    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
11705        match err {
11706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11709                source: err.into(),
11710            }),
11711        }
11712    }
11713}
11714impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
11715    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
11716        match err {
11717            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11718        }
11719    }
11720}
11721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
11722where
11723    R: Send + Sync + std::fmt::Debug + 'static,
11724{
11725    fn from(
11726        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
11727    ) -> Self {
11728        match err {
11729            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11730            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11731                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11732                source: err.into(),
11733            }),
11734        }
11735    }
11736}
11737impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
11738    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
11739        match err {
11740            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
11741        }
11742    }
11743}
11744impl<R>
11745    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
11746    for Error
11747where
11748    R: Send + Sync + std::fmt::Debug + 'static,
11749{
11750    fn from(
11751        err: ::aws_smithy_runtime_api::client::result::SdkError<
11752            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
11753            R,
11754        >,
11755    ) -> Self {
11756        match err {
11757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11760                source: err.into(),
11761            }),
11762        }
11763    }
11764}
11765impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
11766    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
11767        match err {
11768            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
11769        }
11770    }
11771}
11772impl<R>
11773    From<
11774        ::aws_smithy_runtime_api::client::result::SdkError<
11775            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11776            R,
11777        >,
11778    > for Error
11779where
11780    R: Send + Sync + std::fmt::Debug + 'static,
11781{
11782    fn from(
11783        err: ::aws_smithy_runtime_api::client::result::SdkError<
11784            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11785            R,
11786        >,
11787    ) -> Self {
11788        match err {
11789            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11790            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11791                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11792                source: err.into(),
11793            }),
11794        }
11795    }
11796}
11797impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
11798    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
11799        match err {
11800            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
11801                inner,
11802            ) => Error::Unhandled(inner),
11803        }
11804    }
11805}
11806impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>> for Error
11807where
11808    R: Send + Sync + std::fmt::Debug + 'static,
11809{
11810    fn from(
11811        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>,
11812    ) -> Self {
11813        match err {
11814            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11815            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11816                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11817                source: err.into(),
11818            }),
11819        }
11820    }
11821}
11822impl From<crate::operation::disable_capacity_manager::DisableCapacityManagerError> for Error {
11823    fn from(err: crate::operation::disable_capacity_manager::DisableCapacityManagerError) -> Self {
11824        match err {
11825            crate::operation::disable_capacity_manager::DisableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
11826        }
11827    }
11828}
11829impl<R>
11830    From<
11831        ::aws_smithy_runtime_api::client::result::SdkError<
11832            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11833            R,
11834        >,
11835    > for Error
11836where
11837    R: Send + Sync + std::fmt::Debug + 'static,
11838{
11839    fn from(
11840        err: ::aws_smithy_runtime_api::client::result::SdkError<
11841            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11842            R,
11843        >,
11844    ) -> Self {
11845        match err {
11846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11849                source: err.into(),
11850            }),
11851        }
11852    }
11853}
11854impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
11855    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
11856        match err {
11857            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
11858        }
11859    }
11860}
11861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
11862where
11863    R: Send + Sync + std::fmt::Debug + 'static,
11864{
11865    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
11866        match err {
11867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11870                source: err.into(),
11871            }),
11872        }
11873    }
11874}
11875impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
11876    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
11877        match err {
11878            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
11879        }
11880    }
11881}
11882impl<R>
11883    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
11884    for Error
11885where
11886    R: Send + Sync + std::fmt::Debug + 'static,
11887{
11888    fn from(
11889        err: ::aws_smithy_runtime_api::client::result::SdkError<
11890            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
11891            R,
11892        >,
11893    ) -> Self {
11894        match err {
11895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11898                source: err.into(),
11899            }),
11900        }
11901    }
11902}
11903impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
11904    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
11905        match err {
11906            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
11907        }
11908    }
11909}
11910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
11911where
11912    R: Send + Sync + std::fmt::Debug + 'static,
11913{
11914    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
11915        match err {
11916            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11917            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11918                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11919                source: err.into(),
11920            }),
11921        }
11922    }
11923}
11924impl From<crate::operation::disable_image::DisableImageError> for Error {
11925    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
11926        match err {
11927            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
11928        }
11929    }
11930}
11931impl<R>
11932    From<
11933        ::aws_smithy_runtime_api::client::result::SdkError<
11934            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11935            R,
11936        >,
11937    > for Error
11938where
11939    R: Send + Sync + std::fmt::Debug + 'static,
11940{
11941    fn from(
11942        err: ::aws_smithy_runtime_api::client::result::SdkError<
11943            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11944            R,
11945        >,
11946    ) -> Self {
11947        match err {
11948            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11949            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11950                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11951                source: err.into(),
11952            }),
11953        }
11954    }
11955}
11956impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
11957    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
11958        match err {
11959            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
11960        }
11961    }
11962}
11963impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
11964    for Error
11965where
11966    R: Send + Sync + std::fmt::Debug + 'static,
11967{
11968    fn from(
11969        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
11970    ) -> Self {
11971        match err {
11972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11975                source: err.into(),
11976            }),
11977        }
11978    }
11979}
11980impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
11981    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
11982        match err {
11983            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
11984        }
11985    }
11986}
11987impl<R>
11988    From<
11989        ::aws_smithy_runtime_api::client::result::SdkError<
11990            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11991            R,
11992        >,
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_image_deregistration_protection::DisableImageDeregistrationProtectionError,
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_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
12013    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
12014        match err {
12015            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
12016                Error::Unhandled(inner)
12017            }
12018        }
12019    }
12020}
12021impl<R>
12022    From<
12023        ::aws_smithy_runtime_api::client::result::SdkError<
12024            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError,
12025            R,
12026        >,
12027    > for Error
12028where
12029    R: Send + Sync + std::fmt::Debug + 'static,
12030{
12031    fn from(
12032        err: ::aws_smithy_runtime_api::client::result::SdkError<
12033            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError,
12034            R,
12035        >,
12036    ) -> Self {
12037        match err {
12038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12041                source: err.into(),
12042            }),
12043        }
12044    }
12045}
12046impl From<crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError> for Error {
12047    fn from(err: crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError) -> Self {
12048        match err {
12049            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError::Unhandled(inner) => {
12050                Error::Unhandled(inner)
12051            }
12052        }
12053    }
12054}
12055impl<R>
12056    From<
12057        ::aws_smithy_runtime_api::client::result::SdkError<
12058            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
12059            R,
12060        >,
12061    > for Error
12062where
12063    R: Send + Sync + std::fmt::Debug + 'static,
12064{
12065    fn from(
12066        err: ::aws_smithy_runtime_api::client::result::SdkError<
12067            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
12068            R,
12069        >,
12070    ) -> Self {
12071        match err {
12072            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12073            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12074                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12075                source: err.into(),
12076            }),
12077        }
12078    }
12079}
12080impl From<crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
12081    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
12082        match err {
12083            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
12084                Error::Unhandled(inner)
12085            }
12086        }
12087    }
12088}
12089impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_ipam_policy::DisableIpamPolicyError, R>> for Error
12090where
12091    R: Send + Sync + std::fmt::Debug + 'static,
12092{
12093    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_ipam_policy::DisableIpamPolicyError, R>) -> Self {
12094        match err {
12095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12098                source: err.into(),
12099            }),
12100        }
12101    }
12102}
12103impl From<crate::operation::disable_ipam_policy::DisableIpamPolicyError> for Error {
12104    fn from(err: crate::operation::disable_ipam_policy::DisableIpamPolicyError) -> Self {
12105        match err {
12106            crate::operation::disable_ipam_policy::DisableIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
12107        }
12108    }
12109}
12110impl<R>
12111    From<
12112        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError, R>,
12113    > for Error
12114where
12115    R: Send + Sync + std::fmt::Debug + 'static,
12116{
12117    fn from(
12118        err: ::aws_smithy_runtime_api::client::result::SdkError<
12119            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError,
12120            R,
12121        >,
12122    ) -> Self {
12123        match err {
12124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12127                source: err.into(),
12128            }),
12129        }
12130    }
12131}
12132impl From<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError> for Error {
12133    fn from(err: crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError) -> Self {
12134        match err {
12135            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
12136        }
12137    }
12138}
12139impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
12140    for Error
12141where
12142    R: Send + Sync + std::fmt::Debug + 'static,
12143{
12144    fn from(
12145        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
12146    ) -> Self {
12147        match err {
12148            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12149            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12150                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12151                source: err.into(),
12152            }),
12153        }
12154    }
12155}
12156impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
12157    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
12158        match err {
12159            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
12160        }
12161    }
12162}
12163impl<R>
12164    From<
12165        ::aws_smithy_runtime_api::client::result::SdkError<
12166            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
12167            R,
12168        >,
12169    > for Error
12170where
12171    R: Send + Sync + std::fmt::Debug + 'static,
12172{
12173    fn from(
12174        err: ::aws_smithy_runtime_api::client::result::SdkError<
12175            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
12176            R,
12177        >,
12178    ) -> Self {
12179        match err {
12180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12183                source: err.into(),
12184            }),
12185        }
12186    }
12187}
12188impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
12189    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
12190        match err {
12191            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
12192                Error::Unhandled(inner)
12193            }
12194        }
12195    }
12196}
12197impl<R>
12198    From<
12199        ::aws_smithy_runtime_api::client::result::SdkError<
12200            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
12201            R,
12202        >,
12203    > for Error
12204where
12205    R: Send + Sync + std::fmt::Debug + 'static,
12206{
12207    fn from(
12208        err: ::aws_smithy_runtime_api::client::result::SdkError<
12209            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
12210            R,
12211        >,
12212    ) -> Self {
12213        match err {
12214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12217                source: err.into(),
12218            }),
12219        }
12220    }
12221}
12222impl From<crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
12223    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
12224        match err {
12225            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
12226                Error::Unhandled(inner)
12227            }
12228        }
12229    }
12230}
12231impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
12232    for Error
12233where
12234    R: Send + Sync + std::fmt::Debug + 'static,
12235{
12236    fn from(
12237        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
12238    ) -> Self {
12239        match err {
12240            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12241            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12242                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12243                source: err.into(),
12244            }),
12245        }
12246    }
12247}
12248impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
12249    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
12250        match err {
12251            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
12252        }
12253    }
12254}
12255impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
12256where
12257    R: Send + Sync + std::fmt::Debug + 'static,
12258{
12259    fn from(
12260        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
12261    ) -> Self {
12262        match err {
12263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12266                source: err.into(),
12267            }),
12268        }
12269    }
12270}
12271impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
12272    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
12273        match err {
12274            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
12275        }
12276    }
12277}
12278impl<R>
12279    From<
12280        ::aws_smithy_runtime_api::client::result::SdkError<
12281            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
12282            R,
12283        >,
12284    > for Error
12285where
12286    R: Send + Sync + std::fmt::Debug + 'static,
12287{
12288    fn from(
12289        err: ::aws_smithy_runtime_api::client::result::SdkError<
12290            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
12291            R,
12292        >,
12293    ) -> Self {
12294        match err {
12295            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12296            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12297                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12298                source: err.into(),
12299            }),
12300        }
12301    }
12302}
12303impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
12304    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
12305        match err {
12306            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
12307        }
12308    }
12309}
12310impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
12311where
12312    R: Send + Sync + std::fmt::Debug + 'static,
12313{
12314    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
12315        match err {
12316            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12317            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12318                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12319                source: err.into(),
12320            }),
12321        }
12322    }
12323}
12324impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
12325    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
12326        match err {
12327            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
12328        }
12329    }
12330}
12331impl<R>
12332    From<
12333        ::aws_smithy_runtime_api::client::result::SdkError<
12334            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
12335            R,
12336        >,
12337    > for Error
12338where
12339    R: Send + Sync + std::fmt::Debug + 'static,
12340{
12341    fn from(
12342        err: ::aws_smithy_runtime_api::client::result::SdkError<
12343            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
12344            R,
12345        >,
12346    ) -> Self {
12347        match err {
12348            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12349            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12350                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12351                source: err.into(),
12352            }),
12353        }
12354    }
12355}
12356impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
12357    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
12358        match err {
12359            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
12360                Error::Unhandled(inner)
12361            }
12362        }
12363    }
12364}
12365impl<R>
12366    From<
12367        ::aws_smithy_runtime_api::client::result::SdkError<
12368            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
12369            R,
12370        >,
12371    > for Error
12372where
12373    R: Send + Sync + std::fmt::Debug + 'static,
12374{
12375    fn from(
12376        err: ::aws_smithy_runtime_api::client::result::SdkError<
12377            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
12378            R,
12379        >,
12380    ) -> Self {
12381        match err {
12382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12385                source: err.into(),
12386            }),
12387        }
12388    }
12389}
12390impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
12391    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
12392        match err {
12393            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
12394                Error::Unhandled(inner)
12395            }
12396        }
12397    }
12398}
12399impl<R>
12400    From<
12401        ::aws_smithy_runtime_api::client::result::SdkError<
12402            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
12403            R,
12404        >,
12405    > for Error
12406where
12407    R: Send + Sync + std::fmt::Debug + 'static,
12408{
12409    fn from(
12410        err: ::aws_smithy_runtime_api::client::result::SdkError<
12411            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
12412            R,
12413        >,
12414    ) -> Self {
12415        match err {
12416            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12417            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12418                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12419                source: err.into(),
12420            }),
12421        }
12422    }
12423}
12424impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
12425    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
12426        match err {
12427            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
12428                Error::Unhandled(inner)
12429            }
12430        }
12431    }
12432}
12433impl<R>
12434    From<
12435        ::aws_smithy_runtime_api::client::result::SdkError<
12436            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
12437            R,
12438        >,
12439    > for Error
12440where
12441    R: Send + Sync + std::fmt::Debug + 'static,
12442{
12443    fn from(
12444        err: ::aws_smithy_runtime_api::client::result::SdkError<
12445            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
12446            R,
12447        >,
12448    ) -> Self {
12449        match err {
12450            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12451            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12452                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12453                source: err.into(),
12454            }),
12455        }
12456    }
12457}
12458impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
12459    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
12460        match err {
12461            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
12462        }
12463    }
12464}
12465impl<R>
12466    From<
12467        ::aws_smithy_runtime_api::client::result::SdkError<
12468            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12469            R,
12470        >,
12471    > for Error
12472where
12473    R: Send + Sync + std::fmt::Debug + 'static,
12474{
12475    fn from(
12476        err: ::aws_smithy_runtime_api::client::result::SdkError<
12477            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12478            R,
12479        >,
12480    ) -> Self {
12481        match err {
12482            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12483            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12484                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12485                source: err.into(),
12486            }),
12487        }
12488    }
12489}
12490impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
12491    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
12492        match err {
12493            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
12494        }
12495    }
12496}
12497impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> for Error
12498where
12499    R: Send + Sync + std::fmt::Debug + 'static,
12500{
12501    fn from(
12502        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>,
12503    ) -> Self {
12504        match err {
12505            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12506            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12507                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12508                source: err.into(),
12509            }),
12510        }
12511    }
12512}
12513impl From<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
12514    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
12515        match err {
12516            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
12517        }
12518    }
12519}
12520impl<R>
12521    From<
12522        ::aws_smithy_runtime_api::client::result::SdkError<
12523            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
12524            R,
12525        >,
12526    > for Error
12527where
12528    R: Send + Sync + std::fmt::Debug + 'static,
12529{
12530    fn from(
12531        err: ::aws_smithy_runtime_api::client::result::SdkError<
12532            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
12533            R,
12534        >,
12535    ) -> Self {
12536        match err {
12537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12540                source: err.into(),
12541            }),
12542        }
12543    }
12544}
12545impl From<crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
12546    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
12547        match err {
12548            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
12549                Error::Unhandled(inner)
12550            }
12551        }
12552    }
12553}
12554impl<R>
12555    From<
12556        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
12557    > for Error
12558where
12559    R: Send + Sync + std::fmt::Debug + 'static,
12560{
12561    fn from(
12562        err: ::aws_smithy_runtime_api::client::result::SdkError<
12563            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
12564            R,
12565        >,
12566    ) -> Self {
12567        match err {
12568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12569            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12570                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12571                source: err.into(),
12572            }),
12573        }
12574    }
12575}
12576impl From<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
12577    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
12578        match err {
12579            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
12580        }
12581    }
12582}
12583impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>>
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<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>,
12590    ) -> Self {
12591        match err {
12592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12593            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12594                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12595                source: err.into(),
12596            }),
12597        }
12598    }
12599}
12600impl From<crate::operation::disassociate_route_server::DisassociateRouteServerError> for Error {
12601    fn from(err: crate::operation::disassociate_route_server::DisassociateRouteServerError) -> Self {
12602        match err {
12603            crate::operation::disassociate_route_server::DisassociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
12604        }
12605    }
12606}
12607impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> for Error
12608where
12609    R: Send + Sync + std::fmt::Debug + 'static,
12610{
12611    fn from(
12612        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>,
12613    ) -> Self {
12614        match err {
12615            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12616            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12617                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12618                source: err.into(),
12619            }),
12620        }
12621    }
12622}
12623impl From<crate::operation::disassociate_route_table::DisassociateRouteTableError> for Error {
12624    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
12625        match err {
12626            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
12627        }
12628    }
12629}
12630impl<R>
12631    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
12632    for Error
12633where
12634    R: Send + Sync + std::fmt::Debug + 'static,
12635{
12636    fn from(
12637        err: ::aws_smithy_runtime_api::client::result::SdkError<
12638            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
12639            R,
12640        >,
12641    ) -> Self {
12642        match err {
12643            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12644            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12645                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12646                source: err.into(),
12647            }),
12648        }
12649    }
12650}
12651impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
12652    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
12653        match err {
12654            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
12655        }
12656    }
12657}
12658impl<R>
12659    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
12660    for Error
12661where
12662    R: Send + Sync + std::fmt::Debug + 'static,
12663{
12664    fn from(
12665        err: ::aws_smithy_runtime_api::client::result::SdkError<
12666            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
12667            R,
12668        >,
12669    ) -> Self {
12670        match err {
12671            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12672            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12673                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12674                source: err.into(),
12675            }),
12676        }
12677    }
12678}
12679impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
12680    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
12681        match err {
12682            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12683        }
12684    }
12685}
12686impl<R>
12687    From<
12688        ::aws_smithy_runtime_api::client::result::SdkError<
12689            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12690            R,
12691        >,
12692    > for Error
12693where
12694    R: Send + Sync + std::fmt::Debug + 'static,
12695{
12696    fn from(
12697        err: ::aws_smithy_runtime_api::client::result::SdkError<
12698            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12699            R,
12700        >,
12701    ) -> Self {
12702        match err {
12703            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12704            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12705                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12706                source: err.into(),
12707            }),
12708        }
12709    }
12710}
12711impl From<crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
12712    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
12713        match err {
12714            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
12715                Error::Unhandled(inner)
12716            }
12717        }
12718    }
12719}
12720impl<R>
12721    From<
12722        ::aws_smithy_runtime_api::client::result::SdkError<
12723            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
12724            R,
12725        >,
12726    > for Error
12727where
12728    R: Send + Sync + std::fmt::Debug + 'static,
12729{
12730    fn from(
12731        err: ::aws_smithy_runtime_api::client::result::SdkError<
12732            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
12733            R,
12734        >,
12735    ) -> Self {
12736        match err {
12737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12740                source: err.into(),
12741            }),
12742        }
12743    }
12744}
12745impl From<crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
12746    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
12747        match err {
12748            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
12749                Error::Unhandled(inner)
12750            }
12751        }
12752    }
12753}
12754impl<R>
12755    From<
12756        ::aws_smithy_runtime_api::client::result::SdkError<
12757            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12758            R,
12759        >,
12760    > for Error
12761where
12762    R: Send + Sync + std::fmt::Debug + 'static,
12763{
12764    fn from(
12765        err: ::aws_smithy_runtime_api::client::result::SdkError<
12766            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12767            R,
12768        >,
12769    ) -> Self {
12770        match err {
12771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12774                source: err.into(),
12775            }),
12776        }
12777    }
12778}
12779impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
12780    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
12781        match err {
12782            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
12783                Error::Unhandled(inner)
12784            }
12785        }
12786    }
12787}
12788impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
12789    for Error
12790where
12791    R: Send + Sync + std::fmt::Debug + 'static,
12792{
12793    fn from(
12794        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
12795    ) -> Self {
12796        match err {
12797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12800                source: err.into(),
12801            }),
12802        }
12803    }
12804}
12805impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
12806    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
12807        match err {
12808            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
12809        }
12810    }
12811}
12812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>>
12813    for Error
12814where
12815    R: Send + Sync + std::fmt::Debug + 'static,
12816{
12817    fn from(
12818        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>,
12819    ) -> Self {
12820        match err {
12821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12824                source: err.into(),
12825            }),
12826        }
12827    }
12828}
12829impl From<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
12830    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
12831        match err {
12832            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12833        }
12834    }
12835}
12836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
12837where
12838    R: Send + Sync + std::fmt::Debug + 'static,
12839{
12840    fn from(
12841        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
12842    ) -> Self {
12843        match err {
12844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12847                source: err.into(),
12848            }),
12849        }
12850    }
12851}
12852impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
12853    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
12854        match err {
12855            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
12856        }
12857    }
12858}
12859impl<R>
12860    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
12861    for Error
12862where
12863    R: Send + Sync + std::fmt::Debug + 'static,
12864{
12865    fn from(
12866        err: ::aws_smithy_runtime_api::client::result::SdkError<
12867            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
12868            R,
12869        >,
12870    ) -> Self {
12871        match err {
12872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12875                source: err.into(),
12876            }),
12877        }
12878    }
12879}
12880impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
12881    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
12882        match err {
12883            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12884        }
12885    }
12886}
12887impl<R>
12888    From<
12889        ::aws_smithy_runtime_api::client::result::SdkError<
12890            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12891            R,
12892        >,
12893    > for Error
12894where
12895    R: Send + Sync + std::fmt::Debug + 'static,
12896{
12897    fn from(
12898        err: ::aws_smithy_runtime_api::client::result::SdkError<
12899            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12900            R,
12901        >,
12902    ) -> Self {
12903        match err {
12904            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12905            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12906                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12907                source: err.into(),
12908            }),
12909        }
12910    }
12911}
12912impl From<crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
12913    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
12914        match err {
12915            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
12916                inner,
12917            ) => Error::Unhandled(inner),
12918        }
12919    }
12920}
12921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>> for Error
12922where
12923    R: Send + Sync + std::fmt::Debug + 'static,
12924{
12925    fn from(
12926        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>,
12927    ) -> Self {
12928        match err {
12929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12932                source: err.into(),
12933            }),
12934        }
12935    }
12936}
12937impl From<crate::operation::enable_capacity_manager::EnableCapacityManagerError> for Error {
12938    fn from(err: crate::operation::enable_capacity_manager::EnableCapacityManagerError) -> Self {
12939        match err {
12940            crate::operation::enable_capacity_manager::EnableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
12941        }
12942    }
12943}
12944impl<R>
12945    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
12946    for Error
12947where
12948    R: Send + Sync + std::fmt::Debug + 'static,
12949{
12950    fn from(
12951        err: ::aws_smithy_runtime_api::client::result::SdkError<
12952            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
12953            R,
12954        >,
12955    ) -> Self {
12956        match err {
12957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12960                source: err.into(),
12961            }),
12962        }
12963    }
12964}
12965impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
12966    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
12967        match err {
12968            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12969        }
12970    }
12971}
12972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
12973where
12974    R: Send + Sync + std::fmt::Debug + 'static,
12975{
12976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
12977        match err {
12978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12981                source: err.into(),
12982            }),
12983        }
12984    }
12985}
12986impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
12987    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
12988        match err {
12989            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
12990        }
12991    }
12992}
12993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
12994    for Error
12995where
12996    R: Send + Sync + std::fmt::Debug + 'static,
12997{
12998    fn from(
12999        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>,
13000    ) -> Self {
13001        match err {
13002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13005                source: err.into(),
13006            }),
13007        }
13008    }
13009}
13010impl From<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
13011    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
13012        match err {
13013            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
13014        }
13015    }
13016}
13017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
13018where
13019    R: Send + Sync + std::fmt::Debug + 'static,
13020{
13021    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
13022        match err {
13023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13026                source: err.into(),
13027            }),
13028        }
13029    }
13030}
13031impl From<crate::operation::enable_image::EnableImageError> for Error {
13032    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
13033        match err {
13034            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
13035        }
13036    }
13037}
13038impl<R>
13039    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
13040    for Error
13041where
13042    R: Send + Sync + std::fmt::Debug + 'static,
13043{
13044    fn from(
13045        err: ::aws_smithy_runtime_api::client::result::SdkError<
13046            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
13047            R,
13048        >,
13049    ) -> Self {
13050        match err {
13051            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13052            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13053                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13054                source: err.into(),
13055            }),
13056        }
13057    }
13058}
13059impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
13060    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
13061        match err {
13062            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
13063        }
13064    }
13065}
13066impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> for Error
13067where
13068    R: Send + Sync + std::fmt::Debug + 'static,
13069{
13070    fn from(
13071        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>,
13072    ) -> Self {
13073        match err {
13074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13077                source: err.into(),
13078            }),
13079        }
13080    }
13081}
13082impl From<crate::operation::enable_image_deprecation::EnableImageDeprecationError> for Error {
13083    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
13084        match err {
13085            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
13086        }
13087    }
13088}
13089impl<R>
13090    From<
13091        ::aws_smithy_runtime_api::client::result::SdkError<
13092            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
13093            R,
13094        >,
13095    > for Error
13096where
13097    R: Send + Sync + std::fmt::Debug + 'static,
13098{
13099    fn from(
13100        err: ::aws_smithy_runtime_api::client::result::SdkError<
13101            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
13102            R,
13103        >,
13104    ) -> Self {
13105        match err {
13106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13109                source: err.into(),
13110            }),
13111        }
13112    }
13113}
13114impl From<crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
13115    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
13116        match err {
13117            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::Unhandled(inner) => {
13118                Error::Unhandled(inner)
13119            }
13120        }
13121    }
13122}
13123impl<R>
13124    From<
13125        ::aws_smithy_runtime_api::client::result::SdkError<
13126            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError,
13127            R,
13128        >,
13129    > for Error
13130where
13131    R: Send + Sync + std::fmt::Debug + 'static,
13132{
13133    fn from(
13134        err: ::aws_smithy_runtime_api::client::result::SdkError<
13135            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError,
13136            R,
13137        >,
13138    ) -> Self {
13139        match err {
13140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13143                source: err.into(),
13144            }),
13145        }
13146    }
13147}
13148impl From<crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError> for Error {
13149    fn from(err: crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError) -> Self {
13150        match err {
13151            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError::Unhandled(inner) => {
13152                Error::Unhandled(inner)
13153            }
13154        }
13155    }
13156}
13157impl<R>
13158    From<
13159        ::aws_smithy_runtime_api::client::result::SdkError<
13160            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
13161            R,
13162        >,
13163    > for Error
13164where
13165    R: Send + Sync + std::fmt::Debug + 'static,
13166{
13167    fn from(
13168        err: ::aws_smithy_runtime_api::client::result::SdkError<
13169            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
13170            R,
13171        >,
13172    ) -> Self {
13173        match err {
13174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13177                source: err.into(),
13178            }),
13179        }
13180    }
13181}
13182impl From<crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
13183    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
13184        match err {
13185            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
13186                Error::Unhandled(inner)
13187            }
13188        }
13189    }
13190}
13191impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ipam_policy::EnableIpamPolicyError, R>> for Error
13192where
13193    R: Send + Sync + std::fmt::Debug + 'static,
13194{
13195    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ipam_policy::EnableIpamPolicyError, R>) -> Self {
13196        match err {
13197            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13198            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13199                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13200                source: err.into(),
13201            }),
13202        }
13203    }
13204}
13205impl From<crate::operation::enable_ipam_policy::EnableIpamPolicyError> for Error {
13206    fn from(err: crate::operation::enable_ipam_policy::EnableIpamPolicyError) -> Self {
13207        match err {
13208            crate::operation::enable_ipam_policy::EnableIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
13209        }
13210    }
13211}
13212impl<R>
13213    From<
13214        ::aws_smithy_runtime_api::client::result::SdkError<
13215            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
13216            R,
13217        >,
13218    > for Error
13219where
13220    R: Send + Sync + std::fmt::Debug + 'static,
13221{
13222    fn from(
13223        err: ::aws_smithy_runtime_api::client::result::SdkError<
13224            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
13225            R,
13226        >,
13227    ) -> Self {
13228        match err {
13229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13232                source: err.into(),
13233            }),
13234        }
13235    }
13236}
13237impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
13238    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
13239        match err {
13240            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
13241                inner,
13242            ) => Error::Unhandled(inner),
13243        }
13244    }
13245}
13246impl<R>
13247    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError, R>>
13248    for Error
13249where
13250    R: Send + Sync + std::fmt::Debug + 'static,
13251{
13252    fn from(
13253        err: ::aws_smithy_runtime_api::client::result::SdkError<
13254            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError,
13255            R,
13256        >,
13257    ) -> Self {
13258        match err {
13259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13262                source: err.into(),
13263            }),
13264        }
13265    }
13266}
13267impl From<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError> for Error {
13268    fn from(err: crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError) -> Self {
13269        match err {
13270            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
13271        }
13272    }
13273}
13274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
13275    for Error
13276where
13277    R: Send + Sync + std::fmt::Debug + 'static,
13278{
13279    fn from(
13280        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
13281    ) -> Self {
13282        match err {
13283            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13284            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13285                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13286                source: err.into(),
13287            }),
13288        }
13289    }
13290}
13291impl From<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
13292    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
13293        match err {
13294            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
13295        }
13296    }
13297}
13298impl<R>
13299    From<
13300        ::aws_smithy_runtime_api::client::result::SdkError<
13301            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
13302            R,
13303        >,
13304    > for Error
13305where
13306    R: Send + Sync + std::fmt::Debug + 'static,
13307{
13308    fn from(
13309        err: ::aws_smithy_runtime_api::client::result::SdkError<
13310            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
13311            R,
13312        >,
13313    ) -> Self {
13314        match err {
13315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13318                source: err.into(),
13319            }),
13320        }
13321    }
13322}
13323impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
13324    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
13325        match err {
13326            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
13327        }
13328    }
13329}
13330impl<R>
13331    From<
13332        ::aws_smithy_runtime_api::client::result::SdkError<
13333            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
13334            R,
13335        >,
13336    > for Error
13337where
13338    R: Send + Sync + std::fmt::Debug + 'static,
13339{
13340    fn from(
13341        err: ::aws_smithy_runtime_api::client::result::SdkError<
13342            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
13343            R,
13344        >,
13345    ) -> Self {
13346        match err {
13347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13350                source: err.into(),
13351            }),
13352        }
13353    }
13354}
13355impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
13356    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
13357        match err {
13358            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
13359                Error::Unhandled(inner)
13360            }
13361        }
13362    }
13363}
13364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
13365    for Error
13366where
13367    R: Send + Sync + std::fmt::Debug + 'static,
13368{
13369    fn from(
13370        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
13371    ) -> Self {
13372        match err {
13373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13376                source: err.into(),
13377            }),
13378        }
13379    }
13380}
13381impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
13382    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
13383        match err {
13384            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
13385        }
13386    }
13387}
13388impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
13389where
13390    R: Send + Sync + std::fmt::Debug + 'static,
13391{
13392    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
13393        match err {
13394            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13395            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13396                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13397                source: err.into(),
13398            }),
13399        }
13400    }
13401}
13402impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
13403    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
13404        match err {
13405            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
13406        }
13407    }
13408}
13409impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
13410where
13411    R: Send + Sync + std::fmt::Debug + 'static,
13412{
13413    fn from(
13414        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
13415    ) -> Self {
13416        match err {
13417            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13418            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13419                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13420                source: err.into(),
13421            }),
13422        }
13423    }
13424}
13425impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
13426    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
13427        match err {
13428            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
13429        }
13430    }
13431}
13432impl<R>
13433    From<
13434        ::aws_smithy_runtime_api::client::result::SdkError<
13435            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
13436            R,
13437        >,
13438    > for Error
13439where
13440    R: Send + Sync + std::fmt::Debug + 'static,
13441{
13442    fn from(
13443        err: ::aws_smithy_runtime_api::client::result::SdkError<
13444            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
13445            R,
13446        >,
13447    ) -> Self {
13448        match err {
13449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13452                source: err.into(),
13453            }),
13454        }
13455    }
13456}
13457impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
13458    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
13459        match err {
13460            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
13461        }
13462    }
13463}
13464impl<R>
13465    From<
13466        ::aws_smithy_runtime_api::client::result::SdkError<
13467            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13468            R,
13469        >,
13470    > for Error
13471where
13472    R: Send + Sync + std::fmt::Debug + 'static,
13473{
13474    fn from(
13475        err: ::aws_smithy_runtime_api::client::result::SdkError<
13476            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13477            R,
13478        >,
13479    ) -> Self {
13480        match err {
13481            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13482            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13483                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13484                source: err.into(),
13485            }),
13486        }
13487    }
13488}
13489impl From<crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
13490    fn from(
13491        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13492    ) -> Self {
13493        match err {
13494            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
13495        }
13496    }
13497}
13498impl<R>
13499    From<
13500        ::aws_smithy_runtime_api::client::result::SdkError<
13501            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13502            R,
13503        >,
13504    > for Error
13505where
13506    R: Send + Sync + std::fmt::Debug + 'static,
13507{
13508    fn from(
13509        err: ::aws_smithy_runtime_api::client::result::SdkError<
13510            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13511            R,
13512        >,
13513    ) -> Self {
13514        match err {
13515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13518                source: err.into(),
13519            }),
13520        }
13521    }
13522}
13523impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
13524    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
13525        match err {
13526            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
13527                Error::Unhandled(inner)
13528            }
13529        }
13530    }
13531}
13532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
13533where
13534    R: Send + Sync + std::fmt::Debug + 'static,
13535{
13536    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
13537        match err {
13538            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13539            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13540                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13541                source: err.into(),
13542            }),
13543        }
13544    }
13545}
13546impl From<crate::operation::export_image::ExportImageError> for Error {
13547    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
13548        match err {
13549            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
13550        }
13551    }
13552}
13553impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
13554    for Error
13555where
13556    R: Send + Sync + std::fmt::Debug + 'static,
13557{
13558    fn from(
13559        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
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::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
13571    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
13572        match err {
13573            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
13574        }
13575    }
13576}
13577impl<R>
13578    From<
13579        ::aws_smithy_runtime_api::client::result::SdkError<
13580            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
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::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
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::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
13603    fn from(
13604        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13605    ) -> Self {
13606        match err {
13607            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
13608        }
13609    }
13610}
13611impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, 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::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, 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::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError> for Error {
13629    fn from(err: crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError) -> Self {
13630        match err {
13631            crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError::Unhandled(inner) => Error::Unhandled(inner),
13632        }
13633    }
13634}
13635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
13636    for Error
13637where
13638    R: Send + Sync + std::fmt::Debug + 'static,
13639{
13640    fn from(
13641        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
13642    ) -> Self {
13643        match err {
13644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13647                source: err.into(),
13648            }),
13649        }
13650    }
13651}
13652impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
13653    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
13654        match err {
13655            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
13656        }
13657    }
13658}
13659impl<R>
13660    From<
13661        ::aws_smithy_runtime_api::client::result::SdkError<
13662            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
13663            R,
13664        >,
13665    > for Error
13666where
13667    R: Send + Sync + std::fmt::Debug + 'static,
13668{
13669    fn from(
13670        err: ::aws_smithy_runtime_api::client::result::SdkError<
13671            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
13672            R,
13673        >,
13674    ) -> Self {
13675        match err {
13676            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13677            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13678                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13679                source: err.into(),
13680            }),
13681        }
13682    }
13683}
13684impl From<crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
13685    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
13686        match err {
13687            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
13688                Error::Unhandled(inner)
13689            }
13690        }
13691    }
13692}
13693impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
13694    for Error
13695where
13696    R: Send + Sync + std::fmt::Debug + 'static,
13697{
13698    fn from(
13699        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
13700    ) -> Self {
13701        match err {
13702            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13703            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13704                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13705                source: err.into(),
13706            }),
13707        }
13708    }
13709}
13710impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
13711    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
13712        match err {
13713            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13714        }
13715    }
13716}
13717impl<R>
13718    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
13719    for Error
13720where
13721    R: Send + Sync + std::fmt::Debug + 'static,
13722{
13723    fn from(
13724        err: ::aws_smithy_runtime_api::client::result::SdkError<
13725            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
13726            R,
13727        >,
13728    ) -> Self {
13729        match err {
13730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13733                source: err.into(),
13734            }),
13735        }
13736    }
13737}
13738impl From<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
13739    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
13740        match err {
13741            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
13742        }
13743    }
13744}
13745impl<R>
13746    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError, R>>
13747    for Error
13748where
13749    R: Send + Sync + std::fmt::Debug + 'static,
13750{
13751    fn from(
13752        err: ::aws_smithy_runtime_api::client::result::SdkError<
13753            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError,
13754            R,
13755        >,
13756    ) -> Self {
13757        match err {
13758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13761                source: err.into(),
13762            }),
13763        }
13764    }
13765}
13766impl From<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError> for Error {
13767    fn from(err: crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError) -> Self {
13768        match err {
13769            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError::Unhandled(inner) => Error::Unhandled(inner),
13770        }
13771    }
13772}
13773impl<R>
13774    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError, R>>
13775    for Error
13776where
13777    R: Send + Sync + std::fmt::Debug + 'static,
13778{
13779    fn from(
13780        err: ::aws_smithy_runtime_api::client::result::SdkError<
13781            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError,
13782            R,
13783        >,
13784    ) -> Self {
13785        match err {
13786            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13787            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13788                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13789                source: err.into(),
13790            }),
13791        }
13792    }
13793}
13794impl From<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError> for Error {
13795    fn from(err: crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError) -> Self {
13796        match err {
13797            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError::Unhandled(inner) => Error::Unhandled(inner),
13798        }
13799    }
13800}
13801impl<R>
13802    From<
13803        ::aws_smithy_runtime_api::client::result::SdkError<
13804            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
13805            R,
13806        >,
13807    > for Error
13808where
13809    R: Send + Sync + std::fmt::Debug + 'static,
13810{
13811    fn from(
13812        err: ::aws_smithy_runtime_api::client::result::SdkError<
13813            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
13814            R,
13815        >,
13816    ) -> Self {
13817        match err {
13818            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13819            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13820                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13821                source: err.into(),
13822            }),
13823        }
13824    }
13825}
13826impl From<crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError> for Error {
13827    fn from(err: crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError) -> Self {
13828        match err {
13829            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError::Unhandled(inner) => {
13830                Error::Unhandled(inner)
13831            }
13832        }
13833    }
13834}
13835impl<R>
13836    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
13837    for Error
13838where
13839    R: Send + Sync + std::fmt::Debug + 'static,
13840{
13841    fn from(
13842        err: ::aws_smithy_runtime_api::client::result::SdkError<
13843            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
13844            R,
13845        >,
13846    ) -> Self {
13847        match err {
13848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13851                source: err.into(),
13852            }),
13853        }
13854    }
13855}
13856impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
13857    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
13858        match err {
13859            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
13860        }
13861    }
13862}
13863impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
13864where
13865    R: Send + Sync + std::fmt::Debug + 'static,
13866{
13867    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
13868        match err {
13869            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13870            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13871                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13872                source: err.into(),
13873            }),
13874        }
13875    }
13876}
13877impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
13878    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
13879        match err {
13880            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
13881        }
13882    }
13883}
13884impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
13885where
13886    R: Send + Sync + std::fmt::Debug + 'static,
13887{
13888    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
13889        match err {
13890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13893                source: err.into(),
13894            }),
13895        }
13896    }
13897}
13898impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
13899    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
13900        match err {
13901            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
13902        }
13903    }
13904}
13905impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
13906where
13907    R: Send + Sync + std::fmt::Debug + 'static,
13908{
13909    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
13910        match err {
13911            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13912            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13913                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13914                source: err.into(),
13915            }),
13916        }
13917    }
13918}
13919impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
13920    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
13921        match err {
13922            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
13923        }
13924    }
13925}
13926impl<R>
13927    From<
13928        ::aws_smithy_runtime_api::client::result::SdkError<
13929            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13930            R,
13931        >,
13932    > for Error
13933where
13934    R: Send + Sync + std::fmt::Debug + 'static,
13935{
13936    fn from(
13937        err: ::aws_smithy_runtime_api::client::result::SdkError<
13938            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13939            R,
13940        >,
13941    ) -> Self {
13942        match err {
13943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13946                source: err.into(),
13947            }),
13948        }
13949    }
13950}
13951impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
13952    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
13953        match err {
13954            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
13955                Error::Unhandled(inner)
13956            }
13957        }
13958    }
13959}
13960impl<R>
13961    From<
13962        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
13963    > for Error
13964where
13965    R: Send + Sync + std::fmt::Debug + 'static,
13966{
13967    fn from(
13968        err: ::aws_smithy_runtime_api::client::result::SdkError<
13969            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
13970            R,
13971        >,
13972    ) -> Self {
13973        match err {
13974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13977                source: err.into(),
13978            }),
13979        }
13980    }
13981}
13982impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
13983    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
13984        match err {
13985            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
13986        }
13987    }
13988}
13989impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
13990    for Error
13991where
13992    R: Send + Sync + std::fmt::Debug + 'static,
13993{
13994    fn from(
13995        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
13996    ) -> Self {
13997        match err {
13998            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13999            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14000                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14001                source: err.into(),
14002            }),
14003        }
14004    }
14005}
14006impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
14007    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
14008        match err {
14009            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
14010        }
14011    }
14012}
14013impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
14014    for Error
14015where
14016    R: Send + Sync + std::fmt::Debug + 'static,
14017{
14018    fn from(
14019        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
14020    ) -> Self {
14021        match err {
14022            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14023            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14024                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14025                source: err.into(),
14026            }),
14027        }
14028    }
14029}
14030impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
14031    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
14032        match err {
14033            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
14034        }
14035    }
14036}
14037impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError, R>> for Error
14038where
14039    R: Send + Sync + std::fmt::Debug + 'static,
14040{
14041    fn from(
14042        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError, R>,
14043    ) -> Self {
14044        match err {
14045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14048                source: err.into(),
14049            }),
14050        }
14051    }
14052}
14053impl From<crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError> for Error {
14054    fn from(err: crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError) -> Self {
14055        match err {
14056            crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14057        }
14058    }
14059}
14060impl<R>
14061    From<
14062        ::aws_smithy_runtime_api::client::result::SdkError<
14063            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
14064            R,
14065        >,
14066    > for Error
14067where
14068    R: Send + Sync + std::fmt::Debug + 'static,
14069{
14070    fn from(
14071        err: ::aws_smithy_runtime_api::client::result::SdkError<
14072            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
14073            R,
14074        >,
14075    ) -> Self {
14076        match err {
14077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14080                source: err.into(),
14081            }),
14082        }
14083    }
14084}
14085impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
14086    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
14087        match err {
14088            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
14089        }
14090    }
14091}
14092impl<R>
14093    From<
14094        ::aws_smithy_runtime_api::client::result::SdkError<
14095            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
14096            R,
14097        >,
14098    > for Error
14099where
14100    R: Send + Sync + std::fmt::Debug + 'static,
14101{
14102    fn from(
14103        err: ::aws_smithy_runtime_api::client::result::SdkError<
14104            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
14105            R,
14106        >,
14107    ) -> Self {
14108        match err {
14109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14112                source: err.into(),
14113            }),
14114        }
14115    }
14116}
14117impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
14118    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
14119        match err {
14120            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
14121        }
14122    }
14123}
14124impl<R>
14125    From<
14126        ::aws_smithy_runtime_api::client::result::SdkError<
14127            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
14128            R,
14129        >,
14130    > for Error
14131where
14132    R: Send + Sync + std::fmt::Debug + 'static,
14133{
14134    fn from(
14135        err: ::aws_smithy_runtime_api::client::result::SdkError<
14136            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
14137            R,
14138        >,
14139    ) -> Self {
14140        match err {
14141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14144                source: err.into(),
14145            }),
14146        }
14147    }
14148}
14149impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
14150    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
14151        match err {
14152            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
14153                Error::Unhandled(inner)
14154            }
14155        }
14156    }
14157}
14158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_image_ancestry::GetImageAncestryError, R>> for Error
14159where
14160    R: Send + Sync + std::fmt::Debug + 'static,
14161{
14162    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_image_ancestry::GetImageAncestryError, R>) -> Self {
14163        match err {
14164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14167                source: err.into(),
14168            }),
14169        }
14170    }
14171}
14172impl From<crate::operation::get_image_ancestry::GetImageAncestryError> for Error {
14173    fn from(err: crate::operation::get_image_ancestry::GetImageAncestryError) -> Self {
14174        match err {
14175            crate::operation::get_image_ancestry::GetImageAncestryError::Unhandled(inner) => Error::Unhandled(inner),
14176        }
14177    }
14178}
14179impl<R>
14180    From<
14181        ::aws_smithy_runtime_api::client::result::SdkError<
14182            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
14183            R,
14184        >,
14185    > for Error
14186where
14187    R: Send + Sync + std::fmt::Debug + 'static,
14188{
14189    fn from(
14190        err: ::aws_smithy_runtime_api::client::result::SdkError<
14191            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
14192            R,
14193        >,
14194    ) -> Self {
14195        match err {
14196            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14197            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14198                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14199                source: err.into(),
14200            }),
14201        }
14202    }
14203}
14204impl From<crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
14205    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
14206        match err {
14207            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
14208        }
14209    }
14210}
14211impl<R>
14212    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
14213    for Error
14214where
14215    R: Send + Sync + std::fmt::Debug + 'static,
14216{
14217    fn from(
14218        err: ::aws_smithy_runtime_api::client::result::SdkError<
14219            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
14220            R,
14221        >,
14222    ) -> Self {
14223        match err {
14224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14227                source: err.into(),
14228            }),
14229        }
14230    }
14231}
14232impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
14233    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
14234        match err {
14235            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
14236        }
14237    }
14238}
14239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
14240where
14241    R: Send + Sync + std::fmt::Debug + 'static,
14242{
14243    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> 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_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
14254    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
14255        match err {
14256            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
14257        }
14258    }
14259}
14260impl<R>
14261    From<
14262        ::aws_smithy_runtime_api::client::result::SdkError<
14263            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
14264            R,
14265        >,
14266    > for Error
14267where
14268    R: Send + Sync + std::fmt::Debug + 'static,
14269{
14270    fn from(
14271        err: ::aws_smithy_runtime_api::client::result::SdkError<
14272            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
14273            R,
14274        >,
14275    ) -> Self {
14276        match err {
14277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14280                source: err.into(),
14281            }),
14282        }
14283    }
14284}
14285impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
14286    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
14287        match err {
14288            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
14289                Error::Unhandled(inner)
14290            }
14291        }
14292    }
14293}
14294impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
14295where
14296    R: Send + Sync + std::fmt::Debug + 'static,
14297{
14298    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
14299        match err {
14300            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14301            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14302                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14303                source: err.into(),
14304            }),
14305        }
14306    }
14307}
14308impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
14309    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
14310        match err {
14311            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
14312        }
14313    }
14314}
14315impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
14316where
14317    R: Send + Sync + std::fmt::Debug + 'static,
14318{
14319    fn from(
14320        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
14321    ) -> Self {
14322        match err {
14323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14326                source: err.into(),
14327            }),
14328        }
14329    }
14330}
14331impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
14332    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
14333        match err {
14334            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
14335        }
14336    }
14337}
14338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
14339    for Error
14340where
14341    R: Send + Sync + std::fmt::Debug + 'static,
14342{
14343    fn from(
14344        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
14345    ) -> Self {
14346        match err {
14347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14350                source: err.into(),
14351            }),
14352        }
14353    }
14354}
14355impl From<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
14356    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
14357        match err {
14358            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
14359        }
14360    }
14361}
14362impl<R>
14363    From<
14364        ::aws_smithy_runtime_api::client::result::SdkError<
14365            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
14366            R,
14367        >,
14368    > for Error
14369where
14370    R: Send + Sync + std::fmt::Debug + 'static,
14371{
14372    fn from(
14373        err: ::aws_smithy_runtime_api::client::result::SdkError<
14374            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
14375            R,
14376        >,
14377    ) -> Self {
14378        match err {
14379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14382                source: err.into(),
14383            }),
14384        }
14385    }
14386}
14387impl From<crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
14388    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
14389        match err {
14390            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
14391                Error::Unhandled(inner)
14392            }
14393        }
14394    }
14395}
14396impl<R>
14397    From<
14398        ::aws_smithy_runtime_api::client::result::SdkError<
14399            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
14400            R,
14401        >,
14402    > for Error
14403where
14404    R: Send + Sync + std::fmt::Debug + 'static,
14405{
14406    fn from(
14407        err: ::aws_smithy_runtime_api::client::result::SdkError<
14408            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
14409            R,
14410        >,
14411    ) -> Self {
14412        match err {
14413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14416                source: err.into(),
14417            }),
14418        }
14419    }
14420}
14421impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
14422    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
14423        match err {
14424            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14425        }
14426    }
14427}
14428impl<R>
14429    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError, R>>
14430    for Error
14431where
14432    R: Send + Sync + std::fmt::Debug + 'static,
14433{
14434    fn from(
14435        err: ::aws_smithy_runtime_api::client::result::SdkError<
14436            crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError,
14437            R,
14438        >,
14439    ) -> Self {
14440        match err {
14441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14444                source: err.into(),
14445            }),
14446        }
14447    }
14448}
14449impl From<crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError> for Error {
14450    fn from(err: crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError) -> Self {
14451        match err {
14452            crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError::Unhandled(inner) => Error::Unhandled(inner),
14453        }
14454    }
14455}
14456impl<R>
14457    From<
14458        ::aws_smithy_runtime_api::client::result::SdkError<
14459            crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError,
14460            R,
14461        >,
14462    > for Error
14463where
14464    R: Send + Sync + std::fmt::Debug + 'static,
14465{
14466    fn from(
14467        err: ::aws_smithy_runtime_api::client::result::SdkError<
14468            crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError,
14469            R,
14470        >,
14471    ) -> Self {
14472        match err {
14473            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14474            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14475                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14476                source: err.into(),
14477            }),
14478        }
14479    }
14480}
14481impl From<crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError> for Error {
14482    fn from(err: crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError) -> Self {
14483        match err {
14484            crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError::Unhandled(inner) => {
14485                Error::Unhandled(inner)
14486            }
14487        }
14488    }
14489}
14490impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
14491    for Error
14492where
14493    R: Send + Sync + std::fmt::Debug + 'static,
14494{
14495    fn from(
14496        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
14497    ) -> Self {
14498        match err {
14499            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14500            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14501                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14502                source: err.into(),
14503            }),
14504        }
14505    }
14506}
14507impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
14508    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
14509        match err {
14510            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
14511        }
14512    }
14513}
14514impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
14515where
14516    R: Send + Sync + std::fmt::Debug + 'static,
14517{
14518    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
14519        match err {
14520            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14521            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14522                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14523                source: err.into(),
14524            }),
14525        }
14526    }
14527}
14528impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
14529    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
14530        match err {
14531            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14532        }
14533    }
14534}
14535impl<R>
14536    From<
14537        ::aws_smithy_runtime_api::client::result::SdkError<
14538            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError,
14539            R,
14540        >,
14541    > for Error
14542where
14543    R: Send + Sync + std::fmt::Debug + 'static,
14544{
14545    fn from(
14546        err: ::aws_smithy_runtime_api::client::result::SdkError<
14547            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError,
14548            R,
14549        >,
14550    ) -> Self {
14551        match err {
14552            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14553            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14554                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14555                source: err.into(),
14556            }),
14557        }
14558    }
14559}
14560impl From<crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError> for Error {
14561    fn from(err: crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError) -> Self {
14562        match err {
14563            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError::Unhandled(inner) => Error::Unhandled(inner),
14564        }
14565    }
14566}
14567impl<R>
14568    From<
14569        ::aws_smithy_runtime_api::client::result::SdkError<
14570            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError,
14571            R,
14572        >,
14573    > for Error
14574where
14575    R: Send + Sync + std::fmt::Debug + 'static,
14576{
14577    fn from(
14578        err: ::aws_smithy_runtime_api::client::result::SdkError<
14579            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError,
14580            R,
14581        >,
14582    ) -> Self {
14583        match err {
14584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14587                source: err.into(),
14588            }),
14589        }
14590    }
14591}
14592impl From<crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError> for Error {
14593    fn from(err: crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError) -> Self {
14594        match err {
14595            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError::Unhandled(inner) => {
14596                Error::Unhandled(inner)
14597            }
14598        }
14599    }
14600}
14601impl<R>
14602    From<
14603        ::aws_smithy_runtime_api::client::result::SdkError<
14604            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError,
14605            R,
14606        >,
14607    > for Error
14608where
14609    R: Send + Sync + std::fmt::Debug + 'static,
14610{
14611    fn from(
14612        err: ::aws_smithy_runtime_api::client::result::SdkError<
14613            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError,
14614            R,
14615        >,
14616    ) -> Self {
14617        match err {
14618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14621                source: err.into(),
14622            }),
14623        }
14624    }
14625}
14626impl From<crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError> for Error {
14627    fn from(err: crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError) -> Self {
14628        match err {
14629            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError::Unhandled(inner) => {
14630                Error::Unhandled(inner)
14631            }
14632        }
14633    }
14634}
14635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
14636where
14637    R: Send + Sync + std::fmt::Debug + 'static,
14638{
14639    fn from(
14640        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
14641    ) -> Self {
14642        match err {
14643            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14644            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14645                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14646                source: err.into(),
14647            }),
14648        }
14649    }
14650}
14651impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
14652    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
14653        match err {
14654            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14655        }
14656    }
14657}
14658impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
14659where
14660    R: Send + Sync + std::fmt::Debug + 'static,
14661{
14662    fn from(
14663        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
14664    ) -> Self {
14665        match err {
14666            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14667            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14668                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14669                source: err.into(),
14670            }),
14671        }
14672    }
14673}
14674impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
14675    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
14676        match err {
14677            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
14678        }
14679    }
14680}
14681impl<R>
14682    From<
14683        ::aws_smithy_runtime_api::client::result::SdkError<
14684            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
14685            R,
14686        >,
14687    > for Error
14688where
14689    R: Send + Sync + std::fmt::Debug + 'static,
14690{
14691    fn from(
14692        err: ::aws_smithy_runtime_api::client::result::SdkError<
14693            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
14694            R,
14695        >,
14696    ) -> Self {
14697        match err {
14698            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14699            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14700                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14701                source: err.into(),
14702            }),
14703        }
14704    }
14705}
14706impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
14707    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
14708        match err {
14709            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
14710                Error::Unhandled(inner)
14711            }
14712        }
14713    }
14714}
14715impl<R>
14716    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
14717    for Error
14718where
14719    R: Send + Sync + std::fmt::Debug + 'static,
14720{
14721    fn from(
14722        err: ::aws_smithy_runtime_api::client::result::SdkError<
14723            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
14724            R,
14725        >,
14726    ) -> Self {
14727        match err {
14728            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14729            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14730                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14731                source: err.into(),
14732            }),
14733        }
14734    }
14735}
14736impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
14737    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
14738        match err {
14739            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
14740        }
14741    }
14742}
14743impl<R>
14744    From<
14745        ::aws_smithy_runtime_api::client::result::SdkError<
14746            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
14747            R,
14748        >,
14749    > for Error
14750where
14751    R: Send + Sync + std::fmt::Debug + 'static,
14752{
14753    fn from(
14754        err: ::aws_smithy_runtime_api::client::result::SdkError<
14755            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
14756            R,
14757        >,
14758    ) -> Self {
14759        match err {
14760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14763                source: err.into(),
14764            }),
14765        }
14766    }
14767}
14768impl From<crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
14769    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
14770        match err {
14771            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
14772                inner,
14773            ) => Error::Unhandled(inner),
14774        }
14775    }
14776}
14777impl<R>
14778    From<
14779        ::aws_smithy_runtime_api::client::result::SdkError<
14780            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
14781            R,
14782        >,
14783    > for Error
14784where
14785    R: Send + Sync + std::fmt::Debug + 'static,
14786{
14787    fn from(
14788        err: ::aws_smithy_runtime_api::client::result::SdkError<
14789            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
14790            R,
14791        >,
14792    ) -> Self {
14793        match err {
14794            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14795            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14796                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14797                source: err.into(),
14798            }),
14799        }
14800    }
14801}
14802impl From<crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
14803    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
14804        match err {
14805            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
14806                Error::Unhandled(inner)
14807            }
14808        }
14809    }
14810}
14811impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
14812where
14813    R: Send + Sync + std::fmt::Debug + 'static,
14814{
14815    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
14816        match err {
14817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14820                source: err.into(),
14821            }),
14822        }
14823    }
14824}
14825impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
14826    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
14827        match err {
14828            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
14829        }
14830    }
14831}
14832impl<R>
14833    From<
14834        ::aws_smithy_runtime_api::client::result::SdkError<
14835            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
14836            R,
14837        >,
14838    > for Error
14839where
14840    R: Send + Sync + std::fmt::Debug + 'static,
14841{
14842    fn from(
14843        err: ::aws_smithy_runtime_api::client::result::SdkError<
14844            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
14845            R,
14846        >,
14847    ) -> Self {
14848        match err {
14849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14852                source: err.into(),
14853            }),
14854        }
14855    }
14856}
14857impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
14858    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
14859        match err {
14860            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
14861                Error::Unhandled(inner)
14862            }
14863        }
14864    }
14865}
14866impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>>
14867    for Error
14868where
14869    R: Send + Sync + std::fmt::Debug + 'static,
14870{
14871    fn from(
14872        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>,
14873    ) -> Self {
14874        match err {
14875            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14876            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14877                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14878                source: err.into(),
14879            }),
14880        }
14881    }
14882}
14883impl From<crate::operation::get_route_server_associations::GetRouteServerAssociationsError> for Error {
14884    fn from(err: crate::operation::get_route_server_associations::GetRouteServerAssociationsError) -> Self {
14885        match err {
14886            crate::operation::get_route_server_associations::GetRouteServerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
14887        }
14888    }
14889}
14890impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>>
14891    for Error
14892where
14893    R: Send + Sync + std::fmt::Debug + 'static,
14894{
14895    fn from(
14896        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>,
14897    ) -> Self {
14898        match err {
14899            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14900            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14901                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14902                source: err.into(),
14903            }),
14904        }
14905    }
14906}
14907impl From<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError> for Error {
14908    fn from(err: crate::operation::get_route_server_propagations::GetRouteServerPropagationsError) -> Self {
14909        match err {
14910            crate::operation::get_route_server_propagations::GetRouteServerPropagationsError::Unhandled(inner) => Error::Unhandled(inner),
14911        }
14912    }
14913}
14914impl<R>
14915    From<
14916        ::aws_smithy_runtime_api::client::result::SdkError<
14917            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
14918            R,
14919        >,
14920    > for Error
14921where
14922    R: Send + Sync + std::fmt::Debug + 'static,
14923{
14924    fn from(
14925        err: ::aws_smithy_runtime_api::client::result::SdkError<
14926            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
14927            R,
14928        >,
14929    ) -> Self {
14930        match err {
14931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14934                source: err.into(),
14935            }),
14936        }
14937    }
14938}
14939impl From<crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError> for Error {
14940    fn from(err: crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError) -> Self {
14941        match err {
14942            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
14943        }
14944    }
14945}
14946impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
14947    for Error
14948where
14949    R: Send + Sync + std::fmt::Debug + 'static,
14950{
14951    fn from(
14952        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
14953    ) -> Self {
14954        match err {
14955            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14956            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14957                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14958                source: err.into(),
14959            }),
14960        }
14961    }
14962}
14963impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
14964    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
14965        match err {
14966            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
14967        }
14968    }
14969}
14970impl<R>
14971    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
14972    for Error
14973where
14974    R: Send + Sync + std::fmt::Debug + 'static,
14975{
14976    fn from(
14977        err: ::aws_smithy_runtime_api::client::result::SdkError<
14978            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
14979            R,
14980        >,
14981    ) -> Self {
14982        match err {
14983            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14984            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14985                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14986                source: err.into(),
14987            }),
14988        }
14989    }
14990}
14991impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
14992    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
14993        match err {
14994            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
14995        }
14996    }
14997}
14998impl<R>
14999    From<
15000        ::aws_smithy_runtime_api::client::result::SdkError<
15001            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
15002            R,
15003        >,
15004    > for Error
15005where
15006    R: Send + Sync + std::fmt::Debug + 'static,
15007{
15008    fn from(
15009        err: ::aws_smithy_runtime_api::client::result::SdkError<
15010            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
15011            R,
15012        >,
15013    ) -> Self {
15014        match err {
15015            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15016            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15017                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15018                source: err.into(),
15019            }),
15020        }
15021    }
15022}
15023impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
15024    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
15025        match err {
15026            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
15027                Error::Unhandled(inner)
15028            }
15029        }
15030    }
15031}
15032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
15033    for Error
15034where
15035    R: Send + Sync + std::fmt::Debug + 'static,
15036{
15037    fn from(
15038        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
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_spot_placement_scores::GetSpotPlacementScoresError> for Error {
15050    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
15051        match err {
15052            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
15053        }
15054    }
15055}
15056impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
15057    for Error
15058where
15059    R: Send + Sync + std::fmt::Debug + 'static,
15060{
15061    fn from(
15062        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
15063    ) -> Self {
15064        match err {
15065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15068                source: err.into(),
15069            }),
15070        }
15071    }
15072}
15073impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
15074    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
15075        match err {
15076            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
15077        }
15078    }
15079}
15080impl<R>
15081    From<
15082        ::aws_smithy_runtime_api::client::result::SdkError<
15083            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
15084            R,
15085        >,
15086    > for Error
15087where
15088    R: Send + Sync + std::fmt::Debug + 'static,
15089{
15090    fn from(
15091        err: ::aws_smithy_runtime_api::client::result::SdkError<
15092            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
15093            R,
15094        >,
15095    ) -> Self {
15096        match err {
15097            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15098            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15099                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15100                source: err.into(),
15101            }),
15102        }
15103    }
15104}
15105impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
15106    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
15107        match err {
15108            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
15109                Error::Unhandled(inner)
15110            }
15111        }
15112    }
15113}
15114impl<R>
15115    From<
15116        ::aws_smithy_runtime_api::client::result::SdkError<
15117            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
15118            R,
15119        >,
15120    > for Error
15121where
15122    R: Send + Sync + std::fmt::Debug + 'static,
15123{
15124    fn from(
15125        err: ::aws_smithy_runtime_api::client::result::SdkError<
15126            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
15127            R,
15128        >,
15129    ) -> Self {
15130        match err {
15131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15134                source: err.into(),
15135            }),
15136        }
15137    }
15138}
15139impl From<crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
15140    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
15141        match err {
15142            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
15143                inner,
15144            ) => Error::Unhandled(inner),
15145        }
15146    }
15147}
15148impl<R>
15149    From<
15150        ::aws_smithy_runtime_api::client::result::SdkError<
15151            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
15152            R,
15153        >,
15154    > for Error
15155where
15156    R: Send + Sync + std::fmt::Debug + 'static,
15157{
15158    fn from(
15159        err: ::aws_smithy_runtime_api::client::result::SdkError<
15160            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
15161            R,
15162        >,
15163    ) -> Self {
15164        match err {
15165            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15166            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15167                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15168                source: err.into(),
15169            }),
15170        }
15171    }
15172}
15173impl From<crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
15174    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
15175        match err {
15176            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
15177                Error::Unhandled(inner)
15178            }
15179        }
15180    }
15181}
15182impl<R>
15183    From<
15184        ::aws_smithy_runtime_api::client::result::SdkError<
15185            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
15186            R,
15187        >,
15188    > for Error
15189where
15190    R: Send + Sync + std::fmt::Debug + 'static,
15191{
15192    fn from(
15193        err: ::aws_smithy_runtime_api::client::result::SdkError<
15194            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
15195            R,
15196        >,
15197    ) -> Self {
15198        match err {
15199            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15200            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15201                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15202                source: err.into(),
15203            }),
15204        }
15205    }
15206}
15207impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
15208    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
15209        match err {
15210            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
15211                Error::Unhandled(inner)
15212            }
15213        }
15214    }
15215}
15216impl<R>
15217    From<
15218        ::aws_smithy_runtime_api::client::result::SdkError<
15219            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
15220            R,
15221        >,
15222    > for Error
15223where
15224    R: Send + Sync + std::fmt::Debug + 'static,
15225{
15226    fn from(
15227        err: ::aws_smithy_runtime_api::client::result::SdkError<
15228            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
15229            R,
15230        >,
15231    ) -> Self {
15232        match err {
15233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15236                source: err.into(),
15237            }),
15238        }
15239    }
15240}
15241impl From<crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
15242    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
15243        match err {
15244            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
15245                Error::Unhandled(inner)
15246            }
15247        }
15248    }
15249}
15250impl<R>
15251    From<
15252        ::aws_smithy_runtime_api::client::result::SdkError<
15253            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
15254            R,
15255        >,
15256    > for Error
15257where
15258    R: Send + Sync + std::fmt::Debug + 'static,
15259{
15260    fn from(
15261        err: ::aws_smithy_runtime_api::client::result::SdkError<
15262            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
15263            R,
15264        >,
15265    ) -> Self {
15266        match err {
15267            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15268            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15269                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15270                source: err.into(),
15271            }),
15272        }
15273    }
15274}
15275impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
15276    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
15277        match err {
15278            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
15279                Error::Unhandled(inner)
15280            }
15281        }
15282    }
15283}
15284impl<R>
15285    From<
15286        ::aws_smithy_runtime_api::client::result::SdkError<
15287            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
15288            R,
15289        >,
15290    > for Error
15291where
15292    R: Send + Sync + std::fmt::Debug + 'static,
15293{
15294    fn from(
15295        err: ::aws_smithy_runtime_api::client::result::SdkError<
15296            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
15297            R,
15298        >,
15299    ) -> Self {
15300        match err {
15301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15304                source: err.into(),
15305            }),
15306        }
15307    }
15308}
15309impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
15310    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
15311        match err {
15312            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
15313                Error::Unhandled(inner)
15314            }
15315        }
15316    }
15317}
15318impl<R>
15319    From<
15320        ::aws_smithy_runtime_api::client::result::SdkError<
15321            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
15322            R,
15323        >,
15324    > for Error
15325where
15326    R: Send + Sync + std::fmt::Debug + 'static,
15327{
15328    fn from(
15329        err: ::aws_smithy_runtime_api::client::result::SdkError<
15330            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
15331            R,
15332        >,
15333    ) -> Self {
15334        match err {
15335            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15336            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15337                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15338                source: err.into(),
15339            }),
15340        }
15341    }
15342}
15343impl From<crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
15344    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
15345        match err {
15346            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15347        }
15348    }
15349}
15350impl<R>
15351    From<
15352        ::aws_smithy_runtime_api::client::result::SdkError<
15353            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
15354            R,
15355        >,
15356    > for Error
15357where
15358    R: Send + Sync + std::fmt::Debug + 'static,
15359{
15360    fn from(
15361        err: ::aws_smithy_runtime_api::client::result::SdkError<
15362            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
15363            R,
15364        >,
15365    ) -> Self {
15366        match err {
15367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15370                source: err.into(),
15371            }),
15372        }
15373    }
15374}
15375impl From<crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
15376    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
15377        match err {
15378            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
15379                Error::Unhandled(inner)
15380            }
15381        }
15382    }
15383}
15384impl<R>
15385    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
15386    for Error
15387where
15388    R: Send + Sync + std::fmt::Debug + 'static,
15389{
15390    fn from(
15391        err: ::aws_smithy_runtime_api::client::result::SdkError<
15392            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
15393            R,
15394        >,
15395    ) -> Self {
15396        match err {
15397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15400                source: err.into(),
15401            }),
15402        }
15403    }
15404}
15405impl From<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
15406    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
15407        match err {
15408            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15409        }
15410    }
15411}
15412impl<R>
15413    From<
15414        ::aws_smithy_runtime_api::client::result::SdkError<
15415            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
15416            R,
15417        >,
15418    > for Error
15419where
15420    R: Send + Sync + std::fmt::Debug + 'static,
15421{
15422    fn from(
15423        err: ::aws_smithy_runtime_api::client::result::SdkError<
15424            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
15425            R,
15426        >,
15427    ) -> Self {
15428        match err {
15429            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15430            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15431                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15432                source: err.into(),
15433            }),
15434        }
15435    }
15436}
15437impl From<crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
15438    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
15439        match err {
15440            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
15441                Error::Unhandled(inner)
15442            }
15443        }
15444    }
15445}
15446impl<R>
15447    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
15448    for Error
15449where
15450    R: Send + Sync + std::fmt::Debug + 'static,
15451{
15452    fn from(
15453        err: ::aws_smithy_runtime_api::client::result::SdkError<
15454            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
15455            R,
15456        >,
15457    ) -> Self {
15458        match err {
15459            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15460            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15461                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15462                source: err.into(),
15463            }),
15464        }
15465    }
15466}
15467impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
15468    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
15469        match err {
15470            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
15471        }
15472    }
15473}
15474impl<R>
15475    From<
15476        ::aws_smithy_runtime_api::client::result::SdkError<
15477            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
15478            R,
15479        >,
15480    > for Error
15481where
15482    R: Send + Sync + std::fmt::Debug + 'static,
15483{
15484    fn from(
15485        err: ::aws_smithy_runtime_api::client::result::SdkError<
15486            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
15487            R,
15488        >,
15489    ) -> Self {
15490        match err {
15491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15494                source: err.into(),
15495            }),
15496        }
15497    }
15498}
15499impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
15500    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
15501        match err {
15502            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
15503        }
15504    }
15505}
15506impl<R>
15507    From<
15508        ::aws_smithy_runtime_api::client::result::SdkError<
15509            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
15510            R,
15511        >,
15512    > for Error
15513where
15514    R: Send + Sync + std::fmt::Debug + 'static,
15515{
15516    fn from(
15517        err: ::aws_smithy_runtime_api::client::result::SdkError<
15518            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
15519            R,
15520        >,
15521    ) -> Self {
15522        match err {
15523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15526                source: err.into(),
15527            }),
15528        }
15529    }
15530}
15531impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
15532    fn from(
15533        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
15534    ) -> Self {
15535        match err {
15536            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
15537        }
15538    }
15539}
15540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
15541where
15542    R: Send + Sync + std::fmt::Debug + 'static,
15543{
15544    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
15545        match err {
15546            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15547            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15548                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15549                source: err.into(),
15550            }),
15551        }
15552    }
15553}
15554impl From<crate::operation::import_image::ImportImageError> for Error {
15555    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
15556        match err {
15557            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
15558        }
15559    }
15560}
15561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
15562where
15563    R: Send + Sync + std::fmt::Debug + 'static,
15564{
15565    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
15566        match err {
15567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15570                source: err.into(),
15571            }),
15572        }
15573    }
15574}
15575impl From<crate::operation::import_instance::ImportInstanceError> for Error {
15576    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
15577        match err {
15578            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
15579        }
15580    }
15581}
15582impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
15583where
15584    R: Send + Sync + std::fmt::Debug + 'static,
15585{
15586    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
15587        match err {
15588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15591                source: err.into(),
15592            }),
15593        }
15594    }
15595}
15596impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
15597    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
15598        match err {
15599            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
15600        }
15601    }
15602}
15603impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
15604where
15605    R: Send + Sync + std::fmt::Debug + 'static,
15606{
15607    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
15608        match err {
15609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15612                source: err.into(),
15613            }),
15614        }
15615    }
15616}
15617impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
15618    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
15619        match err {
15620            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
15621        }
15622    }
15623}
15624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
15625where
15626    R: Send + Sync + std::fmt::Debug + 'static,
15627{
15628    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
15629        match err {
15630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15633                source: err.into(),
15634            }),
15635        }
15636    }
15637}
15638impl From<crate::operation::import_volume::ImportVolumeError> for Error {
15639    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
15640        match err {
15641            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
15642        }
15643    }
15644}
15645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
15646    for Error
15647where
15648    R: Send + Sync + std::fmt::Debug + 'static,
15649{
15650    fn from(
15651        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
15652    ) -> Self {
15653        match err {
15654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15657                source: err.into(),
15658            }),
15659        }
15660    }
15661}
15662impl From<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
15663    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
15664        match err {
15665            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
15666        }
15667    }
15668}
15669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
15670    for Error
15671where
15672    R: Send + Sync + std::fmt::Debug + 'static,
15673{
15674    fn from(
15675        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
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::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
15687    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
15688        match err {
15689            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
15690        }
15691    }
15692}
15693impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
15694where
15695    R: Send + Sync + std::fmt::Debug + 'static,
15696{
15697    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
15698        match err {
15699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15702                source: err.into(),
15703            }),
15704        }
15705    }
15706}
15707impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
15708    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
15709        match err {
15710            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
15711        }
15712    }
15713}
15714impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> for Error
15715where
15716    R: Send + Sync + std::fmt::Debug + 'static,
15717{
15718    fn from(
15719        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>,
15720    ) -> Self {
15721        match err {
15722            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15723            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15724                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15725                source: err.into(),
15726            }),
15727        }
15728    }
15729}
15730impl From<crate::operation::modify_address_attribute::ModifyAddressAttributeError> for Error {
15731    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
15732        match err {
15733            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15734        }
15735    }
15736}
15737impl<R>
15738    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
15739    for Error
15740where
15741    R: Send + Sync + std::fmt::Debug + 'static,
15742{
15743    fn from(
15744        err: ::aws_smithy_runtime_api::client::result::SdkError<
15745            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
15746            R,
15747        >,
15748    ) -> Self {
15749        match err {
15750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15753                source: err.into(),
15754            }),
15755        }
15756    }
15757}
15758impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
15759    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
15760        match err {
15761            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
15762        }
15763    }
15764}
15765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
15766    for Error
15767where
15768    R: Send + Sync + std::fmt::Debug + 'static,
15769{
15770    fn from(
15771        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
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::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
15783    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
15784        match err {
15785            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
15786        }
15787    }
15788}
15789impl<R>
15790    From<
15791        ::aws_smithy_runtime_api::client::result::SdkError<
15792            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
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::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
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::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
15815    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
15816        match err {
15817            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
15818        }
15819    }
15820}
15821impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
15822    for Error
15823where
15824    R: Send + Sync + std::fmt::Debug + 'static,
15825{
15826    fn from(
15827        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
15828    ) -> Self {
15829        match err {
15830            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15831            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15832                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15833                source: err.into(),
15834            }),
15835        }
15836    }
15837}
15838impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
15839    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
15840        match err {
15841            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15842        }
15843    }
15844}
15845impl<R>
15846    From<
15847        ::aws_smithy_runtime_api::client::result::SdkError<
15848            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
15849            R,
15850        >,
15851    > for Error
15852where
15853    R: Send + Sync + std::fmt::Debug + 'static,
15854{
15855    fn from(
15856        err: ::aws_smithy_runtime_api::client::result::SdkError<
15857            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
15858            R,
15859        >,
15860    ) -> Self {
15861        match err {
15862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15865                source: err.into(),
15866            }),
15867        }
15868    }
15869}
15870impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
15871    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
15872        match err {
15873            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
15874        }
15875    }
15876}
15877impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
15878    for Error
15879where
15880    R: Send + Sync + std::fmt::Debug + 'static,
15881{
15882    fn from(
15883        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>,
15884    ) -> Self {
15885        match err {
15886            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15887            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15888                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15889                source: err.into(),
15890            }),
15891        }
15892    }
15893}
15894impl From<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
15895    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
15896        match err {
15897            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
15898        }
15899    }
15900}
15901impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
15902where
15903    R: Send + Sync + std::fmt::Debug + 'static,
15904{
15905    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
15906        match err {
15907            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15908            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15909                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15910                source: err.into(),
15911            }),
15912        }
15913    }
15914}
15915impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
15916    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
15917        match err {
15918            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
15919        }
15920    }
15921}
15922impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
15923    for Error
15924where
15925    R: Send + Sync + std::fmt::Debug + 'static,
15926{
15927    fn from(
15928        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
15929    ) -> Self {
15930        match err {
15931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15934                source: err.into(),
15935            }),
15936        }
15937    }
15938}
15939impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
15940    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
15941        match err {
15942            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15943        }
15944    }
15945}
15946impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
15947where
15948    R: Send + Sync + std::fmt::Debug + 'static,
15949{
15950    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
15951        match err {
15952            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15953            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15954                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15955                source: err.into(),
15956            }),
15957        }
15958    }
15959}
15960impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
15961    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
15962        match err {
15963            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
15964        }
15965    }
15966}
15967impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>>
15968    for Error
15969where
15970    R: Send + Sync + std::fmt::Debug + 'static,
15971{
15972    fn from(
15973        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
15974    ) -> Self {
15975        match err {
15976            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15977            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15978                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15979                source: err.into(),
15980            }),
15981        }
15982    }
15983}
15984impl From<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
15985    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
15986        match err {
15987            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
15988        }
15989    }
15990}
15991impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
15992where
15993    R: Send + Sync + std::fmt::Debug + 'static,
15994{
15995    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
15996        match err {
15997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16000                source: err.into(),
16001            }),
16002        }
16003    }
16004}
16005impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
16006    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
16007        match err {
16008            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
16009        }
16010    }
16011}
16012impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
16013where
16014    R: Send + Sync + std::fmt::Debug + 'static,
16015{
16016    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
16017        match err {
16018            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16019            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16020                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16021                source: err.into(),
16022            }),
16023        }
16024    }
16025}
16026impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
16027    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
16028        match err {
16029            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16030        }
16031    }
16032}
16033impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>>
16034    for Error
16035where
16036    R: Send + Sync + std::fmt::Debug + 'static,
16037{
16038    fn from(
16039        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
16040    ) -> Self {
16041        match err {
16042            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16043            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16044                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16045                source: err.into(),
16046            }),
16047        }
16048    }
16049}
16050impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
16051    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
16052        match err {
16053            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16054        }
16055    }
16056}
16057impl<R>
16058    From<
16059        ::aws_smithy_runtime_api::client::result::SdkError<
16060            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
16061            R,
16062        >,
16063    > for Error
16064where
16065    R: Send + Sync + std::fmt::Debug + 'static,
16066{
16067    fn from(
16068        err: ::aws_smithy_runtime_api::client::result::SdkError<
16069            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
16070            R,
16071        >,
16072    ) -> Self {
16073        match err {
16074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16077                source: err.into(),
16078            }),
16079        }
16080    }
16081}
16082impl From<crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
16083    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
16084        match err {
16085            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
16086                Error::Unhandled(inner)
16087            }
16088        }
16089    }
16090}
16091impl<R>
16092    From<
16093        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError, R>,
16094    > for Error
16095where
16096    R: Send + Sync + std::fmt::Debug + 'static,
16097{
16098    fn from(
16099        err: ::aws_smithy_runtime_api::client::result::SdkError<
16100            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError,
16101            R,
16102        >,
16103    ) -> Self {
16104        match err {
16105            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16106            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16107                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16108                source: err.into(),
16109            }),
16110        }
16111    }
16112}
16113impl From<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError> for Error {
16114    fn from(err: crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError) -> Self {
16115        match err {
16116            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16117        }
16118    }
16119}
16120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
16121    for Error
16122where
16123    R: Send + Sync + std::fmt::Debug + 'static,
16124{
16125    fn from(
16126        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
16127    ) -> Self {
16128        match err {
16129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16132                source: err.into(),
16133            }),
16134        }
16135    }
16136}
16137impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
16138    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
16139        match err {
16140            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16141        }
16142    }
16143}
16144impl<R>
16145    From<
16146        ::aws_smithy_runtime_api::client::result::SdkError<
16147            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
16148            R,
16149        >,
16150    > for Error
16151where
16152    R: Send + Sync + std::fmt::Debug + 'static,
16153{
16154    fn from(
16155        err: ::aws_smithy_runtime_api::client::result::SdkError<
16156            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
16157            R,
16158        >,
16159    ) -> Self {
16160        match err {
16161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16164                source: err.into(),
16165            }),
16166        }
16167    }
16168}
16169impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
16170    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
16171        match err {
16172            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
16173                Error::Unhandled(inner)
16174            }
16175        }
16176    }
16177}
16178impl<R>
16179    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
16180    for Error
16181where
16182    R: Send + Sync + std::fmt::Debug + 'static,
16183{
16184    fn from(
16185        err: ::aws_smithy_runtime_api::client::result::SdkError<
16186            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
16187            R,
16188        >,
16189    ) -> Self {
16190        match err {
16191            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16192            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16193                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16194                source: err.into(),
16195            }),
16196        }
16197    }
16198}
16199impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
16200    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
16201        match err {
16202            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
16203        }
16204    }
16205}
16206impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
16207    for Error
16208where
16209    R: Send + Sync + std::fmt::Debug + 'static,
16210{
16211    fn from(
16212        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
16213    ) -> Self {
16214        match err {
16215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16218                source: err.into(),
16219            }),
16220        }
16221    }
16222}
16223impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
16224    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
16225        match err {
16226            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
16227        }
16228    }
16229}
16230impl<R>
16231    From<
16232        ::aws_smithy_runtime_api::client::result::SdkError<
16233            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
16234            R,
16235        >,
16236    > for Error
16237where
16238    R: Send + Sync + std::fmt::Debug + 'static,
16239{
16240    fn from(
16241        err: ::aws_smithy_runtime_api::client::result::SdkError<
16242            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
16243            R,
16244        >,
16245    ) -> Self {
16246        match err {
16247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16250                source: err.into(),
16251            }),
16252        }
16253    }
16254}
16255impl From<crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
16256    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
16257        match err {
16258            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16259        }
16260    }
16261}
16262impl<R>
16263    From<
16264        ::aws_smithy_runtime_api::client::result::SdkError<
16265            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
16266            R,
16267        >,
16268    > for Error
16269where
16270    R: Send + Sync + std::fmt::Debug + 'static,
16271{
16272    fn from(
16273        err: ::aws_smithy_runtime_api::client::result::SdkError<
16274            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
16275            R,
16276        >,
16277    ) -> Self {
16278        match err {
16279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16282                source: err.into(),
16283            }),
16284        }
16285    }
16286}
16287impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
16288    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
16289        match err {
16290            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
16291        }
16292    }
16293}
16294impl<R>
16295    From<
16296        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
16297    > for Error
16298where
16299    R: Send + Sync + std::fmt::Debug + 'static,
16300{
16301    fn from(
16302        err: ::aws_smithy_runtime_api::client::result::SdkError<
16303            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
16304            R,
16305        >,
16306    ) -> Self {
16307        match err {
16308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16311                source: err.into(),
16312            }),
16313        }
16314    }
16315}
16316impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
16317    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
16318        match err {
16319            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16320        }
16321    }
16322}
16323impl<R>
16324    From<
16325        ::aws_smithy_runtime_api::client::result::SdkError<
16326            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
16327            R,
16328        >,
16329    > for Error
16330where
16331    R: Send + Sync + std::fmt::Debug + 'static,
16332{
16333    fn from(
16334        err: ::aws_smithy_runtime_api::client::result::SdkError<
16335            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
16336            R,
16337        >,
16338    ) -> Self {
16339        match err {
16340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16343                source: err.into(),
16344            }),
16345        }
16346    }
16347}
16348impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
16349    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
16350        match err {
16351            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
16352                Error::Unhandled(inner)
16353            }
16354        }
16355    }
16356}
16357impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>>
16358    for Error
16359where
16360    R: Send + Sync + std::fmt::Debug + 'static,
16361{
16362    fn from(
16363        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
16364    ) -> Self {
16365        match err {
16366            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16367            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16368                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16369                source: err.into(),
16370            }),
16371        }
16372    }
16373}
16374impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
16375    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
16376        match err {
16377            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
16378        }
16379    }
16380}
16381impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
16382where
16383    R: Send + Sync + std::fmt::Debug + 'static,
16384{
16385    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
16386        match err {
16387            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16388            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16389                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16390                source: err.into(),
16391            }),
16392        }
16393    }
16394}
16395impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
16396    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
16397        match err {
16398            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
16399        }
16400    }
16401}
16402impl<R>
16403    From<
16404        ::aws_smithy_runtime_api::client::result::SdkError<
16405            crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError,
16406            R,
16407        >,
16408    > for Error
16409where
16410    R: Send + Sync + std::fmt::Debug + 'static,
16411{
16412    fn from(
16413        err: ::aws_smithy_runtime_api::client::result::SdkError<
16414            crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError,
16415            R,
16416        >,
16417    ) -> Self {
16418        match err {
16419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16422                source: err.into(),
16423            }),
16424        }
16425    }
16426}
16427impl From<crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError> for Error {
16428    fn from(err: crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError) -> Self {
16429        match err {
16430            crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError::Unhandled(inner) => Error::Unhandled(inner),
16431        }
16432    }
16433}
16434impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
16435where
16436    R: Send + Sync + std::fmt::Debug + 'static,
16437{
16438    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
16439        match err {
16440            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16441            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16442                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16443                source: err.into(),
16444            }),
16445        }
16446    }
16447}
16448impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
16449    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
16450        match err {
16451            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
16452        }
16453    }
16454}
16455impl<R>
16456    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError, R>>
16457    for Error
16458where
16459    R: Send + Sync + std::fmt::Debug + 'static,
16460{
16461    fn from(
16462        err: ::aws_smithy_runtime_api::client::result::SdkError<
16463            crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError,
16464            R,
16465        >,
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_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError> for Error {
16477    fn from(err: crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError) -> Self {
16478        match err {
16479            crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
16480        }
16481    }
16482}
16483impl<R>
16484    From<
16485        ::aws_smithy_runtime_api::client::result::SdkError<
16486            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError,
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_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError,
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_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError> for Error {
16509    fn from(err: crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError) -> Self {
16510        match err {
16511            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError::Unhandled(inner) => {
16512                Error::Unhandled(inner)
16513            }
16514        }
16515    }
16516}
16517impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
16518    for Error
16519where
16520    R: Send + Sync + std::fmt::Debug + 'static,
16521{
16522    fn from(
16523        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
16524    ) -> Self {
16525        match err {
16526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16529                source: err.into(),
16530            }),
16531        }
16532    }
16533}
16534impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
16535    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
16536        match err {
16537            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
16538        }
16539    }
16540}
16541impl<R>
16542    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
16543    for Error
16544where
16545    R: Send + Sync + std::fmt::Debug + 'static,
16546{
16547    fn from(
16548        err: ::aws_smithy_runtime_api::client::result::SdkError<
16549            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
16550            R,
16551        >,
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_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
16563    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
16564        match err {
16565            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
16566        }
16567    }
16568}
16569impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
16570where
16571    R: Send + Sync + std::fmt::Debug + 'static,
16572{
16573    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> Self {
16574        match err {
16575            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16576            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16577                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16578                source: err.into(),
16579            }),
16580        }
16581    }
16582}
16583impl From<crate::operation::modify_ipam_scope::ModifyIpamScopeError> for Error {
16584    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
16585        match err {
16586            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
16587        }
16588    }
16589}
16590impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
16591where
16592    R: Send + Sync + std::fmt::Debug + 'static,
16593{
16594    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
16595        match err {
16596            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16597            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16598                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16599                source: err.into(),
16600            }),
16601        }
16602    }
16603}
16604impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
16605    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
16606        match err {
16607            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
16608        }
16609    }
16610}
16611impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
16612    for Error
16613where
16614    R: Send + Sync + std::fmt::Debug + 'static,
16615{
16616    fn from(
16617        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
16618    ) -> Self {
16619        match err {
16620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16623                source: err.into(),
16624            }),
16625        }
16626    }
16627}
16628impl From<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
16629    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
16630        match err {
16631            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
16632        }
16633    }
16634}
16635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, 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<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>,
16642    ) -> Self {
16643        match err {
16644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16647                source: err.into(),
16648            }),
16649        }
16650    }
16651}
16652impl From<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError> for Error {
16653    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
16654        match err {
16655            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
16656        }
16657    }
16658}
16659impl<R>
16660    From<
16661        ::aws_smithy_runtime_api::client::result::SdkError<
16662            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
16663            R,
16664        >,
16665    > for Error
16666where
16667    R: Send + Sync + std::fmt::Debug + 'static,
16668{
16669    fn from(
16670        err: ::aws_smithy_runtime_api::client::result::SdkError<
16671            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
16672            R,
16673        >,
16674    ) -> Self {
16675        match err {
16676            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16677            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16678                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16679                source: err.into(),
16680            }),
16681        }
16682    }
16683}
16684impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
16685    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
16686        match err {
16687            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16688        }
16689    }
16690}
16691impl<R>
16692    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
16693    for Error
16694where
16695    R: Send + Sync + std::fmt::Debug + 'static,
16696{
16697    fn from(
16698        err: ::aws_smithy_runtime_api::client::result::SdkError<
16699            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
16700            R,
16701        >,
16702    ) -> Self {
16703        match err {
16704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16707                source: err.into(),
16708            }),
16709        }
16710    }
16711}
16712impl From<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
16713    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
16714        match err {
16715            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16716        }
16717    }
16718}
16719impl<R>
16720    From<
16721        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError, R>,
16722    > for Error
16723where
16724    R: Send + Sync + std::fmt::Debug + 'static,
16725{
16726    fn from(
16727        err: ::aws_smithy_runtime_api::client::result::SdkError<
16728            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError,
16729            R,
16730        >,
16731    ) -> Self {
16732        match err {
16733            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16734            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16735                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16736                source: err.into(),
16737            }),
16738        }
16739    }
16740}
16741impl From<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError> for Error {
16742    fn from(err: crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError) -> Self {
16743        match err {
16744            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16745        }
16746    }
16747}
16748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
16749    for Error
16750where
16751    R: Send + Sync + std::fmt::Debug + 'static,
16752{
16753    fn from(
16754        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
16755    ) -> Self {
16756        match err {
16757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16760                source: err.into(),
16761            }),
16762        }
16763    }
16764}
16765impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
16766    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
16767        match err {
16768            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16769        }
16770    }
16771}
16772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>> for Error
16773where
16774    R: Send + Sync + std::fmt::Debug + 'static,
16775{
16776    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>) -> Self {
16777        match err {
16778            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16779            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16780                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16781                source: err.into(),
16782            }),
16783        }
16784    }
16785}
16786impl From<crate::operation::modify_route_server::ModifyRouteServerError> for Error {
16787    fn from(err: crate::operation::modify_route_server::ModifyRouteServerError) -> Self {
16788        match err {
16789            crate::operation::modify_route_server::ModifyRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
16790        }
16791    }
16792}
16793impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
16794    for Error
16795where
16796    R: Send + Sync + std::fmt::Debug + 'static,
16797{
16798    fn from(
16799        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
16800    ) -> Self {
16801        match err {
16802            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16803            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16804                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16805                source: err.into(),
16806            }),
16807        }
16808    }
16809}
16810impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
16811    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
16812        match err {
16813            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
16814        }
16815    }
16816}
16817impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
16818    for Error
16819where
16820    R: Send + Sync + std::fmt::Debug + 'static,
16821{
16822    fn from(
16823        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
16824    ) -> Self {
16825        match err {
16826            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16827            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16828                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16829                source: err.into(),
16830            }),
16831        }
16832    }
16833}
16834impl From<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
16835    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
16836        match err {
16837            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16838        }
16839    }
16840}
16841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
16842where
16843    R: Send + Sync + std::fmt::Debug + 'static,
16844{
16845    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> Self {
16846        match err {
16847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16850                source: err.into(),
16851            }),
16852        }
16853    }
16854}
16855impl From<crate::operation::modify_snapshot_tier::ModifySnapshotTierError> for Error {
16856    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
16857        match err {
16858            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
16859        }
16860    }
16861}
16862impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>>
16863    for Error
16864where
16865    R: Send + Sync + std::fmt::Debug + 'static,
16866{
16867    fn from(
16868        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>,
16869    ) -> Self {
16870        match err {
16871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16874                source: err.into(),
16875            }),
16876        }
16877    }
16878}
16879impl From<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError> for Error {
16880    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
16881        match err {
16882            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
16883        }
16884    }
16885}
16886impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
16887where
16888    R: Send + Sync + std::fmt::Debug + 'static,
16889{
16890    fn from(
16891        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
16892    ) -> Self {
16893        match err {
16894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16897                source: err.into(),
16898            }),
16899        }
16900    }
16901}
16902impl From<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError> for Error {
16903    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
16904        match err {
16905            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16906        }
16907    }
16908}
16909impl<R>
16910    From<
16911        ::aws_smithy_runtime_api::client::result::SdkError<
16912            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
16913            R,
16914        >,
16915    > for Error
16916where
16917    R: Send + Sync + std::fmt::Debug + 'static,
16918{
16919    fn from(
16920        err: ::aws_smithy_runtime_api::client::result::SdkError<
16921            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
16922            R,
16923        >,
16924    ) -> Self {
16925        match err {
16926            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16927            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16928                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16929                source: err.into(),
16930            }),
16931        }
16932    }
16933}
16934impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
16935    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
16936        match err {
16937            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
16938                Error::Unhandled(inner)
16939            }
16940        }
16941    }
16942}
16943impl<R>
16944    From<
16945        ::aws_smithy_runtime_api::client::result::SdkError<
16946            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
16947            R,
16948        >,
16949    > for Error
16950where
16951    R: Send + Sync + std::fmt::Debug + 'static,
16952{
16953    fn from(
16954        err: ::aws_smithy_runtime_api::client::result::SdkError<
16955            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
16956            R,
16957        >,
16958    ) -> Self {
16959        match err {
16960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16963                source: err.into(),
16964            }),
16965        }
16966    }
16967}
16968impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
16969    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
16970        match err {
16971            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
16972        }
16973    }
16974}
16975impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
16976    for Error
16977where
16978    R: Send + Sync + std::fmt::Debug + 'static,
16979{
16980    fn from(
16981        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
16982    ) -> Self {
16983        match err {
16984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16987                source: err.into(),
16988            }),
16989        }
16990    }
16991}
16992impl From<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
16993    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
16994        match err {
16995            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
16996        }
16997    }
16998}
16999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
17000where
17001    R: Send + Sync + std::fmt::Debug + 'static,
17002{
17003    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> Self {
17004        match err {
17005            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17006            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17007                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17008                source: err.into(),
17009            }),
17010        }
17011    }
17012}
17013impl From<crate::operation::modify_transit_gateway::ModifyTransitGatewayError> for Error {
17014    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
17015        match err {
17016            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
17017        }
17018    }
17019}
17020impl<R>
17021    From<
17022        ::aws_smithy_runtime_api::client::result::SdkError<
17023            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
17024            R,
17025        >,
17026    > for Error
17027where
17028    R: Send + Sync + std::fmt::Debug + 'static,
17029{
17030    fn from(
17031        err: ::aws_smithy_runtime_api::client::result::SdkError<
17032            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
17033            R,
17034        >,
17035    ) -> Self {
17036        match err {
17037            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17038            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17039                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17040                source: err.into(),
17041            }),
17042        }
17043    }
17044}
17045impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
17046    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
17047        match err {
17048            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
17049                Error::Unhandled(inner)
17050            }
17051        }
17052    }
17053}
17054impl<R>
17055    From<
17056        ::aws_smithy_runtime_api::client::result::SdkError<
17057            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
17058            R,
17059        >,
17060    > for Error
17061where
17062    R: Send + Sync + std::fmt::Debug + 'static,
17063{
17064    fn from(
17065        err: ::aws_smithy_runtime_api::client::result::SdkError<
17066            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
17067            R,
17068        >,
17069    ) -> Self {
17070        match err {
17071            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17072            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17073                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17074                source: err.into(),
17075            }),
17076        }
17077    }
17078}
17079impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
17080    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
17081        match err {
17082            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
17083                Error::Unhandled(inner)
17084            }
17085        }
17086    }
17087}
17088impl<R>
17089    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
17090    for Error
17091where
17092    R: Send + Sync + std::fmt::Debug + 'static,
17093{
17094    fn from(
17095        err: ::aws_smithy_runtime_api::client::result::SdkError<
17096            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
17097            R,
17098        >,
17099    ) -> Self {
17100        match err {
17101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17104                source: err.into(),
17105            }),
17106        }
17107    }
17108}
17109impl From<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
17110    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
17111        match err {
17112            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
17113        }
17114    }
17115}
17116impl<R>
17117    From<
17118        ::aws_smithy_runtime_api::client::result::SdkError<
17119            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
17120            R,
17121        >,
17122    > for Error
17123where
17124    R: Send + Sync + std::fmt::Debug + 'static,
17125{
17126    fn from(
17127        err: ::aws_smithy_runtime_api::client::result::SdkError<
17128            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
17129            R,
17130        >,
17131    ) -> Self {
17132        match err {
17133            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17134            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17135                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17136                source: err.into(),
17137            }),
17138        }
17139    }
17140}
17141impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
17142    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
17143        match err {
17144            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
17145                Error::Unhandled(inner)
17146            }
17147        }
17148    }
17149}
17150impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
17151    for Error
17152where
17153    R: Send + Sync + std::fmt::Debug + 'static,
17154{
17155    fn from(
17156        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
17157    ) -> Self {
17158        match err {
17159            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17160            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17161                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17162                source: err.into(),
17163            }),
17164        }
17165    }
17166}
17167impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
17168    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
17169        match err {
17170            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
17171        }
17172    }
17173}
17174impl<R>
17175    From<
17176        ::aws_smithy_runtime_api::client::result::SdkError<
17177            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
17178            R,
17179        >,
17180    > for Error
17181where
17182    R: Send + Sync + std::fmt::Debug + 'static,
17183{
17184    fn from(
17185        err: ::aws_smithy_runtime_api::client::result::SdkError<
17186            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
17187            R,
17188        >,
17189    ) -> Self {
17190        match err {
17191            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17192            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17193                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17194                source: err.into(),
17195            }),
17196        }
17197    }
17198}
17199impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
17200    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
17201        match err {
17202            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
17203        }
17204    }
17205}
17206impl<R>
17207    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
17208    for Error
17209where
17210    R: Send + Sync + std::fmt::Debug + 'static,
17211{
17212    fn from(
17213        err: ::aws_smithy_runtime_api::client::result::SdkError<
17214            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
17215            R,
17216        >,
17217    ) -> Self {
17218        match err {
17219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17222                source: err.into(),
17223            }),
17224        }
17225    }
17226}
17227impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
17228    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
17229        match err {
17230            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
17231        }
17232    }
17233}
17234impl<R>
17235    From<
17236        ::aws_smithy_runtime_api::client::result::SdkError<
17237            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
17238            R,
17239        >,
17240    > for Error
17241where
17242    R: Send + Sync + std::fmt::Debug + 'static,
17243{
17244    fn from(
17245        err: ::aws_smithy_runtime_api::client::result::SdkError<
17246            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
17247            R,
17248        >,
17249    ) -> Self {
17250        match err {
17251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17254                source: err.into(),
17255            }),
17256        }
17257    }
17258}
17259impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
17260    fn from(
17261        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
17262    ) -> Self {
17263        match err {
17264            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
17265        }
17266    }
17267}
17268impl<R>
17269    From<
17270        ::aws_smithy_runtime_api::client::result::SdkError<
17271            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
17272            R,
17273        >,
17274    > for Error
17275where
17276    R: Send + Sync + std::fmt::Debug + 'static,
17277{
17278    fn from(
17279        err: ::aws_smithy_runtime_api::client::result::SdkError<
17280            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
17281            R,
17282        >,
17283    ) -> Self {
17284        match err {
17285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17288                source: err.into(),
17289            }),
17290        }
17291    }
17292}
17293impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
17294    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
17295        match err {
17296            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
17297                Error::Unhandled(inner)
17298            }
17299        }
17300    }
17301}
17302impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
17303where
17304    R: Send + Sync + std::fmt::Debug + 'static,
17305{
17306    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> Self {
17307        match err {
17308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17311                source: err.into(),
17312            }),
17313        }
17314    }
17315}
17316impl From<crate::operation::modify_volume::ModifyVolumeError> for Error {
17317    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
17318        match err {
17319            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
17320        }
17321    }
17322}
17323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
17324where
17325    R: Send + Sync + std::fmt::Debug + 'static,
17326{
17327    fn from(
17328        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
17329    ) -> Self {
17330        match err {
17331            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17332            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17333                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17334                source: err.into(),
17335            }),
17336        }
17337    }
17338}
17339impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
17340    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
17341        match err {
17342            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17343        }
17344    }
17345}
17346impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
17347where
17348    R: Send + Sync + std::fmt::Debug + 'static,
17349{
17350    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> Self {
17351        match err {
17352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17355                source: err.into(),
17356            }),
17357        }
17358    }
17359}
17360impl From<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError> for Error {
17361    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
17362        match err {
17363            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17364        }
17365    }
17366}
17367impl<R>
17368    From<
17369        ::aws_smithy_runtime_api::client::result::SdkError<
17370            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
17371            R,
17372        >,
17373    > for Error
17374where
17375    R: Send + Sync + std::fmt::Debug + 'static,
17376{
17377    fn from(
17378        err: ::aws_smithy_runtime_api::client::result::SdkError<
17379            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
17380            R,
17381        >,
17382    ) -> Self {
17383        match err {
17384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17387                source: err.into(),
17388            }),
17389        }
17390    }
17391}
17392impl From<crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
17393    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
17394        match err {
17395            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
17396                Error::Unhandled(inner)
17397            }
17398        }
17399    }
17400}
17401impl<R>
17402    From<
17403        ::aws_smithy_runtime_api::client::result::SdkError<
17404            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
17405            R,
17406        >,
17407    > for Error
17408where
17409    R: Send + Sync + std::fmt::Debug + 'static,
17410{
17411    fn from(
17412        err: ::aws_smithy_runtime_api::client::result::SdkError<
17413            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
17414            R,
17415        >,
17416    ) -> Self {
17417        match err {
17418            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17419            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17420                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17421                source: err.into(),
17422            }),
17423        }
17424    }
17425}
17426impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
17427    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
17428        match err {
17429            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
17430                Error::Unhandled(inner)
17431            }
17432        }
17433    }
17434}
17435impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
17436where
17437    R: Send + Sync + std::fmt::Debug + 'static,
17438{
17439    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
17440        match err {
17441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17444                source: err.into(),
17445            }),
17446        }
17447    }
17448}
17449impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
17450    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
17451        match err {
17452            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
17453        }
17454    }
17455}
17456impl<R>
17457    From<
17458        ::aws_smithy_runtime_api::client::result::SdkError<
17459            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
17460            R,
17461        >,
17462    > for Error
17463where
17464    R: Send + Sync + std::fmt::Debug + 'static,
17465{
17466    fn from(
17467        err: ::aws_smithy_runtime_api::client::result::SdkError<
17468            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
17469            R,
17470        >,
17471    ) -> Self {
17472        match err {
17473            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17474            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17475                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17476                source: err.into(),
17477            }),
17478        }
17479    }
17480}
17481impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
17482    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
17483        match err {
17484            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
17485                Error::Unhandled(inner)
17486            }
17487        }
17488    }
17489}
17490impl<R>
17491    From<
17492        ::aws_smithy_runtime_api::client::result::SdkError<
17493            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
17494            R,
17495        >,
17496    > for Error
17497where
17498    R: Send + Sync + std::fmt::Debug + 'static,
17499{
17500    fn from(
17501        err: ::aws_smithy_runtime_api::client::result::SdkError<
17502            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
17503            R,
17504        >,
17505    ) -> Self {
17506        match err {
17507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17510                source: err.into(),
17511            }),
17512        }
17513    }
17514}
17515impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
17516    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
17517        match err {
17518            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
17519                Error::Unhandled(inner)
17520            }
17521        }
17522    }
17523}
17524impl<R>
17525    From<
17526        ::aws_smithy_runtime_api::client::result::SdkError<
17527            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
17528            R,
17529        >,
17530    > for Error
17531where
17532    R: Send + Sync + std::fmt::Debug + 'static,
17533{
17534    fn from(
17535        err: ::aws_smithy_runtime_api::client::result::SdkError<
17536            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
17537            R,
17538        >,
17539    ) -> Self {
17540        match err {
17541            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17542            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17543                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17544                source: err.into(),
17545            }),
17546        }
17547    }
17548}
17549impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
17550    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
17551        match err {
17552            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
17553                inner,
17554            ) => Error::Unhandled(inner),
17555        }
17556    }
17557}
17558impl<R>
17559    From<
17560        ::aws_smithy_runtime_api::client::result::SdkError<
17561            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
17562            R,
17563        >,
17564    > for Error
17565where
17566    R: Send + Sync + std::fmt::Debug + 'static,
17567{
17568    fn from(
17569        err: ::aws_smithy_runtime_api::client::result::SdkError<
17570            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
17571            R,
17572        >,
17573    ) -> Self {
17574        match err {
17575            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17576            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17577                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17578                source: err.into(),
17579            }),
17580        }
17581    }
17582}
17583impl From<crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
17584    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
17585        match err {
17586            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
17587                Error::Unhandled(inner)
17588            }
17589        }
17590    }
17591}
17592impl<R>
17593    From<
17594        ::aws_smithy_runtime_api::client::result::SdkError<
17595            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
17596            R,
17597        >,
17598    > for Error
17599where
17600    R: Send + Sync + std::fmt::Debug + 'static,
17601{
17602    fn from(
17603        err: ::aws_smithy_runtime_api::client::result::SdkError<
17604            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
17605            R,
17606        >,
17607    ) -> Self {
17608        match err {
17609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17612                source: err.into(),
17613            }),
17614        }
17615    }
17616}
17617impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
17618    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
17619        match err {
17620            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
17621                Error::Unhandled(inner)
17622            }
17623        }
17624    }
17625}
17626impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
17627where
17628    R: Send + Sync + std::fmt::Debug + 'static,
17629{
17630    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> Self {
17631        match err {
17632            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17633            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17634                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17635                source: err.into(),
17636            }),
17637        }
17638    }
17639}
17640impl From<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError> for Error {
17641    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
17642        match err {
17643            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
17644        }
17645    }
17646}
17647impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>> for Error
17648where
17649    R: Send + Sync + std::fmt::Debug + 'static,
17650{
17651    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>) -> Self {
17652        match err {
17653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17656                source: err.into(),
17657            }),
17658        }
17659    }
17660}
17661impl From<crate::operation::modify_vpn_connection::ModifyVpnConnectionError> for Error {
17662    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
17663        match err {
17664            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
17665        }
17666    }
17667}
17668impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
17669    for Error
17670where
17671    R: Send + Sync + std::fmt::Debug + 'static,
17672{
17673    fn from(
17674        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
17675    ) -> Self {
17676        match err {
17677            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17678            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17679                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17680                source: err.into(),
17681            }),
17682        }
17683    }
17684}
17685impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
17686    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
17687        match err {
17688            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
17689        }
17690    }
17691}
17692impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>>
17693    for Error
17694where
17695    R: Send + Sync + std::fmt::Debug + 'static,
17696{
17697    fn from(
17698        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
17699    ) -> Self {
17700        match err {
17701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17704                source: err.into(),
17705            }),
17706        }
17707    }
17708}
17709impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
17710    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
17711        match err {
17712            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
17713        }
17714    }
17715}
17716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
17717    for Error
17718where
17719    R: Send + Sync + std::fmt::Debug + 'static,
17720{
17721    fn from(
17722        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
17723    ) -> 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_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
17734    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
17735        match err {
17736            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
17737        }
17738    }
17739}
17740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
17741where
17742    R: Send + Sync + std::fmt::Debug + 'static,
17743{
17744    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
17745        match err {
17746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17749                source: err.into(),
17750            }),
17751        }
17752    }
17753}
17754impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
17755    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
17756        match err {
17757            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17758        }
17759    }
17760}
17761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
17762where
17763    R: Send + Sync + std::fmt::Debug + 'static,
17764{
17765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
17766        match err {
17767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17770                source: err.into(),
17771            }),
17772        }
17773    }
17774}
17775impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
17776    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
17777        match err {
17778            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
17779        }
17780    }
17781}
17782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
17783where
17784    R: Send + Sync + std::fmt::Debug + 'static,
17785{
17786    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
17787        match err {
17788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17791                source: err.into(),
17792            }),
17793        }
17794    }
17795}
17796impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
17797    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
17798        match err {
17799            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
17800        }
17801    }
17802}
17803impl<R>
17804    From<
17805        ::aws_smithy_runtime_api::client::result::SdkError<
17806            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
17807            R,
17808        >,
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<
17815            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
17816            R,
17817        >,
17818    ) -> Self {
17819        match err {
17820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17823                source: err.into(),
17824            }),
17825        }
17826    }
17827}
17828impl From<crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
17829    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
17830        match err {
17831            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17832        }
17833    }
17834}
17835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
17836where
17837    R: Send + Sync + std::fmt::Debug + 'static,
17838{
17839    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
17840        match err {
17841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17844                source: err.into(),
17845            }),
17846        }
17847    }
17848}
17849impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
17850    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
17851        match err {
17852            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
17853        }
17854    }
17855}
17856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
17857where
17858    R: Send + Sync + std::fmt::Debug + 'static,
17859{
17860    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
17861        match err {
17862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17865                source: err.into(),
17866            }),
17867        }
17868    }
17869}
17870impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
17871    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
17872        match err {
17873            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
17874        }
17875    }
17876}
17877impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
17878where
17879    R: Send + Sync + std::fmt::Debug + 'static,
17880{
17881    fn from(
17882        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
17883    ) -> Self {
17884        match err {
17885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17888                source: err.into(),
17889            }),
17890        }
17891    }
17892}
17893impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
17894    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
17895        match err {
17896            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
17897        }
17898    }
17899}
17900impl<R>
17901    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
17902    for Error
17903where
17904    R: Send + Sync + std::fmt::Debug + 'static,
17905{
17906    fn from(
17907        err: ::aws_smithy_runtime_api::client::result::SdkError<
17908            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
17909            R,
17910        >,
17911    ) -> Self {
17912        match err {
17913            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17914            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17915                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17916                source: err.into(),
17917            }),
17918        }
17919    }
17920}
17921impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
17922    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
17923        match err {
17924            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
17925        }
17926    }
17927}
17928impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
17929where
17930    R: Send + Sync + std::fmt::Debug + 'static,
17931{
17932    fn from(
17933        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
17934    ) -> Self {
17935        match err {
17936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17939                source: err.into(),
17940            }),
17941        }
17942    }
17943}
17944impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
17945    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
17946        match err {
17947            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
17948        }
17949    }
17950}
17951impl<R>
17952    From<
17953        ::aws_smithy_runtime_api::client::result::SdkError<
17954            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
17955            R,
17956        >,
17957    > for Error
17958where
17959    R: Send + Sync + std::fmt::Debug + 'static,
17960{
17961    fn from(
17962        err: ::aws_smithy_runtime_api::client::result::SdkError<
17963            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
17964            R,
17965        >,
17966    ) -> Self {
17967        match err {
17968            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17969            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17970                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17971                source: err.into(),
17972            }),
17973        }
17974    }
17975}
17976impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
17977    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
17978        match err {
17979            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
17980        }
17981    }
17982}
17983impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
17984    for Error
17985where
17986    R: Send + Sync + std::fmt::Debug + 'static,
17987{
17988    fn from(
17989        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
17990    ) -> Self {
17991        match err {
17992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17995                source: err.into(),
17996            }),
17997        }
17998    }
17999}
18000impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
18001    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
18002        match err {
18003            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
18004        }
18005    }
18006}
18007impl<R>
18008    From<
18009        ::aws_smithy_runtime_api::client::result::SdkError<
18010            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
18011            R,
18012        >,
18013    > for Error
18014where
18015    R: Send + Sync + std::fmt::Debug + 'static,
18016{
18017    fn from(
18018        err: ::aws_smithy_runtime_api::client::result::SdkError<
18019            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
18020            R,
18021        >,
18022    ) -> Self {
18023        match err {
18024            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18025            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18026                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18027                source: err.into(),
18028            }),
18029        }
18030    }
18031}
18032impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
18033    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
18034        match err {
18035            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
18036                Error::Unhandled(inner)
18037            }
18038        }
18039    }
18040}
18041impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
18042    for Error
18043where
18044    R: Send + Sync + std::fmt::Debug + 'static,
18045{
18046    fn from(
18047        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
18048    ) -> 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::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
18059    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
18060        match err {
18061            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18062        }
18063    }
18064}
18065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
18066where
18067    R: Send + Sync + std::fmt::Debug + 'static,
18068{
18069    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> Self {
18070        match err {
18071            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18072            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18073                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18074                source: err.into(),
18075            }),
18076        }
18077    }
18078}
18079impl From<crate::operation::reboot_instances::RebootInstancesError> for Error {
18080    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
18081        match err {
18082            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18083        }
18084    }
18085}
18086impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
18087where
18088    R: Send + Sync + std::fmt::Debug + 'static,
18089{
18090    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
18091        match err {
18092            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18093            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18094                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18095                source: err.into(),
18096            }),
18097        }
18098    }
18099}
18100impl From<crate::operation::register_image::RegisterImageError> for Error {
18101    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
18102        match err {
18103            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
18104        }
18105    }
18106}
18107impl<R>
18108    From<
18109        ::aws_smithy_runtime_api::client::result::SdkError<
18110            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
18111            R,
18112        >,
18113    > for Error
18114where
18115    R: Send + Sync + std::fmt::Debug + 'static,
18116{
18117    fn from(
18118        err: ::aws_smithy_runtime_api::client::result::SdkError<
18119            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
18120            R,
18121        >,
18122    ) -> Self {
18123        match err {
18124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18127                source: err.into(),
18128            }),
18129        }
18130    }
18131}
18132impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
18133    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
18134        match err {
18135            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
18136                Error::Unhandled(inner)
18137            }
18138        }
18139    }
18140}
18141impl<R>
18142    From<
18143        ::aws_smithy_runtime_api::client::result::SdkError<
18144            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
18145            R,
18146        >,
18147    > for Error
18148where
18149    R: Send + Sync + std::fmt::Debug + 'static,
18150{
18151    fn from(
18152        err: ::aws_smithy_runtime_api::client::result::SdkError<
18153            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
18154            R,
18155        >,
18156    ) -> Self {
18157        match err {
18158            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18159            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18160                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18161                source: err.into(),
18162            }),
18163        }
18164    }
18165}
18166impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
18167    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
18168        match err {
18169            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
18170                inner,
18171            ) => Error::Unhandled(inner),
18172        }
18173    }
18174}
18175impl<R>
18176    From<
18177        ::aws_smithy_runtime_api::client::result::SdkError<
18178            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
18179            R,
18180        >,
18181    > for Error
18182where
18183    R: Send + Sync + std::fmt::Debug + 'static,
18184{
18185    fn from(
18186        err: ::aws_smithy_runtime_api::client::result::SdkError<
18187            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
18188            R,
18189        >,
18190    ) -> Self {
18191        match err {
18192            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18193            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18194                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18195                source: err.into(),
18196            }),
18197        }
18198    }
18199}
18200impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
18201    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
18202        match err {
18203            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
18204                inner,
18205            ) => Error::Unhandled(inner),
18206        }
18207    }
18208}
18209impl<R>
18210    From<
18211        ::aws_smithy_runtime_api::client::result::SdkError<
18212            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
18213            R,
18214        >,
18215    > for Error
18216where
18217    R: Send + Sync + std::fmt::Debug + 'static,
18218{
18219    fn from(
18220        err: ::aws_smithy_runtime_api::client::result::SdkError<
18221            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
18222            R,
18223        >,
18224    ) -> Self {
18225        match err {
18226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18229                source: err.into(),
18230            }),
18231        }
18232    }
18233}
18234impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
18235    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
18236        match err {
18237            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
18238                Error::Unhandled(inner)
18239            }
18240        }
18241    }
18242}
18243impl<R>
18244    From<
18245        ::aws_smithy_runtime_api::client::result::SdkError<
18246            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
18247            R,
18248        >,
18249    > for Error
18250where
18251    R: Send + Sync + std::fmt::Debug + 'static,
18252{
18253    fn from(
18254        err: ::aws_smithy_runtime_api::client::result::SdkError<
18255            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
18256            R,
18257        >,
18258    ) -> Self {
18259        match err {
18260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18263                source: err.into(),
18264            }),
18265        }
18266    }
18267}
18268impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
18269    fn from(
18270        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
18271    ) -> Self {
18272        match err {
18273            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
18274        }
18275    }
18276}
18277impl<R>
18278    From<
18279        ::aws_smithy_runtime_api::client::result::SdkError<
18280            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
18281            R,
18282        >,
18283    > for Error
18284where
18285    R: Send + Sync + std::fmt::Debug + 'static,
18286{
18287    fn from(
18288        err: ::aws_smithy_runtime_api::client::result::SdkError<
18289            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
18290            R,
18291        >,
18292    ) -> Self {
18293        match err {
18294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18297                source: err.into(),
18298            }),
18299        }
18300    }
18301}
18302impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
18303    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
18304        match err {
18305            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
18306                Error::Unhandled(inner)
18307            }
18308        }
18309    }
18310}
18311impl<R>
18312    From<
18313        ::aws_smithy_runtime_api::client::result::SdkError<
18314            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
18315            R,
18316        >,
18317    > for Error
18318where
18319    R: Send + Sync + std::fmt::Debug + 'static,
18320{
18321    fn from(
18322        err: ::aws_smithy_runtime_api::client::result::SdkError<
18323            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
18324            R,
18325        >,
18326    ) -> Self {
18327        match err {
18328            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18329            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18330                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18331                source: err.into(),
18332            }),
18333        }
18334    }
18335}
18336impl From<crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
18337    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
18338        match err {
18339            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
18340                Error::Unhandled(inner)
18341            }
18342        }
18343    }
18344}
18345impl<R>
18346    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
18347    for Error
18348where
18349    R: Send + Sync + std::fmt::Debug + 'static,
18350{
18351    fn from(
18352        err: ::aws_smithy_runtime_api::client::result::SdkError<
18353            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
18354            R,
18355        >,
18356    ) -> Self {
18357        match err {
18358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18361                source: err.into(),
18362            }),
18363        }
18364    }
18365}
18366impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
18367    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
18368        match err {
18369            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
18370        }
18371    }
18372}
18373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
18374    for Error
18375where
18376    R: Send + Sync + std::fmt::Debug + 'static,
18377{
18378    fn from(
18379        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
18380    ) -> Self {
18381        match err {
18382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18385                source: err.into(),
18386            }),
18387        }
18388    }
18389}
18390impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
18391    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
18392        match err {
18393            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
18394        }
18395    }
18396}
18397impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
18398where
18399    R: Send + Sync + std::fmt::Debug + 'static,
18400{
18401    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> Self {
18402        match err {
18403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18406                source: err.into(),
18407            }),
18408        }
18409    }
18410}
18411impl From<crate::operation::release_address::ReleaseAddressError> for Error {
18412    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
18413        match err {
18414            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
18415        }
18416    }
18417}
18418impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
18419where
18420    R: Send + Sync + std::fmt::Debug + 'static,
18421{
18422    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
18423        match err {
18424            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18425            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18426                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18427                source: err.into(),
18428            }),
18429        }
18430    }
18431}
18432impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
18433    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
18434        match err {
18435            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
18436        }
18437    }
18438}
18439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
18440    for Error
18441where
18442    R: Send + Sync + std::fmt::Debug + 'static,
18443{
18444    fn from(
18445        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
18446    ) -> Self {
18447        match err {
18448            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18449            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18450                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18451                source: err.into(),
18452            }),
18453        }
18454    }
18455}
18456impl From<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
18457    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
18458        match err {
18459            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
18460        }
18461    }
18462}
18463impl<R>
18464    From<
18465        ::aws_smithy_runtime_api::client::result::SdkError<
18466            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
18467            R,
18468        >,
18469    > for Error
18470where
18471    R: Send + Sync + std::fmt::Debug + 'static,
18472{
18473    fn from(
18474        err: ::aws_smithy_runtime_api::client::result::SdkError<
18475            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
18476            R,
18477        >,
18478    ) -> Self {
18479        match err {
18480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18483                source: err.into(),
18484            }),
18485        }
18486    }
18487}
18488impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
18489    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
18490        match err {
18491            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
18492                Error::Unhandled(inner)
18493            }
18494        }
18495    }
18496}
18497impl<R>
18498    From<
18499        ::aws_smithy_runtime_api::client::result::SdkError<
18500            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
18501            R,
18502        >,
18503    > for Error
18504where
18505    R: Send + Sync + std::fmt::Debug + 'static,
18506{
18507    fn from(
18508        err: ::aws_smithy_runtime_api::client::result::SdkError<
18509            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
18510            R,
18511        >,
18512    ) -> Self {
18513        match err {
18514            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18515            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18516                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18517                source: err.into(),
18518            }),
18519        }
18520    }
18521}
18522impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
18523    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
18524        match err {
18525            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
18526                inner,
18527            ) => Error::Unhandled(inner),
18528        }
18529    }
18530}
18531impl<R>
18532    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
18533    for Error
18534where
18535    R: Send + Sync + std::fmt::Debug + 'static,
18536{
18537    fn from(
18538        err: ::aws_smithy_runtime_api::client::result::SdkError<
18539            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
18540            R,
18541        >,
18542    ) -> Self {
18543        match err {
18544            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18545            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18546                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18547                source: err.into(),
18548            }),
18549        }
18550    }
18551}
18552impl From<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
18553    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
18554        match err {
18555            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
18556        }
18557    }
18558}
18559impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>>
18560    for Error
18561where
18562    R: Send + Sync + std::fmt::Debug + 'static,
18563{
18564    fn from(
18565        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>,
18566    ) -> Self {
18567        match err {
18568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18569            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18570                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18571                source: err.into(),
18572            }),
18573        }
18574    }
18575}
18576impl From<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
18577    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
18578        match err {
18579            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
18580        }
18581    }
18582}
18583impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
18584where
18585    R: Send + Sync + std::fmt::Debug + 'static,
18586{
18587    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> 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::replace_route::ReplaceRouteError> for Error {
18598    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
18599        match err {
18600            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
18601        }
18602    }
18603}
18604impl<R>
18605    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
18606    for Error
18607where
18608    R: Send + Sync + std::fmt::Debug + 'static,
18609{
18610    fn from(
18611        err: ::aws_smithy_runtime_api::client::result::SdkError<
18612            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
18613            R,
18614        >,
18615    ) -> Self {
18616        match err {
18617            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18618            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18619                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18620                source: err.into(),
18621            }),
18622        }
18623    }
18624}
18625impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
18626    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
18627        match err {
18628            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
18629        }
18630    }
18631}
18632impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
18633    for Error
18634where
18635    R: Send + Sync + std::fmt::Debug + 'static,
18636{
18637    fn from(
18638        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
18639    ) -> Self {
18640        match err {
18641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18644                source: err.into(),
18645            }),
18646        }
18647    }
18648}
18649impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
18650    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
18651        match err {
18652            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
18653        }
18654    }
18655}
18656impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
18657where
18658    R: Send + Sync + std::fmt::Debug + 'static,
18659{
18660    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
18661        match err {
18662            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18663            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18664                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18665                source: err.into(),
18666            }),
18667        }
18668    }
18669}
18670impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
18671    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
18672        match err {
18673            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
18674        }
18675    }
18676}
18677impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
18678where
18679    R: Send + Sync + std::fmt::Debug + 'static,
18680{
18681    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
18682        match err {
18683            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18684            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18685                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18686                source: err.into(),
18687            }),
18688        }
18689    }
18690}
18691impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
18692    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
18693        match err {
18694            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
18695        }
18696    }
18697}
18698impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
18699where
18700    R: Send + Sync + std::fmt::Debug + 'static,
18701{
18702    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> Self {
18703        match err {
18704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18707                source: err.into(),
18708            }),
18709        }
18710    }
18711}
18712impl From<crate::operation::request_spot_fleet::RequestSpotFleetError> for Error {
18713    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
18714        match err {
18715            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
18716        }
18717    }
18718}
18719impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
18720where
18721    R: Send + Sync + std::fmt::Debug + 'static,
18722{
18723    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> 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::request_spot_instances::RequestSpotInstancesError> for Error {
18734    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
18735        match err {
18736            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18737        }
18738    }
18739}
18740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
18741where
18742    R: Send + Sync + std::fmt::Debug + 'static,
18743{
18744    fn from(
18745        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
18746    ) -> Self {
18747        match err {
18748            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18749            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18750                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18751                source: err.into(),
18752            }),
18753        }
18754    }
18755}
18756impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
18757    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
18758        match err {
18759            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18760        }
18761    }
18762}
18763impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
18764    for Error
18765where
18766    R: Send + Sync + std::fmt::Debug + 'static,
18767{
18768    fn from(
18769        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
18770    ) -> Self {
18771        match err {
18772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18775                source: err.into(),
18776            }),
18777        }
18778    }
18779}
18780impl From<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
18781    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
18782        match err {
18783            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
18784        }
18785    }
18786}
18787impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
18788    for Error
18789where
18790    R: Send + Sync + std::fmt::Debug + 'static,
18791{
18792    fn from(
18793        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
18794    ) -> Self {
18795        match err {
18796            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18797            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18798                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18799                source: err.into(),
18800            }),
18801        }
18802    }
18803}
18804impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
18805    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
18806        match err {
18807            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18808        }
18809    }
18810}
18811impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
18812where
18813    R: Send + Sync + std::fmt::Debug + 'static,
18814{
18815    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
18816        match err {
18817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18820                source: err.into(),
18821            }),
18822        }
18823    }
18824}
18825impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
18826    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
18827        match err {
18828            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18829        }
18830    }
18831}
18832impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
18833where
18834    R: Send + Sync + std::fmt::Debug + 'static,
18835{
18836    fn from(
18837        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
18838    ) -> Self {
18839        match err {
18840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18843                source: err.into(),
18844            }),
18845        }
18846    }
18847}
18848impl From<crate::operation::reset_instance_attribute::ResetInstanceAttributeError> for Error {
18849    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
18850        match err {
18851            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18852        }
18853    }
18854}
18855impl<R>
18856    From<
18857        ::aws_smithy_runtime_api::client::result::SdkError<
18858            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
18859            R,
18860        >,
18861    > for Error
18862where
18863    R: Send + Sync + std::fmt::Debug + 'static,
18864{
18865    fn from(
18866        err: ::aws_smithy_runtime_api::client::result::SdkError<
18867            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
18868            R,
18869        >,
18870    ) -> Self {
18871        match err {
18872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18875                source: err.into(),
18876            }),
18877        }
18878    }
18879}
18880impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
18881    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
18882        match err {
18883            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18884        }
18885    }
18886}
18887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
18888where
18889    R: Send + Sync + std::fmt::Debug + 'static,
18890{
18891    fn from(
18892        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
18893    ) -> Self {
18894        match err {
18895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18898                source: err.into(),
18899            }),
18900        }
18901    }
18902}
18903impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
18904    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
18905        match err {
18906            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18907        }
18908    }
18909}
18910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
18911    for Error
18912where
18913    R: Send + Sync + std::fmt::Debug + 'static,
18914{
18915    fn from(
18916        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
18917    ) -> Self {
18918        match err {
18919            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18920            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18921                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18922                source: err.into(),
18923            }),
18924        }
18925    }
18926}
18927impl From<crate::operation::restore_address_to_classic::RestoreAddressToClassicError> for Error {
18928    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
18929        match err {
18930            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
18931        }
18932    }
18933}
18934impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
18935    for Error
18936where
18937    R: Send + Sync + std::fmt::Debug + 'static,
18938{
18939    fn from(
18940        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
18941    ) -> Self {
18942        match err {
18943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18946                source: err.into(),
18947            }),
18948        }
18949    }
18950}
18951impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
18952    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
18953        match err {
18954            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
18955        }
18956    }
18957}
18958impl<R>
18959    From<
18960        ::aws_smithy_runtime_api::client::result::SdkError<
18961            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
18962            R,
18963        >,
18964    > for Error
18965where
18966    R: Send + Sync + std::fmt::Debug + 'static,
18967{
18968    fn from(
18969        err: ::aws_smithy_runtime_api::client::result::SdkError<
18970            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
18971            R,
18972        >,
18973    ) -> Self {
18974        match err {
18975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18978                source: err.into(),
18979            }),
18980        }
18981    }
18982}
18983impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
18984    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
18985        match err {
18986            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
18987        }
18988    }
18989}
18990impl<R>
18991    From<
18992        ::aws_smithy_runtime_api::client::result::SdkError<
18993            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
18994            R,
18995        >,
18996    > for Error
18997where
18998    R: Send + Sync + std::fmt::Debug + 'static,
18999{
19000    fn from(
19001        err: ::aws_smithy_runtime_api::client::result::SdkError<
19002            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
19003            R,
19004        >,
19005    ) -> Self {
19006        match err {
19007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19010                source: err.into(),
19011            }),
19012        }
19013    }
19014}
19015impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
19016    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
19017        match err {
19018            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
19019        }
19020    }
19021}
19022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
19023where
19024    R: Send + Sync + std::fmt::Debug + 'static,
19025{
19026    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
19027        match err {
19028            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19029            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19030                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19031                source: err.into(),
19032            }),
19033        }
19034    }
19035}
19036impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
19037    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
19038        match err {
19039            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
19040        }
19041    }
19042}
19043impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
19044    for Error
19045where
19046    R: Send + Sync + std::fmt::Debug + 'static,
19047{
19048    fn from(
19049        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
19050    ) -> Self {
19051        match err {
19052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19055                source: err.into(),
19056            }),
19057        }
19058    }
19059}
19060impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
19061    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
19062        match err {
19063            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
19064        }
19065    }
19066}
19067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
19068    for Error
19069where
19070    R: Send + Sync + std::fmt::Debug + 'static,
19071{
19072    fn from(
19073        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
19074    ) -> Self {
19075        match err {
19076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19079                source: err.into(),
19080            }),
19081        }
19082    }
19083}
19084impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
19085    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
19086        match err {
19087            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
19088        }
19089    }
19090}
19091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
19092    for Error
19093where
19094    R: Send + Sync + std::fmt::Debug + 'static,
19095{
19096    fn from(
19097        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
19098    ) -> Self {
19099        match err {
19100            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19101            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19102                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19103                source: err.into(),
19104            }),
19105        }
19106    }
19107}
19108impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
19109    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
19110        match err {
19111            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
19112        }
19113    }
19114}
19115impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
19116where
19117    R: Send + Sync + std::fmt::Debug + 'static,
19118{
19119    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
19120        match err {
19121            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19122            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19123                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19124                source: err.into(),
19125            }),
19126        }
19127    }
19128}
19129impl From<crate::operation::run_instances::RunInstancesError> for Error {
19130    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
19131        match err {
19132            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19133        }
19134    }
19135}
19136impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
19137where
19138    R: Send + Sync + std::fmt::Debug + 'static,
19139{
19140    fn from(
19141        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
19142    ) -> Self {
19143        match err {
19144            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19145            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19146                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19147                source: err.into(),
19148            }),
19149        }
19150    }
19151}
19152impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
19153    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
19154        match err {
19155            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19156        }
19157    }
19158}
19159impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
19160    for Error
19161where
19162    R: Send + Sync + std::fmt::Debug + 'static,
19163{
19164    fn from(
19165        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
19166    ) -> Self {
19167        match err {
19168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19171                source: err.into(),
19172            }),
19173        }
19174    }
19175}
19176impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
19177    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
19178        match err {
19179            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
19180        }
19181    }
19182}
19183impl<R>
19184    From<
19185        ::aws_smithy_runtime_api::client::result::SdkError<
19186            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
19187            R,
19188        >,
19189    > for Error
19190where
19191    R: Send + Sync + std::fmt::Debug + 'static,
19192{
19193    fn from(
19194        err: ::aws_smithy_runtime_api::client::result::SdkError<
19195            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
19196            R,
19197        >,
19198    ) -> Self {
19199        match err {
19200            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19201            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19202                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19203                source: err.into(),
19204            }),
19205        }
19206    }
19207}
19208impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
19209    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
19210        match err {
19211            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
19212                Error::Unhandled(inner)
19213            }
19214        }
19215    }
19216}
19217impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
19218    for Error
19219where
19220    R: Send + Sync + std::fmt::Debug + 'static,
19221{
19222    fn from(
19223        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
19224    ) -> Self {
19225        match err {
19226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19229                source: err.into(),
19230            }),
19231        }
19232    }
19233}
19234impl From<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
19235    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
19236        match err {
19237            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
19238        }
19239    }
19240}
19241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
19242    for Error
19243where
19244    R: Send + Sync + std::fmt::Debug + 'static,
19245{
19246    fn from(
19247        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
19248    ) -> Self {
19249        match err {
19250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19253                source: err.into(),
19254            }),
19255        }
19256    }
19257}
19258impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
19259    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
19260        match err {
19261            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
19262        }
19263    }
19264}
19265impl<R>
19266    From<
19267        ::aws_smithy_runtime_api::client::result::SdkError<
19268            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
19269            R,
19270        >,
19271    > for Error
19272where
19273    R: Send + Sync + std::fmt::Debug + 'static,
19274{
19275    fn from(
19276        err: ::aws_smithy_runtime_api::client::result::SdkError<
19277            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
19278            R,
19279        >,
19280    ) -> Self {
19281        match err {
19282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19285                source: err.into(),
19286            }),
19287        }
19288    }
19289}
19290impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
19291    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
19292        match err {
19293            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
19294        }
19295    }
19296}
19297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
19298where
19299    R: Send + Sync + std::fmt::Debug + 'static,
19300{
19301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
19302        match err {
19303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19306                source: err.into(),
19307            }),
19308        }
19309    }
19310}
19311impl From<crate::operation::start_instances::StartInstancesError> for Error {
19312    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
19313        match err {
19314            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19315        }
19316    }
19317}
19318impl<R>
19319    From<
19320        ::aws_smithy_runtime_api::client::result::SdkError<
19321            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
19322            R,
19323        >,
19324    > for Error
19325where
19326    R: Send + Sync + std::fmt::Debug + 'static,
19327{
19328    fn from(
19329        err: ::aws_smithy_runtime_api::client::result::SdkError<
19330            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
19331            R,
19332        >,
19333    ) -> Self {
19334        match err {
19335            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19336            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19337                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19338                source: err.into(),
19339            }),
19340        }
19341    }
19342}
19343impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
19344    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
19345        match err {
19346            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
19347                Error::Unhandled(inner)
19348            }
19349        }
19350    }
19351}
19352impl<R>
19353    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
19354    for Error
19355where
19356    R: Send + Sync + std::fmt::Debug + 'static,
19357{
19358    fn from(
19359        err: ::aws_smithy_runtime_api::client::result::SdkError<
19360            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
19361            R,
19362        >,
19363    ) -> Self {
19364        match err {
19365            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19366            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19367                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19368                source: err.into(),
19369            }),
19370        }
19371    }
19372}
19373impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
19374    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
19375        match err {
19376            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
19377        }
19378    }
19379}
19380impl<R>
19381    From<
19382        ::aws_smithy_runtime_api::client::result::SdkError<
19383            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
19384            R,
19385        >,
19386    > for Error
19387where
19388    R: Send + Sync + std::fmt::Debug + 'static,
19389{
19390    fn from(
19391        err: ::aws_smithy_runtime_api::client::result::SdkError<
19392            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
19393            R,
19394        >,
19395    ) -> Self {
19396        match err {
19397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19400                source: err.into(),
19401            }),
19402        }
19403    }
19404}
19405impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
19406    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
19407        match err {
19408            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
19409                inner,
19410            ) => Error::Unhandled(inner),
19411        }
19412    }
19413}
19414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>> for Error
19415where
19416    R: Send + Sync + std::fmt::Debug + 'static,
19417{
19418    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>) -> Self {
19419        match err {
19420            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19421            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19422                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19423                source: err.into(),
19424            }),
19425        }
19426    }
19427}
19428impl From<crate::operation::stop_instances::StopInstancesError> for Error {
19429    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
19430        match err {
19431            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19432        }
19433    }
19434}
19435impl<R>
19436    From<
19437        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
19438    > for Error
19439where
19440    R: Send + Sync + std::fmt::Debug + 'static,
19441{
19442    fn from(
19443        err: ::aws_smithy_runtime_api::client::result::SdkError<
19444            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
19445            R,
19446        >,
19447    ) -> Self {
19448        match err {
19449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19452                source: err.into(),
19453            }),
19454        }
19455    }
19456}
19457impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
19458    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
19459        match err {
19460            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
19461        }
19462    }
19463}
19464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
19465where
19466    R: Send + Sync + std::fmt::Debug + 'static,
19467{
19468    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
19469        match err {
19470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19473                source: err.into(),
19474            }),
19475        }
19476    }
19477}
19478impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
19479    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
19480        match err {
19481            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19482        }
19483    }
19484}
19485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
19486where
19487    R: Send + Sync + std::fmt::Debug + 'static,
19488{
19489    fn from(
19490        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
19491    ) -> Self {
19492        match err {
19493            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19494            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19495                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19496                source: err.into(),
19497            }),
19498        }
19499    }
19500}
19501impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
19502    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
19503        match err {
19504            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
19505        }
19506    }
19507}
19508impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
19509    for Error
19510where
19511    R: Send + Sync + std::fmt::Debug + 'static,
19512{
19513    fn from(
19514        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
19515    ) -> Self {
19516        match err {
19517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19520                source: err.into(),
19521            }),
19522        }
19523    }
19524}
19525impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
19526    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
19527        match err {
19528            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
19529        }
19530    }
19531}
19532impl<R>
19533    From<
19534        ::aws_smithy_runtime_api::client::result::SdkError<
19535            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
19536            R,
19537        >,
19538    > for Error
19539where
19540    R: Send + Sync + std::fmt::Debug + 'static,
19541{
19542    fn from(
19543        err: ::aws_smithy_runtime_api::client::result::SdkError<
19544            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
19545            R,
19546        >,
19547    ) -> Self {
19548        match err {
19549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19552                source: err.into(),
19553            }),
19554        }
19555    }
19556}
19557impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
19558    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
19559        match err {
19560            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
19561                Error::Unhandled(inner)
19562            }
19563        }
19564    }
19565}
19566impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
19567where
19568    R: Send + Sync + std::fmt::Debug + 'static,
19569{
19570    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
19571        match err {
19572            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19573            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19574                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19575                source: err.into(),
19576            }),
19577        }
19578    }
19579}
19580impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
19581    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
19582        match err {
19583            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
19584        }
19585    }
19586}
19587impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
19588where
19589    R: Send + Sync + std::fmt::Debug + 'static,
19590{
19591    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> 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::unmonitor_instances::UnmonitorInstancesError> for Error {
19602    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
19603        match err {
19604            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19605        }
19606    }
19607}
19608impl<R>
19609    From<
19610        ::aws_smithy_runtime_api::client::result::SdkError<
19611            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
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::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
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::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError> for Error {
19634    fn from(err: crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError) -> Self {
19635        match err {
19636            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError::Unhandled(inner) => {
19637                Error::Unhandled(inner)
19638            }
19639        }
19640    }
19641}
19642impl<R>
19643    From<
19644        ::aws_smithy_runtime_api::client::result::SdkError<
19645            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
19646            R,
19647        >,
19648    > for Error
19649where
19650    R: Send + Sync + std::fmt::Debug + 'static,
19651{
19652    fn from(
19653        err: ::aws_smithy_runtime_api::client::result::SdkError<
19654            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
19655            R,
19656        >,
19657    ) -> Self {
19658        match err {
19659            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19660            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19661                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19662                source: err.into(),
19663            }),
19664        }
19665    }
19666}
19667impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
19668    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
19669        match err {
19670            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
19671                Error::Unhandled(inner)
19672            }
19673        }
19674    }
19675}
19676impl<R>
19677    From<
19678        ::aws_smithy_runtime_api::client::result::SdkError<
19679            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
19680            R,
19681        >,
19682    > for Error
19683where
19684    R: Send + Sync + std::fmt::Debug + 'static,
19685{
19686    fn from(
19687        err: ::aws_smithy_runtime_api::client::result::SdkError<
19688            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
19689            R,
19690        >,
19691    ) -> Self {
19692        match err {
19693            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19694            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19695                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19696                source: err.into(),
19697            }),
19698        }
19699    }
19700}
19701impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
19702    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
19703        match err {
19704            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
19705                Error::Unhandled(inner)
19706            }
19707        }
19708    }
19709}
19710impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
19711where
19712    R: Send + Sync + std::fmt::Debug + 'static,
19713{
19714    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
19715        match err {
19716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19719                source: err.into(),
19720            }),
19721        }
19722    }
19723}
19724impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
19725    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
19726        match err {
19727            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
19728        }
19729    }
19730}
19731impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
19732where
19733    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
19734    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
19735{
19736    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
19737        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19738            meta: ::std::default::Default::default(),
19739            source: err.into(),
19740        })
19741    }
19742}
19743impl ::std::error::Error for Error {
19744    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
19745        match self {
19746            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
19747        }
19748    }
19749}
19750impl ::aws_types::request_id::RequestId for Error {
19751    fn request_id(&self) -> Option<&str> {
19752        match self {
19753            Self::Unhandled(e) => e.meta.request_id(),
19754        }
19755    }
19756}