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_pool::CreateIpamPoolError, 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_pool::CreateIpamPoolError, 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_pool::CreateIpamPoolError> for Error {
2295    fn from(err: crate::operation::create_ipam_pool::CreateIpamPoolError) -> Self {
2296        match err {
2297            crate::operation::create_ipam_pool::CreateIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
2298        }
2299    }
2300}
2301impl<R>
2302    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, R>>
2303    for Error
2304where
2305    R: Send + Sync + std::fmt::Debug + 'static,
2306{
2307    fn from(
2308        err: ::aws_smithy_runtime_api::client::result::SdkError<
2309            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError,
2310            R,
2311        >,
2312    ) -> Self {
2313        match err {
2314            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2315            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2316                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2317                source: err.into(),
2318            }),
2319        }
2320    }
2321}
2322impl From<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError> for Error {
2323    fn from(err: crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError) -> Self {
2324        match err {
2325            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2326        }
2327    }
2328}
2329impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>> for Error
2330where
2331    R: Send + Sync + std::fmt::Debug + 'static,
2332{
2333    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>) -> 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_scope::CreateIpamScopeError> for Error {
2344    fn from(err: crate::operation::create_ipam_scope::CreateIpamScopeError) -> Self {
2345        match err {
2346            crate::operation::create_ipam_scope::CreateIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
2347        }
2348    }
2349}
2350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>> for Error
2351where
2352    R: Send + Sync + std::fmt::Debug + 'static,
2353{
2354    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>) -> Self {
2355        match err {
2356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2359                source: err.into(),
2360            }),
2361        }
2362    }
2363}
2364impl From<crate::operation::create_key_pair::CreateKeyPairError> for Error {
2365    fn from(err: crate::operation::create_key_pair::CreateKeyPairError) -> Self {
2366        match err {
2367            crate::operation::create_key_pair::CreateKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
2368        }
2369    }
2370}
2371impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>> for Error
2372where
2373    R: Send + Sync + std::fmt::Debug + 'static,
2374{
2375    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>) -> Self {
2376        match err {
2377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2380                source: err.into(),
2381            }),
2382        }
2383    }
2384}
2385impl From<crate::operation::create_launch_template::CreateLaunchTemplateError> for Error {
2386    fn from(err: crate::operation::create_launch_template::CreateLaunchTemplateError) -> Self {
2387        match err {
2388            crate::operation::create_launch_template::CreateLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2389        }
2390    }
2391}
2392impl<R>
2393    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, R>>
2394    for Error
2395where
2396    R: Send + Sync + std::fmt::Debug + 'static,
2397{
2398    fn from(
2399        err: ::aws_smithy_runtime_api::client::result::SdkError<
2400            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError,
2401            R,
2402        >,
2403    ) -> Self {
2404        match err {
2405            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2406            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2407                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2408                source: err.into(),
2409            }),
2410        }
2411    }
2412}
2413impl From<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError> for Error {
2414    fn from(err: crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError) -> Self {
2415        match err {
2416            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError::Unhandled(inner) => Error::Unhandled(inner),
2417        }
2418    }
2419}
2420impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>>
2421    for Error
2422where
2423    R: Send + Sync + std::fmt::Debug + 'static,
2424{
2425    fn from(
2426        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>,
2427    ) -> Self {
2428        match err {
2429            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2430            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2431                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2432                source: err.into(),
2433            }),
2434        }
2435    }
2436}
2437impl From<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError> for Error {
2438    fn from(err: crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError) -> Self {
2439        match err {
2440            crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
2441        }
2442    }
2443}
2444impl<R>
2445    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, R>>
2446    for Error
2447where
2448    R: Send + Sync + std::fmt::Debug + 'static,
2449{
2450    fn from(
2451        err: ::aws_smithy_runtime_api::client::result::SdkError<
2452            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError,
2453            R,
2454        >,
2455    ) -> Self {
2456        match err {
2457            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2458            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2459                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2460                source: err.into(),
2461            }),
2462        }
2463    }
2464}
2465impl From<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError> for Error {
2466    fn from(err: crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError) -> Self {
2467        match err {
2468            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2469        }
2470    }
2471}
2472impl<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 {
2473    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
2474        match err {
2475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2476            _ => Error::Unhandled(
2477                                        crate::error::sealed_unhandled::Unhandled {
2478                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2479                                            source: err.into(),
2480                                        }
2481                                    ),
2482        }
2483    }
2484}
2485impl From<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
2486    fn from(err: crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
2487        match err {
2488            crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2489        }
2490    }
2491}
2492impl<R>
2493    From<
2494        ::aws_smithy_runtime_api::client::result::SdkError<
2495            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2496            R,
2497        >,
2498    > for Error
2499where
2500    R: Send + Sync + std::fmt::Debug + 'static,
2501{
2502    fn from(
2503        err: ::aws_smithy_runtime_api::client::result::SdkError<
2504            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2505            R,
2506        >,
2507    ) -> Self {
2508        match err {
2509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2512                source: err.into(),
2513            }),
2514        }
2515    }
2516}
2517impl From<crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError> for Error {
2518    fn from(err: crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError) -> Self {
2519        match err {
2520            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
2521                Error::Unhandled(inner)
2522            }
2523        }
2524    }
2525}
2526impl<R>
2527    From<
2528        ::aws_smithy_runtime_api::client::result::SdkError<
2529            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2530            R,
2531        >,
2532    > for Error
2533where
2534    R: Send + Sync + std::fmt::Debug + 'static,
2535{
2536    fn from(
2537        err: ::aws_smithy_runtime_api::client::result::SdkError<
2538            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2539            R,
2540        >,
2541    ) -> Self {
2542        match err {
2543            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2544            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2545                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2546                source: err.into(),
2547            }),
2548        }
2549    }
2550}
2551impl From<crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError> for Error {
2552    fn from(err: crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError) -> Self {
2553        match err {
2554            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
2555                Error::Unhandled(inner)
2556            }
2557        }
2558    }
2559}
2560impl<R>
2561    From<
2562        ::aws_smithy_runtime_api::client::result::SdkError<
2563            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2564            R,
2565        >,
2566    > for Error
2567where
2568    R: Send + Sync + std::fmt::Debug + 'static,
2569{
2570    fn from(
2571        err: ::aws_smithy_runtime_api::client::result::SdkError<
2572            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2573            R,
2574        >,
2575    ) -> Self {
2576        match err {
2577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2580                source: err.into(),
2581            }),
2582        }
2583    }
2584}
2585impl From<crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError> for Error {
2586    fn from(err: crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError) -> Self {
2587        match err {
2588            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
2589                Error::Unhandled(inner)
2590            }
2591        }
2592    }
2593}
2594impl<R>
2595    From<
2596        ::aws_smithy_runtime_api::client::result::SdkError<
2597            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2598            R,
2599        >,
2600    > for Error
2601where
2602    R: Send + Sync + std::fmt::Debug + 'static,
2603{
2604    fn from(
2605        err: ::aws_smithy_runtime_api::client::result::SdkError<
2606            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2607            R,
2608        >,
2609    ) -> Self {
2610        match err {
2611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2614                source: err.into(),
2615            }),
2616        }
2617    }
2618}
2619impl From<crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError>
2620    for Error
2621{
2622    fn from(
2623        err: crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2624    ) -> Self {
2625        match err {
2626            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError::Unhandled(inner) => Error::Unhandled(inner),
2627        }
2628    }
2629}
2630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>>
2631    for Error
2632where
2633    R: Send + Sync + std::fmt::Debug + 'static,
2634{
2635    fn from(
2636        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>,
2637    ) -> Self {
2638        match err {
2639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2642                source: err.into(),
2643            }),
2644        }
2645    }
2646}
2647impl From<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError> for Error {
2648    fn from(err: crate::operation::create_managed_prefix_list::CreateManagedPrefixListError) -> Self {
2649        match err {
2650            crate::operation::create_managed_prefix_list::CreateManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
2651        }
2652    }
2653}
2654impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>> for Error
2655where
2656    R: Send + Sync + std::fmt::Debug + 'static,
2657{
2658    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>) -> 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_nat_gateway::CreateNatGatewayError> for Error {
2669    fn from(err: crate::operation::create_nat_gateway::CreateNatGatewayError) -> Self {
2670        match err {
2671            crate::operation::create_nat_gateway::CreateNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2672        }
2673    }
2674}
2675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>> for Error
2676where
2677    R: Send + Sync + std::fmt::Debug + 'static,
2678{
2679    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>) -> Self {
2680        match err {
2681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2684                source: err.into(),
2685            }),
2686        }
2687    }
2688}
2689impl From<crate::operation::create_network_acl::CreateNetworkAclError> for Error {
2690    fn from(err: crate::operation::create_network_acl::CreateNetworkAclError) -> Self {
2691        match err {
2692            crate::operation::create_network_acl::CreateNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
2693        }
2694    }
2695}
2696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>> for Error
2697where
2698    R: Send + Sync + std::fmt::Debug + 'static,
2699{
2700    fn from(
2701        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>,
2702    ) -> Self {
2703        match err {
2704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2707                source: err.into(),
2708            }),
2709        }
2710    }
2711}
2712impl From<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError> for Error {
2713    fn from(err: crate::operation::create_network_acl_entry::CreateNetworkAclEntryError) -> Self {
2714        match err {
2715            crate::operation::create_network_acl_entry::CreateNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
2716        }
2717    }
2718}
2719impl<R>
2720    From<
2721        ::aws_smithy_runtime_api::client::result::SdkError<
2722            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2723            R,
2724        >,
2725    > for Error
2726where
2727    R: Send + Sync + std::fmt::Debug + 'static,
2728{
2729    fn from(
2730        err: ::aws_smithy_runtime_api::client::result::SdkError<
2731            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2732            R,
2733        >,
2734    ) -> Self {
2735        match err {
2736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2739                source: err.into(),
2740            }),
2741        }
2742    }
2743}
2744impl From<crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError> for Error {
2745    fn from(err: crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError) -> Self {
2746        match err {
2747            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError::Unhandled(inner) => {
2748                Error::Unhandled(inner)
2749            }
2750        }
2751    }
2752}
2753impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>>
2754    for Error
2755where
2756    R: Send + Sync + std::fmt::Debug + 'static,
2757{
2758    fn from(
2759        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>,
2760    ) -> Self {
2761        match err {
2762            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2763            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2764                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2765                source: err.into(),
2766            }),
2767        }
2768    }
2769}
2770impl From<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError> for Error {
2771    fn from(err: crate::operation::create_network_insights_path::CreateNetworkInsightsPathError) -> Self {
2772        match err {
2773            crate::operation::create_network_insights_path::CreateNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
2774        }
2775    }
2776}
2777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>> for Error
2778where
2779    R: Send + Sync + std::fmt::Debug + 'static,
2780{
2781    fn from(
2782        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>,
2783    ) -> Self {
2784        match err {
2785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2788                source: err.into(),
2789            }),
2790        }
2791    }
2792}
2793impl From<crate::operation::create_network_interface::CreateNetworkInterfaceError> for Error {
2794    fn from(err: crate::operation::create_network_interface::CreateNetworkInterfaceError) -> Self {
2795        match err {
2796            crate::operation::create_network_interface::CreateNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2797        }
2798    }
2799}
2800impl<R>
2801    From<
2802        ::aws_smithy_runtime_api::client::result::SdkError<
2803            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2804            R,
2805        >,
2806    > for Error
2807where
2808    R: Send + Sync + std::fmt::Debug + 'static,
2809{
2810    fn from(
2811        err: ::aws_smithy_runtime_api::client::result::SdkError<
2812            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2813            R,
2814        >,
2815    ) -> Self {
2816        match err {
2817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2820                source: err.into(),
2821            }),
2822        }
2823    }
2824}
2825impl From<crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError> for Error {
2826    fn from(err: crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError) -> Self {
2827        match err {
2828            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
2829        }
2830    }
2831}
2832impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>> for Error
2833where
2834    R: Send + Sync + std::fmt::Debug + 'static,
2835{
2836    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>) -> Self {
2837        match err {
2838            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2839            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2840                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2841                source: err.into(),
2842            }),
2843        }
2844    }
2845}
2846impl From<crate::operation::create_placement_group::CreatePlacementGroupError> for Error {
2847    fn from(err: crate::operation::create_placement_group::CreatePlacementGroupError) -> Self {
2848        match err {
2849            crate::operation::create_placement_group::CreatePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
2850        }
2851    }
2852}
2853impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>> for Error
2854where
2855    R: Send + Sync + std::fmt::Debug + 'static,
2856{
2857    fn from(
2858        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>,
2859    ) -> Self {
2860        match err {
2861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2864                source: err.into(),
2865            }),
2866        }
2867    }
2868}
2869impl From<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError> for Error {
2870    fn from(err: crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError) -> Self {
2871        match err {
2872            crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
2873        }
2874    }
2875}
2876impl<R>
2877    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, R>>
2878    for Error
2879where
2880    R: Send + Sync + std::fmt::Debug + 'static,
2881{
2882    fn from(
2883        err: ::aws_smithy_runtime_api::client::result::SdkError<
2884            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError,
2885            R,
2886        >,
2887    ) -> Self {
2888        match err {
2889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2892                source: err.into(),
2893            }),
2894        }
2895    }
2896}
2897impl From<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError> for Error {
2898    fn from(err: crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError) -> Self {
2899        match err {
2900            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError::Unhandled(inner) => Error::Unhandled(inner),
2901        }
2902    }
2903}
2904impl<R>
2905    From<
2906        ::aws_smithy_runtime_api::client::result::SdkError<
2907            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2908            R,
2909        >,
2910    > for Error
2911where
2912    R: Send + Sync + std::fmt::Debug + 'static,
2913{
2914    fn from(
2915        err: ::aws_smithy_runtime_api::client::result::SdkError<
2916            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2917            R,
2918        >,
2919    ) -> 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_reserved_instances_listing::CreateReservedInstancesListingError> for Error {
2930    fn from(err: crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError) -> Self {
2931        match err {
2932            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
2933        }
2934    }
2935}
2936impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>>
2937    for Error
2938where
2939    R: Send + Sync + std::fmt::Debug + 'static,
2940{
2941    fn from(
2942        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>,
2943    ) -> Self {
2944        match err {
2945            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2946            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2947                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2948                source: err.into(),
2949            }),
2950        }
2951    }
2952}
2953impl From<crate::operation::create_restore_image_task::CreateRestoreImageTaskError> for Error {
2954    fn from(err: crate::operation::create_restore_image_task::CreateRestoreImageTaskError) -> Self {
2955        match err {
2956            crate::operation::create_restore_image_task::CreateRestoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
2957        }
2958    }
2959}
2960impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>> for Error
2961where
2962    R: Send + Sync + std::fmt::Debug + 'static,
2963{
2964    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>) -> Self {
2965        match err {
2966            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2967            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2968                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2969                source: err.into(),
2970            }),
2971        }
2972    }
2973}
2974impl From<crate::operation::create_route::CreateRouteError> for Error {
2975    fn from(err: crate::operation::create_route::CreateRouteError) -> Self {
2976        match err {
2977            crate::operation::create_route::CreateRouteError::Unhandled(inner) => Error::Unhandled(inner),
2978        }
2979    }
2980}
2981impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>> for Error
2982where
2983    R: Send + Sync + std::fmt::Debug + 'static,
2984{
2985    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>) -> Self {
2986        match err {
2987            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2988            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2989                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2990                source: err.into(),
2991            }),
2992        }
2993    }
2994}
2995impl From<crate::operation::create_route_server::CreateRouteServerError> for Error {
2996    fn from(err: crate::operation::create_route_server::CreateRouteServerError) -> Self {
2997        match err {
2998            crate::operation::create_route_server::CreateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
2999        }
3000    }
3001}
3002impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>>
3003    for Error
3004where
3005    R: Send + Sync + std::fmt::Debug + 'static,
3006{
3007    fn from(
3008        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>,
3009    ) -> Self {
3010        match err {
3011            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3012            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3013                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3014                source: err.into(),
3015            }),
3016        }
3017    }
3018}
3019impl From<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError> for Error {
3020    fn from(err: crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError) -> Self {
3021        match err {
3022            crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3023        }
3024    }
3025}
3026impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>> for Error
3027where
3028    R: Send + Sync + std::fmt::Debug + 'static,
3029{
3030    fn from(
3031        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>,
3032    ) -> Self {
3033        match err {
3034            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3035            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3036                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3037                source: err.into(),
3038            }),
3039        }
3040    }
3041}
3042impl From<crate::operation::create_route_server_peer::CreateRouteServerPeerError> for Error {
3043    fn from(err: crate::operation::create_route_server_peer::CreateRouteServerPeerError) -> Self {
3044        match err {
3045            crate::operation::create_route_server_peer::CreateRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
3046        }
3047    }
3048}
3049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>> for Error
3050where
3051    R: Send + Sync + std::fmt::Debug + 'static,
3052{
3053    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>) -> Self {
3054        match err {
3055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3058                source: err.into(),
3059            }),
3060        }
3061    }
3062}
3063impl From<crate::operation::create_route_table::CreateRouteTableError> for Error {
3064    fn from(err: crate::operation::create_route_table::CreateRouteTableError) -> Self {
3065        match err {
3066            crate::operation::create_route_table::CreateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3067        }
3068    }
3069}
3070impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>> for Error
3071where
3072    R: Send + Sync + std::fmt::Debug + 'static,
3073{
3074    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>) -> Self {
3075        match err {
3076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3079                source: err.into(),
3080            }),
3081        }
3082    }
3083}
3084impl From<crate::operation::create_security_group::CreateSecurityGroupError> for Error {
3085    fn from(err: crate::operation::create_security_group::CreateSecurityGroupError) -> Self {
3086        match err {
3087            crate::operation::create_security_group::CreateSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
3088        }
3089    }
3090}
3091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>> for Error
3092where
3093    R: Send + Sync + std::fmt::Debug + 'static,
3094{
3095    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>) -> Self {
3096        match err {
3097            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3098            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3099                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3100                source: err.into(),
3101            }),
3102        }
3103    }
3104}
3105impl From<crate::operation::create_snapshot::CreateSnapshotError> for Error {
3106    fn from(err: crate::operation::create_snapshot::CreateSnapshotError) -> Self {
3107        match err {
3108            crate::operation::create_snapshot::CreateSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
3109        }
3110    }
3111}
3112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>> for Error
3113where
3114    R: Send + Sync + std::fmt::Debug + 'static,
3115{
3116    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>) -> Self {
3117        match err {
3118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3121                source: err.into(),
3122            }),
3123        }
3124    }
3125}
3126impl From<crate::operation::create_snapshots::CreateSnapshotsError> for Error {
3127    fn from(err: crate::operation::create_snapshots::CreateSnapshotsError) -> Self {
3128        match err {
3129            crate::operation::create_snapshots::CreateSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
3130        }
3131    }
3132}
3133impl<R>
3134    From<
3135        ::aws_smithy_runtime_api::client::result::SdkError<
3136            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3137            R,
3138        >,
3139    > for Error
3140where
3141    R: Send + Sync + std::fmt::Debug + 'static,
3142{
3143    fn from(
3144        err: ::aws_smithy_runtime_api::client::result::SdkError<
3145            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3146            R,
3147        >,
3148    ) -> Self {
3149        match err {
3150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3153                source: err.into(),
3154            }),
3155        }
3156    }
3157}
3158impl From<crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError> for Error {
3159    fn from(err: crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError) -> Self {
3160        match err {
3161            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
3162        }
3163    }
3164}
3165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>> for Error
3166where
3167    R: Send + Sync + std::fmt::Debug + 'static,
3168{
3169    fn from(
3170        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>,
3171    ) -> Self {
3172        match err {
3173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3176                source: err.into(),
3177            }),
3178        }
3179    }
3180}
3181impl From<crate::operation::create_store_image_task::CreateStoreImageTaskError> for Error {
3182    fn from(err: crate::operation::create_store_image_task::CreateStoreImageTaskError) -> Self {
3183        match err {
3184            crate::operation::create_store_image_task::CreateStoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3185        }
3186    }
3187}
3188impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>> for Error
3189where
3190    R: Send + Sync + std::fmt::Debug + 'static,
3191{
3192    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>) -> Self {
3193        match err {
3194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3197                source: err.into(),
3198            }),
3199        }
3200    }
3201}
3202impl From<crate::operation::create_subnet::CreateSubnetError> for Error {
3203    fn from(err: crate::operation::create_subnet::CreateSubnetError) -> Self {
3204        match err {
3205            crate::operation::create_subnet::CreateSubnetError::Unhandled(inner) => Error::Unhandled(inner),
3206        }
3207    }
3208}
3209impl<R>
3210    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, R>>
3211    for Error
3212where
3213    R: Send + Sync + std::fmt::Debug + 'static,
3214{
3215    fn from(
3216        err: ::aws_smithy_runtime_api::client::result::SdkError<
3217            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError,
3218            R,
3219        >,
3220    ) -> Self {
3221        match err {
3222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3225                source: err.into(),
3226            }),
3227        }
3228    }
3229}
3230impl From<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError> for Error {
3231    fn from(err: crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError) -> Self {
3232        match err {
3233            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
3234        }
3235    }
3236}
3237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
3238where
3239    R: Send + Sync + std::fmt::Debug + 'static,
3240{
3241    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
3242        match err {
3243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3246                source: err.into(),
3247            }),
3248        }
3249    }
3250}
3251impl From<crate::operation::create_tags::CreateTagsError> for Error {
3252    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
3253        match err {
3254            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
3255        }
3256    }
3257}
3258impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>>
3259    for Error
3260where
3261    R: Send + Sync + std::fmt::Debug + 'static,
3262{
3263    fn from(
3264        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>,
3265    ) -> Self {
3266        match err {
3267            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3268            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3269                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3270                source: err.into(),
3271            }),
3272        }
3273    }
3274}
3275impl From<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError> for Error {
3276    fn from(err: crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError) -> Self {
3277        match err {
3278            crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
3279        }
3280    }
3281}
3282impl<R>
3283    From<
3284        ::aws_smithy_runtime_api::client::result::SdkError<
3285            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3286            R,
3287        >,
3288    > for Error
3289where
3290    R: Send + Sync + std::fmt::Debug + 'static,
3291{
3292    fn from(
3293        err: ::aws_smithy_runtime_api::client::result::SdkError<
3294            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3295            R,
3296        >,
3297    ) -> Self {
3298        match err {
3299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3302                source: err.into(),
3303            }),
3304        }
3305    }
3306}
3307impl From<crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError> for Error {
3308    fn from(err: crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError) -> Self {
3309        match err {
3310            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
3311        }
3312    }
3313}
3314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>>
3315    for Error
3316where
3317    R: Send + Sync + std::fmt::Debug + 'static,
3318{
3319    fn from(
3320        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>,
3321    ) -> Self {
3322        match err {
3323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3326                source: err.into(),
3327            }),
3328        }
3329    }
3330}
3331impl From<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError> for Error {
3332    fn from(err: crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError) -> Self {
3333        match err {
3334            crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
3335        }
3336    }
3337}
3338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>>
3339    for Error
3340where
3341    R: Send + Sync + std::fmt::Debug + 'static,
3342{
3343    fn from(
3344        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>,
3345    ) -> Self {
3346        match err {
3347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3350                source: err.into(),
3351            }),
3352        }
3353    }
3354}
3355impl From<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError> for Error {
3356    fn from(err: crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError) -> Self {
3357        match err {
3358            crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
3359        }
3360    }
3361}
3362impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>> for Error
3363where
3364    R: Send + Sync + std::fmt::Debug + 'static,
3365{
3366    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>) -> Self {
3367        match err {
3368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3371                source: err.into(),
3372            }),
3373        }
3374    }
3375}
3376impl From<crate::operation::create_transit_gateway::CreateTransitGatewayError> for Error {
3377    fn from(err: crate::operation::create_transit_gateway::CreateTransitGatewayError) -> Self {
3378        match err {
3379            crate::operation::create_transit_gateway::CreateTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3380        }
3381    }
3382}
3383impl<R>
3384    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, R>>
3385    for Error
3386where
3387    R: Send + Sync + std::fmt::Debug + 'static,
3388{
3389    fn from(
3390        err: ::aws_smithy_runtime_api::client::result::SdkError<
3391            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError,
3392            R,
3393        >,
3394    ) -> Self {
3395        match err {
3396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3399                source: err.into(),
3400            }),
3401        }
3402    }
3403}
3404impl From<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError> for Error {
3405    fn from(err: crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError) -> Self {
3406        match err {
3407            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
3408        }
3409    }
3410}
3411impl<R>
3412    From<
3413        ::aws_smithy_runtime_api::client::result::SdkError<
3414            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3415            R,
3416        >,
3417    > for Error
3418where
3419    R: Send + Sync + std::fmt::Debug + 'static,
3420{
3421    fn from(
3422        err: ::aws_smithy_runtime_api::client::result::SdkError<
3423            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3424            R,
3425        >,
3426    ) -> Self {
3427        match err {
3428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3431                source: err.into(),
3432            }),
3433        }
3434    }
3435}
3436impl From<crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError> for Error {
3437    fn from(err: crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError) -> Self {
3438        match err {
3439            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
3440        }
3441    }
3442}
3443impl<R>
3444    From<
3445        ::aws_smithy_runtime_api::client::result::SdkError<
3446            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3447            R,
3448        >,
3449    > for Error
3450where
3451    R: Send + Sync + std::fmt::Debug + 'static,
3452{
3453    fn from(
3454        err: ::aws_smithy_runtime_api::client::result::SdkError<
3455            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3456            R,
3457        >,
3458    ) -> Self {
3459        match err {
3460            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3461            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3462                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3463                source: err.into(),
3464            }),
3465        }
3466    }
3467}
3468impl From<crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3469    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3470        match err {
3471            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::Unhandled(inner) => {
3472                Error::Unhandled(inner)
3473            }
3474        }
3475    }
3476}
3477impl<R>
3478    From<
3479        ::aws_smithy_runtime_api::client::result::SdkError<
3480            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3481            R,
3482        >,
3483    > for Error
3484where
3485    R: Send + Sync + std::fmt::Debug + 'static,
3486{
3487    fn from(
3488        err: ::aws_smithy_runtime_api::client::result::SdkError<
3489            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3490            R,
3491        >,
3492    ) -> Self {
3493        match err {
3494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3497                source: err.into(),
3498            }),
3499        }
3500    }
3501}
3502impl From<crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3503    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3504        match err {
3505            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
3506                Error::Unhandled(inner)
3507            }
3508        }
3509    }
3510}
3511impl<R>
3512    From<
3513        ::aws_smithy_runtime_api::client::result::SdkError<
3514            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3515            R,
3516        >,
3517    > for Error
3518where
3519    R: Send + Sync + std::fmt::Debug + 'static,
3520{
3521    fn from(
3522        err: ::aws_smithy_runtime_api::client::result::SdkError<
3523            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3524            R,
3525        >,
3526    ) -> Self {
3527        match err {
3528            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3529            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3530                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3531                source: err.into(),
3532            }),
3533        }
3534    }
3535}
3536impl From<crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3537    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3538        match err {
3539            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3540        }
3541    }
3542}
3543impl<R>
3544    From<
3545        ::aws_smithy_runtime_api::client::result::SdkError<
3546            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3547            R,
3548        >,
3549    > for Error
3550where
3551    R: Send + Sync + std::fmt::Debug + 'static,
3552{
3553    fn from(
3554        err: ::aws_smithy_runtime_api::client::result::SdkError<
3555            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3556            R,
3557        >,
3558    ) -> Self {
3559        match err {
3560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3563                source: err.into(),
3564            }),
3565        }
3566    }
3567}
3568impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3569    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3570        match err {
3571            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3572                Error::Unhandled(inner)
3573            }
3574        }
3575    }
3576}
3577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3578    for Error
3579where
3580    R: Send + Sync + std::fmt::Debug + 'static,
3581{
3582    fn from(
3583        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3584    ) -> Self {
3585        match err {
3586            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3587            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3588                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3589                source: err.into(),
3590            }),
3591        }
3592    }
3593}
3594impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3595    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3596        match err {
3597            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3598        }
3599    }
3600}
3601impl<R>
3602    From<
3603        ::aws_smithy_runtime_api::client::result::SdkError<
3604            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3605            R,
3606        >,
3607    > for Error
3608where
3609    R: Send + Sync + std::fmt::Debug + 'static,
3610{
3611    fn from(
3612        err: ::aws_smithy_runtime_api::client::result::SdkError<
3613            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3614            R,
3615        >,
3616    ) -> Self {
3617        match err {
3618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3621                source: err.into(),
3622            }),
3623        }
3624    }
3625}
3626impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3627    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3628        match err {
3629            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3630        }
3631    }
3632}
3633impl<R>
3634    From<
3635        ::aws_smithy_runtime_api::client::result::SdkError<
3636            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3637            R,
3638        >,
3639    > for Error
3640where
3641    R: Send + Sync + std::fmt::Debug + 'static,
3642{
3643    fn from(
3644        err: ::aws_smithy_runtime_api::client::result::SdkError<
3645            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3646            R,
3647        >,
3648    ) -> Self {
3649        match err {
3650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3653                source: err.into(),
3654            }),
3655        }
3656    }
3657}
3658impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3659    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3660        match err {
3661            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3662                Error::Unhandled(inner)
3663            }
3664        }
3665    }
3666}
3667impl<R>
3668    From<
3669        ::aws_smithy_runtime_api::client::result::SdkError<
3670            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3671            R,
3672        >,
3673    > for Error
3674where
3675    R: Send + Sync + std::fmt::Debug + 'static,
3676{
3677    fn from(
3678        err: ::aws_smithy_runtime_api::client::result::SdkError<
3679            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3680            R,
3681        >,
3682    ) -> Self {
3683        match err {
3684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3687                source: err.into(),
3688            }),
3689        }
3690    }
3691}
3692impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3693    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3694        match err {
3695            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3696                Error::Unhandled(inner)
3697            }
3698        }
3699    }
3700}
3701impl<R>
3702    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3703    for Error
3704where
3705    R: Send + Sync + std::fmt::Debug + 'static,
3706{
3707    fn from(
3708        err: ::aws_smithy_runtime_api::client::result::SdkError<
3709            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3710            R,
3711        >,
3712    ) -> Self {
3713        match err {
3714            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3715            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3716                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3717                source: err.into(),
3718            }),
3719        }
3720    }
3721}
3722impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3723    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3724        match err {
3725            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3726        }
3727    }
3728}
3729impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>>
3730    for Error
3731where
3732    R: Send + Sync + std::fmt::Debug + 'static,
3733{
3734    fn from(
3735        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>,
3736    ) -> Self {
3737        match err {
3738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3741                source: err.into(),
3742            }),
3743        }
3744    }
3745}
3746impl From<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3747    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3748        match err {
3749            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3750        }
3751    }
3752}
3753impl<R>
3754    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3755    for Error
3756where
3757    R: Send + Sync + std::fmt::Debug + 'static,
3758{
3759    fn from(
3760        err: ::aws_smithy_runtime_api::client::result::SdkError<
3761            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3762            R,
3763        >,
3764    ) -> Self {
3765        match err {
3766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3769                source: err.into(),
3770            }),
3771        }
3772    }
3773}
3774impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
3775    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
3776        match err {
3777            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3778        }
3779    }
3780}
3781impl<R>
3782    From<
3783        ::aws_smithy_runtime_api::client::result::SdkError<
3784            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3785            R,
3786        >,
3787    > for Error
3788where
3789    R: Send + Sync + std::fmt::Debug + 'static,
3790{
3791    fn from(
3792        err: ::aws_smithy_runtime_api::client::result::SdkError<
3793            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3794            R,
3795        >,
3796    ) -> Self {
3797        match err {
3798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3801                source: err.into(),
3802            }),
3803        }
3804    }
3805}
3806impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
3807    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
3808        match err {
3809            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
3810                Error::Unhandled(inner)
3811            }
3812        }
3813    }
3814}
3815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
3816where
3817    R: Send + Sync + std::fmt::Debug + 'static,
3818{
3819    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> 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_volume::CreateVolumeError> for Error {
3830    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
3831        match err {
3832            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
3833        }
3834    }
3835}
3836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
3837where
3838    R: Send + Sync + std::fmt::Debug + 'static,
3839{
3840    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
3841        match err {
3842            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3843            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3844                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3845                source: err.into(),
3846            }),
3847        }
3848    }
3849}
3850impl From<crate::operation::create_vpc::CreateVpcError> for Error {
3851    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
3852        match err {
3853            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
3854        }
3855    }
3856}
3857impl<R>
3858    From<
3859        ::aws_smithy_runtime_api::client::result::SdkError<
3860            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3861            R,
3862        >,
3863    > for Error
3864where
3865    R: Send + Sync + std::fmt::Debug + 'static,
3866{
3867    fn from(
3868        err: ::aws_smithy_runtime_api::client::result::SdkError<
3869            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3870            R,
3871        >,
3872    ) -> Self {
3873        match err {
3874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3877                source: err.into(),
3878            }),
3879        }
3880    }
3881}
3882impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
3883    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
3884        match err {
3885            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
3886                Error::Unhandled(inner)
3887            }
3888        }
3889    }
3890}
3891impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
3892where
3893    R: Send + Sync + std::fmt::Debug + 'static,
3894{
3895    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
3896        match err {
3897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3900                source: err.into(),
3901            }),
3902        }
3903    }
3904}
3905impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
3906    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
3907        match err {
3908            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3909        }
3910    }
3911}
3912impl<R>
3913    From<
3914        ::aws_smithy_runtime_api::client::result::SdkError<
3915            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3916            R,
3917        >,
3918    > for Error
3919where
3920    R: Send + Sync + std::fmt::Debug + 'static,
3921{
3922    fn from(
3923        err: ::aws_smithy_runtime_api::client::result::SdkError<
3924            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3925            R,
3926        >,
3927    ) -> Self {
3928        match err {
3929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3932                source: err.into(),
3933            }),
3934        }
3935    }
3936}
3937impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
3938    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
3939        match err {
3940            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
3941                Error::Unhandled(inner)
3942            }
3943        }
3944    }
3945}
3946impl<R>
3947    From<
3948        ::aws_smithy_runtime_api::client::result::SdkError<
3949            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3950            R,
3951        >,
3952    > for Error
3953where
3954    R: Send + Sync + std::fmt::Debug + 'static,
3955{
3956    fn from(
3957        err: ::aws_smithy_runtime_api::client::result::SdkError<
3958            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3959            R,
3960        >,
3961    ) -> Self {
3962        match err {
3963            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3964            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3965                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3966                source: err.into(),
3967            }),
3968        }
3969    }
3970}
3971impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
3972    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
3973        match err {
3974            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
3975                Error::Unhandled(inner)
3976            }
3977        }
3978    }
3979}
3980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
3981    for Error
3982where
3983    R: Send + Sync + std::fmt::Debug + 'static,
3984{
3985    fn from(
3986        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
3987    ) -> Self {
3988        match err {
3989            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3990            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3991                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3992                source: err.into(),
3993            }),
3994        }
3995    }
3996}
3997impl From<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError> for Error {
3998    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
3999        match err {
4000            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4001        }
4002    }
4003}
4004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
4005where
4006    R: Send + Sync + std::fmt::Debug + 'static,
4007{
4008    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
4009        match err {
4010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4013                source: err.into(),
4014            }),
4015        }
4016    }
4017}
4018impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
4019    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
4020        match err {
4021            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4022        }
4023    }
4024}
4025impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
4026    for Error
4027where
4028    R: Send + Sync + std::fmt::Debug + 'static,
4029{
4030    fn from(
4031        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
4032    ) -> Self {
4033        match err {
4034            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4035            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4036                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4037                source: err.into(),
4038            }),
4039        }
4040    }
4041}
4042impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
4043    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
4044        match err {
4045            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
4046        }
4047    }
4048}
4049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
4050where
4051    R: Send + Sync + std::fmt::Debug + 'static,
4052{
4053    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
4054        match err {
4055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4058                source: err.into(),
4059            }),
4060        }
4061    }
4062}
4063impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
4064    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
4065        match err {
4066            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4067        }
4068    }
4069}
4070impl<R>
4071    From<
4072        ::aws_smithy_runtime_api::client::result::SdkError<
4073            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4074            R,
4075        >,
4076    > for Error
4077where
4078    R: Send + Sync + std::fmt::Debug + 'static,
4079{
4080    fn from(
4081        err: ::aws_smithy_runtime_api::client::result::SdkError<
4082            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4083            R,
4084        >,
4085    ) -> Self {
4086        match err {
4087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4090                source: err.into(),
4091            }),
4092        }
4093    }
4094}
4095impl From<crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError> for Error {
4096    fn from(err: crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError) -> Self {
4097        match err {
4098            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError::Unhandled(inner) => Error::Unhandled(inner),
4099        }
4100    }
4101}
4102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
4103where
4104    R: Send + Sync + std::fmt::Debug + 'static,
4105{
4106    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> Self {
4107        match err {
4108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4111                source: err.into(),
4112            }),
4113        }
4114    }
4115}
4116impl From<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
4117    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
4118        match err {
4119            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4120        }
4121    }
4122}
4123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
4124    for Error
4125where
4126    R: Send + Sync + std::fmt::Debug + 'static,
4127{
4128    fn from(
4129        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
4130    ) -> Self {
4131        match err {
4132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4135                source: err.into(),
4136            }),
4137        }
4138    }
4139}
4140impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
4141    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
4142        match err {
4143            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4144        }
4145    }
4146}
4147impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
4148where
4149    R: Send + Sync + std::fmt::Debug + 'static,
4150{
4151    fn from(
4152        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
4153    ) -> Self {
4154        match err {
4155            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4156            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4157                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4158                source: err.into(),
4159            }),
4160        }
4161    }
4162}
4163impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
4164    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
4165        match err {
4166            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
4167        }
4168    }
4169}
4170impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
4171where
4172    R: Send + Sync + std::fmt::Debug + 'static,
4173{
4174    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
4175        match err {
4176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4179                source: err.into(),
4180            }),
4181        }
4182    }
4183}
4184impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
4185    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
4186        match err {
4187            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
4188        }
4189    }
4190}
4191impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
4192where
4193    R: Send + Sync + std::fmt::Debug + 'static,
4194{
4195    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
4196        match err {
4197            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4198            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4199                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4200                source: err.into(),
4201            }),
4202        }
4203    }
4204}
4205impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
4206    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
4207        match err {
4208            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
4209        }
4210    }
4211}
4212impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
4213where
4214    R: Send + Sync + std::fmt::Debug + 'static,
4215{
4216    fn from(
4217        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
4218    ) -> Self {
4219        match err {
4220            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4221            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4222                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4223                source: err.into(),
4224            }),
4225        }
4226    }
4227}
4228impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
4229    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
4230        match err {
4231            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4232        }
4233    }
4234}
4235impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
4236where
4237    R: Send + Sync + std::fmt::Debug + 'static,
4238{
4239    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> Self {
4240        match err {
4241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4244                source: err.into(),
4245            }),
4246        }
4247    }
4248}
4249impl From<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError> for Error {
4250    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
4251        match err {
4252            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
4253        }
4254    }
4255}
4256impl<R>
4257    From<
4258        ::aws_smithy_runtime_api::client::result::SdkError<
4259            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4260            R,
4261        >,
4262    > for Error
4263where
4264    R: Send + Sync + std::fmt::Debug + 'static,
4265{
4266    fn from(
4267        err: ::aws_smithy_runtime_api::client::result::SdkError<
4268            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4269            R,
4270        >,
4271    ) -> Self {
4272        match err {
4273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4276                source: err.into(),
4277            }),
4278        }
4279    }
4280}
4281impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
4282    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
4283        match err {
4284            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4285        }
4286    }
4287}
4288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
4289where
4290    R: Send + Sync + std::fmt::Debug + 'static,
4291{
4292    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> Self {
4293        match err {
4294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4297                source: err.into(),
4298            }),
4299        }
4300    }
4301}
4302impl From<crate::operation::delete_fleets::DeleteFleetsError> for Error {
4303    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
4304        match err {
4305            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
4306        }
4307    }
4308}
4309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
4310where
4311    R: Send + Sync + std::fmt::Debug + 'static,
4312{
4313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
4314        match err {
4315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4318                source: err.into(),
4319            }),
4320        }
4321    }
4322}
4323impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
4324    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
4325        match err {
4326            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
4327        }
4328    }
4329}
4330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
4331where
4332    R: Send + Sync + std::fmt::Debug + 'static,
4333{
4334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
4335        match err {
4336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4339                source: err.into(),
4340            }),
4341        }
4342    }
4343}
4344impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4345    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4346        match err {
4347            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4348        }
4349    }
4350}
4351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>>
4352    for Error
4353where
4354    R: Send + Sync + std::fmt::Debug + 'static,
4355{
4356    fn from(
4357        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>,
4358    ) -> Self {
4359        match err {
4360            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4361            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4362                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4363                source: err.into(),
4364            }),
4365        }
4366    }
4367}
4368impl From<crate::operation::delete_image_usage_report::DeleteImageUsageReportError> for Error {
4369    fn from(err: crate::operation::delete_image_usage_report::DeleteImageUsageReportError) -> Self {
4370        match err {
4371            crate::operation::delete_image_usage_report::DeleteImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
4372        }
4373    }
4374}
4375impl<R>
4376    From<
4377        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4378    > for Error
4379where
4380    R: Send + Sync + std::fmt::Debug + 'static,
4381{
4382    fn from(
4383        err: ::aws_smithy_runtime_api::client::result::SdkError<
4384            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4385            R,
4386        >,
4387    ) -> Self {
4388        match err {
4389            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4390            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4391                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4392                source: err.into(),
4393            }),
4394        }
4395    }
4396}
4397impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4398    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4399        match err {
4400            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4401        }
4402    }
4403}
4404impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4405    for Error
4406where
4407    R: Send + Sync + std::fmt::Debug + 'static,
4408{
4409    fn from(
4410        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4411    ) -> Self {
4412        match err {
4413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4416                source: err.into(),
4417            }),
4418        }
4419    }
4420}
4421impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4422    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4423        match err {
4424            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4425        }
4426    }
4427}
4428impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4429where
4430    R: Send + Sync + std::fmt::Debug + 'static,
4431{
4432    fn from(
4433        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4434    ) -> Self {
4435        match err {
4436            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4437            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4438                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4439                source: err.into(),
4440            }),
4441        }
4442    }
4443}
4444impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4445    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4446        match err {
4447            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4448        }
4449    }
4450}
4451impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4452where
4453    R: Send + Sync + std::fmt::Debug + 'static,
4454{
4455    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4456        match err {
4457            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4458            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4459                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4460                source: err.into(),
4461            }),
4462        }
4463    }
4464}
4465impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4466    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4467        match err {
4468            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4469        }
4470    }
4471}
4472impl<R>
4473    From<
4474        ::aws_smithy_runtime_api::client::result::SdkError<
4475            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4476            R,
4477        >,
4478    > for Error
4479where
4480    R: Send + Sync + std::fmt::Debug + 'static,
4481{
4482    fn from(
4483        err: ::aws_smithy_runtime_api::client::result::SdkError<
4484            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4485            R,
4486        >,
4487    ) -> Self {
4488        match err {
4489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4492                source: err.into(),
4493            }),
4494        }
4495    }
4496}
4497impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4498    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4499        match err {
4500            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4501                inner,
4502            ) => Error::Unhandled(inner),
4503        }
4504    }
4505}
4506impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4507where
4508    R: Send + Sync + std::fmt::Debug + 'static,
4509{
4510    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4511        match err {
4512            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4513            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4514                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4515                source: err.into(),
4516            }),
4517        }
4518    }
4519}
4520impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4521    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4522        match err {
4523            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4524        }
4525    }
4526}
4527impl<R>
4528    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4529    for Error
4530where
4531    R: Send + Sync + std::fmt::Debug + 'static,
4532{
4533    fn from(
4534        err: ::aws_smithy_runtime_api::client::result::SdkError<
4535            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4536            R,
4537        >,
4538    ) -> Self {
4539        match err {
4540            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4541            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4542                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4543                source: err.into(),
4544            }),
4545        }
4546    }
4547}
4548impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4549    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4550        match err {
4551            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4552        }
4553    }
4554}
4555impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4556where
4557    R: Send + Sync + std::fmt::Debug + 'static,
4558{
4559    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4560        match err {
4561            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4562            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4563                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4564                source: err.into(),
4565            }),
4566        }
4567    }
4568}
4569impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4570    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4571        match err {
4572            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4573        }
4574    }
4575}
4576impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4577where
4578    R: Send + Sync + std::fmt::Debug + 'static,
4579{
4580    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4581        match err {
4582            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4583            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4584                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4585                source: err.into(),
4586            }),
4587        }
4588    }
4589}
4590impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4591    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4592        match err {
4593            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4594        }
4595    }
4596}
4597impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4598where
4599    R: Send + Sync + std::fmt::Debug + 'static,
4600{
4601    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4602        match err {
4603            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4604            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4605                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4606                source: err.into(),
4607            }),
4608        }
4609    }
4610}
4611impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4612    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4613        match err {
4614            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4615        }
4616    }
4617}
4618impl<R>
4619    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4620    for Error
4621where
4622    R: Send + Sync + std::fmt::Debug + 'static,
4623{
4624    fn from(
4625        err: ::aws_smithy_runtime_api::client::result::SdkError<
4626            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4627            R,
4628        >,
4629    ) -> Self {
4630        match err {
4631            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4632            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4633                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4634                source: err.into(),
4635            }),
4636        }
4637    }
4638}
4639impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
4640    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
4641        match err {
4642            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
4643        }
4644    }
4645}
4646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
4647    for Error
4648where
4649    R: Send + Sync + std::fmt::Debug + 'static,
4650{
4651    fn from(
4652        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
4653    ) -> Self {
4654        match err {
4655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4658                source: err.into(),
4659            }),
4660        }
4661    }
4662}
4663impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
4664    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
4665        match err {
4666            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
4667        }
4668    }
4669}
4670impl<R>
4671    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
4672    for Error
4673where
4674    R: Send + Sync + std::fmt::Debug + 'static,
4675{
4676    fn from(
4677        err: ::aws_smithy_runtime_api::client::result::SdkError<
4678            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
4679            R,
4680        >,
4681    ) -> Self {
4682        match err {
4683            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4684            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4685                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4686                source: err.into(),
4687            }),
4688        }
4689    }
4690}
4691impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
4692    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
4693        match err {
4694            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4695        }
4696    }
4697}
4698impl<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 {
4699    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
4700        match err {
4701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4702            _ => Error::Unhandled(
4703                                        crate::error::sealed_unhandled::Unhandled {
4704                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4705                                            source: err.into(),
4706                                        }
4707                                    ),
4708        }
4709    }
4710}
4711impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
4712    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
4713        match err {
4714            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4715        }
4716    }
4717}
4718impl<R>
4719    From<
4720        ::aws_smithy_runtime_api::client::result::SdkError<
4721            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4722            R,
4723        >,
4724    > for Error
4725where
4726    R: Send + Sync + std::fmt::Debug + 'static,
4727{
4728    fn from(
4729        err: ::aws_smithy_runtime_api::client::result::SdkError<
4730            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4731            R,
4732        >,
4733    ) -> Self {
4734        match err {
4735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4738                source: err.into(),
4739            }),
4740        }
4741    }
4742}
4743impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
4744    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
4745        match err {
4746            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
4747                Error::Unhandled(inner)
4748            }
4749        }
4750    }
4751}
4752impl<R>
4753    From<
4754        ::aws_smithy_runtime_api::client::result::SdkError<
4755            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4756            R,
4757        >,
4758    > for Error
4759where
4760    R: Send + Sync + std::fmt::Debug + 'static,
4761{
4762    fn from(
4763        err: ::aws_smithy_runtime_api::client::result::SdkError<
4764            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4765            R,
4766        >,
4767    ) -> Self {
4768        match err {
4769            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4770            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4771                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4772                source: err.into(),
4773            }),
4774        }
4775    }
4776}
4777impl From<crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError> for Error {
4778    fn from(err: crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError) -> Self {
4779        match err {
4780            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
4781                Error::Unhandled(inner)
4782            }
4783        }
4784    }
4785}
4786impl<R>
4787    From<
4788        ::aws_smithy_runtime_api::client::result::SdkError<
4789            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4790            R,
4791        >,
4792    > for Error
4793where
4794    R: Send + Sync + std::fmt::Debug + 'static,
4795{
4796    fn from(
4797        err: ::aws_smithy_runtime_api::client::result::SdkError<
4798            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4799            R,
4800        >,
4801    ) -> Self {
4802        match err {
4803            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4804            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4805                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4806                source: err.into(),
4807            }),
4808        }
4809    }
4810}
4811impl From<crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError> for Error {
4812    fn from(err: crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError) -> Self {
4813        match err {
4814            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
4815                Error::Unhandled(inner)
4816            }
4817        }
4818    }
4819}
4820impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
4821    for Error
4822where
4823    R: Send + Sync + std::fmt::Debug + 'static,
4824{
4825    fn from(
4826        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
4827    ) -> Self {
4828        match err {
4829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4832                source: err.into(),
4833            }),
4834        }
4835    }
4836}
4837impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
4838    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
4839        match err {
4840            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
4841        }
4842    }
4843}
4844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
4845where
4846    R: Send + Sync + std::fmt::Debug + 'static,
4847{
4848    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
4849        match err {
4850            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4851            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4852                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4853                source: err.into(),
4854            }),
4855        }
4856    }
4857}
4858impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
4859    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
4860        match err {
4861            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4862        }
4863    }
4864}
4865impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
4866where
4867    R: Send + Sync + std::fmt::Debug + 'static,
4868{
4869    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
4870        match err {
4871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4874                source: err.into(),
4875            }),
4876        }
4877    }
4878}
4879impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
4880    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
4881        match err {
4882            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
4883        }
4884    }
4885}
4886impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
4887where
4888    R: Send + Sync + std::fmt::Debug + 'static,
4889{
4890    fn from(
4891        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
4892    ) -> Self {
4893        match err {
4894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4897                source: err.into(),
4898            }),
4899        }
4900    }
4901}
4902impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
4903    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
4904        match err {
4905            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
4906        }
4907    }
4908}
4909impl<R>
4910    From<
4911        ::aws_smithy_runtime_api::client::result::SdkError<
4912            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4913            R,
4914        >,
4915    > for Error
4916where
4917    R: Send + Sync + std::fmt::Debug + 'static,
4918{
4919    fn from(
4920        err: ::aws_smithy_runtime_api::client::result::SdkError<
4921            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4922            R,
4923        >,
4924    ) -> Self {
4925        match err {
4926            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4927            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4928                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4929                source: err.into(),
4930            }),
4931        }
4932    }
4933}
4934impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
4935    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
4936        match err {
4937            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
4938                Error::Unhandled(inner)
4939            }
4940        }
4941    }
4942}
4943impl<R>
4944    From<
4945        ::aws_smithy_runtime_api::client::result::SdkError<
4946            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4947            R,
4948        >,
4949    > for Error
4950where
4951    R: Send + Sync + std::fmt::Debug + 'static,
4952{
4953    fn from(
4954        err: ::aws_smithy_runtime_api::client::result::SdkError<
4955            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4956            R,
4957        >,
4958    ) -> Self {
4959        match err {
4960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4963                source: err.into(),
4964            }),
4965        }
4966    }
4967}
4968impl From<crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
4969    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
4970        match err {
4971            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
4972                Error::Unhandled(inner)
4973            }
4974        }
4975    }
4976}
4977impl<R>
4978    From<
4979        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
4980    > for Error
4981where
4982    R: Send + Sync + std::fmt::Debug + 'static,
4983{
4984    fn from(
4985        err: ::aws_smithy_runtime_api::client::result::SdkError<
4986            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
4987            R,
4988        >,
4989    ) -> Self {
4990        match err {
4991            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4992            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4993                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4994                source: err.into(),
4995            }),
4996        }
4997    }
4998}
4999impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
5000    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
5001        match err {
5002            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
5003        }
5004    }
5005}
5006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
5007    for Error
5008where
5009    R: Send + Sync + std::fmt::Debug + 'static,
5010{
5011    fn from(
5012        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
5013    ) -> Self {
5014        match err {
5015            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5016            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5017                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5018                source: err.into(),
5019            }),
5020        }
5021    }
5022}
5023impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
5024    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
5025        match err {
5026            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
5027        }
5028    }
5029}
5030impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
5031where
5032    R: Send + Sync + std::fmt::Debug + 'static,
5033{
5034    fn from(
5035        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
5036    ) -> Self {
5037        match err {
5038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5041                source: err.into(),
5042            }),
5043        }
5044    }
5045}
5046impl From<crate::operation::delete_network_interface::DeleteNetworkInterfaceError> for Error {
5047    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
5048        match err {
5049            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
5050        }
5051    }
5052}
5053impl<R>
5054    From<
5055        ::aws_smithy_runtime_api::client::result::SdkError<
5056            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
5057            R,
5058        >,
5059    > for Error
5060where
5061    R: Send + Sync + std::fmt::Debug + 'static,
5062{
5063    fn from(
5064        err: ::aws_smithy_runtime_api::client::result::SdkError<
5065            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
5066            R,
5067        >,
5068    ) -> Self {
5069        match err {
5070            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5071            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5072                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5073                source: err.into(),
5074            }),
5075        }
5076    }
5077}
5078impl From<crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
5079    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
5080        match err {
5081            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
5082        }
5083    }
5084}
5085impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>> for Error
5086where
5087    R: Send + Sync + std::fmt::Debug + 'static,
5088{
5089    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>) -> Self {
5090        match err {
5091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5094                source: err.into(),
5095            }),
5096        }
5097    }
5098}
5099impl From<crate::operation::delete_placement_group::DeletePlacementGroupError> for Error {
5100    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
5101        match err {
5102            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
5103        }
5104    }
5105}
5106impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
5107where
5108    R: Send + Sync + std::fmt::Debug + 'static,
5109{
5110    fn from(
5111        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
5112    ) -> Self {
5113        match err {
5114            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5115            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5116                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5117                source: err.into(),
5118            }),
5119        }
5120    }
5121}
5122impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
5123    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
5124        match err {
5125            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
5126        }
5127    }
5128}
5129impl<R>
5130    From<
5131        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
5132    > for Error
5133where
5134    R: Send + Sync + std::fmt::Debug + 'static,
5135{
5136    fn from(
5137        err: ::aws_smithy_runtime_api::client::result::SdkError<
5138            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
5139            R,
5140        >,
5141    ) -> Self {
5142        match err {
5143            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5144            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5145                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5146                source: err.into(),
5147            }),
5148        }
5149    }
5150}
5151impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
5152    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
5153        match err {
5154            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
5155        }
5156    }
5157}
5158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
5159where
5160    R: Send + Sync + std::fmt::Debug + 'static,
5161{
5162    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> Self {
5163        match err {
5164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5167                source: err.into(),
5168            }),
5169        }
5170    }
5171}
5172impl From<crate::operation::delete_route::DeleteRouteError> for Error {
5173    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
5174        match err {
5175            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
5176        }
5177    }
5178}
5179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>> for Error
5180where
5181    R: Send + Sync + std::fmt::Debug + 'static,
5182{
5183    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>) -> Self {
5184        match err {
5185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5188                source: err.into(),
5189            }),
5190        }
5191    }
5192}
5193impl From<crate::operation::delete_route_server::DeleteRouteServerError> for Error {
5194    fn from(err: crate::operation::delete_route_server::DeleteRouteServerError) -> Self {
5195        match err {
5196            crate::operation::delete_route_server::DeleteRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
5197        }
5198    }
5199}
5200impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>>
5201    for Error
5202where
5203    R: Send + Sync + std::fmt::Debug + 'static,
5204{
5205    fn from(
5206        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>,
5207    ) -> Self {
5208        match err {
5209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5212                source: err.into(),
5213            }),
5214        }
5215    }
5216}
5217impl From<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError> for Error {
5218    fn from(err: crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError) -> Self {
5219        match err {
5220            crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5221        }
5222    }
5223}
5224impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>> for Error
5225where
5226    R: Send + Sync + std::fmt::Debug + 'static,
5227{
5228    fn from(
5229        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>,
5230    ) -> Self {
5231        match err {
5232            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5233            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5234                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5235                source: err.into(),
5236            }),
5237        }
5238    }
5239}
5240impl From<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError> for Error {
5241    fn from(err: crate::operation::delete_route_server_peer::DeleteRouteServerPeerError) -> Self {
5242        match err {
5243            crate::operation::delete_route_server_peer::DeleteRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
5244        }
5245    }
5246}
5247impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
5248where
5249    R: Send + Sync + std::fmt::Debug + 'static,
5250{
5251    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> Self {
5252        match err {
5253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5256                source: err.into(),
5257            }),
5258        }
5259    }
5260}
5261impl From<crate::operation::delete_route_table::DeleteRouteTableError> for Error {
5262    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
5263        match err {
5264            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5265        }
5266    }
5267}
5268impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
5269where
5270    R: Send + Sync + std::fmt::Debug + 'static,
5271{
5272    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
5273        match err {
5274            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5275            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5276                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5277                source: err.into(),
5278            }),
5279        }
5280    }
5281}
5282impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
5283    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
5284        match err {
5285            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
5286        }
5287    }
5288}
5289impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
5290where
5291    R: Send + Sync + std::fmt::Debug + 'static,
5292{
5293    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
5294        match err {
5295            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5296            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5297                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5298                source: err.into(),
5299            }),
5300        }
5301    }
5302}
5303impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
5304    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
5305        match err {
5306            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5307        }
5308    }
5309}
5310impl<R>
5311    From<
5312        ::aws_smithy_runtime_api::client::result::SdkError<
5313            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5314            R,
5315        >,
5316    > for Error
5317where
5318    R: Send + Sync + std::fmt::Debug + 'static,
5319{
5320    fn from(
5321        err: ::aws_smithy_runtime_api::client::result::SdkError<
5322            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5323            R,
5324        >,
5325    ) -> Self {
5326        match err {
5327            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5328            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5329                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5330                source: err.into(),
5331            }),
5332        }
5333    }
5334}
5335impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
5336    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
5337        match err {
5338            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5339        }
5340    }
5341}
5342impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
5343where
5344    R: Send + Sync + std::fmt::Debug + 'static,
5345{
5346    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
5347        match err {
5348            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5349            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5350                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5351                source: err.into(),
5352            }),
5353        }
5354    }
5355}
5356impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
5357    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
5358        match err {
5359            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
5360        }
5361    }
5362}
5363impl<R>
5364    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, R>>
5365    for Error
5366where
5367    R: Send + Sync + std::fmt::Debug + 'static,
5368{
5369    fn from(
5370        err: ::aws_smithy_runtime_api::client::result::SdkError<
5371            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
5372            R,
5373        >,
5374    ) -> Self {
5375        match err {
5376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5379                source: err.into(),
5380            }),
5381        }
5382    }
5383}
5384impl From<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
5385    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
5386        match err {
5387            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
5388        }
5389    }
5390}
5391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
5392where
5393    R: Send + Sync + std::fmt::Debug + 'static,
5394{
5395    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
5396        match err {
5397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5400                source: err.into(),
5401            }),
5402        }
5403    }
5404}
5405impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
5406    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
5407        match err {
5408            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
5409        }
5410    }
5411}
5412impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
5413    for Error
5414where
5415    R: Send + Sync + std::fmt::Debug + 'static,
5416{
5417    fn from(
5418        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, 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_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
5430    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
5431        match err {
5432            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
5433        }
5434    }
5435}
5436impl<R>
5437    From<
5438        ::aws_smithy_runtime_api::client::result::SdkError<
5439            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5440            R,
5441        >,
5442    > for Error
5443where
5444    R: Send + Sync + std::fmt::Debug + 'static,
5445{
5446    fn from(
5447        err: ::aws_smithy_runtime_api::client::result::SdkError<
5448            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5449            R,
5450        >,
5451    ) -> Self {
5452        match err {
5453            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5454            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5455                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5456                source: err.into(),
5457            }),
5458        }
5459    }
5460}
5461impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
5462    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
5463        match err {
5464            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
5465        }
5466    }
5467}
5468impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
5469    for Error
5470where
5471    R: Send + Sync + std::fmt::Debug + 'static,
5472{
5473    fn from(
5474        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
5475    ) -> Self {
5476        match err {
5477            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5478            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5479                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5480                source: err.into(),
5481            }),
5482        }
5483    }
5484}
5485impl From<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
5486    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
5487        match err {
5488            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
5489        }
5490    }
5491}
5492impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
5493    for Error
5494where
5495    R: Send + Sync + std::fmt::Debug + 'static,
5496{
5497    fn from(
5498        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5499    ) -> Self {
5500        match err {
5501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5504                source: err.into(),
5505            }),
5506        }
5507    }
5508}
5509impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5510    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5511        match err {
5512            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5513        }
5514    }
5515}
5516impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5517where
5518    R: Send + Sync + std::fmt::Debug + 'static,
5519{
5520    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5521        match err {
5522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5525                source: err.into(),
5526            }),
5527        }
5528    }
5529}
5530impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5531    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5532        match err {
5533            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5534        }
5535    }
5536}
5537impl<R>
5538    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5539    for Error
5540where
5541    R: Send + Sync + std::fmt::Debug + 'static,
5542{
5543    fn from(
5544        err: ::aws_smithy_runtime_api::client::result::SdkError<
5545            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5546            R,
5547        >,
5548    ) -> Self {
5549        match err {
5550            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5551            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5552                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5553                source: err.into(),
5554            }),
5555        }
5556    }
5557}
5558impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5559    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5560        match err {
5561            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5562        }
5563    }
5564}
5565impl<R>
5566    From<
5567        ::aws_smithy_runtime_api::client::result::SdkError<
5568            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5569            R,
5570        >,
5571    > for Error
5572where
5573    R: Send + Sync + std::fmt::Debug + 'static,
5574{
5575    fn from(
5576        err: ::aws_smithy_runtime_api::client::result::SdkError<
5577            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5578            R,
5579        >,
5580    ) -> Self {
5581        match err {
5582            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5583            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5584                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5585                source: err.into(),
5586            }),
5587        }
5588    }
5589}
5590impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5591    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5592        match err {
5593            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
5594        }
5595    }
5596}
5597impl<R>
5598    From<
5599        ::aws_smithy_runtime_api::client::result::SdkError<
5600            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5601            R,
5602        >,
5603    > for Error
5604where
5605    R: Send + Sync + std::fmt::Debug + 'static,
5606{
5607    fn from(
5608        err: ::aws_smithy_runtime_api::client::result::SdkError<
5609            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5610            R,
5611        >,
5612    ) -> Self {
5613        match err {
5614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5617                source: err.into(),
5618            }),
5619        }
5620    }
5621}
5622impl From<crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
5623    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
5624        match err {
5625            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
5626                Error::Unhandled(inner)
5627            }
5628        }
5629    }
5630}
5631impl<R>
5632    From<
5633        ::aws_smithy_runtime_api::client::result::SdkError<
5634            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5635            R,
5636        >,
5637    > for Error
5638where
5639    R: Send + Sync + std::fmt::Debug + 'static,
5640{
5641    fn from(
5642        err: ::aws_smithy_runtime_api::client::result::SdkError<
5643            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5644            R,
5645        >,
5646    ) -> Self {
5647        match err {
5648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5651                source: err.into(),
5652            }),
5653        }
5654    }
5655}
5656impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
5657    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
5658        match err {
5659            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
5660                Error::Unhandled(inner)
5661            }
5662        }
5663    }
5664}
5665impl<R>
5666    From<
5667        ::aws_smithy_runtime_api::client::result::SdkError<
5668            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5669            R,
5670        >,
5671    > for Error
5672where
5673    R: Send + Sync + std::fmt::Debug + 'static,
5674{
5675    fn from(
5676        err: ::aws_smithy_runtime_api::client::result::SdkError<
5677            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5678            R,
5679        >,
5680    ) -> Self {
5681        match err {
5682            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5683            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5684                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5685                source: err.into(),
5686            }),
5687        }
5688    }
5689}
5690impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
5691    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
5692        match err {
5693            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
5694        }
5695    }
5696}
5697impl<R>
5698    From<
5699        ::aws_smithy_runtime_api::client::result::SdkError<
5700            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5701            R,
5702        >,
5703    > for Error
5704where
5705    R: Send + Sync + std::fmt::Debug + 'static,
5706{
5707    fn from(
5708        err: ::aws_smithy_runtime_api::client::result::SdkError<
5709            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5710            R,
5711        >,
5712    ) -> Self {
5713        match err {
5714            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5715            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5716                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5717                source: err.into(),
5718            }),
5719        }
5720    }
5721}
5722impl From<crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
5723    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
5724        match err {
5725            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
5726                Error::Unhandled(inner)
5727            }
5728        }
5729    }
5730}
5731impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
5732    for Error
5733where
5734    R: Send + Sync + std::fmt::Debug + 'static,
5735{
5736    fn from(
5737        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
5738    ) -> Self {
5739        match err {
5740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5743                source: err.into(),
5744            }),
5745        }
5746    }
5747}
5748impl From<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError> for Error {
5749    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
5750        match err {
5751            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
5752        }
5753    }
5754}
5755impl<R>
5756    From<
5757        ::aws_smithy_runtime_api::client::result::SdkError<
5758            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5759            R,
5760        >,
5761    > for Error
5762where
5763    R: Send + Sync + std::fmt::Debug + 'static,
5764{
5765    fn from(
5766        err: ::aws_smithy_runtime_api::client::result::SdkError<
5767            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5768            R,
5769        >,
5770    ) -> Self {
5771        match err {
5772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5775                source: err.into(),
5776            }),
5777        }
5778    }
5779}
5780impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
5781    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
5782        match err {
5783            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5784        }
5785    }
5786}
5787impl<R>
5788    From<
5789        ::aws_smithy_runtime_api::client::result::SdkError<
5790            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5791            R,
5792        >,
5793    > for Error
5794where
5795    R: Send + Sync + std::fmt::Debug + 'static,
5796{
5797    fn from(
5798        err: ::aws_smithy_runtime_api::client::result::SdkError<
5799            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5800            R,
5801        >,
5802    ) -> Self {
5803        match err {
5804            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5805            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5806                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5807                source: err.into(),
5808            }),
5809        }
5810    }
5811}
5812impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
5813    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
5814        match err {
5815            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
5816                Error::Unhandled(inner)
5817            }
5818        }
5819    }
5820}
5821impl<R>
5822    From<
5823        ::aws_smithy_runtime_api::client::result::SdkError<
5824            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5825            R,
5826        >,
5827    > for Error
5828where
5829    R: Send + Sync + std::fmt::Debug + 'static,
5830{
5831    fn from(
5832        err: ::aws_smithy_runtime_api::client::result::SdkError<
5833            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5834            R,
5835        >,
5836    ) -> Self {
5837        match err {
5838            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5839            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5840                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5841                source: err.into(),
5842            }),
5843        }
5844    }
5845}
5846impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
5847    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
5848        match err {
5849            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
5850                Error::Unhandled(inner)
5851            }
5852        }
5853    }
5854}
5855impl<R>
5856    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
5857    for Error
5858where
5859    R: Send + Sync + std::fmt::Debug + 'static,
5860{
5861    fn from(
5862        err: ::aws_smithy_runtime_api::client::result::SdkError<
5863            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
5864            R,
5865        >,
5866    ) -> Self {
5867        match err {
5868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5871                source: err.into(),
5872            }),
5873        }
5874    }
5875}
5876impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
5877    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
5878        match err {
5879            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5880        }
5881    }
5882}
5883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
5884    for Error
5885where
5886    R: Send + Sync + std::fmt::Debug + 'static,
5887{
5888    fn from(
5889        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
5890    ) -> Self {
5891        match err {
5892            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5893            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5894                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5895                source: err.into(),
5896            }),
5897        }
5898    }
5899}
5900impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
5901    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
5902        match err {
5903            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
5904        }
5905    }
5906}
5907impl<R>
5908    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
5909    for Error
5910where
5911    R: Send + Sync + std::fmt::Debug + 'static,
5912{
5913    fn from(
5914        err: ::aws_smithy_runtime_api::client::result::SdkError<
5915            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
5916            R,
5917        >,
5918    ) -> Self {
5919        match err {
5920            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5921            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5922                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5923                source: err.into(),
5924            }),
5925        }
5926    }
5927}
5928impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
5929    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
5930        match err {
5931            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
5932        }
5933    }
5934}
5935impl<R>
5936    From<
5937        ::aws_smithy_runtime_api::client::result::SdkError<
5938            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5939            R,
5940        >,
5941    > for Error
5942where
5943    R: Send + Sync + std::fmt::Debug + 'static,
5944{
5945    fn from(
5946        err: ::aws_smithy_runtime_api::client::result::SdkError<
5947            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5948            R,
5949        >,
5950    ) -> Self {
5951        match err {
5952            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5953            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5954                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5955                source: err.into(),
5956            }),
5957        }
5958    }
5959}
5960impl From<crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
5961    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
5962        match err {
5963            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
5964                Error::Unhandled(inner)
5965            }
5966        }
5967    }
5968}
5969impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
5970where
5971    R: Send + Sync + std::fmt::Debug + 'static,
5972{
5973    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> Self {
5974        match err {
5975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5978                source: err.into(),
5979            }),
5980        }
5981    }
5982}
5983impl From<crate::operation::delete_volume::DeleteVolumeError> for Error {
5984    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
5985        match err {
5986            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
5987        }
5988    }
5989}
5990impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
5991where
5992    R: Send + Sync + std::fmt::Debug + 'static,
5993{
5994    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> Self {
5995        match err {
5996            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5997            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5998                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5999                source: err.into(),
6000            }),
6001        }
6002    }
6003}
6004impl From<crate::operation::delete_vpc::DeleteVpcError> for Error {
6005    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
6006        match err {
6007            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
6008        }
6009    }
6010}
6011impl<R>
6012    From<
6013        ::aws_smithy_runtime_api::client::result::SdkError<
6014            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
6015            R,
6016        >,
6017    > for Error
6018where
6019    R: Send + Sync + std::fmt::Debug + 'static,
6020{
6021    fn from(
6022        err: ::aws_smithy_runtime_api::client::result::SdkError<
6023            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
6024            R,
6025        >,
6026    ) -> Self {
6027        match err {
6028            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6029            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6030                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6031                source: err.into(),
6032            }),
6033        }
6034    }
6035}
6036impl From<crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
6037    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
6038        match err {
6039            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
6040                Error::Unhandled(inner)
6041            }
6042        }
6043    }
6044}
6045impl<R>
6046    From<
6047        ::aws_smithy_runtime_api::client::result::SdkError<
6048            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6049            R,
6050        >,
6051    > for Error
6052where
6053    R: Send + Sync + std::fmt::Debug + 'static,
6054{
6055    fn from(
6056        err: ::aws_smithy_runtime_api::client::result::SdkError<
6057            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6058            R,
6059        >,
6060    ) -> Self {
6061        match err {
6062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6065                source: err.into(),
6066            }),
6067        }
6068    }
6069}
6070impl From<crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
6071    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
6072        match err {
6073            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
6074                Error::Unhandled(inner)
6075            }
6076        }
6077    }
6078}
6079impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
6080where
6081    R: Send + Sync + std::fmt::Debug + 'static,
6082{
6083    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
6084        match err {
6085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6088                source: err.into(),
6089            }),
6090        }
6091    }
6092}
6093impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
6094    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
6095        match err {
6096            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6097        }
6098    }
6099}
6100impl<R>
6101    From<
6102        ::aws_smithy_runtime_api::client::result::SdkError<
6103            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6104            R,
6105        >,
6106    > for Error
6107where
6108    R: Send + Sync + std::fmt::Debug + 'static,
6109{
6110    fn from(
6111        err: ::aws_smithy_runtime_api::client::result::SdkError<
6112            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6113            R,
6114        >,
6115    ) -> Self {
6116        match err {
6117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6120                source: err.into(),
6121            }),
6122        }
6123    }
6124}
6125impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
6126    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
6127        match err {
6128            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
6129                Error::Unhandled(inner)
6130            }
6131        }
6132    }
6133}
6134impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
6135    for Error
6136where
6137    R: Send + Sync + std::fmt::Debug + 'static,
6138{
6139    fn from(
6140        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
6141    ) -> Self {
6142        match err {
6143            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6144            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6145                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6146                source: err.into(),
6147            }),
6148        }
6149    }
6150}
6151impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
6152    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
6153        match err {
6154            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6155        }
6156    }
6157}
6158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, 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_vpn_connection::DeleteVpnConnectionError, 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_vpn_connection::DeleteVpnConnectionError> for Error {
6173    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
6174        match err {
6175            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6176        }
6177    }
6178}
6179impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
6180    for Error
6181where
6182    R: Send + Sync + std::fmt::Debug + 'static,
6183{
6184    fn from(
6185        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
6186    ) -> Self {
6187        match err {
6188            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6189            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6190                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6191                source: err.into(),
6192            }),
6193        }
6194    }
6195}
6196impl From<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
6197    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
6198        match err {
6199            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
6200        }
6201    }
6202}
6203impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
6204where
6205    R: Send + Sync + std::fmt::Debug + 'static,
6206{
6207    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
6208        match err {
6209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6212                source: err.into(),
6213            }),
6214        }
6215    }
6216}
6217impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
6218    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
6219        match err {
6220            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
6221        }
6222    }
6223}
6224impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
6225where
6226    R: Send + Sync + std::fmt::Debug + 'static,
6227{
6228    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
6229        match err {
6230            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6231            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6232                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6233                source: err.into(),
6234            }),
6235        }
6236    }
6237}
6238impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
6239    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
6240        match err {
6241            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
6242        }
6243    }
6244}
6245impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
6246where
6247    R: Send + Sync + std::fmt::Debug + 'static,
6248{
6249    fn from(
6250        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
6251    ) -> Self {
6252        match err {
6253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6256                source: err.into(),
6257            }),
6258        }
6259    }
6260}
6261impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
6262    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
6263        match err {
6264            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
6265        }
6266    }
6267}
6268impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
6269    for Error
6270where
6271    R: Send + Sync + std::fmt::Debug + 'static,
6272{
6273    fn from(
6274        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
6275    ) -> Self {
6276        match err {
6277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6280                source: err.into(),
6281            }),
6282        }
6283    }
6284}
6285impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
6286    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
6287        match err {
6288            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6289        }
6290    }
6291}
6292impl<R>
6293    From<
6294        ::aws_smithy_runtime_api::client::result::SdkError<
6295            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6296            R,
6297        >,
6298    > for Error
6299where
6300    R: Send + Sync + std::fmt::Debug + 'static,
6301{
6302    fn from(
6303        err: ::aws_smithy_runtime_api::client::result::SdkError<
6304            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6305            R,
6306        >,
6307    ) -> Self {
6308        match err {
6309            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6310            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6311                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6312                source: err.into(),
6313            }),
6314        }
6315    }
6316}
6317impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
6318    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
6319        match err {
6320            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6321        }
6322    }
6323}
6324impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
6325where
6326    R: Send + Sync + std::fmt::Debug + 'static,
6327{
6328    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
6329        match err {
6330            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6331            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6332                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6333                source: err.into(),
6334            }),
6335        }
6336    }
6337}
6338impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
6339    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
6340        match err {
6341            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
6342        }
6343    }
6344}
6345impl<R>
6346    From<
6347        ::aws_smithy_runtime_api::client::result::SdkError<
6348            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6349            R,
6350        >,
6351    > for Error
6352where
6353    R: Send + Sync + std::fmt::Debug + 'static,
6354{
6355    fn from(
6356        err: ::aws_smithy_runtime_api::client::result::SdkError<
6357            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6358            R,
6359        >,
6360    ) -> Self {
6361        match err {
6362            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6363            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6364                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6365                source: err.into(),
6366            }),
6367        }
6368    }
6369}
6370impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
6371    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
6372        match err {
6373            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
6374                inner,
6375            ) => Error::Unhandled(inner),
6376        }
6377    }
6378}
6379impl<R>
6380    From<
6381        ::aws_smithy_runtime_api::client::result::SdkError<
6382            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6383            R,
6384        >,
6385    > for Error
6386where
6387    R: Send + Sync + std::fmt::Debug + 'static,
6388{
6389    fn from(
6390        err: ::aws_smithy_runtime_api::client::result::SdkError<
6391            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6392            R,
6393        >,
6394    ) -> Self {
6395        match err {
6396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6399                source: err.into(),
6400            }),
6401        }
6402    }
6403}
6404impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
6405    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
6406        match err {
6407            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
6408                inner,
6409            ) => Error::Unhandled(inner),
6410        }
6411    }
6412}
6413impl<R>
6414    From<
6415        ::aws_smithy_runtime_api::client::result::SdkError<
6416            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6417            R,
6418        >,
6419    > for Error
6420where
6421    R: Send + Sync + std::fmt::Debug + 'static,
6422{
6423    fn from(
6424        err: ::aws_smithy_runtime_api::client::result::SdkError<
6425            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6426            R,
6427        >,
6428    ) -> Self {
6429        match err {
6430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6433                source: err.into(),
6434            }),
6435        }
6436    }
6437}
6438impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
6439    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
6440        match err {
6441            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
6442                inner,
6443            ) => Error::Unhandled(inner),
6444        }
6445    }
6446}
6447impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
6448    for Error
6449where
6450    R: Send + Sync + std::fmt::Debug + 'static,
6451{
6452    fn from(
6453        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
6454    ) -> Self {
6455        match err {
6456            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6457            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6458                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6459                source: err.into(),
6460            }),
6461        }
6462    }
6463}
6464impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
6465    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
6466        match err {
6467            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
6468        }
6469    }
6470}
6471impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
6472where
6473    R: Send + Sync + std::fmt::Debug + 'static,
6474{
6475    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
6476        match err {
6477            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6478            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6479                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6480                source: err.into(),
6481            }),
6482        }
6483    }
6484}
6485impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
6486    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
6487        match err {
6488            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
6489        }
6490    }
6491}
6492impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
6493    for Error
6494where
6495    R: Send + Sync + std::fmt::Debug + 'static,
6496{
6497    fn from(
6498        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
6499    ) -> Self {
6500        match err {
6501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6504                source: err.into(),
6505            }),
6506        }
6507    }
6508}
6509impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
6510    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
6511        match err {
6512            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6513        }
6514    }
6515}
6516impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>>
6517    for Error
6518where
6519    R: Send + Sync + std::fmt::Debug + 'static,
6520{
6521    fn from(
6522        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
6523    ) -> Self {
6524        match err {
6525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6528                source: err.into(),
6529            }),
6530        }
6531    }
6532}
6533impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
6534    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
6535        match err {
6536            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
6537        }
6538    }
6539}
6540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
6541    for Error
6542where
6543    R: Send + Sync + std::fmt::Debug + 'static,
6544{
6545    fn from(
6546        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
6547    ) -> Self {
6548        match err {
6549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6552                source: err.into(),
6553            }),
6554        }
6555    }
6556}
6557impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
6558    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
6559        match err {
6560            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
6561        }
6562    }
6563}
6564impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
6565    for Error
6566where
6567    R: Send + Sync + std::fmt::Debug + 'static,
6568{
6569    fn from(
6570        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
6571    ) -> Self {
6572        match err {
6573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6576                source: err.into(),
6577            }),
6578        }
6579    }
6580}
6581impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
6582    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
6583        match err {
6584            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
6585        }
6586    }
6587}
6588impl<R>
6589    From<
6590        ::aws_smithy_runtime_api::client::result::SdkError<
6591            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6592            R,
6593        >,
6594    > for Error
6595where
6596    R: Send + Sync + std::fmt::Debug + 'static,
6597{
6598    fn from(
6599        err: ::aws_smithy_runtime_api::client::result::SdkError<
6600            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6601            R,
6602        >,
6603    ) -> Self {
6604        match err {
6605            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6606            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6607                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6608                source: err.into(),
6609            }),
6610        }
6611    }
6612}
6613impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
6614    fn from(
6615        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6616    ) -> Self {
6617        match err {
6618            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
6619        }
6620    }
6621}
6622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
6623where
6624    R: Send + Sync + std::fmt::Debug + 'static,
6625{
6626    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> Self {
6627        match err {
6628            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6629            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6630                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6631                source: err.into(),
6632            }),
6633        }
6634    }
6635}
6636impl From<crate::operation::describe_bundle_tasks::DescribeBundleTasksError> for Error {
6637    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
6638        match err {
6639            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
6640        }
6641    }
6642}
6643impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>> for Error
6644where
6645    R: Send + Sync + std::fmt::Debug + 'static,
6646{
6647    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>) -> Self {
6648        match err {
6649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6652                source: err.into(),
6653            }),
6654        }
6655    }
6656}
6657impl From<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError> for Error {
6658    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
6659        match err {
6660            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
6661        }
6662    }
6663}
6664impl<R>
6665    From<
6666        ::aws_smithy_runtime_api::client::result::SdkError<
6667            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6668            R,
6669        >,
6670    > for Error
6671where
6672    R: Send + Sync + std::fmt::Debug + 'static,
6673{
6674    fn from(
6675        err: ::aws_smithy_runtime_api::client::result::SdkError<
6676            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6677            R,
6678        >,
6679    ) -> Self {
6680        match err {
6681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6684                source: err.into(),
6685            }),
6686        }
6687    }
6688}
6689impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
6690    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
6691        match err {
6692            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
6693                Error::Unhandled(inner)
6694            }
6695        }
6696    }
6697}
6698impl<R>
6699    From<
6700        ::aws_smithy_runtime_api::client::result::SdkError<
6701            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6702            R,
6703        >,
6704    > for Error
6705where
6706    R: Send + Sync + std::fmt::Debug + 'static,
6707{
6708    fn from(
6709        err: ::aws_smithy_runtime_api::client::result::SdkError<
6710            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6711            R,
6712        >,
6713    ) -> Self {
6714        match err {
6715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6718                source: err.into(),
6719            }),
6720        }
6721    }
6722}
6723impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
6724    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
6725        match err {
6726            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
6727                Error::Unhandled(inner)
6728            }
6729        }
6730    }
6731}
6732impl<R>
6733    From<
6734        ::aws_smithy_runtime_api::client::result::SdkError<
6735            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6736            R,
6737        >,
6738    > for Error
6739where
6740    R: Send + Sync + std::fmt::Debug + 'static,
6741{
6742    fn from(
6743        err: ::aws_smithy_runtime_api::client::result::SdkError<
6744            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6745            R,
6746        >,
6747    ) -> Self {
6748        match err {
6749            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6750            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6751                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6752                source: err.into(),
6753            }),
6754        }
6755    }
6756}
6757impl From<crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
6758    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
6759        match err {
6760            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
6761        }
6762    }
6763}
6764impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>> for Error
6765where
6766    R: Send + Sync + std::fmt::Debug + 'static,
6767{
6768    fn from(
6769        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>,
6770    ) -> Self {
6771        match err {
6772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6775                source: err.into(),
6776            }),
6777        }
6778    }
6779}
6780impl From<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError> for Error {
6781    fn from(err: crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError) -> Self {
6782        match err {
6783            crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError::Unhandled(inner) => Error::Unhandled(inner),
6784        }
6785    }
6786}
6787impl<R>
6788    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError, R>>
6789    for Error
6790where
6791    R: Send + Sync + std::fmt::Debug + 'static,
6792{
6793    fn from(
6794        err: ::aws_smithy_runtime_api::client::result::SdkError<
6795            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError,
6796            R,
6797        >,
6798    ) -> Self {
6799        match err {
6800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6803                source: err.into(),
6804            }),
6805        }
6806    }
6807}
6808impl From<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError> for Error {
6809    fn from(err: crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError) -> Self {
6810        match err {
6811            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError::Unhandled(inner) => Error::Unhandled(inner),
6812        }
6813    }
6814}
6815impl<R>
6816    From<
6817        ::aws_smithy_runtime_api::client::result::SdkError<
6818            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
6819            R,
6820        >,
6821    > for Error
6822where
6823    R: Send + Sync + std::fmt::Debug + 'static,
6824{
6825    fn from(
6826        err: ::aws_smithy_runtime_api::client::result::SdkError<
6827            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
6828            R,
6829        >,
6830    ) -> Self {
6831        match err {
6832            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6833            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6834                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6835                source: err.into(),
6836            }),
6837        }
6838    }
6839}
6840impl From<crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError> for Error {
6841    fn from(err: crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError) -> Self {
6842        match err {
6843            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError::Unhandled(inner) => {
6844                Error::Unhandled(inner)
6845            }
6846        }
6847    }
6848}
6849impl<R>
6850    From<
6851        ::aws_smithy_runtime_api::client::result::SdkError<
6852            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6853            R,
6854        >,
6855    > for Error
6856where
6857    R: Send + Sync + std::fmt::Debug + 'static,
6858{
6859    fn from(
6860        err: ::aws_smithy_runtime_api::client::result::SdkError<
6861            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6862            R,
6863        >,
6864    ) -> Self {
6865        match err {
6866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6869                source: err.into(),
6870            }),
6871        }
6872    }
6873}
6874impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
6875    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
6876        match err {
6877            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
6878                Error::Unhandled(inner)
6879            }
6880        }
6881    }
6882}
6883impl<R>
6884    From<
6885        ::aws_smithy_runtime_api::client::result::SdkError<
6886            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6887            R,
6888        >,
6889    > for Error
6890where
6891    R: Send + Sync + std::fmt::Debug + 'static,
6892{
6893    fn from(
6894        err: ::aws_smithy_runtime_api::client::result::SdkError<
6895            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6896            R,
6897        >,
6898    ) -> Self {
6899        match err {
6900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6903                source: err.into(),
6904            }),
6905        }
6906    }
6907}
6908impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
6909    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
6910        match err {
6911            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
6912                Error::Unhandled(inner)
6913            }
6914        }
6915    }
6916}
6917impl<R>
6918    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, R>>
6919    for Error
6920where
6921    R: Send + Sync + std::fmt::Debug + 'static,
6922{
6923    fn from(
6924        err: ::aws_smithy_runtime_api::client::result::SdkError<
6925            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
6926            R,
6927        >,
6928    ) -> Self {
6929        match err {
6930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6933                source: err.into(),
6934            }),
6935        }
6936    }
6937}
6938impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
6939    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
6940        match err {
6941            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
6942        }
6943    }
6944}
6945impl<R>
6946    From<
6947        ::aws_smithy_runtime_api::client::result::SdkError<
6948            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
6949            R,
6950        >,
6951    > for Error
6952where
6953    R: Send + Sync + std::fmt::Debug + 'static,
6954{
6955    fn from(
6956        err: ::aws_smithy_runtime_api::client::result::SdkError<
6957            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
6958            R,
6959        >,
6960    ) -> Self {
6961        match err {
6962            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6963            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6964                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6965                source: err.into(),
6966            }),
6967        }
6968    }
6969}
6970impl From<crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError> for Error {
6971    fn from(err: crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError) -> Self {
6972        match err {
6973            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError::Unhandled(inner) => {
6974                Error::Unhandled(inner)
6975            }
6976        }
6977    }
6978}
6979impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
6980    for Error
6981where
6982    R: Send + Sync + std::fmt::Debug + 'static,
6983{
6984    fn from(
6985        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
6986    ) -> Self {
6987        match err {
6988            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6989            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6990                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6991                source: err.into(),
6992            }),
6993        }
6994    }
6995}
6996impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
6997    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
6998        match err {
6999            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7000        }
7001    }
7002}
7003impl<R>
7004    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
7005    for Error
7006where
7007    R: Send + Sync + std::fmt::Debug + 'static,
7008{
7009    fn from(
7010        err: ::aws_smithy_runtime_api::client::result::SdkError<
7011            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError,
7012            R,
7013        >,
7014    ) -> Self {
7015        match err {
7016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7019                source: err.into(),
7020            }),
7021        }
7022    }
7023}
7024impl From<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
7025    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
7026        match err {
7027            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7028        }
7029    }
7030}
7031impl<R>
7032    From<
7033        ::aws_smithy_runtime_api::client::result::SdkError<
7034            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7035            R,
7036        >,
7037    > for Error
7038where
7039    R: Send + Sync + std::fmt::Debug + 'static,
7040{
7041    fn from(
7042        err: ::aws_smithy_runtime_api::client::result::SdkError<
7043            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7044            R,
7045        >,
7046    ) -> Self {
7047        match err {
7048            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7049            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7050                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7051                source: err.into(),
7052            }),
7053        }
7054    }
7055}
7056impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
7057    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
7058        match err {
7059            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
7060                Error::Unhandled(inner)
7061            }
7062        }
7063    }
7064}
7065impl<R>
7066    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
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_client_vpn_connections::DescribeClientVpnConnectionsError,
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_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
7087    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
7088        match err {
7089            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
7090        }
7091    }
7092}
7093impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
7094    for Error
7095where
7096    R: Send + Sync + std::fmt::Debug + 'static,
7097{
7098    fn from(
7099        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
7100    ) -> Self {
7101        match err {
7102            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7103            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7104                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7105                source: err.into(),
7106            }),
7107        }
7108    }
7109}
7110impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
7111    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
7112        match err {
7113            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7114        }
7115    }
7116}
7117impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
7118    for Error
7119where
7120    R: Send + Sync + std::fmt::Debug + 'static,
7121{
7122    fn from(
7123        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
7124    ) -> Self {
7125        match err {
7126            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7127            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7128                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7129                source: err.into(),
7130            }),
7131        }
7132    }
7133}
7134impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
7135    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
7136        match err {
7137            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
7138        }
7139    }
7140}
7141impl<R>
7142    From<
7143        ::aws_smithy_runtime_api::client::result::SdkError<
7144            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7145            R,
7146        >,
7147    > for Error
7148where
7149    R: Send + Sync + std::fmt::Debug + 'static,
7150{
7151    fn from(
7152        err: ::aws_smithy_runtime_api::client::result::SdkError<
7153            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7154            R,
7155        >,
7156    ) -> Self {
7157        match err {
7158            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7159            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7160                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7161                source: err.into(),
7162            }),
7163        }
7164    }
7165}
7166impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
7167    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
7168        match err {
7169            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
7170        }
7171    }
7172}
7173impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
7174where
7175    R: Send + Sync + std::fmt::Debug + 'static,
7176{
7177    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> Self {
7178        match err {
7179            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7180            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7181                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7182                source: err.into(),
7183            }),
7184        }
7185    }
7186}
7187impl From<crate::operation::describe_coip_pools::DescribeCoipPoolsError> for Error {
7188    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
7189        match err {
7190            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
7191        }
7192    }
7193}
7194impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
7195    for Error
7196where
7197    R: Send + Sync + std::fmt::Debug + 'static,
7198{
7199    fn from(
7200        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
7201    ) -> Self {
7202        match err {
7203            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7204            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7205                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7206                source: err.into(),
7207            }),
7208        }
7209    }
7210}
7211impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
7212    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
7213        match err {
7214            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
7215        }
7216    }
7217}
7218impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
7219    for Error
7220where
7221    R: Send + Sync + std::fmt::Debug + 'static,
7222{
7223    fn from(
7224        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
7225    ) -> Self {
7226        match err {
7227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7230                source: err.into(),
7231            }),
7232        }
7233    }
7234}
7235impl From<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError> for Error {
7236    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
7237        match err {
7238            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7239        }
7240    }
7241}
7242impl<R>
7243    From<
7244        ::aws_smithy_runtime_api::client::result::SdkError<
7245            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7246            R,
7247        >,
7248    > for Error
7249where
7250    R: Send + Sync + std::fmt::Debug + 'static,
7251{
7252    fn from(
7253        err: ::aws_smithy_runtime_api::client::result::SdkError<
7254            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7255            R,
7256        >,
7257    ) -> Self {
7258        match err {
7259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7262                source: err.into(),
7263            }),
7264        }
7265    }
7266}
7267impl From<crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
7268    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
7269        match err {
7270            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
7271                Error::Unhandled(inner)
7272            }
7273        }
7274    }
7275}
7276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
7277where
7278    R: Send + Sync + std::fmt::Debug + 'static,
7279{
7280    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> Self {
7281        match err {
7282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7285                source: err.into(),
7286            }),
7287        }
7288    }
7289}
7290impl From<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError> for Error {
7291    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
7292        match err {
7293            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
7294        }
7295    }
7296}
7297impl<R>
7298    From<
7299        ::aws_smithy_runtime_api::client::result::SdkError<
7300            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7301            R,
7302        >,
7303    > for Error
7304where
7305    R: Send + Sync + std::fmt::Debug + 'static,
7306{
7307    fn from(
7308        err: ::aws_smithy_runtime_api::client::result::SdkError<
7309            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7310            R,
7311        >,
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_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
7323    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
7324        match err {
7325            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
7326                Error::Unhandled(inner)
7327            }
7328        }
7329    }
7330}
7331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
7332where
7333    R: Send + Sync + std::fmt::Debug + 'static,
7334{
7335    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
7336        match err {
7337            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7338            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7339                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7340                source: err.into(),
7341            }),
7342        }
7343    }
7344}
7345impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
7346    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
7347        match err {
7348            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
7349        }
7350    }
7351}
7352impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
7353    for Error
7354where
7355    R: Send + Sync + std::fmt::Debug + 'static,
7356{
7357    fn from(
7358        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
7359    ) -> Self {
7360        match err {
7361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7364                source: err.into(),
7365            }),
7366        }
7367    }
7368}
7369impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
7370    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
7371        match err {
7372            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7373        }
7374    }
7375}
7376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
7377where
7378    R: Send + Sync + std::fmt::Debug + 'static,
7379{
7380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
7381        match err {
7382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7385                source: err.into(),
7386            }),
7387        }
7388    }
7389}
7390impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
7391    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
7392        match err {
7393            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
7394        }
7395    }
7396}
7397impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
7398    for Error
7399where
7400    R: Send + Sync + std::fmt::Debug + 'static,
7401{
7402    fn from(
7403        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
7404    ) -> Self {
7405        match err {
7406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7409                source: err.into(),
7410            }),
7411        }
7412    }
7413}
7414impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
7415    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
7416        match err {
7417            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
7418        }
7419    }
7420}
7421impl<R>
7422    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
7423    for Error
7424where
7425    R: Send + Sync + std::fmt::Debug + 'static,
7426{
7427    fn from(
7428        err: ::aws_smithy_runtime_api::client::result::SdkError<
7429            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
7430            R,
7431        >,
7432    ) -> Self {
7433        match err {
7434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7437                source: err.into(),
7438            }),
7439        }
7440    }
7441}
7442impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
7443    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
7444        match err {
7445            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
7446        }
7447    }
7448}
7449impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
7450where
7451    R: Send + Sync + std::fmt::Debug + 'static,
7452{
7453    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
7454        match err {
7455            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7456            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7457                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7458                source: err.into(),
7459            }),
7460        }
7461    }
7462}
7463impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
7464    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
7465        match err {
7466            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
7467        }
7468    }
7469}
7470impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> for Error
7471where
7472    R: Send + Sync + std::fmt::Debug + 'static,
7473{
7474    fn from(
7475        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>,
7476    ) -> Self {
7477        match err {
7478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7481                source: err.into(),
7482            }),
7483        }
7484    }
7485}
7486impl From<crate::operation::describe_fleet_instances::DescribeFleetInstancesError> for Error {
7487    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
7488        match err {
7489            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7490        }
7491    }
7492}
7493impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
7494where
7495    R: Send + Sync + std::fmt::Debug + 'static,
7496{
7497    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
7498        match err {
7499            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7500            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7501                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7502                source: err.into(),
7503            }),
7504        }
7505    }
7506}
7507impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
7508    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
7509        match err {
7510            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
7511        }
7512    }
7513}
7514impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
7515where
7516    R: Send + Sync + std::fmt::Debug + 'static,
7517{
7518    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> Self {
7519        match err {
7520            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7521            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7522                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7523                source: err.into(),
7524            }),
7525        }
7526    }
7527}
7528impl From<crate::operation::describe_flow_logs::DescribeFlowLogsError> for Error {
7529    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
7530        match err {
7531            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
7532        }
7533    }
7534}
7535impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
7536    for Error
7537where
7538    R: Send + Sync + std::fmt::Debug + 'static,
7539{
7540    fn from(
7541        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
7542    ) -> Self {
7543        match err {
7544            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7545            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7546                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7547                source: err.into(),
7548            }),
7549        }
7550    }
7551}
7552impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
7553    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
7554        match err {
7555            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7556        }
7557    }
7558}
7559impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
7560where
7561    R: Send + Sync + std::fmt::Debug + 'static,
7562{
7563    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
7564        match err {
7565            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7566            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7567                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7568                source: err.into(),
7569            }),
7570        }
7571    }
7572}
7573impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
7574    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
7575        match err {
7576            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
7577        }
7578    }
7579}
7580impl<R>
7581    From<
7582        ::aws_smithy_runtime_api::client::result::SdkError<
7583            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7584            R,
7585        >,
7586    > for Error
7587where
7588    R: Send + Sync + std::fmt::Debug + 'static,
7589{
7590    fn from(
7591        err: ::aws_smithy_runtime_api::client::result::SdkError<
7592            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7593            R,
7594        >,
7595    ) -> Self {
7596        match err {
7597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7600                source: err.into(),
7601            }),
7602        }
7603    }
7604}
7605impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
7606    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
7607        match err {
7608            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7609        }
7610    }
7611}
7612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
7613    for Error
7614where
7615    R: Send + Sync + std::fmt::Debug + 'static,
7616{
7617    fn from(
7618        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
7619    ) -> Self {
7620        match err {
7621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7624                source: err.into(),
7625            }),
7626        }
7627    }
7628}
7629impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
7630    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
7631        match err {
7632            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7633        }
7634    }
7635}
7636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
7637where
7638    R: Send + Sync + std::fmt::Debug + 'static,
7639{
7640    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
7641        match err {
7642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7645                source: err.into(),
7646            }),
7647        }
7648    }
7649}
7650impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
7651    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
7652        match err {
7653            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
7654        }
7655    }
7656}
7657impl<R>
7658    From<
7659        ::aws_smithy_runtime_api::client::result::SdkError<
7660            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7661            R,
7662        >,
7663    > for Error
7664where
7665    R: Send + Sync + std::fmt::Debug + 'static,
7666{
7667    fn from(
7668        err: ::aws_smithy_runtime_api::client::result::SdkError<
7669            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7670            R,
7671        >,
7672    ) -> Self {
7673        match err {
7674            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7675            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7676                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7677                source: err.into(),
7678            }),
7679        }
7680    }
7681}
7682impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
7683    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
7684        match err {
7685            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
7686                Error::Unhandled(inner)
7687            }
7688        }
7689    }
7690}
7691impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
7692    for Error
7693where
7694    R: Send + Sync + std::fmt::Debug + 'static,
7695{
7696    fn from(
7697        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
7698    ) -> Self {
7699        match err {
7700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7703                source: err.into(),
7704            }),
7705        }
7706    }
7707}
7708impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
7709    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
7710        match err {
7711            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7712        }
7713    }
7714}
7715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
7716where
7717    R: Send + Sync + std::fmt::Debug + 'static,
7718{
7719    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
7720        match err {
7721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7724                source: err.into(),
7725            }),
7726        }
7727    }
7728}
7729impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
7730    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
7731        match err {
7732            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7733        }
7734    }
7735}
7736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
7737where
7738    R: Send + Sync + std::fmt::Debug + 'static,
7739{
7740    fn from(
7741        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
7742    ) -> Self {
7743        match err {
7744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7747                source: err.into(),
7748            }),
7749        }
7750    }
7751}
7752impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
7753    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
7754        match err {
7755            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7756        }
7757    }
7758}
7759impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>>
7760    for Error
7761where
7762    R: Send + Sync + std::fmt::Debug + 'static,
7763{
7764    fn from(
7765        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>,
7766    ) -> Self {
7767        match err {
7768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7771                source: err.into(),
7772            }),
7773        }
7774    }
7775}
7776impl From<crate::operation::describe_image_references::DescribeImageReferencesError> for Error {
7777    fn from(err: crate::operation::describe_image_references::DescribeImageReferencesError) -> Self {
7778        match err {
7779            crate::operation::describe_image_references::DescribeImageReferencesError::Unhandled(inner) => Error::Unhandled(inner),
7780        }
7781    }
7782}
7783impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
7784where
7785    R: Send + Sync + std::fmt::Debug + 'static,
7786{
7787    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
7788        match err {
7789            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7790            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7791                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7792                source: err.into(),
7793            }),
7794        }
7795    }
7796}
7797impl From<crate::operation::describe_images::DescribeImagesError> for Error {
7798    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
7799        match err {
7800            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
7801        }
7802    }
7803}
7804impl<R>
7805    From<
7806        ::aws_smithy_runtime_api::client::result::SdkError<
7807            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
7808            R,
7809        >,
7810    > for Error
7811where
7812    R: Send + Sync + std::fmt::Debug + 'static,
7813{
7814    fn from(
7815        err: ::aws_smithy_runtime_api::client::result::SdkError<
7816            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
7817            R,
7818        >,
7819    ) -> Self {
7820        match err {
7821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7824                source: err.into(),
7825            }),
7826        }
7827    }
7828}
7829impl From<crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError> for Error {
7830    fn from(err: crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError) -> Self {
7831        match err {
7832            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError::Unhandled(inner) => Error::Unhandled(inner),
7833        }
7834    }
7835}
7836impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>>
7837    for Error
7838where
7839    R: Send + Sync + std::fmt::Debug + 'static,
7840{
7841    fn from(
7842        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>,
7843    ) -> Self {
7844        match err {
7845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7848                source: err.into(),
7849            }),
7850        }
7851    }
7852}
7853impl From<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError> for Error {
7854    fn from(err: crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError) -> Self {
7855        match err {
7856            crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError::Unhandled(inner) => Error::Unhandled(inner),
7857        }
7858    }
7859}
7860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
7861    for Error
7862where
7863    R: Send + Sync + std::fmt::Debug + 'static,
7864{
7865    fn from(
7866        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
7867    ) -> Self {
7868        match err {
7869            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7870            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7871                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7872                source: err.into(),
7873            }),
7874        }
7875    }
7876}
7877impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
7878    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
7879        match err {
7880            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7881        }
7882    }
7883}
7884impl<R>
7885    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
7886    for Error
7887where
7888    R: Send + Sync + std::fmt::Debug + 'static,
7889{
7890    fn from(
7891        err: ::aws_smithy_runtime_api::client::result::SdkError<
7892            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
7893            R,
7894        >,
7895    ) -> Self {
7896        match err {
7897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7900                source: err.into(),
7901            }),
7902        }
7903    }
7904}
7905impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
7906    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
7907        match err {
7908            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
7909        }
7910    }
7911}
7912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
7913    for Error
7914where
7915    R: Send + Sync + std::fmt::Debug + 'static,
7916{
7917    fn from(
7918        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
7919    ) -> Self {
7920        match err {
7921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7924                source: err.into(),
7925            }),
7926        }
7927    }
7928}
7929impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
7930    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
7931        match err {
7932            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7933        }
7934    }
7935}
7936impl<R>
7937    From<
7938        ::aws_smithy_runtime_api::client::result::SdkError<
7939            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7940            R,
7941        >,
7942    > for Error
7943where
7944    R: Send + Sync + std::fmt::Debug + 'static,
7945{
7946    fn from(
7947        err: ::aws_smithy_runtime_api::client::result::SdkError<
7948            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7949            R,
7950        >,
7951    ) -> Self {
7952        match err {
7953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7956                source: err.into(),
7957            }),
7958        }
7959    }
7960}
7961impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
7962    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
7963        match err {
7964            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7965        }
7966    }
7967}
7968impl<R>
7969    From<
7970        ::aws_smithy_runtime_api::client::result::SdkError<
7971            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7972            R,
7973        >,
7974    > for Error
7975where
7976    R: Send + Sync + std::fmt::Debug + 'static,
7977{
7978    fn from(
7979        err: ::aws_smithy_runtime_api::client::result::SdkError<
7980            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7981            R,
7982        >,
7983    ) -> Self {
7984        match err {
7985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7988                source: err.into(),
7989            }),
7990        }
7991    }
7992}
7993impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
7994    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
7995        match err {
7996            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
7997                Error::Unhandled(inner)
7998            }
7999        }
8000    }
8001}
8002impl<R>
8003    From<
8004        ::aws_smithy_runtime_api::client::result::SdkError<
8005            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8006            R,
8007        >,
8008    > for Error
8009where
8010    R: Send + Sync + std::fmt::Debug + 'static,
8011{
8012    fn from(
8013        err: ::aws_smithy_runtime_api::client::result::SdkError<
8014            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8015            R,
8016        >,
8017    ) -> Self {
8018        match err {
8019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8022                source: err.into(),
8023            }),
8024        }
8025    }
8026}
8027impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
8028    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
8029        match err {
8030            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
8031                Error::Unhandled(inner)
8032            }
8033        }
8034    }
8035}
8036impl<R>
8037    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
8038    for Error
8039where
8040    R: Send + Sync + std::fmt::Debug + 'static,
8041{
8042    fn from(
8043        err: ::aws_smithy_runtime_api::client::result::SdkError<
8044            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
8045            R,
8046        >,
8047    ) -> Self {
8048        match err {
8049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8052                source: err.into(),
8053            }),
8054        }
8055    }
8056}
8057impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
8058    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
8059        match err {
8060            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
8061        }
8062    }
8063}
8064impl<R>
8065    From<
8066        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
8067    > for Error
8068where
8069    R: Send + Sync + std::fmt::Debug + 'static,
8070{
8071    fn from(
8072        err: ::aws_smithy_runtime_api::client::result::SdkError<
8073            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
8074            R,
8075        >,
8076    ) -> Self {
8077        match err {
8078            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8079            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8080                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8081                source: err.into(),
8082            }),
8083        }
8084    }
8085}
8086impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
8087    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
8088        match err {
8089            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8090        }
8091    }
8092}
8093impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
8094where
8095    R: Send + Sync + std::fmt::Debug + 'static,
8096{
8097    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> Self {
8098        match err {
8099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8100            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8101                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8102                source: err.into(),
8103            }),
8104        }
8105    }
8106}
8107impl From<crate::operation::describe_instances::DescribeInstancesError> for Error {
8108    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
8109        match err {
8110            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8111        }
8112    }
8113}
8114impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
8115where
8116    R: Send + Sync + std::fmt::Debug + 'static,
8117{
8118    fn from(
8119        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
8120    ) -> Self {
8121        match err {
8122            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8123            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8124                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8125                source: err.into(),
8126            }),
8127        }
8128    }
8129}
8130impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
8131    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
8132        match err {
8133            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
8134        }
8135    }
8136}
8137impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
8138    for Error
8139where
8140    R: Send + Sync + std::fmt::Debug + 'static,
8141{
8142    fn from(
8143        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>,
8144    ) -> Self {
8145        match err {
8146            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8147            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8148                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8149                source: err.into(),
8150            }),
8151        }
8152    }
8153}
8154impl From<crate::operation::describe_instance_topology::DescribeInstanceTopologyError> for Error {
8155    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
8156        match err {
8157            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
8158        }
8159    }
8160}
8161impl<R>
8162    From<
8163        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
8164    > for Error
8165where
8166    R: Send + Sync + std::fmt::Debug + 'static,
8167{
8168    fn from(
8169        err: ::aws_smithy_runtime_api::client::result::SdkError<
8170            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
8171            R,
8172        >,
8173    ) -> Self {
8174        match err {
8175            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8176            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8177                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8178                source: err.into(),
8179            }),
8180        }
8181    }
8182}
8183impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
8184    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
8185        match err {
8186            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
8187        }
8188    }
8189}
8190impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
8191where
8192    R: Send + Sync + std::fmt::Debug + 'static,
8193{
8194    fn from(
8195        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
8196    ) -> Self {
8197        match err {
8198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8201                source: err.into(),
8202            }),
8203        }
8204    }
8205}
8206impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
8207    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
8208        match err {
8209            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
8210        }
8211    }
8212}
8213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
8214    for Error
8215where
8216    R: Send + Sync + std::fmt::Debug + 'static,
8217{
8218    fn from(
8219        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
8220    ) -> Self {
8221        match err {
8222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8225                source: err.into(),
8226            }),
8227        }
8228    }
8229}
8230impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
8231    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
8232        match err {
8233            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8234        }
8235    }
8236}
8237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
8238where
8239    R: Send + Sync + std::fmt::Debug + 'static,
8240{
8241    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
8242        match err {
8243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8246                source: err.into(),
8247            }),
8248        }
8249    }
8250}
8251impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
8252    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
8253        match err {
8254            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
8255        }
8256    }
8257}
8258impl<R>
8259    From<
8260        ::aws_smithy_runtime_api::client::result::SdkError<
8261            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8262            R,
8263        >,
8264    > for Error
8265where
8266    R: Send + Sync + std::fmt::Debug + 'static,
8267{
8268    fn from(
8269        err: ::aws_smithy_runtime_api::client::result::SdkError<
8270            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8271            R,
8272        >,
8273    ) -> Self {
8274        match err {
8275            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8276            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8277                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8278                source: err.into(),
8279            }),
8280        }
8281    }
8282}
8283impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
8284    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
8285        match err {
8286            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
8287                inner,
8288            ) => Error::Unhandled(inner),
8289        }
8290    }
8291}
8292impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
8293where
8294    R: Send + Sync + std::fmt::Debug + 'static,
8295{
8296    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
8297        match err {
8298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8301                source: err.into(),
8302            }),
8303        }
8304    }
8305}
8306impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
8307    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
8308        match err {
8309            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
8310        }
8311    }
8312}
8313impl<R>
8314    From<
8315        ::aws_smithy_runtime_api::client::result::SdkError<
8316            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8317            R,
8318        >,
8319    > for Error
8320where
8321    R: Send + Sync + std::fmt::Debug + 'static,
8322{
8323    fn from(
8324        err: ::aws_smithy_runtime_api::client::result::SdkError<
8325            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8326            R,
8327        >,
8328    ) -> Self {
8329        match err {
8330            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8331            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8332                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8333                source: err.into(),
8334            }),
8335        }
8336    }
8337}
8338impl From<crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
8339    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
8340        match err {
8341            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
8342        }
8343    }
8344}
8345impl<R>
8346    From<
8347        ::aws_smithy_runtime_api::client::result::SdkError<
8348            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8349            R,
8350        >,
8351    > for Error
8352where
8353    R: Send + Sync + std::fmt::Debug + 'static,
8354{
8355    fn from(
8356        err: ::aws_smithy_runtime_api::client::result::SdkError<
8357            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8358            R,
8359        >,
8360    ) -> Self {
8361        match err {
8362            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8363            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8364                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8365                source: err.into(),
8366            }),
8367        }
8368    }
8369}
8370impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
8371    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
8372        match err {
8373            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
8374                Error::Unhandled(inner)
8375            }
8376        }
8377    }
8378}
8379impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
8380where
8381    R: Send + Sync + std::fmt::Debug + 'static,
8382{
8383    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
8384        match err {
8385            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8386            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8387                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8388                source: err.into(),
8389            }),
8390        }
8391    }
8392}
8393impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
8394    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
8395        match err {
8396            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
8397        }
8398    }
8399}
8400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
8401where
8402    R: Send + Sync + std::fmt::Debug + 'static,
8403{
8404    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
8405        match err {
8406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8409                source: err.into(),
8410            }),
8411        }
8412    }
8413}
8414impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
8415    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
8416        match err {
8417            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
8418        }
8419    }
8420}
8421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
8422where
8423    R: Send + Sync + std::fmt::Debug + 'static,
8424{
8425    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
8426        match err {
8427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8430                source: err.into(),
8431            }),
8432        }
8433    }
8434}
8435impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
8436    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
8437        match err {
8438            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8439        }
8440    }
8441}
8442impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
8443where
8444    R: Send + Sync + std::fmt::Debug + 'static,
8445{
8446    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> Self {
8447        match err {
8448            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8449            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8450                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8451                source: err.into(),
8452            }),
8453        }
8454    }
8455}
8456impl From<crate::operation::describe_key_pairs::DescribeKeyPairsError> for Error {
8457    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
8458        match err {
8459            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
8460        }
8461    }
8462}
8463impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
8464    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_launch_templates::DescribeLaunchTemplatesError, 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_launch_templates::DescribeLaunchTemplatesError> for Error {
8481    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
8482        match err {
8483            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
8484        }
8485    }
8486}
8487impl<R>
8488    From<
8489        ::aws_smithy_runtime_api::client::result::SdkError<
8490            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8491            R,
8492        >,
8493    > for Error
8494where
8495    R: Send + Sync + std::fmt::Debug + 'static,
8496{
8497    fn from(
8498        err: ::aws_smithy_runtime_api::client::result::SdkError<
8499            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8500            R,
8501        >,
8502    ) -> Self {
8503        match err {
8504            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8505            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8506                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8507                source: err.into(),
8508            }),
8509        }
8510    }
8511}
8512impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
8513    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
8514        match err {
8515            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
8516        }
8517    }
8518}
8519impl<R>
8520    From<
8521        ::aws_smithy_runtime_api::client::result::SdkError<
8522            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8523            R,
8524        >,
8525    > for Error
8526where
8527    R: Send + Sync + std::fmt::Debug + 'static,
8528{
8529    fn from(
8530        err: ::aws_smithy_runtime_api::client::result::SdkError<
8531            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8532            R,
8533        >,
8534    ) -> Self {
8535        match err {
8536            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8537            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8538                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8539                source: err.into(),
8540            }),
8541        }
8542    }
8543}
8544impl From<crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
8545    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
8546        match err {
8547            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
8548        }
8549    }
8550}
8551impl<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 {
8552    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
8553        match err {
8554            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8555            _ => Error::Unhandled(
8556                                        crate::error::sealed_unhandled::Unhandled {
8557                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8558                                            source: err.into(),
8559                                        }
8560                                    ),
8561        }
8562    }
8563}
8564impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
8565    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
8566        match err {
8567            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
8568        }
8569    }
8570}
8571impl<R>
8572    From<
8573        ::aws_smithy_runtime_api::client::result::SdkError<
8574            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8575            R,
8576        >,
8577    > for Error
8578where
8579    R: Send + Sync + std::fmt::Debug + 'static,
8580{
8581    fn from(
8582        err: ::aws_smithy_runtime_api::client::result::SdkError<
8583            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8584            R,
8585        >,
8586    ) -> Self {
8587        match err {
8588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8591                source: err.into(),
8592            }),
8593        }
8594    }
8595}
8596impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
8597    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
8598        match err {
8599            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
8600                inner,
8601            ) => Error::Unhandled(inner),
8602        }
8603    }
8604}
8605impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
8606where
8607    R: Send + Sync + std::fmt::Debug + 'static,
8608{
8609    fn from(
8610        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
8611    ) -> Self {
8612        match err {
8613            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8614            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8615                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8616                source: err.into(),
8617            }),
8618        }
8619    }
8620}
8621impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
8622    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
8623        match err {
8624            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8625        }
8626    }
8627}
8628impl<R>
8629    From<
8630        ::aws_smithy_runtime_api::client::result::SdkError<
8631            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8632            R,
8633        >,
8634    > for Error
8635where
8636    R: Send + Sync + std::fmt::Debug + 'static,
8637{
8638    fn from(
8639        err: ::aws_smithy_runtime_api::client::result::SdkError<
8640            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8641            R,
8642        >,
8643    ) -> Self {
8644        match err {
8645            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8646            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8647                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8648                source: err.into(),
8649            }),
8650        }
8651    }
8652}
8653impl From<crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
8654    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
8655        match err {
8656            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
8657                Error::Unhandled(inner)
8658            }
8659        }
8660    }
8661}
8662impl<R>
8663    From<
8664        ::aws_smithy_runtime_api::client::result::SdkError<
8665            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8666            R,
8667        >,
8668    > for Error
8669where
8670    R: Send + Sync + std::fmt::Debug + 'static,
8671{
8672    fn from(
8673        err: ::aws_smithy_runtime_api::client::result::SdkError<
8674            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8675            R,
8676        >,
8677    ) -> Self {
8678        match err {
8679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8682                source: err.into(),
8683            }),
8684        }
8685    }
8686}
8687impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
8688    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
8689        match err {
8690            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
8691                Error::Unhandled(inner)
8692            }
8693        }
8694    }
8695}
8696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
8697    for Error
8698where
8699    R: Send + Sync + std::fmt::Debug + 'static,
8700{
8701    fn from(
8702        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
8703    ) -> Self {
8704        match err {
8705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8708                source: err.into(),
8709            }),
8710        }
8711    }
8712}
8713impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
8714    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
8715        match err {
8716            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
8717        }
8718    }
8719}
8720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
8721where
8722    R: Send + Sync + std::fmt::Debug + 'static,
8723{
8724    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
8725        match err {
8726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8729                source: err.into(),
8730            }),
8731        }
8732    }
8733}
8734impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
8735    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
8736        match err {
8737            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
8738        }
8739    }
8740}
8741impl<R>
8742    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError, R>>
8743    for Error
8744where
8745    R: Send + Sync + std::fmt::Debug + 'static,
8746{
8747    fn from(
8748        err: ::aws_smithy_runtime_api::client::result::SdkError<
8749            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError,
8750            R,
8751        >,
8752    ) -> Self {
8753        match err {
8754            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8755            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8756                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8757                source: err.into(),
8758            }),
8759        }
8760    }
8761}
8762impl From<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError> for Error {
8763    fn from(err: crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError) -> Self {
8764        match err {
8765            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError::Unhandled(inner) => Error::Unhandled(inner),
8766        }
8767    }
8768}
8769impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
8770    for Error
8771where
8772    R: Send + Sync + std::fmt::Debug + 'static,
8773{
8774    fn from(
8775        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
8776    ) -> Self {
8777        match err {
8778            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8779            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8780                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8781                source: err.into(),
8782            }),
8783        }
8784    }
8785}
8786impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
8787    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
8788        match err {
8789            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8790        }
8791    }
8792}
8793impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
8794    for Error
8795where
8796    R: Send + Sync + std::fmt::Debug + 'static,
8797{
8798    fn from(
8799        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
8800    ) -> Self {
8801        match err {
8802            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8803            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8804                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8805                source: err.into(),
8806            }),
8807        }
8808    }
8809}
8810impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
8811    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
8812        match err {
8813            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
8814        }
8815    }
8816}
8817impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
8818where
8819    R: Send + Sync + std::fmt::Debug + 'static,
8820{
8821    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
8822        match err {
8823            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8824            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8825                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8826                source: err.into(),
8827            }),
8828        }
8829    }
8830}
8831impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
8832    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
8833        match err {
8834            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8835        }
8836    }
8837}
8838impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
8839where
8840    R: Send + Sync + std::fmt::Debug + 'static,
8841{
8842    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
8843        match err {
8844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8847                source: err.into(),
8848            }),
8849        }
8850    }
8851}
8852impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
8853    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
8854        match err {
8855            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
8856        }
8857    }
8858}
8859impl<R>
8860    From<
8861        ::aws_smithy_runtime_api::client::result::SdkError<
8862            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8863            R,
8864        >,
8865    > for Error
8866where
8867    R: Send + Sync + std::fmt::Debug + 'static,
8868{
8869    fn from(
8870        err: ::aws_smithy_runtime_api::client::result::SdkError<
8871            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8872            R,
8873        >,
8874    ) -> Self {
8875        match err {
8876            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8877            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8878                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8879                source: err.into(),
8880            }),
8881        }
8882    }
8883}
8884impl From<crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
8885    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
8886        match err {
8887            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
8888                Error::Unhandled(inner)
8889            }
8890        }
8891    }
8892}
8893impl<R>
8894    From<
8895        ::aws_smithy_runtime_api::client::result::SdkError<
8896            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8897            R,
8898        >,
8899    > for Error
8900where
8901    R: Send + Sync + std::fmt::Debug + 'static,
8902{
8903    fn from(
8904        err: ::aws_smithy_runtime_api::client::result::SdkError<
8905            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8906            R,
8907        >,
8908    ) -> Self {
8909        match err {
8910            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8911            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8912                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8913                source: err.into(),
8914            }),
8915        }
8916    }
8917}
8918impl From<crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
8919    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
8920        match err {
8921            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
8922                Error::Unhandled(inner)
8923            }
8924        }
8925    }
8926}
8927impl<R>
8928    From<
8929        ::aws_smithy_runtime_api::client::result::SdkError<
8930            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8931            R,
8932        >,
8933    > for Error
8934where
8935    R: Send + Sync + std::fmt::Debug + 'static,
8936{
8937    fn from(
8938        err: ::aws_smithy_runtime_api::client::result::SdkError<
8939            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8940            R,
8941        >,
8942    ) -> Self {
8943        match err {
8944            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8945            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8946                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8947                source: err.into(),
8948            }),
8949        }
8950    }
8951}
8952impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
8953    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
8954        match err {
8955            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
8956        }
8957    }
8958}
8959impl<R>
8960    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
8961    for Error
8962where
8963    R: Send + Sync + std::fmt::Debug + 'static,
8964{
8965    fn from(
8966        err: ::aws_smithy_runtime_api::client::result::SdkError<
8967            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
8968            R,
8969        >,
8970    ) -> Self {
8971        match err {
8972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8975                source: err.into(),
8976            }),
8977        }
8978    }
8979}
8980impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
8981    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
8982        match err {
8983            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
8984        }
8985    }
8986}
8987impl<R>
8988    From<
8989        ::aws_smithy_runtime_api::client::result::SdkError<
8990            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8991            R,
8992        >,
8993    > for Error
8994where
8995    R: Send + Sync + std::fmt::Debug + 'static,
8996{
8997    fn from(
8998        err: ::aws_smithy_runtime_api::client::result::SdkError<
8999            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
9000            R,
9001        >,
9002    ) -> Self {
9003        match err {
9004            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9005            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9006                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9007                source: err.into(),
9008            }),
9009        }
9010    }
9011}
9012impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
9013    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
9014        match err {
9015            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
9016                Error::Unhandled(inner)
9017            }
9018        }
9019    }
9020}
9021impl<R>
9022    From<
9023        ::aws_smithy_runtime_api::client::result::SdkError<
9024            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9025            R,
9026        >,
9027    > for Error
9028where
9029    R: Send + Sync + std::fmt::Debug + 'static,
9030{
9031    fn from(
9032        err: ::aws_smithy_runtime_api::client::result::SdkError<
9033            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9034            R,
9035        >,
9036    ) -> Self {
9037        match err {
9038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9041                source: err.into(),
9042            }),
9043        }
9044    }
9045}
9046impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
9047    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
9048        match err {
9049            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
9050                Error::Unhandled(inner)
9051            }
9052        }
9053    }
9054}
9055impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
9056    for Error
9057where
9058    R: Send + Sync + std::fmt::Debug + 'static,
9059{
9060    fn from(
9061        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
9062    ) -> Self {
9063        match err {
9064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9067                source: err.into(),
9068            }),
9069        }
9070    }
9071}
9072impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
9073    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
9074        match err {
9075            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
9076        }
9077    }
9078}
9079impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>> for Error
9080where
9081    R: Send + Sync + std::fmt::Debug + 'static,
9082{
9083    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>) -> Self {
9084        match err {
9085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9088                source: err.into(),
9089            }),
9090        }
9091    }
9092}
9093impl From<crate::operation::describe_outpost_lags::DescribeOutpostLagsError> for Error {
9094    fn from(err: crate::operation::describe_outpost_lags::DescribeOutpostLagsError) -> Self {
9095        match err {
9096            crate::operation::describe_outpost_lags::DescribeOutpostLagsError::Unhandled(inner) => Error::Unhandled(inner),
9097        }
9098    }
9099}
9100impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
9101    for Error
9102where
9103    R: Send + Sync + std::fmt::Debug + 'static,
9104{
9105    fn from(
9106        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
9107    ) -> Self {
9108        match err {
9109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9112                source: err.into(),
9113            }),
9114        }
9115    }
9116}
9117impl From<crate::operation::describe_placement_groups::DescribePlacementGroupsError> for Error {
9118    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
9119        match err {
9120            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9121        }
9122    }
9123}
9124impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
9125where
9126    R: Send + Sync + std::fmt::Debug + 'static,
9127{
9128    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
9129        match err {
9130            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9131            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9132                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9133                source: err.into(),
9134            }),
9135        }
9136    }
9137}
9138impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
9139    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
9140        match err {
9141            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
9142        }
9143    }
9144}
9145impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
9146    for Error
9147where
9148    R: Send + Sync + std::fmt::Debug + 'static,
9149{
9150    fn from(
9151        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
9152    ) -> Self {
9153        match err {
9154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9157                source: err.into(),
9158            }),
9159        }
9160    }
9161}
9162impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
9163    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
9164        match err {
9165            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
9166        }
9167    }
9168}
9169impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
9170    for Error
9171where
9172    R: Send + Sync + std::fmt::Debug + 'static,
9173{
9174    fn from(
9175        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
9176    ) -> Self {
9177        match err {
9178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9181                source: err.into(),
9182            }),
9183        }
9184    }
9185}
9186impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
9187    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
9188        match err {
9189            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
9190        }
9191    }
9192}
9193impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
9194where
9195    R: Send + Sync + std::fmt::Debug + 'static,
9196{
9197    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
9198        match err {
9199            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9200            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9201                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9202                source: err.into(),
9203            }),
9204        }
9205    }
9206}
9207impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
9208    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
9209        match err {
9210            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
9211        }
9212    }
9213}
9214impl<R>
9215    From<
9216        ::aws_smithy_runtime_api::client::result::SdkError<
9217            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9218            R,
9219        >,
9220    > for Error
9221where
9222    R: Send + Sync + std::fmt::Debug + 'static,
9223{
9224    fn from(
9225        err: ::aws_smithy_runtime_api::client::result::SdkError<
9226            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9227            R,
9228        >,
9229    ) -> Self {
9230        match err {
9231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9234                source: err.into(),
9235            }),
9236        }
9237    }
9238}
9239impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
9240    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
9241        match err {
9242            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
9243        }
9244    }
9245}
9246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
9247    for Error
9248where
9249    R: Send + Sync + std::fmt::Debug + 'static,
9250{
9251    fn from(
9252        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
9253    ) -> Self {
9254        match err {
9255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9258                source: err.into(),
9259            }),
9260        }
9261    }
9262}
9263impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
9264    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
9265        match err {
9266            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9267        }
9268    }
9269}
9270impl<R>
9271    From<
9272        ::aws_smithy_runtime_api::client::result::SdkError<
9273            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9274            R,
9275        >,
9276    > for Error
9277where
9278    R: Send + Sync + std::fmt::Debug + 'static,
9279{
9280    fn from(
9281        err: ::aws_smithy_runtime_api::client::result::SdkError<
9282            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9283            R,
9284        >,
9285    ) -> Self {
9286        match err {
9287            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9288            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9289                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9290                source: err.into(),
9291            }),
9292        }
9293    }
9294}
9295impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
9296    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
9297        match err {
9298            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
9299                Error::Unhandled(inner)
9300            }
9301        }
9302    }
9303}
9304impl<R>
9305    From<
9306        ::aws_smithy_runtime_api::client::result::SdkError<
9307            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9308            R,
9309        >,
9310    > for Error
9311where
9312    R: Send + Sync + std::fmt::Debug + 'static,
9313{
9314    fn from(
9315        err: ::aws_smithy_runtime_api::client::result::SdkError<
9316            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9317            R,
9318        >,
9319    ) -> Self {
9320        match err {
9321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9324                source: err.into(),
9325            }),
9326        }
9327    }
9328}
9329impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
9330    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
9331        match err {
9332            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
9333                Error::Unhandled(inner)
9334            }
9335        }
9336    }
9337}
9338impl<R>
9339    From<
9340        ::aws_smithy_runtime_api::client::result::SdkError<
9341            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9342            R,
9343        >,
9344    > for Error
9345where
9346    R: Send + Sync + std::fmt::Debug + 'static,
9347{
9348    fn from(
9349        err: ::aws_smithy_runtime_api::client::result::SdkError<
9350            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9351            R,
9352        >,
9353    ) -> Self {
9354        match err {
9355            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9356            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9357                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9358                source: err.into(),
9359            }),
9360        }
9361    }
9362}
9363impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
9364    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
9365        match err {
9366            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
9367                Error::Unhandled(inner)
9368            }
9369        }
9370    }
9371}
9372impl<R>
9373    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError, R>>
9374    for Error
9375where
9376    R: Send + Sync + std::fmt::Debug + 'static,
9377{
9378    fn from(
9379        err: ::aws_smithy_runtime_api::client::result::SdkError<
9380            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError,
9381            R,
9382        >,
9383    ) -> Self {
9384        match err {
9385            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9386            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9387                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9388                source: err.into(),
9389            }),
9390        }
9391    }
9392}
9393impl From<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError> for Error {
9394    fn from(err: crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError) -> Self {
9395        match err {
9396            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
9397        }
9398    }
9399}
9400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>>
9401    for Error
9402where
9403    R: Send + Sync + std::fmt::Debug + 'static,
9404{
9405    fn from(
9406        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>,
9407    ) -> Self {
9408        match err {
9409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9412                source: err.into(),
9413            }),
9414        }
9415    }
9416}
9417impl From<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError> for Error {
9418    fn from(err: crate::operation::describe_route_server_peers::DescribeRouteServerPeersError) -> Self {
9419        match err {
9420            crate::operation::describe_route_server_peers::DescribeRouteServerPeersError::Unhandled(inner) => Error::Unhandled(inner),
9421        }
9422    }
9423}
9424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>> for Error
9425where
9426    R: Send + Sync + std::fmt::Debug + 'static,
9427{
9428    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>) -> Self {
9429        match err {
9430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9433                source: err.into(),
9434            }),
9435        }
9436    }
9437}
9438impl From<crate::operation::describe_route_servers::DescribeRouteServersError> for Error {
9439    fn from(err: crate::operation::describe_route_servers::DescribeRouteServersError) -> Self {
9440        match err {
9441            crate::operation::describe_route_servers::DescribeRouteServersError::Unhandled(inner) => Error::Unhandled(inner),
9442        }
9443    }
9444}
9445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
9446where
9447    R: Send + Sync + std::fmt::Debug + 'static,
9448{
9449    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> Self {
9450        match err {
9451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9454                source: err.into(),
9455            }),
9456        }
9457    }
9458}
9459impl From<crate::operation::describe_route_tables::DescribeRouteTablesError> for Error {
9460    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
9461        match err {
9462            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
9463        }
9464    }
9465}
9466impl<R>
9467    From<
9468        ::aws_smithy_runtime_api::client::result::SdkError<
9469            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9470            R,
9471        >,
9472    > for Error
9473where
9474    R: Send + Sync + std::fmt::Debug + 'static,
9475{
9476    fn from(
9477        err: ::aws_smithy_runtime_api::client::result::SdkError<
9478            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9479            R,
9480        >,
9481    ) -> Self {
9482        match err {
9483            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9484            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9485                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9486                source: err.into(),
9487            }),
9488        }
9489    }
9490}
9491impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
9492    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
9493        match err {
9494            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
9495                Error::Unhandled(inner)
9496            }
9497        }
9498    }
9499}
9500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>>
9501    for Error
9502where
9503    R: Send + Sync + std::fmt::Debug + 'static,
9504{
9505    fn from(
9506        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
9507    ) -> Self {
9508        match err {
9509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9512                source: err.into(),
9513            }),
9514        }
9515    }
9516}
9517impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
9518    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
9519        match err {
9520            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9521        }
9522    }
9523}
9524impl<R>
9525    From<
9526        ::aws_smithy_runtime_api::client::result::SdkError<
9527            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9528            R,
9529        >,
9530    > for Error
9531where
9532    R: Send + Sync + std::fmt::Debug + 'static,
9533{
9534    fn from(
9535        err: ::aws_smithy_runtime_api::client::result::SdkError<
9536            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9537            R,
9538        >,
9539    ) -> Self {
9540        match err {
9541            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9542            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9543                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9544                source: err.into(),
9545            }),
9546        }
9547    }
9548}
9549impl From<crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError> for Error {
9550    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
9551        match err {
9552            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
9553        }
9554    }
9555}
9556impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>>
9557    for Error
9558where
9559    R: Send + Sync + std::fmt::Debug + 'static,
9560{
9561    fn from(
9562        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>,
9563    ) -> Self {
9564        match err {
9565            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9566            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9567                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9568                source: err.into(),
9569            }),
9570        }
9571    }
9572}
9573impl From<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError> for Error {
9574    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
9575        match err {
9576            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
9577        }
9578    }
9579}
9580impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
9581where
9582    R: Send + Sync + std::fmt::Debug + 'static,
9583{
9584    fn from(
9585        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
9586    ) -> Self {
9587        match err {
9588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9591                source: err.into(),
9592            }),
9593        }
9594    }
9595}
9596impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
9597    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
9598        match err {
9599            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9600        }
9601    }
9602}
9603impl<R>
9604    From<
9605        ::aws_smithy_runtime_api::client::result::SdkError<
9606            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9607            R,
9608        >,
9609    > for Error
9610where
9611    R: Send + Sync + std::fmt::Debug + 'static,
9612{
9613    fn from(
9614        err: ::aws_smithy_runtime_api::client::result::SdkError<
9615            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9616            R,
9617        >,
9618    ) -> Self {
9619        match err {
9620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9623                source: err.into(),
9624            }),
9625        }
9626    }
9627}
9628impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
9629    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
9630        match err {
9631            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
9632                Error::Unhandled(inner)
9633            }
9634        }
9635    }
9636}
9637impl<R>
9638    From<
9639        ::aws_smithy_runtime_api::client::result::SdkError<
9640            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9641            R,
9642        >,
9643    > for Error
9644where
9645    R: Send + Sync + std::fmt::Debug + 'static,
9646{
9647    fn from(
9648        err: ::aws_smithy_runtime_api::client::result::SdkError<
9649            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9650            R,
9651        >,
9652    ) -> Self {
9653        match err {
9654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9657                source: err.into(),
9658            }),
9659        }
9660    }
9661}
9662impl From<crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError> for Error {
9663    fn from(err: crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError) -> Self {
9664        match err {
9665            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError::Unhandled(inner) => {
9666                Error::Unhandled(inner)
9667            }
9668        }
9669    }
9670}
9671impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
9672    for Error
9673where
9674    R: Send + Sync + std::fmt::Debug + 'static,
9675{
9676    fn from(
9677        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
9678    ) -> Self {
9679        match err {
9680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9683                source: err.into(),
9684            }),
9685        }
9686    }
9687}
9688impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
9689    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
9690        match err {
9691            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
9692        }
9693    }
9694}
9695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
9696where
9697    R: Send + Sync + std::fmt::Debug + 'static,
9698{
9699    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> Self {
9700        match err {
9701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9704                source: err.into(),
9705            }),
9706        }
9707    }
9708}
9709impl From<crate::operation::describe_snapshots::DescribeSnapshotsError> for Error {
9710    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
9711        match err {
9712            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
9713        }
9714    }
9715}
9716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
9717    for Error
9718where
9719    R: Send + Sync + std::fmt::Debug + 'static,
9720{
9721    fn from(
9722        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
9723    ) -> Self {
9724        match err {
9725            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9726            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9727                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9728                source: err.into(),
9729            }),
9730        }
9731    }
9732}
9733impl From<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
9734    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
9735        match err {
9736            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
9737        }
9738    }
9739}
9740impl<R>
9741    From<
9742        ::aws_smithy_runtime_api::client::result::SdkError<
9743            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9744            R,
9745        >,
9746    > for Error
9747where
9748    R: Send + Sync + std::fmt::Debug + 'static,
9749{
9750    fn from(
9751        err: ::aws_smithy_runtime_api::client::result::SdkError<
9752            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9753            R,
9754        >,
9755    ) -> Self {
9756        match err {
9757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9760                source: err.into(),
9761            }),
9762        }
9763    }
9764}
9765impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
9766    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
9767        match err {
9768            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
9769        }
9770    }
9771}
9772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
9773    for Error
9774where
9775    R: Send + Sync + std::fmt::Debug + 'static,
9776{
9777    fn from(
9778        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
9779    ) -> Self {
9780        match err {
9781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9784                source: err.into(),
9785            }),
9786        }
9787    }
9788}
9789impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
9790    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
9791        match err {
9792            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9793        }
9794    }
9795}
9796impl<R>
9797    From<
9798        ::aws_smithy_runtime_api::client::result::SdkError<
9799            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9800            R,
9801        >,
9802    > for Error
9803where
9804    R: Send + Sync + std::fmt::Debug + 'static,
9805{
9806    fn from(
9807        err: ::aws_smithy_runtime_api::client::result::SdkError<
9808            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9809            R,
9810        >,
9811    ) -> Self {
9812        match err {
9813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9816                source: err.into(),
9817            }),
9818        }
9819    }
9820}
9821impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
9822    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
9823        match err {
9824            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9825        }
9826    }
9827}
9828impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
9829    for Error
9830where
9831    R: Send + Sync + std::fmt::Debug + 'static,
9832{
9833    fn from(
9834        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
9835    ) -> Self {
9836        match err {
9837            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9838            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9839                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9840                source: err.into(),
9841            }),
9842        }
9843    }
9844}
9845impl From<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
9846    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
9847        match err {
9848            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9849        }
9850    }
9851}
9852impl<R>
9853    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
9854    for Error
9855where
9856    R: Send + Sync + std::fmt::Debug + 'static,
9857{
9858    fn from(
9859        err: ::aws_smithy_runtime_api::client::result::SdkError<
9860            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
9861            R,
9862        >,
9863    ) -> Self {
9864        match err {
9865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9868                source: err.into(),
9869            }),
9870        }
9871    }
9872}
9873impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
9874    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
9875        match err {
9876            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9877        }
9878    }
9879}
9880impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
9881    for Error
9882where
9883    R: Send + Sync + std::fmt::Debug + 'static,
9884{
9885    fn from(
9886        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
9887    ) -> Self {
9888        match err {
9889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9892                source: err.into(),
9893            }),
9894        }
9895    }
9896}
9897impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
9898    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
9899        match err {
9900            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9901        }
9902    }
9903}
9904impl<R>
9905    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
9906    for Error
9907where
9908    R: Send + Sync + std::fmt::Debug + 'static,
9909{
9910    fn from(
9911        err: ::aws_smithy_runtime_api::client::result::SdkError<
9912            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
9913            R,
9914        >,
9915    ) -> Self {
9916        match err {
9917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9920                source: err.into(),
9921            }),
9922        }
9923    }
9924}
9925impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
9926    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
9927        match err {
9928            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9929        }
9930    }
9931}
9932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
9933    for Error
9934where
9935    R: Send + Sync + std::fmt::Debug + 'static,
9936{
9937    fn from(
9938        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
9939    ) -> Self {
9940        match err {
9941            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9942            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9943                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9944                source: err.into(),
9945            }),
9946        }
9947    }
9948}
9949impl From<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError> for Error {
9950    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
9951        match err {
9952            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
9953        }
9954    }
9955}
9956impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
9957where
9958    R: Send + Sync + std::fmt::Debug + 'static,
9959{
9960    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> Self {
9961        match err {
9962            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9963            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9964                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9965                source: err.into(),
9966            }),
9967        }
9968    }
9969}
9970impl From<crate::operation::describe_subnets::DescribeSubnetsError> for Error {
9971    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
9972        match err {
9973            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
9974        }
9975    }
9976}
9977impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
9978where
9979    R: Send + Sync + std::fmt::Debug + 'static,
9980{
9981    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
9982        match err {
9983            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9984            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9985                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9986                source: err.into(),
9987            }),
9988        }
9989    }
9990}
9991impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
9992    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
9993        match err {
9994            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
9995        }
9996    }
9997}
9998impl<R>
9999    From<
10000        ::aws_smithy_runtime_api::client::result::SdkError<
10001            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
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_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
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_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
10024    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
10025        match err {
10026            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
10027                Error::Unhandled(inner)
10028            }
10029        }
10030    }
10031}
10032impl<R>
10033    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
10034    for Error
10035where
10036    R: Send + Sync + std::fmt::Debug + 'static,
10037{
10038    fn from(
10039        err: ::aws_smithy_runtime_api::client::result::SdkError<
10040            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
10041            R,
10042        >,
10043    ) -> Self {
10044        match err {
10045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10048                source: err.into(),
10049            }),
10050        }
10051    }
10052}
10053impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
10054    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
10055        match err {
10056            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
10057        }
10058    }
10059}
10060impl<R>
10061    From<
10062        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
10063    > for Error
10064where
10065    R: Send + Sync + std::fmt::Debug + 'static,
10066{
10067    fn from(
10068        err: ::aws_smithy_runtime_api::client::result::SdkError<
10069            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
10070            R,
10071        >,
10072    ) -> Self {
10073        match err {
10074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10077                source: err.into(),
10078            }),
10079        }
10080    }
10081}
10082impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
10083    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
10084        match err {
10085            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
10086        }
10087    }
10088}
10089impl<R>
10090    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
10091    for Error
10092where
10093    R: Send + Sync + std::fmt::Debug + 'static,
10094{
10095    fn from(
10096        err: ::aws_smithy_runtime_api::client::result::SdkError<
10097            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
10098            R,
10099        >,
10100    ) -> Self {
10101        match err {
10102            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10103            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10104                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10105                source: err.into(),
10106            }),
10107        }
10108    }
10109}
10110impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
10111    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
10112        match err {
10113            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
10114        }
10115    }
10116}
10117impl<R>
10118    From<
10119        ::aws_smithy_runtime_api::client::result::SdkError<
10120            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10121            R,
10122        >,
10123    > for Error
10124where
10125    R: Send + Sync + std::fmt::Debug + 'static,
10126{
10127    fn from(
10128        err: ::aws_smithy_runtime_api::client::result::SdkError<
10129            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10130            R,
10131        >,
10132    ) -> Self {
10133        match err {
10134            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10135            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10136                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10137                source: err.into(),
10138            }),
10139        }
10140    }
10141}
10142impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
10143    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
10144        match err {
10145            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
10146                Error::Unhandled(inner)
10147            }
10148        }
10149    }
10150}
10151impl<R>
10152    From<
10153        ::aws_smithy_runtime_api::client::result::SdkError<
10154            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10155            R,
10156        >,
10157    > for Error
10158where
10159    R: Send + Sync + std::fmt::Debug + 'static,
10160{
10161    fn from(
10162        err: ::aws_smithy_runtime_api::client::result::SdkError<
10163            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10164            R,
10165        >,
10166    ) -> Self {
10167        match err {
10168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10171                source: err.into(),
10172            }),
10173        }
10174    }
10175}
10176impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
10177    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
10178        match err {
10179            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
10180                Error::Unhandled(inner)
10181            }
10182        }
10183    }
10184}
10185impl<R>
10186    From<
10187        ::aws_smithy_runtime_api::client::result::SdkError<
10188            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10189            R,
10190        >,
10191    > for Error
10192where
10193    R: Send + Sync + std::fmt::Debug + 'static,
10194{
10195    fn from(
10196        err: ::aws_smithy_runtime_api::client::result::SdkError<
10197            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10198            R,
10199        >,
10200    ) -> Self {
10201        match err {
10202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10205                source: err.into(),
10206            }),
10207        }
10208    }
10209}
10210impl From<crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
10211    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
10212        match err {
10213            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
10214        }
10215    }
10216}
10217impl<R>
10218    From<
10219        ::aws_smithy_runtime_api::client::result::SdkError<
10220            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10221            R,
10222        >,
10223    > for Error
10224where
10225    R: Send + Sync + std::fmt::Debug + 'static,
10226{
10227    fn from(
10228        err: ::aws_smithy_runtime_api::client::result::SdkError<
10229            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10230            R,
10231        >,
10232    ) -> Self {
10233        match err {
10234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10237                source: err.into(),
10238            }),
10239        }
10240    }
10241}
10242impl From<crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
10243    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
10244        match err {
10245            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
10246                Error::Unhandled(inner)
10247            }
10248        }
10249    }
10250}
10251impl<R>
10252    From<
10253        ::aws_smithy_runtime_api::client::result::SdkError<
10254            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10255            R,
10256        >,
10257    > for Error
10258where
10259    R: Send + Sync + std::fmt::Debug + 'static,
10260{
10261    fn from(
10262        err: ::aws_smithy_runtime_api::client::result::SdkError<
10263            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10264            R,
10265        >,
10266    ) -> Self {
10267        match err {
10268            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10269            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10270                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10271                source: err.into(),
10272            }),
10273        }
10274    }
10275}
10276impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
10277    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
10278        match err {
10279            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
10280                Error::Unhandled(inner)
10281            }
10282        }
10283    }
10284}
10285impl<R>
10286    From<
10287        ::aws_smithy_runtime_api::client::result::SdkError<
10288            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10289            R,
10290        >,
10291    > for Error
10292where
10293    R: Send + Sync + std::fmt::Debug + 'static,
10294{
10295    fn from(
10296        err: ::aws_smithy_runtime_api::client::result::SdkError<
10297            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10298            R,
10299        >,
10300    ) -> Self {
10301        match err {
10302            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10303            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10304                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10305                source: err.into(),
10306            }),
10307        }
10308    }
10309}
10310impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
10311    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
10312        match err {
10313            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
10314                Error::Unhandled(inner)
10315            }
10316        }
10317    }
10318}
10319impl<R>
10320    From<
10321        ::aws_smithy_runtime_api::client::result::SdkError<
10322            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10323            R,
10324        >,
10325    > for Error
10326where
10327    R: Send + Sync + std::fmt::Debug + 'static,
10328{
10329    fn from(
10330        err: ::aws_smithy_runtime_api::client::result::SdkError<
10331            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10332            R,
10333        >,
10334    ) -> Self {
10335        match err {
10336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10339                source: err.into(),
10340            }),
10341        }
10342    }
10343}
10344impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
10345    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
10346        match err {
10347            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
10348                inner,
10349            ) => Error::Unhandled(inner),
10350        }
10351    }
10352}
10353impl<R>
10354    From<
10355        ::aws_smithy_runtime_api::client::result::SdkError<
10356            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10357            R,
10358        >,
10359    > for Error
10360where
10361    R: Send + Sync + std::fmt::Debug + 'static,
10362{
10363    fn from(
10364        err: ::aws_smithy_runtime_api::client::result::SdkError<
10365            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10366            R,
10367        >,
10368    ) -> Self {
10369        match err {
10370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10373                source: err.into(),
10374            }),
10375        }
10376    }
10377}
10378impl From<crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
10379    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
10380        match err {
10381            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
10382                Error::Unhandled(inner)
10383            }
10384        }
10385    }
10386}
10387impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
10388    for Error
10389where
10390    R: Send + Sync + std::fmt::Debug + 'static,
10391{
10392    fn from(
10393        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
10394    ) -> Self {
10395        match err {
10396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10399                source: err.into(),
10400            }),
10401        }
10402    }
10403}
10404impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
10405    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
10406        match err {
10407            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10408        }
10409    }
10410}
10411impl<R>
10412    From<
10413        ::aws_smithy_runtime_api::client::result::SdkError<
10414            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10415            R,
10416        >,
10417    > for Error
10418where
10419    R: Send + Sync + std::fmt::Debug + 'static,
10420{
10421    fn from(
10422        err: ::aws_smithy_runtime_api::client::result::SdkError<
10423            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10424            R,
10425        >,
10426    ) -> Self {
10427        match err {
10428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10431                source: err.into(),
10432            }),
10433        }
10434    }
10435}
10436impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
10437    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
10438        match err {
10439            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
10440                Error::Unhandled(inner)
10441            }
10442        }
10443    }
10444}
10445impl<R>
10446    From<
10447        ::aws_smithy_runtime_api::client::result::SdkError<
10448            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10449            R,
10450        >,
10451    > for Error
10452where
10453    R: Send + Sync + std::fmt::Debug + 'static,
10454{
10455    fn from(
10456        err: ::aws_smithy_runtime_api::client::result::SdkError<
10457            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10458            R,
10459        >,
10460    ) -> Self {
10461        match err {
10462            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10463            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10464                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10465                source: err.into(),
10466            }),
10467        }
10468    }
10469}
10470impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
10471    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
10472        match err {
10473            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
10474                Error::Unhandled(inner)
10475            }
10476        }
10477    }
10478}
10479impl<R>
10480    From<
10481        ::aws_smithy_runtime_api::client::result::SdkError<
10482            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10483            R,
10484        >,
10485    > for Error
10486where
10487    R: Send + Sync + std::fmt::Debug + 'static,
10488{
10489    fn from(
10490        err: ::aws_smithy_runtime_api::client::result::SdkError<
10491            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10492            R,
10493        >,
10494    ) -> Self {
10495        match err {
10496            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10497            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10498                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10499                source: err.into(),
10500            }),
10501        }
10502    }
10503}
10504impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
10505    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
10506        match err {
10507            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10508        }
10509    }
10510}
10511impl<R>
10512    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
10513    for Error
10514where
10515    R: Send + Sync + std::fmt::Debug + 'static,
10516{
10517    fn from(
10518        err: ::aws_smithy_runtime_api::client::result::SdkError<
10519            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
10520            R,
10521        >,
10522    ) -> Self {
10523        match err {
10524            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10525            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10526                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10527                source: err.into(),
10528            }),
10529        }
10530    }
10531}
10532impl From<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
10533    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
10534        match err {
10535            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10536        }
10537    }
10538}
10539impl<R>
10540    From<
10541        ::aws_smithy_runtime_api::client::result::SdkError<
10542            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10543            R,
10544        >,
10545    > for Error
10546where
10547    R: Send + Sync + std::fmt::Debug + 'static,
10548{
10549    fn from(
10550        err: ::aws_smithy_runtime_api::client::result::SdkError<
10551            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10552            R,
10553        >,
10554    ) -> Self {
10555        match err {
10556            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10557            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10558                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10559                source: err.into(),
10560            }),
10561        }
10562    }
10563}
10564impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
10565    for Error
10566{
10567    fn from(
10568        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10569    ) -> Self {
10570        match err {
10571            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
10572        }
10573    }
10574}
10575impl<R>
10576    From<
10577        ::aws_smithy_runtime_api::client::result::SdkError<
10578            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10579            R,
10580        >,
10581    > for Error
10582where
10583    R: Send + Sync + std::fmt::Debug + 'static,
10584{
10585    fn from(
10586        err: ::aws_smithy_runtime_api::client::result::SdkError<
10587            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10588            R,
10589        >,
10590    ) -> Self {
10591        match err {
10592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10593            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10594                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10595                source: err.into(),
10596            }),
10597        }
10598    }
10599}
10600impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
10601    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
10602        match err {
10603            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10604        }
10605    }
10606}
10607impl<R>
10608    From<
10609        ::aws_smithy_runtime_api::client::result::SdkError<
10610            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10611            R,
10612        >,
10613    > for Error
10614where
10615    R: Send + Sync + std::fmt::Debug + 'static,
10616{
10617    fn from(
10618        err: ::aws_smithy_runtime_api::client::result::SdkError<
10619            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10620            R,
10621        >,
10622    ) -> Self {
10623        match err {
10624            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10625            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10626                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10627                source: err.into(),
10628            }),
10629        }
10630    }
10631}
10632impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
10633    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
10634        match err {
10635            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
10636                Error::Unhandled(inner)
10637            }
10638        }
10639    }
10640}
10641impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
10642    for Error
10643where
10644    R: Send + Sync + std::fmt::Debug + 'static,
10645{
10646    fn from(
10647        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
10648    ) -> Self {
10649        match err {
10650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10653                source: err.into(),
10654            }),
10655        }
10656    }
10657}
10658impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
10659    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
10660        match err {
10661            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10662        }
10663    }
10664}
10665impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
10666where
10667    R: Send + Sync + std::fmt::Debug + 'static,
10668{
10669    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
10670        match err {
10671            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10672            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10673                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10674                source: err.into(),
10675            }),
10676        }
10677    }
10678}
10679impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
10680    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
10681        match err {
10682            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
10683        }
10684    }
10685}
10686impl<R>
10687    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
10688    for Error
10689where
10690    R: Send + Sync + std::fmt::Debug + 'static,
10691{
10692    fn from(
10693        err: ::aws_smithy_runtime_api::client::result::SdkError<
10694            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
10695            R,
10696        >,
10697    ) -> Self {
10698        match err {
10699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10702                source: err.into(),
10703            }),
10704        }
10705    }
10706}
10707impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
10708    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
10709        match err {
10710            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
10711        }
10712    }
10713}
10714impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
10715where
10716    R: Send + Sync + std::fmt::Debug + 'static,
10717{
10718    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
10719        match err {
10720            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10721            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10722                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10723                source: err.into(),
10724            }),
10725        }
10726    }
10727}
10728impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
10729    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
10730        match err {
10731            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
10732        }
10733    }
10734}
10735impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
10736where
10737    R: Send + Sync + std::fmt::Debug + 'static,
10738{
10739    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
10740        match err {
10741            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10742            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10743                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10744                source: err.into(),
10745            }),
10746        }
10747    }
10748}
10749impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
10750    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
10751        match err {
10752            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10753        }
10754    }
10755}
10756impl<R>
10757    From<
10758        ::aws_smithy_runtime_api::client::result::SdkError<
10759            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10760            R,
10761        >,
10762    > for Error
10763where
10764    R: Send + Sync + std::fmt::Debug + 'static,
10765{
10766    fn from(
10767        err: ::aws_smithy_runtime_api::client::result::SdkError<
10768            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10769            R,
10770        >,
10771    ) -> Self {
10772        match err {
10773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10776                source: err.into(),
10777            }),
10778        }
10779    }
10780}
10781impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
10782    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
10783        match err {
10784            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
10785                Error::Unhandled(inner)
10786            }
10787        }
10788    }
10789}
10790impl<R>
10791    From<
10792        ::aws_smithy_runtime_api::client::result::SdkError<
10793            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10794            R,
10795        >,
10796    > for Error
10797where
10798    R: Send + Sync + std::fmt::Debug + 'static,
10799{
10800    fn from(
10801        err: ::aws_smithy_runtime_api::client::result::SdkError<
10802            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10803            R,
10804        >,
10805    ) -> Self {
10806        match err {
10807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10810                source: err.into(),
10811            }),
10812        }
10813    }
10814}
10815impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
10816    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
10817        match err {
10818            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
10819                Error::Unhandled(inner)
10820            }
10821        }
10822    }
10823}
10824impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
10825    for Error
10826where
10827    R: Send + Sync + std::fmt::Debug + 'static,
10828{
10829    fn from(
10830        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
10831    ) -> Self {
10832        match err {
10833            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10834            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10835                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10836                source: err.into(),
10837            }),
10838        }
10839    }
10840}
10841impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
10842    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
10843        match err {
10844            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
10845        }
10846    }
10847}
10848impl<R>
10849    From<
10850        ::aws_smithy_runtime_api::client::result::SdkError<
10851            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10852            R,
10853        >,
10854    > for Error
10855where
10856    R: Send + Sync + std::fmt::Debug + 'static,
10857{
10858    fn from(
10859        err: ::aws_smithy_runtime_api::client::result::SdkError<
10860            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10861            R,
10862        >,
10863    ) -> Self {
10864        match err {
10865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10868                source: err.into(),
10869            }),
10870        }
10871    }
10872}
10873impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
10874    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
10875        match err {
10876            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
10877                Error::Unhandled(inner)
10878            }
10879        }
10880    }
10881}
10882impl<R>
10883    From<
10884        ::aws_smithy_runtime_api::client::result::SdkError<
10885            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10886            R,
10887        >,
10888    > for Error
10889where
10890    R: Send + Sync + std::fmt::Debug + 'static,
10891{
10892    fn from(
10893        err: ::aws_smithy_runtime_api::client::result::SdkError<
10894            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10895            R,
10896        >,
10897    ) -> Self {
10898        match err {
10899            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10900            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10901                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10902                source: err.into(),
10903            }),
10904        }
10905    }
10906}
10907impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
10908    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
10909        match err {
10910            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
10911        }
10912    }
10913}
10914impl<R>
10915    From<
10916        ::aws_smithy_runtime_api::client::result::SdkError<
10917            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10918            R,
10919        >,
10920    > for Error
10921where
10922    R: Send + Sync + std::fmt::Debug + 'static,
10923{
10924    fn from(
10925        err: ::aws_smithy_runtime_api::client::result::SdkError<
10926            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10927            R,
10928        >,
10929    ) -> Self {
10930        match err {
10931            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10932            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10933                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10934                source: err.into(),
10935            }),
10936        }
10937    }
10938}
10939impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
10940    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
10941        match err {
10942            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
10943                Error::Unhandled(inner)
10944            }
10945        }
10946    }
10947}
10948impl<R>
10949    From<
10950        ::aws_smithy_runtime_api::client::result::SdkError<
10951            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10952            R,
10953        >,
10954    > for Error
10955where
10956    R: Send + Sync + std::fmt::Debug + 'static,
10957{
10958    fn from(
10959        err: ::aws_smithy_runtime_api::client::result::SdkError<
10960            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10961            R,
10962        >,
10963    ) -> Self {
10964        match err {
10965            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10966            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10967                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10968                source: err.into(),
10969            }),
10970        }
10971    }
10972}
10973impl From<crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
10974    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
10975        match err {
10976            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10977        }
10978    }
10979}
10980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>> for Error
10981where
10982    R: Send + Sync + std::fmt::Debug + 'static,
10983{
10984    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>) -> Self {
10985        match err {
10986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10989                source: err.into(),
10990            }),
10991        }
10992    }
10993}
10994impl From<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError> for Error {
10995    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
10996        match err {
10997            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10998        }
10999    }
11000}
11001impl<R>
11002    From<
11003        ::aws_smithy_runtime_api::client::result::SdkError<
11004            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11005            R,
11006        >,
11007    > for Error
11008where
11009    R: Send + Sync + std::fmt::Debug + 'static,
11010{
11011    fn from(
11012        err: ::aws_smithy_runtime_api::client::result::SdkError<
11013            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11014            R,
11015        >,
11016    ) -> Self {
11017        match err {
11018            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11019            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11020                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11021                source: err.into(),
11022            }),
11023        }
11024    }
11025}
11026impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
11027    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
11028        match err {
11029            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
11030                Error::Unhandled(inner)
11031            }
11032        }
11033    }
11034}
11035impl<R>
11036    From<
11037        ::aws_smithy_runtime_api::client::result::SdkError<
11038            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11039            R,
11040        >,
11041    > for Error
11042where
11043    R: Send + Sync + std::fmt::Debug + 'static,
11044{
11045    fn from(
11046        err: ::aws_smithy_runtime_api::client::result::SdkError<
11047            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11048            R,
11049        >,
11050    ) -> Self {
11051        match err {
11052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11055                source: err.into(),
11056            }),
11057        }
11058    }
11059}
11060impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
11061    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
11062        match err {
11063            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
11064                Error::Unhandled(inner)
11065            }
11066        }
11067    }
11068}
11069impl<R>
11070    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
11071    for Error
11072where
11073    R: Send + Sync + std::fmt::Debug + 'static,
11074{
11075    fn from(
11076        err: ::aws_smithy_runtime_api::client::result::SdkError<
11077            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
11078            R,
11079        >,
11080    ) -> Self {
11081        match err {
11082            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11083            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11084                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11085                source: err.into(),
11086            }),
11087        }
11088    }
11089}
11090impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
11091    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
11092        match err {
11093            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
11094        }
11095    }
11096}
11097impl<R>
11098    From<
11099        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
11100    > for Error
11101where
11102    R: Send + Sync + std::fmt::Debug + 'static,
11103{
11104    fn from(
11105        err: ::aws_smithy_runtime_api::client::result::SdkError<
11106            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
11107            R,
11108        >,
11109    ) -> Self {
11110        match err {
11111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11114                source: err.into(),
11115            }),
11116        }
11117    }
11118}
11119impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
11120    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
11121        match err {
11122            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11123        }
11124    }
11125}
11126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
11127where
11128    R: Send + Sync + std::fmt::Debug + 'static,
11129{
11130    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
11131        match err {
11132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11135                source: err.into(),
11136            }),
11137        }
11138    }
11139}
11140impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
11141    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
11142        match err {
11143            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
11144        }
11145    }
11146}
11147impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
11148where
11149    R: Send + Sync + std::fmt::Debug + 'static,
11150{
11151    fn from(
11152        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
11153    ) -> Self {
11154        match err {
11155            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11156            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11157                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11158                source: err.into(),
11159            }),
11160        }
11161    }
11162}
11163impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
11164    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
11165        match err {
11166            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11167        }
11168    }
11169}
11170impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
11171where
11172    R: Send + Sync + std::fmt::Debug + 'static,
11173{
11174    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> Self {
11175        match err {
11176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11179                source: err.into(),
11180            }),
11181        }
11182    }
11183}
11184impl From<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError> for Error {
11185    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
11186        match err {
11187            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
11188        }
11189    }
11190}
11191impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
11192where
11193    R: Send + Sync + std::fmt::Debug + 'static,
11194{
11195    fn from(
11196        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
11197    ) -> Self {
11198        match err {
11199            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11200            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11201                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11202                source: err.into(),
11203            }),
11204        }
11205    }
11206}
11207impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
11208    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
11209        match err {
11210            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
11211        }
11212    }
11213}
11214impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
11215where
11216    R: Send + Sync + std::fmt::Debug + 'static,
11217{
11218    fn from(
11219        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
11220    ) -> Self {
11221        match err {
11222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11225                source: err.into(),
11226            }),
11227        }
11228    }
11229}
11230impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
11231    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
11232        match err {
11233            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11234        }
11235    }
11236}
11237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
11238where
11239    R: Send + Sync + std::fmt::Debug + 'static,
11240{
11241    fn from(
11242        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
11243    ) -> Self {
11244        match err {
11245            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11246            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11247                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11248                source: err.into(),
11249            }),
11250        }
11251    }
11252}
11253impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
11254    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
11255        match err {
11256            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
11257        }
11258    }
11259}
11260impl<R>
11261    From<
11262        ::aws_smithy_runtime_api::client::result::SdkError<
11263            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11264            R,
11265        >,
11266    > for Error
11267where
11268    R: Send + Sync + std::fmt::Debug + 'static,
11269{
11270    fn from(
11271        err: ::aws_smithy_runtime_api::client::result::SdkError<
11272            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11273            R,
11274        >,
11275    ) -> Self {
11276        match err {
11277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11280                source: err.into(),
11281            }),
11282        }
11283    }
11284}
11285impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
11286    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
11287        match err {
11288            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
11289                Error::Unhandled(inner)
11290            }
11291        }
11292    }
11293}
11294impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
11295where
11296    R: Send + Sync + std::fmt::Debug + 'static,
11297{
11298    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
11299        match err {
11300            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11301            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11302                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11303                source: err.into(),
11304            }),
11305        }
11306    }
11307}
11308impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
11309    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
11310        match err {
11311            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
11312        }
11313    }
11314}
11315impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
11316where
11317    R: Send + Sync + std::fmt::Debug + 'static,
11318{
11319    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
11320        match err {
11321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11324                source: err.into(),
11325            }),
11326        }
11327    }
11328}
11329impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
11330    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
11331        match err {
11332            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11333        }
11334    }
11335}
11336impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
11337where
11338    R: Send + Sync + std::fmt::Debug + 'static,
11339{
11340    fn from(
11341        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
11342    ) -> Self {
11343        match err {
11344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11347                source: err.into(),
11348            }),
11349        }
11350    }
11351}
11352impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
11353    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
11354        match err {
11355            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
11356        }
11357    }
11358}
11359impl<R>
11360    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
11361    for Error
11362where
11363    R: Send + Sync + std::fmt::Debug + 'static,
11364{
11365    fn from(
11366        err: ::aws_smithy_runtime_api::client::result::SdkError<
11367            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
11368            R,
11369        >,
11370    ) -> Self {
11371        match err {
11372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11375                source: err.into(),
11376            }),
11377        }
11378    }
11379}
11380impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
11381    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
11382        match err {
11383            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
11384        }
11385    }
11386}
11387impl<R>
11388    From<
11389        ::aws_smithy_runtime_api::client::result::SdkError<
11390            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11391            R,
11392        >,
11393    > for Error
11394where
11395    R: Send + Sync + std::fmt::Debug + 'static,
11396{
11397    fn from(
11398        err: ::aws_smithy_runtime_api::client::result::SdkError<
11399            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11400            R,
11401        >,
11402    ) -> Self {
11403        match err {
11404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11407                source: err.into(),
11408            }),
11409        }
11410    }
11411}
11412impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
11413    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
11414        match err {
11415            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
11416                inner,
11417            ) => Error::Unhandled(inner),
11418        }
11419    }
11420}
11421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>> for Error
11422where
11423    R: Send + Sync + std::fmt::Debug + 'static,
11424{
11425    fn from(
11426        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>,
11427    ) -> Self {
11428        match err {
11429            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11430            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11431                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11432                source: err.into(),
11433            }),
11434        }
11435    }
11436}
11437impl From<crate::operation::disable_capacity_manager::DisableCapacityManagerError> for Error {
11438    fn from(err: crate::operation::disable_capacity_manager::DisableCapacityManagerError) -> Self {
11439        match err {
11440            crate::operation::disable_capacity_manager::DisableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
11441        }
11442    }
11443}
11444impl<R>
11445    From<
11446        ::aws_smithy_runtime_api::client::result::SdkError<
11447            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11448            R,
11449        >,
11450    > for Error
11451where
11452    R: Send + Sync + std::fmt::Debug + 'static,
11453{
11454    fn from(
11455        err: ::aws_smithy_runtime_api::client::result::SdkError<
11456            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11457            R,
11458        >,
11459    ) -> Self {
11460        match err {
11461            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11462            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11463                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11464                source: err.into(),
11465            }),
11466        }
11467    }
11468}
11469impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
11470    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
11471        match err {
11472            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
11473        }
11474    }
11475}
11476impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
11477where
11478    R: Send + Sync + std::fmt::Debug + 'static,
11479{
11480    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
11481        match err {
11482            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11483            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11484                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11485                source: err.into(),
11486            }),
11487        }
11488    }
11489}
11490impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
11491    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
11492        match err {
11493            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
11494        }
11495    }
11496}
11497impl<R>
11498    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
11499    for Error
11500where
11501    R: Send + Sync + std::fmt::Debug + 'static,
11502{
11503    fn from(
11504        err: ::aws_smithy_runtime_api::client::result::SdkError<
11505            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
11506            R,
11507        >,
11508    ) -> Self {
11509        match err {
11510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11513                source: err.into(),
11514            }),
11515        }
11516    }
11517}
11518impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
11519    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
11520        match err {
11521            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
11522        }
11523    }
11524}
11525impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
11526where
11527    R: Send + Sync + std::fmt::Debug + 'static,
11528{
11529    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
11530        match err {
11531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11534                source: err.into(),
11535            }),
11536        }
11537    }
11538}
11539impl From<crate::operation::disable_image::DisableImageError> for Error {
11540    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
11541        match err {
11542            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
11543        }
11544    }
11545}
11546impl<R>
11547    From<
11548        ::aws_smithy_runtime_api::client::result::SdkError<
11549            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11550            R,
11551        >,
11552    > for Error
11553where
11554    R: Send + Sync + std::fmt::Debug + 'static,
11555{
11556    fn from(
11557        err: ::aws_smithy_runtime_api::client::result::SdkError<
11558            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11559            R,
11560        >,
11561    ) -> Self {
11562        match err {
11563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11566                source: err.into(),
11567            }),
11568        }
11569    }
11570}
11571impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
11572    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
11573        match err {
11574            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
11575        }
11576    }
11577}
11578impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
11579    for Error
11580where
11581    R: Send + Sync + std::fmt::Debug + 'static,
11582{
11583    fn from(
11584        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
11585    ) -> Self {
11586        match err {
11587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11590                source: err.into(),
11591            }),
11592        }
11593    }
11594}
11595impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
11596    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
11597        match err {
11598            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
11599        }
11600    }
11601}
11602impl<R>
11603    From<
11604        ::aws_smithy_runtime_api::client::result::SdkError<
11605            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11606            R,
11607        >,
11608    > for Error
11609where
11610    R: Send + Sync + std::fmt::Debug + 'static,
11611{
11612    fn from(
11613        err: ::aws_smithy_runtime_api::client::result::SdkError<
11614            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11615            R,
11616        >,
11617    ) -> Self {
11618        match err {
11619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11622                source: err.into(),
11623            }),
11624        }
11625    }
11626}
11627impl From<crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
11628    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
11629        match err {
11630            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
11631                Error::Unhandled(inner)
11632            }
11633        }
11634    }
11635}
11636impl<R>
11637    From<
11638        ::aws_smithy_runtime_api::client::result::SdkError<
11639            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11640            R,
11641        >,
11642    > for Error
11643where
11644    R: Send + Sync + std::fmt::Debug + 'static,
11645{
11646    fn from(
11647        err: ::aws_smithy_runtime_api::client::result::SdkError<
11648            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11649            R,
11650        >,
11651    ) -> Self {
11652        match err {
11653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11656                source: err.into(),
11657            }),
11658        }
11659    }
11660}
11661impl From<crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
11662    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
11663        match err {
11664            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
11665                Error::Unhandled(inner)
11666            }
11667        }
11668    }
11669}
11670impl<R>
11671    From<
11672        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError, R>,
11673    > for Error
11674where
11675    R: Send + Sync + std::fmt::Debug + 'static,
11676{
11677    fn from(
11678        err: ::aws_smithy_runtime_api::client::result::SdkError<
11679            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError,
11680            R,
11681        >,
11682    ) -> Self {
11683        match err {
11684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11687                source: err.into(),
11688            }),
11689        }
11690    }
11691}
11692impl From<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError> for Error {
11693    fn from(err: crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError) -> Self {
11694        match err {
11695            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
11696        }
11697    }
11698}
11699impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
11700    for Error
11701where
11702    R: Send + Sync + std::fmt::Debug + 'static,
11703{
11704    fn from(
11705        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
11706    ) -> Self {
11707        match err {
11708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11711                source: err.into(),
11712            }),
11713        }
11714    }
11715}
11716impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
11717    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
11718        match err {
11719            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
11720        }
11721    }
11722}
11723impl<R>
11724    From<
11725        ::aws_smithy_runtime_api::client::result::SdkError<
11726            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11727            R,
11728        >,
11729    > for Error
11730where
11731    R: Send + Sync + std::fmt::Debug + 'static,
11732{
11733    fn from(
11734        err: ::aws_smithy_runtime_api::client::result::SdkError<
11735            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11736            R,
11737        >,
11738    ) -> Self {
11739        match err {
11740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11743                source: err.into(),
11744            }),
11745        }
11746    }
11747}
11748impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
11749    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
11750        match err {
11751            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
11752                Error::Unhandled(inner)
11753            }
11754        }
11755    }
11756}
11757impl<R>
11758    From<
11759        ::aws_smithy_runtime_api::client::result::SdkError<
11760            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11761            R,
11762        >,
11763    > for Error
11764where
11765    R: Send + Sync + std::fmt::Debug + 'static,
11766{
11767    fn from(
11768        err: ::aws_smithy_runtime_api::client::result::SdkError<
11769            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11770            R,
11771        >,
11772    ) -> Self {
11773        match err {
11774            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11775            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11776                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11777                source: err.into(),
11778            }),
11779        }
11780    }
11781}
11782impl From<crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
11783    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
11784        match err {
11785            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
11786                Error::Unhandled(inner)
11787            }
11788        }
11789    }
11790}
11791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
11792    for Error
11793where
11794    R: Send + Sync + std::fmt::Debug + 'static,
11795{
11796    fn from(
11797        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
11798    ) -> Self {
11799        match err {
11800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11803                source: err.into(),
11804            }),
11805        }
11806    }
11807}
11808impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
11809    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
11810        match err {
11811            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
11812        }
11813    }
11814}
11815impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
11816where
11817    R: Send + Sync + std::fmt::Debug + 'static,
11818{
11819    fn from(
11820        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
11821    ) -> Self {
11822        match err {
11823            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11824            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11825                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11826                source: err.into(),
11827            }),
11828        }
11829    }
11830}
11831impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
11832    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
11833        match err {
11834            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11835        }
11836    }
11837}
11838impl<R>
11839    From<
11840        ::aws_smithy_runtime_api::client::result::SdkError<
11841            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11842            R,
11843        >,
11844    > for Error
11845where
11846    R: Send + Sync + std::fmt::Debug + 'static,
11847{
11848    fn from(
11849        err: ::aws_smithy_runtime_api::client::result::SdkError<
11850            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11851            R,
11852        >,
11853    ) -> Self {
11854        match err {
11855            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11856            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11857                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11858                source: err.into(),
11859            }),
11860        }
11861    }
11862}
11863impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
11864    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
11865        match err {
11866            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
11867        }
11868    }
11869}
11870impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
11871where
11872    R: Send + Sync + std::fmt::Debug + 'static,
11873{
11874    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
11875        match err {
11876            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11877            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11878                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11879                source: err.into(),
11880            }),
11881        }
11882    }
11883}
11884impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
11885    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
11886        match err {
11887            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
11888        }
11889    }
11890}
11891impl<R>
11892    From<
11893        ::aws_smithy_runtime_api::client::result::SdkError<
11894            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11895            R,
11896        >,
11897    > for Error
11898where
11899    R: Send + Sync + std::fmt::Debug + 'static,
11900{
11901    fn from(
11902        err: ::aws_smithy_runtime_api::client::result::SdkError<
11903            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11904            R,
11905        >,
11906    ) -> Self {
11907        match err {
11908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11911                source: err.into(),
11912            }),
11913        }
11914    }
11915}
11916impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
11917    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
11918        match err {
11919            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
11920                Error::Unhandled(inner)
11921            }
11922        }
11923    }
11924}
11925impl<R>
11926    From<
11927        ::aws_smithy_runtime_api::client::result::SdkError<
11928            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11929            R,
11930        >,
11931    > for Error
11932where
11933    R: Send + Sync + std::fmt::Debug + 'static,
11934{
11935    fn from(
11936        err: ::aws_smithy_runtime_api::client::result::SdkError<
11937            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11938            R,
11939        >,
11940    ) -> Self {
11941        match err {
11942            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11943            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11944                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11945                source: err.into(),
11946            }),
11947        }
11948    }
11949}
11950impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
11951    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
11952        match err {
11953            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
11954                Error::Unhandled(inner)
11955            }
11956        }
11957    }
11958}
11959impl<R>
11960    From<
11961        ::aws_smithy_runtime_api::client::result::SdkError<
11962            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11963            R,
11964        >,
11965    > for Error
11966where
11967    R: Send + Sync + std::fmt::Debug + 'static,
11968{
11969    fn from(
11970        err: ::aws_smithy_runtime_api::client::result::SdkError<
11971            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11972            R,
11973        >,
11974    ) -> Self {
11975        match err {
11976            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11977            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11978                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11979                source: err.into(),
11980            }),
11981        }
11982    }
11983}
11984impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
11985    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
11986        match err {
11987            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
11988                Error::Unhandled(inner)
11989            }
11990        }
11991    }
11992}
11993impl<R>
11994    From<
11995        ::aws_smithy_runtime_api::client::result::SdkError<
11996            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11997            R,
11998        >,
11999    > for Error
12000where
12001    R: Send + Sync + std::fmt::Debug + 'static,
12002{
12003    fn from(
12004        err: ::aws_smithy_runtime_api::client::result::SdkError<
12005            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
12006            R,
12007        >,
12008    ) -> Self {
12009        match err {
12010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12013                source: err.into(),
12014            }),
12015        }
12016    }
12017}
12018impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
12019    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
12020        match err {
12021            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
12022        }
12023    }
12024}
12025impl<R>
12026    From<
12027        ::aws_smithy_runtime_api::client::result::SdkError<
12028            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12029            R,
12030        >,
12031    > for Error
12032where
12033    R: Send + Sync + std::fmt::Debug + 'static,
12034{
12035    fn from(
12036        err: ::aws_smithy_runtime_api::client::result::SdkError<
12037            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12038            R,
12039        >,
12040    ) -> Self {
12041        match err {
12042            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12043            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12044                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12045                source: err.into(),
12046            }),
12047        }
12048    }
12049}
12050impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
12051    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
12052        match err {
12053            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
12054        }
12055    }
12056}
12057impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> for Error
12058where
12059    R: Send + Sync + std::fmt::Debug + 'static,
12060{
12061    fn from(
12062        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>,
12063    ) -> Self {
12064        match err {
12065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12068                source: err.into(),
12069            }),
12070        }
12071    }
12072}
12073impl From<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
12074    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
12075        match err {
12076            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
12077        }
12078    }
12079}
12080impl<R>
12081    From<
12082        ::aws_smithy_runtime_api::client::result::SdkError<
12083            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
12084            R,
12085        >,
12086    > for Error
12087where
12088    R: Send + Sync + std::fmt::Debug + 'static,
12089{
12090    fn from(
12091        err: ::aws_smithy_runtime_api::client::result::SdkError<
12092            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
12093            R,
12094        >,
12095    ) -> Self {
12096        match err {
12097            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12098            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12099                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12100                source: err.into(),
12101            }),
12102        }
12103    }
12104}
12105impl From<crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
12106    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
12107        match err {
12108            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
12109                Error::Unhandled(inner)
12110            }
12111        }
12112    }
12113}
12114impl<R>
12115    From<
12116        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
12117    > for Error
12118where
12119    R: Send + Sync + std::fmt::Debug + 'static,
12120{
12121    fn from(
12122        err: ::aws_smithy_runtime_api::client::result::SdkError<
12123            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
12124            R,
12125        >,
12126    ) -> Self {
12127        match err {
12128            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12129            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12130                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12131                source: err.into(),
12132            }),
12133        }
12134    }
12135}
12136impl From<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
12137    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
12138        match err {
12139            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
12140        }
12141    }
12142}
12143impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>>
12144    for Error
12145where
12146    R: Send + Sync + std::fmt::Debug + 'static,
12147{
12148    fn from(
12149        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>,
12150    ) -> Self {
12151        match err {
12152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12155                source: err.into(),
12156            }),
12157        }
12158    }
12159}
12160impl From<crate::operation::disassociate_route_server::DisassociateRouteServerError> for Error {
12161    fn from(err: crate::operation::disassociate_route_server::DisassociateRouteServerError) -> Self {
12162        match err {
12163            crate::operation::disassociate_route_server::DisassociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
12164        }
12165    }
12166}
12167impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> for Error
12168where
12169    R: Send + Sync + std::fmt::Debug + 'static,
12170{
12171    fn from(
12172        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>,
12173    ) -> Self {
12174        match err {
12175            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12176            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12177                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12178                source: err.into(),
12179            }),
12180        }
12181    }
12182}
12183impl From<crate::operation::disassociate_route_table::DisassociateRouteTableError> for Error {
12184    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
12185        match err {
12186            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
12187        }
12188    }
12189}
12190impl<R>
12191    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
12192    for Error
12193where
12194    R: Send + Sync + std::fmt::Debug + 'static,
12195{
12196    fn from(
12197        err: ::aws_smithy_runtime_api::client::result::SdkError<
12198            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
12199            R,
12200        >,
12201    ) -> Self {
12202        match err {
12203            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12204            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12205                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12206                source: err.into(),
12207            }),
12208        }
12209    }
12210}
12211impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
12212    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
12213        match err {
12214            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
12215        }
12216    }
12217}
12218impl<R>
12219    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
12220    for Error
12221where
12222    R: Send + Sync + std::fmt::Debug + 'static,
12223{
12224    fn from(
12225        err: ::aws_smithy_runtime_api::client::result::SdkError<
12226            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
12227            R,
12228        >,
12229    ) -> Self {
12230        match err {
12231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12234                source: err.into(),
12235            }),
12236        }
12237    }
12238}
12239impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
12240    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
12241        match err {
12242            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12243        }
12244    }
12245}
12246impl<R>
12247    From<
12248        ::aws_smithy_runtime_api::client::result::SdkError<
12249            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12250            R,
12251        >,
12252    > for Error
12253where
12254    R: Send + Sync + std::fmt::Debug + 'static,
12255{
12256    fn from(
12257        err: ::aws_smithy_runtime_api::client::result::SdkError<
12258            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12259            R,
12260        >,
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::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
12272    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
12273        match err {
12274            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
12275                Error::Unhandled(inner)
12276            }
12277        }
12278    }
12279}
12280impl<R>
12281    From<
12282        ::aws_smithy_runtime_api::client::result::SdkError<
12283            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
12284            R,
12285        >,
12286    > for Error
12287where
12288    R: Send + Sync + std::fmt::Debug + 'static,
12289{
12290    fn from(
12291        err: ::aws_smithy_runtime_api::client::result::SdkError<
12292            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
12293            R,
12294        >,
12295    ) -> Self {
12296        match err {
12297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12300                source: err.into(),
12301            }),
12302        }
12303    }
12304}
12305impl From<crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
12306    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
12307        match err {
12308            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
12309                Error::Unhandled(inner)
12310            }
12311        }
12312    }
12313}
12314impl<R>
12315    From<
12316        ::aws_smithy_runtime_api::client::result::SdkError<
12317            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12318            R,
12319        >,
12320    > for Error
12321where
12322    R: Send + Sync + std::fmt::Debug + 'static,
12323{
12324    fn from(
12325        err: ::aws_smithy_runtime_api::client::result::SdkError<
12326            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12327            R,
12328        >,
12329    ) -> Self {
12330        match err {
12331            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12332            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12333                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12334                source: err.into(),
12335            }),
12336        }
12337    }
12338}
12339impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
12340    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
12341        match err {
12342            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
12343                Error::Unhandled(inner)
12344            }
12345        }
12346    }
12347}
12348impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
12349    for Error
12350where
12351    R: Send + Sync + std::fmt::Debug + 'static,
12352{
12353    fn from(
12354        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
12355    ) -> Self {
12356        match err {
12357            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12358            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12359                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12360                source: err.into(),
12361            }),
12362        }
12363    }
12364}
12365impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
12366    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
12367        match err {
12368            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
12369        }
12370    }
12371}
12372impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>>
12373    for Error
12374where
12375    R: Send + Sync + std::fmt::Debug + 'static,
12376{
12377    fn from(
12378        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>,
12379    ) -> Self {
12380        match err {
12381            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12382            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12383                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12384                source: err.into(),
12385            }),
12386        }
12387    }
12388}
12389impl From<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
12390    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
12391        match err {
12392            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12393        }
12394    }
12395}
12396impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
12397where
12398    R: Send + Sync + std::fmt::Debug + 'static,
12399{
12400    fn from(
12401        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
12402    ) -> Self {
12403        match err {
12404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12407                source: err.into(),
12408            }),
12409        }
12410    }
12411}
12412impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
12413    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
12414        match err {
12415            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
12416        }
12417    }
12418}
12419impl<R>
12420    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
12421    for Error
12422where
12423    R: Send + Sync + std::fmt::Debug + 'static,
12424{
12425    fn from(
12426        err: ::aws_smithy_runtime_api::client::result::SdkError<
12427            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
12428            R,
12429        >,
12430    ) -> Self {
12431        match err {
12432            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12433            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12434                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12435                source: err.into(),
12436            }),
12437        }
12438    }
12439}
12440impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
12441    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
12442        match err {
12443            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12444        }
12445    }
12446}
12447impl<R>
12448    From<
12449        ::aws_smithy_runtime_api::client::result::SdkError<
12450            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12451            R,
12452        >,
12453    > for Error
12454where
12455    R: Send + Sync + std::fmt::Debug + 'static,
12456{
12457    fn from(
12458        err: ::aws_smithy_runtime_api::client::result::SdkError<
12459            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12460            R,
12461        >,
12462    ) -> Self {
12463        match err {
12464            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12465            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12466                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12467                source: err.into(),
12468            }),
12469        }
12470    }
12471}
12472impl From<crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
12473    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
12474        match err {
12475            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
12476                inner,
12477            ) => Error::Unhandled(inner),
12478        }
12479    }
12480}
12481impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>> for Error
12482where
12483    R: Send + Sync + std::fmt::Debug + 'static,
12484{
12485    fn from(
12486        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>,
12487    ) -> Self {
12488        match err {
12489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12492                source: err.into(),
12493            }),
12494        }
12495    }
12496}
12497impl From<crate::operation::enable_capacity_manager::EnableCapacityManagerError> for Error {
12498    fn from(err: crate::operation::enable_capacity_manager::EnableCapacityManagerError) -> Self {
12499        match err {
12500            crate::operation::enable_capacity_manager::EnableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
12501        }
12502    }
12503}
12504impl<R>
12505    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
12506    for Error
12507where
12508    R: Send + Sync + std::fmt::Debug + 'static,
12509{
12510    fn from(
12511        err: ::aws_smithy_runtime_api::client::result::SdkError<
12512            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
12513            R,
12514        >,
12515    ) -> Self {
12516        match err {
12517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12520                source: err.into(),
12521            }),
12522        }
12523    }
12524}
12525impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
12526    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
12527        match err {
12528            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12529        }
12530    }
12531}
12532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
12533where
12534    R: Send + Sync + std::fmt::Debug + 'static,
12535{
12536    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
12537        match err {
12538            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12539            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12540                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12541                source: err.into(),
12542            }),
12543        }
12544    }
12545}
12546impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
12547    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
12548        match err {
12549            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
12550        }
12551    }
12552}
12553impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
12554    for Error
12555where
12556    R: Send + Sync + std::fmt::Debug + 'static,
12557{
12558    fn from(
12559        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>,
12560    ) -> Self {
12561        match err {
12562            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12563            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12564                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12565                source: err.into(),
12566            }),
12567        }
12568    }
12569}
12570impl From<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
12571    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
12572        match err {
12573            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
12574        }
12575    }
12576}
12577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
12578where
12579    R: Send + Sync + std::fmt::Debug + 'static,
12580{
12581    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
12582        match err {
12583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12586                source: err.into(),
12587            }),
12588        }
12589    }
12590}
12591impl From<crate::operation::enable_image::EnableImageError> for Error {
12592    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
12593        match err {
12594            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
12595        }
12596    }
12597}
12598impl<R>
12599    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
12600    for Error
12601where
12602    R: Send + Sync + std::fmt::Debug + 'static,
12603{
12604    fn from(
12605        err: ::aws_smithy_runtime_api::client::result::SdkError<
12606            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
12607            R,
12608        >,
12609    ) -> Self {
12610        match err {
12611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12614                source: err.into(),
12615            }),
12616        }
12617    }
12618}
12619impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
12620    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
12621        match err {
12622            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12623        }
12624    }
12625}
12626impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> for Error
12627where
12628    R: Send + Sync + std::fmt::Debug + 'static,
12629{
12630    fn from(
12631        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>,
12632    ) -> Self {
12633        match err {
12634            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12635            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12636                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12637                source: err.into(),
12638            }),
12639        }
12640    }
12641}
12642impl From<crate::operation::enable_image_deprecation::EnableImageDeprecationError> for Error {
12643    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
12644        match err {
12645            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
12646        }
12647    }
12648}
12649impl<R>
12650    From<
12651        ::aws_smithy_runtime_api::client::result::SdkError<
12652            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12653            R,
12654        >,
12655    > for Error
12656where
12657    R: Send + Sync + std::fmt::Debug + 'static,
12658{
12659    fn from(
12660        err: ::aws_smithy_runtime_api::client::result::SdkError<
12661            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12662            R,
12663        >,
12664    ) -> Self {
12665        match err {
12666            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12667            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12668                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12669                source: err.into(),
12670            }),
12671        }
12672    }
12673}
12674impl From<crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
12675    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
12676        match err {
12677            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::Unhandled(inner) => {
12678                Error::Unhandled(inner)
12679            }
12680        }
12681    }
12682}
12683impl<R>
12684    From<
12685        ::aws_smithy_runtime_api::client::result::SdkError<
12686            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12687            R,
12688        >,
12689    > for Error
12690where
12691    R: Send + Sync + std::fmt::Debug + 'static,
12692{
12693    fn from(
12694        err: ::aws_smithy_runtime_api::client::result::SdkError<
12695            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12696            R,
12697        >,
12698    ) -> Self {
12699        match err {
12700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12703                source: err.into(),
12704            }),
12705        }
12706    }
12707}
12708impl From<crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
12709    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
12710        match err {
12711            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
12712                Error::Unhandled(inner)
12713            }
12714        }
12715    }
12716}
12717impl<R>
12718    From<
12719        ::aws_smithy_runtime_api::client::result::SdkError<
12720            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12721            R,
12722        >,
12723    > for Error
12724where
12725    R: Send + Sync + std::fmt::Debug + 'static,
12726{
12727    fn from(
12728        err: ::aws_smithy_runtime_api::client::result::SdkError<
12729            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12730            R,
12731        >,
12732    ) -> Self {
12733        match err {
12734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12737                source: err.into(),
12738            }),
12739        }
12740    }
12741}
12742impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
12743    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
12744        match err {
12745            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
12746                inner,
12747            ) => Error::Unhandled(inner),
12748        }
12749    }
12750}
12751impl<R>
12752    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError, R>>
12753    for Error
12754where
12755    R: Send + Sync + std::fmt::Debug + 'static,
12756{
12757    fn from(
12758        err: ::aws_smithy_runtime_api::client::result::SdkError<
12759            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError,
12760            R,
12761        >,
12762    ) -> Self {
12763        match err {
12764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12767                source: err.into(),
12768            }),
12769        }
12770    }
12771}
12772impl From<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError> for Error {
12773    fn from(err: crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError) -> Self {
12774        match err {
12775            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
12776        }
12777    }
12778}
12779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
12780    for Error
12781where
12782    R: Send + Sync + std::fmt::Debug + 'static,
12783{
12784    fn from(
12785        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
12786    ) -> Self {
12787        match err {
12788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12791                source: err.into(),
12792            }),
12793        }
12794    }
12795}
12796impl From<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
12797    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
12798        match err {
12799            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
12800        }
12801    }
12802}
12803impl<R>
12804    From<
12805        ::aws_smithy_runtime_api::client::result::SdkError<
12806            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12807            R,
12808        >,
12809    > for Error
12810where
12811    R: Send + Sync + std::fmt::Debug + 'static,
12812{
12813    fn from(
12814        err: ::aws_smithy_runtime_api::client::result::SdkError<
12815            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12816            R,
12817        >,
12818    ) -> Self {
12819        match err {
12820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12823                source: err.into(),
12824            }),
12825        }
12826    }
12827}
12828impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
12829    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
12830        match err {
12831            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12832        }
12833    }
12834}
12835impl<R>
12836    From<
12837        ::aws_smithy_runtime_api::client::result::SdkError<
12838            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12839            R,
12840        >,
12841    > for Error
12842where
12843    R: Send + Sync + std::fmt::Debug + 'static,
12844{
12845    fn from(
12846        err: ::aws_smithy_runtime_api::client::result::SdkError<
12847            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12848            R,
12849        >,
12850    ) -> Self {
12851        match err {
12852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12855                source: err.into(),
12856            }),
12857        }
12858    }
12859}
12860impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
12861    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
12862        match err {
12863            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
12864                Error::Unhandled(inner)
12865            }
12866        }
12867    }
12868}
12869impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
12870    for Error
12871where
12872    R: Send + Sync + std::fmt::Debug + 'static,
12873{
12874    fn from(
12875        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
12876    ) -> Self {
12877        match err {
12878            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12879            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12880                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12881                source: err.into(),
12882            }),
12883        }
12884    }
12885}
12886impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
12887    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
12888        match err {
12889            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
12890        }
12891    }
12892}
12893impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
12894where
12895    R: Send + Sync + std::fmt::Debug + 'static,
12896{
12897    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
12898        match err {
12899            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12900            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12901                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12902                source: err.into(),
12903            }),
12904        }
12905    }
12906}
12907impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
12908    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
12909        match err {
12910            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
12911        }
12912    }
12913}
12914impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
12915where
12916    R: Send + Sync + std::fmt::Debug + 'static,
12917{
12918    fn from(
12919        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
12920    ) -> Self {
12921        match err {
12922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12925                source: err.into(),
12926            }),
12927        }
12928    }
12929}
12930impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
12931    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
12932        match err {
12933            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
12934        }
12935    }
12936}
12937impl<R>
12938    From<
12939        ::aws_smithy_runtime_api::client::result::SdkError<
12940            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12941            R,
12942        >,
12943    > for Error
12944where
12945    R: Send + Sync + std::fmt::Debug + 'static,
12946{
12947    fn from(
12948        err: ::aws_smithy_runtime_api::client::result::SdkError<
12949            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12950            R,
12951        >,
12952    ) -> Self {
12953        match err {
12954            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12955            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12956                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12957                source: err.into(),
12958            }),
12959        }
12960    }
12961}
12962impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
12963    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
12964        match err {
12965            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
12966        }
12967    }
12968}
12969impl<R>
12970    From<
12971        ::aws_smithy_runtime_api::client::result::SdkError<
12972            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12973            R,
12974        >,
12975    > for Error
12976where
12977    R: Send + Sync + std::fmt::Debug + 'static,
12978{
12979    fn from(
12980        err: ::aws_smithy_runtime_api::client::result::SdkError<
12981            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12982            R,
12983        >,
12984    ) -> Self {
12985        match err {
12986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12989                source: err.into(),
12990            }),
12991        }
12992    }
12993}
12994impl From<crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
12995    fn from(
12996        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12997    ) -> Self {
12998        match err {
12999            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
13000        }
13001    }
13002}
13003impl<R>
13004    From<
13005        ::aws_smithy_runtime_api::client::result::SdkError<
13006            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13007            R,
13008        >,
13009    > for Error
13010where
13011    R: Send + Sync + std::fmt::Debug + 'static,
13012{
13013    fn from(
13014        err: ::aws_smithy_runtime_api::client::result::SdkError<
13015            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13016            R,
13017        >,
13018    ) -> Self {
13019        match err {
13020            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13021            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13022                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13023                source: err.into(),
13024            }),
13025        }
13026    }
13027}
13028impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
13029    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
13030        match err {
13031            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
13032                Error::Unhandled(inner)
13033            }
13034        }
13035    }
13036}
13037impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
13038where
13039    R: Send + Sync + std::fmt::Debug + 'static,
13040{
13041    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
13042        match err {
13043            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13044            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13045                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13046                source: err.into(),
13047            }),
13048        }
13049    }
13050}
13051impl From<crate::operation::export_image::ExportImageError> for Error {
13052    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
13053        match err {
13054            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
13055        }
13056    }
13057}
13058impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
13059    for Error
13060where
13061    R: Send + Sync + std::fmt::Debug + 'static,
13062{
13063    fn from(
13064        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
13065    ) -> Self {
13066        match err {
13067            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13068            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13069                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13070                source: err.into(),
13071            }),
13072        }
13073    }
13074}
13075impl From<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
13076    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
13077        match err {
13078            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
13079        }
13080    }
13081}
13082impl<R>
13083    From<
13084        ::aws_smithy_runtime_api::client::result::SdkError<
13085            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13086            R,
13087        >,
13088    > for Error
13089where
13090    R: Send + Sync + std::fmt::Debug + 'static,
13091{
13092    fn from(
13093        err: ::aws_smithy_runtime_api::client::result::SdkError<
13094            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13095            R,
13096        >,
13097    ) -> Self {
13098        match err {
13099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13100            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13101                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13102                source: err.into(),
13103            }),
13104        }
13105    }
13106}
13107impl From<crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
13108    fn from(
13109        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
13110    ) -> Self {
13111        match err {
13112            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
13113        }
13114    }
13115}
13116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>>
13117    for Error
13118where
13119    R: Send + Sync + std::fmt::Debug + 'static,
13120{
13121    fn from(
13122        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>,
13123    ) -> Self {
13124        match err {
13125            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13126            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13127                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13128                source: err.into(),
13129            }),
13130        }
13131    }
13132}
13133impl From<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError> for Error {
13134    fn from(err: crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError) -> Self {
13135        match err {
13136            crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError::Unhandled(inner) => Error::Unhandled(inner),
13137        }
13138    }
13139}
13140impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
13141    for Error
13142where
13143    R: Send + Sync + std::fmt::Debug + 'static,
13144{
13145    fn from(
13146        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
13147    ) -> Self {
13148        match err {
13149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13152                source: err.into(),
13153            }),
13154        }
13155    }
13156}
13157impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
13158    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
13159        match err {
13160            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
13161        }
13162    }
13163}
13164impl<R>
13165    From<
13166        ::aws_smithy_runtime_api::client::result::SdkError<
13167            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
13168            R,
13169        >,
13170    > for Error
13171where
13172    R: Send + Sync + std::fmt::Debug + 'static,
13173{
13174    fn from(
13175        err: ::aws_smithy_runtime_api::client::result::SdkError<
13176            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
13177            R,
13178        >,
13179    ) -> Self {
13180        match err {
13181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13184                source: err.into(),
13185            }),
13186        }
13187    }
13188}
13189impl From<crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
13190    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
13191        match err {
13192            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
13193                Error::Unhandled(inner)
13194            }
13195        }
13196    }
13197}
13198impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
13199    for Error
13200where
13201    R: Send + Sync + std::fmt::Debug + 'static,
13202{
13203    fn from(
13204        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
13205    ) -> Self {
13206        match err {
13207            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13208            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13209                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13210                source: err.into(),
13211            }),
13212        }
13213    }
13214}
13215impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
13216    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
13217        match err {
13218            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13219        }
13220    }
13221}
13222impl<R>
13223    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
13224    for Error
13225where
13226    R: Send + Sync + std::fmt::Debug + 'static,
13227{
13228    fn from(
13229        err: ::aws_smithy_runtime_api::client::result::SdkError<
13230            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
13231            R,
13232        >,
13233    ) -> Self {
13234        match err {
13235            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13236            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13237                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13238                source: err.into(),
13239            }),
13240        }
13241    }
13242}
13243impl From<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
13244    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
13245        match err {
13246            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
13247        }
13248    }
13249}
13250impl<R>
13251    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError, R>>
13252    for Error
13253where
13254    R: Send + Sync + std::fmt::Debug + 'static,
13255{
13256    fn from(
13257        err: ::aws_smithy_runtime_api::client::result::SdkError<
13258            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError,
13259            R,
13260        >,
13261    ) -> Self {
13262        match err {
13263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13266                source: err.into(),
13267            }),
13268        }
13269    }
13270}
13271impl From<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError> for Error {
13272    fn from(err: crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError) -> Self {
13273        match err {
13274            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError::Unhandled(inner) => Error::Unhandled(inner),
13275        }
13276    }
13277}
13278impl<R>
13279    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError, R>>
13280    for Error
13281where
13282    R: Send + Sync + std::fmt::Debug + 'static,
13283{
13284    fn from(
13285        err: ::aws_smithy_runtime_api::client::result::SdkError<
13286            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError,
13287            R,
13288        >,
13289    ) -> Self {
13290        match err {
13291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13294                source: err.into(),
13295            }),
13296        }
13297    }
13298}
13299impl From<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError> for Error {
13300    fn from(err: crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError) -> Self {
13301        match err {
13302            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError::Unhandled(inner) => Error::Unhandled(inner),
13303        }
13304    }
13305}
13306impl<R>
13307    From<
13308        ::aws_smithy_runtime_api::client::result::SdkError<
13309            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
13310            R,
13311        >,
13312    > for Error
13313where
13314    R: Send + Sync + std::fmt::Debug + 'static,
13315{
13316    fn from(
13317        err: ::aws_smithy_runtime_api::client::result::SdkError<
13318            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
13319            R,
13320        >,
13321    ) -> Self {
13322        match err {
13323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13326                source: err.into(),
13327            }),
13328        }
13329    }
13330}
13331impl From<crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError> for Error {
13332    fn from(err: crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError) -> Self {
13333        match err {
13334            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError::Unhandled(inner) => {
13335                Error::Unhandled(inner)
13336            }
13337        }
13338    }
13339}
13340impl<R>
13341    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
13342    for Error
13343where
13344    R: Send + Sync + std::fmt::Debug + 'static,
13345{
13346    fn from(
13347        err: ::aws_smithy_runtime_api::client::result::SdkError<
13348            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
13349            R,
13350        >,
13351    ) -> Self {
13352        match err {
13353            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13354            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13355                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13356                source: err.into(),
13357            }),
13358        }
13359    }
13360}
13361impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
13362    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
13363        match err {
13364            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
13365        }
13366    }
13367}
13368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
13369where
13370    R: Send + Sync + std::fmt::Debug + 'static,
13371{
13372    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
13373        match err {
13374            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13375            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13376                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13377                source: err.into(),
13378            }),
13379        }
13380    }
13381}
13382impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
13383    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
13384        match err {
13385            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
13386        }
13387    }
13388}
13389impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
13390where
13391    R: Send + Sync + std::fmt::Debug + 'static,
13392{
13393    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
13394        match err {
13395            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13396            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13397                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13398                source: err.into(),
13399            }),
13400        }
13401    }
13402}
13403impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
13404    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
13405        match err {
13406            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
13407        }
13408    }
13409}
13410impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
13411where
13412    R: Send + Sync + std::fmt::Debug + 'static,
13413{
13414    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
13415        match err {
13416            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13417            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13418                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13419                source: err.into(),
13420            }),
13421        }
13422    }
13423}
13424impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
13425    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
13426        match err {
13427            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
13428        }
13429    }
13430}
13431impl<R>
13432    From<
13433        ::aws_smithy_runtime_api::client::result::SdkError<
13434            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13435            R,
13436        >,
13437    > for Error
13438where
13439    R: Send + Sync + std::fmt::Debug + 'static,
13440{
13441    fn from(
13442        err: ::aws_smithy_runtime_api::client::result::SdkError<
13443            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13444            R,
13445        >,
13446    ) -> Self {
13447        match err {
13448            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13449            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13450                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13451                source: err.into(),
13452            }),
13453        }
13454    }
13455}
13456impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
13457    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
13458        match err {
13459            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
13460                Error::Unhandled(inner)
13461            }
13462        }
13463    }
13464}
13465impl<R>
13466    From<
13467        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
13468    > for Error
13469where
13470    R: Send + Sync + std::fmt::Debug + 'static,
13471{
13472    fn from(
13473        err: ::aws_smithy_runtime_api::client::result::SdkError<
13474            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
13475            R,
13476        >,
13477    ) -> Self {
13478        match err {
13479            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13480            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13481                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13482                source: err.into(),
13483            }),
13484        }
13485    }
13486}
13487impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
13488    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
13489        match err {
13490            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
13491        }
13492    }
13493}
13494impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
13495    for Error
13496where
13497    R: Send + Sync + std::fmt::Debug + 'static,
13498{
13499    fn from(
13500        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
13501    ) -> Self {
13502        match err {
13503            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13504            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13505                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13506                source: err.into(),
13507            }),
13508        }
13509    }
13510}
13511impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
13512    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
13513        match err {
13514            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
13515        }
13516    }
13517}
13518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
13519    for Error
13520where
13521    R: Send + Sync + std::fmt::Debug + 'static,
13522{
13523    fn from(
13524        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
13525    ) -> Self {
13526        match err {
13527            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13528            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13529                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13530                source: err.into(),
13531            }),
13532        }
13533    }
13534}
13535impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
13536    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
13537        match err {
13538            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
13539        }
13540    }
13541}
13542impl<R>
13543    From<
13544        ::aws_smithy_runtime_api::client::result::SdkError<
13545            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13546            R,
13547        >,
13548    > for Error
13549where
13550    R: Send + Sync + std::fmt::Debug + 'static,
13551{
13552    fn from(
13553        err: ::aws_smithy_runtime_api::client::result::SdkError<
13554            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13555            R,
13556        >,
13557    ) -> Self {
13558        match err {
13559            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13560            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13561                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13562                source: err.into(),
13563            }),
13564        }
13565    }
13566}
13567impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
13568    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
13569        match err {
13570            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
13571        }
13572    }
13573}
13574impl<R>
13575    From<
13576        ::aws_smithy_runtime_api::client::result::SdkError<
13577            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13578            R,
13579        >,
13580    > for Error
13581where
13582    R: Send + Sync + std::fmt::Debug + 'static,
13583{
13584    fn from(
13585        err: ::aws_smithy_runtime_api::client::result::SdkError<
13586            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13587            R,
13588        >,
13589    ) -> Self {
13590        match err {
13591            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13592            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13593                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13594                source: err.into(),
13595            }),
13596        }
13597    }
13598}
13599impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
13600    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
13601        match err {
13602            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
13603        }
13604    }
13605}
13606impl<R>
13607    From<
13608        ::aws_smithy_runtime_api::client::result::SdkError<
13609            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13610            R,
13611        >,
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<
13618            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13619            R,
13620        >,
13621    ) -> Self {
13622        match err {
13623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13626                source: err.into(),
13627            }),
13628        }
13629    }
13630}
13631impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
13632    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
13633        match err {
13634            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
13635                Error::Unhandled(inner)
13636            }
13637        }
13638    }
13639}
13640impl<R>
13641    From<
13642        ::aws_smithy_runtime_api::client::result::SdkError<
13643            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13644            R,
13645        >,
13646    > for Error
13647where
13648    R: Send + Sync + std::fmt::Debug + 'static,
13649{
13650    fn from(
13651        err: ::aws_smithy_runtime_api::client::result::SdkError<
13652            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13653            R,
13654        >,
13655    ) -> Self {
13656        match err {
13657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13660                source: err.into(),
13661            }),
13662        }
13663    }
13664}
13665impl From<crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
13666    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
13667        match err {
13668            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
13669        }
13670    }
13671}
13672impl<R>
13673    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
13674    for Error
13675where
13676    R: Send + Sync + std::fmt::Debug + 'static,
13677{
13678    fn from(
13679        err: ::aws_smithy_runtime_api::client::result::SdkError<
13680            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
13681            R,
13682        >,
13683    ) -> Self {
13684        match err {
13685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13688                source: err.into(),
13689            }),
13690        }
13691    }
13692}
13693impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
13694    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
13695        match err {
13696            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
13697        }
13698    }
13699}
13700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
13701where
13702    R: Send + Sync + std::fmt::Debug + 'static,
13703{
13704    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> Self {
13705        match err {
13706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13709                source: err.into(),
13710            }),
13711        }
13712    }
13713}
13714impl From<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
13715    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
13716        match err {
13717            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
13718        }
13719    }
13720}
13721impl<R>
13722    From<
13723        ::aws_smithy_runtime_api::client::result::SdkError<
13724            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13725            R,
13726        >,
13727    > for Error
13728where
13729    R: Send + Sync + std::fmt::Debug + 'static,
13730{
13731    fn from(
13732        err: ::aws_smithy_runtime_api::client::result::SdkError<
13733            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13734            R,
13735        >,
13736    ) -> Self {
13737        match err {
13738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13741                source: err.into(),
13742            }),
13743        }
13744    }
13745}
13746impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
13747    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
13748        match err {
13749            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
13750                Error::Unhandled(inner)
13751            }
13752        }
13753    }
13754}
13755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
13756where
13757    R: Send + Sync + std::fmt::Debug + 'static,
13758{
13759    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
13760        match err {
13761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13764                source: err.into(),
13765            }),
13766        }
13767    }
13768}
13769impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
13770    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
13771        match err {
13772            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
13773        }
13774    }
13775}
13776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
13777where
13778    R: Send + Sync + std::fmt::Debug + 'static,
13779{
13780    fn from(
13781        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
13782    ) -> Self {
13783        match err {
13784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13787                source: err.into(),
13788            }),
13789        }
13790    }
13791}
13792impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
13793    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
13794        match err {
13795            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
13796        }
13797    }
13798}
13799impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
13800    for Error
13801where
13802    R: Send + Sync + std::fmt::Debug + 'static,
13803{
13804    fn from(
13805        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
13806    ) -> Self {
13807        match err {
13808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13811                source: err.into(),
13812            }),
13813        }
13814    }
13815}
13816impl From<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
13817    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
13818        match err {
13819            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
13820        }
13821    }
13822}
13823impl<R>
13824    From<
13825        ::aws_smithy_runtime_api::client::result::SdkError<
13826            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13827            R,
13828        >,
13829    > for Error
13830where
13831    R: Send + Sync + std::fmt::Debug + 'static,
13832{
13833    fn from(
13834        err: ::aws_smithy_runtime_api::client::result::SdkError<
13835            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13836            R,
13837        >,
13838    ) -> Self {
13839        match err {
13840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13843                source: err.into(),
13844            }),
13845        }
13846    }
13847}
13848impl From<crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
13849    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
13850        match err {
13851            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
13852                Error::Unhandled(inner)
13853            }
13854        }
13855    }
13856}
13857impl<R>
13858    From<
13859        ::aws_smithy_runtime_api::client::result::SdkError<
13860            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13861            R,
13862        >,
13863    > for Error
13864where
13865    R: Send + Sync + std::fmt::Debug + 'static,
13866{
13867    fn from(
13868        err: ::aws_smithy_runtime_api::client::result::SdkError<
13869            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13870            R,
13871        >,
13872    ) -> Self {
13873        match err {
13874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13877                source: err.into(),
13878            }),
13879        }
13880    }
13881}
13882impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
13883    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
13884        match err {
13885            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13886        }
13887    }
13888}
13889impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
13890    for Error
13891where
13892    R: Send + Sync + std::fmt::Debug + 'static,
13893{
13894    fn from(
13895        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
13896    ) -> Self {
13897        match err {
13898            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13899            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13900                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13901                source: err.into(),
13902            }),
13903        }
13904    }
13905}
13906impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
13907    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
13908        match err {
13909            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
13910        }
13911    }
13912}
13913impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
13914where
13915    R: Send + Sync + std::fmt::Debug + 'static,
13916{
13917    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
13918        match err {
13919            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13920            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13921                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13922                source: err.into(),
13923            }),
13924        }
13925    }
13926}
13927impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
13928    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
13929        match err {
13930            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13931        }
13932    }
13933}
13934impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
13935where
13936    R: Send + Sync + std::fmt::Debug + 'static,
13937{
13938    fn from(
13939        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
13940    ) -> Self {
13941        match err {
13942            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13943            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13944                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13945                source: err.into(),
13946            }),
13947        }
13948    }
13949}
13950impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
13951    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
13952        match err {
13953            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13954        }
13955    }
13956}
13957impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
13958where
13959    R: Send + Sync + std::fmt::Debug + 'static,
13960{
13961    fn from(
13962        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
13963    ) -> Self {
13964        match err {
13965            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13966            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13967                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13968                source: err.into(),
13969            }),
13970        }
13971    }
13972}
13973impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
13974    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
13975        match err {
13976            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
13977        }
13978    }
13979}
13980impl<R>
13981    From<
13982        ::aws_smithy_runtime_api::client::result::SdkError<
13983            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13984            R,
13985        >,
13986    > for Error
13987where
13988    R: Send + Sync + std::fmt::Debug + 'static,
13989{
13990    fn from(
13991        err: ::aws_smithy_runtime_api::client::result::SdkError<
13992            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13993            R,
13994        >,
13995    ) -> Self {
13996        match err {
13997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14000                source: err.into(),
14001            }),
14002        }
14003    }
14004}
14005impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
14006    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
14007        match err {
14008            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
14009                Error::Unhandled(inner)
14010            }
14011        }
14012    }
14013}
14014impl<R>
14015    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
14016    for Error
14017where
14018    R: Send + Sync + std::fmt::Debug + 'static,
14019{
14020    fn from(
14021        err: ::aws_smithy_runtime_api::client::result::SdkError<
14022            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
14023            R,
14024        >,
14025    ) -> Self {
14026        match err {
14027            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14028            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14029                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14030                source: err.into(),
14031            }),
14032        }
14033    }
14034}
14035impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
14036    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
14037        match err {
14038            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
14039        }
14040    }
14041}
14042impl<R>
14043    From<
14044        ::aws_smithy_runtime_api::client::result::SdkError<
14045            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
14046            R,
14047        >,
14048    > for Error
14049where
14050    R: Send + Sync + std::fmt::Debug + 'static,
14051{
14052    fn from(
14053        err: ::aws_smithy_runtime_api::client::result::SdkError<
14054            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
14055            R,
14056        >,
14057    ) -> Self {
14058        match err {
14059            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14060            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14061                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14062                source: err.into(),
14063            }),
14064        }
14065    }
14066}
14067impl From<crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
14068    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
14069        match err {
14070            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
14071                inner,
14072            ) => Error::Unhandled(inner),
14073        }
14074    }
14075}
14076impl<R>
14077    From<
14078        ::aws_smithy_runtime_api::client::result::SdkError<
14079            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
14080            R,
14081        >,
14082    > for Error
14083where
14084    R: Send + Sync + std::fmt::Debug + 'static,
14085{
14086    fn from(
14087        err: ::aws_smithy_runtime_api::client::result::SdkError<
14088            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
14089            R,
14090        >,
14091    ) -> Self {
14092        match err {
14093            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14094            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14095                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14096                source: err.into(),
14097            }),
14098        }
14099    }
14100}
14101impl From<crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
14102    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
14103        match err {
14104            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
14105                Error::Unhandled(inner)
14106            }
14107        }
14108    }
14109}
14110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
14111where
14112    R: Send + Sync + std::fmt::Debug + 'static,
14113{
14114    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
14115        match err {
14116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14119                source: err.into(),
14120            }),
14121        }
14122    }
14123}
14124impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
14125    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
14126        match err {
14127            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
14128        }
14129    }
14130}
14131impl<R>
14132    From<
14133        ::aws_smithy_runtime_api::client::result::SdkError<
14134            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
14135            R,
14136        >,
14137    > for Error
14138where
14139    R: Send + Sync + std::fmt::Debug + 'static,
14140{
14141    fn from(
14142        err: ::aws_smithy_runtime_api::client::result::SdkError<
14143            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
14144            R,
14145        >,
14146    ) -> Self {
14147        match err {
14148            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14149            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14150                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14151                source: err.into(),
14152            }),
14153        }
14154    }
14155}
14156impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
14157    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
14158        match err {
14159            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
14160                Error::Unhandled(inner)
14161            }
14162        }
14163    }
14164}
14165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>>
14166    for Error
14167where
14168    R: Send + Sync + std::fmt::Debug + 'static,
14169{
14170    fn from(
14171        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>,
14172    ) -> Self {
14173        match err {
14174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14177                source: err.into(),
14178            }),
14179        }
14180    }
14181}
14182impl From<crate::operation::get_route_server_associations::GetRouteServerAssociationsError> for Error {
14183    fn from(err: crate::operation::get_route_server_associations::GetRouteServerAssociationsError) -> Self {
14184        match err {
14185            crate::operation::get_route_server_associations::GetRouteServerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
14186        }
14187    }
14188}
14189impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>>
14190    for Error
14191where
14192    R: Send + Sync + std::fmt::Debug + 'static,
14193{
14194    fn from(
14195        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>,
14196    ) -> Self {
14197        match err {
14198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14201                source: err.into(),
14202            }),
14203        }
14204    }
14205}
14206impl From<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError> for Error {
14207    fn from(err: crate::operation::get_route_server_propagations::GetRouteServerPropagationsError) -> Self {
14208        match err {
14209            crate::operation::get_route_server_propagations::GetRouteServerPropagationsError::Unhandled(inner) => Error::Unhandled(inner),
14210        }
14211    }
14212}
14213impl<R>
14214    From<
14215        ::aws_smithy_runtime_api::client::result::SdkError<
14216            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
14217            R,
14218        >,
14219    > for Error
14220where
14221    R: Send + Sync + std::fmt::Debug + 'static,
14222{
14223    fn from(
14224        err: ::aws_smithy_runtime_api::client::result::SdkError<
14225            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
14226            R,
14227        >,
14228    ) -> Self {
14229        match err {
14230            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14231            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14232                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14233                source: err.into(),
14234            }),
14235        }
14236    }
14237}
14238impl From<crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError> for Error {
14239    fn from(err: crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError) -> Self {
14240        match err {
14241            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
14242        }
14243    }
14244}
14245impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
14246    for Error
14247where
14248    R: Send + Sync + std::fmt::Debug + 'static,
14249{
14250    fn from(
14251        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
14252    ) -> Self {
14253        match err {
14254            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14255            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14256                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14257                source: err.into(),
14258            }),
14259        }
14260    }
14261}
14262impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
14263    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
14264        match err {
14265            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
14266        }
14267    }
14268}
14269impl<R>
14270    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
14271    for Error
14272where
14273    R: Send + Sync + std::fmt::Debug + 'static,
14274{
14275    fn from(
14276        err: ::aws_smithy_runtime_api::client::result::SdkError<
14277            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
14278            R,
14279        >,
14280    ) -> Self {
14281        match err {
14282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14285                source: err.into(),
14286            }),
14287        }
14288    }
14289}
14290impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
14291    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
14292        match err {
14293            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
14294        }
14295    }
14296}
14297impl<R>
14298    From<
14299        ::aws_smithy_runtime_api::client::result::SdkError<
14300            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
14301            R,
14302        >,
14303    > for Error
14304where
14305    R: Send + Sync + std::fmt::Debug + 'static,
14306{
14307    fn from(
14308        err: ::aws_smithy_runtime_api::client::result::SdkError<
14309            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
14310            R,
14311        >,
14312    ) -> Self {
14313        match err {
14314            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14315            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14316                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14317                source: err.into(),
14318            }),
14319        }
14320    }
14321}
14322impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
14323    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
14324        match err {
14325            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
14326                Error::Unhandled(inner)
14327            }
14328        }
14329    }
14330}
14331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
14332    for Error
14333where
14334    R: Send + Sync + std::fmt::Debug + 'static,
14335{
14336    fn from(
14337        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
14338    ) -> Self {
14339        match err {
14340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14343                source: err.into(),
14344            }),
14345        }
14346    }
14347}
14348impl From<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError> for Error {
14349    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
14350        match err {
14351            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
14352        }
14353    }
14354}
14355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
14356    for Error
14357where
14358    R: Send + Sync + std::fmt::Debug + 'static,
14359{
14360    fn from(
14361        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
14362    ) -> Self {
14363        match err {
14364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14365            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14366                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14367                source: err.into(),
14368            }),
14369        }
14370    }
14371}
14372impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
14373    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
14374        match err {
14375            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
14376        }
14377    }
14378}
14379impl<R>
14380    From<
14381        ::aws_smithy_runtime_api::client::result::SdkError<
14382            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
14383            R,
14384        >,
14385    > for Error
14386where
14387    R: Send + Sync + std::fmt::Debug + 'static,
14388{
14389    fn from(
14390        err: ::aws_smithy_runtime_api::client::result::SdkError<
14391            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
14392            R,
14393        >,
14394    ) -> Self {
14395        match err {
14396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14399                source: err.into(),
14400            }),
14401        }
14402    }
14403}
14404impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
14405    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
14406        match err {
14407            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
14408                Error::Unhandled(inner)
14409            }
14410        }
14411    }
14412}
14413impl<R>
14414    From<
14415        ::aws_smithy_runtime_api::client::result::SdkError<
14416            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
14417            R,
14418        >,
14419    > for Error
14420where
14421    R: Send + Sync + std::fmt::Debug + 'static,
14422{
14423    fn from(
14424        err: ::aws_smithy_runtime_api::client::result::SdkError<
14425            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
14426            R,
14427        >,
14428    ) -> Self {
14429        match err {
14430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14433                source: err.into(),
14434            }),
14435        }
14436    }
14437}
14438impl From<crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
14439    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
14440        match err {
14441            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
14442                inner,
14443            ) => Error::Unhandled(inner),
14444        }
14445    }
14446}
14447impl<R>
14448    From<
14449        ::aws_smithy_runtime_api::client::result::SdkError<
14450            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
14451            R,
14452        >,
14453    > for Error
14454where
14455    R: Send + Sync + std::fmt::Debug + 'static,
14456{
14457    fn from(
14458        err: ::aws_smithy_runtime_api::client::result::SdkError<
14459            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
14460            R,
14461        >,
14462    ) -> Self {
14463        match err {
14464            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14465            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14466                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14467                source: err.into(),
14468            }),
14469        }
14470    }
14471}
14472impl From<crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
14473    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
14474        match err {
14475            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
14476                Error::Unhandled(inner)
14477            }
14478        }
14479    }
14480}
14481impl<R>
14482    From<
14483        ::aws_smithy_runtime_api::client::result::SdkError<
14484            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14485            R,
14486        >,
14487    > for Error
14488where
14489    R: Send + Sync + std::fmt::Debug + 'static,
14490{
14491    fn from(
14492        err: ::aws_smithy_runtime_api::client::result::SdkError<
14493            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14494            R,
14495        >,
14496    ) -> Self {
14497        match err {
14498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14501                source: err.into(),
14502            }),
14503        }
14504    }
14505}
14506impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
14507    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
14508        match err {
14509            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
14510                Error::Unhandled(inner)
14511            }
14512        }
14513    }
14514}
14515impl<R>
14516    From<
14517        ::aws_smithy_runtime_api::client::result::SdkError<
14518            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14519            R,
14520        >,
14521    > for Error
14522where
14523    R: Send + Sync + std::fmt::Debug + 'static,
14524{
14525    fn from(
14526        err: ::aws_smithy_runtime_api::client::result::SdkError<
14527            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14528            R,
14529        >,
14530    ) -> Self {
14531        match err {
14532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14535                source: err.into(),
14536            }),
14537        }
14538    }
14539}
14540impl From<crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
14541    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
14542        match err {
14543            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
14544                Error::Unhandled(inner)
14545            }
14546        }
14547    }
14548}
14549impl<R>
14550    From<
14551        ::aws_smithy_runtime_api::client::result::SdkError<
14552            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
14553            R,
14554        >,
14555    > for Error
14556where
14557    R: Send + Sync + std::fmt::Debug + 'static,
14558{
14559    fn from(
14560        err: ::aws_smithy_runtime_api::client::result::SdkError<
14561            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
14562            R,
14563        >,
14564    ) -> Self {
14565        match err {
14566            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14567            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14568                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14569                source: err.into(),
14570            }),
14571        }
14572    }
14573}
14574impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
14575    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
14576        match err {
14577            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
14578                Error::Unhandled(inner)
14579            }
14580        }
14581    }
14582}
14583impl<R>
14584    From<
14585        ::aws_smithy_runtime_api::client::result::SdkError<
14586            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
14587            R,
14588        >,
14589    > for Error
14590where
14591    R: Send + Sync + std::fmt::Debug + 'static,
14592{
14593    fn from(
14594        err: ::aws_smithy_runtime_api::client::result::SdkError<
14595            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
14596            R,
14597        >,
14598    ) -> Self {
14599        match err {
14600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14603                source: err.into(),
14604            }),
14605        }
14606    }
14607}
14608impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
14609    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
14610        match err {
14611            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
14612                Error::Unhandled(inner)
14613            }
14614        }
14615    }
14616}
14617impl<R>
14618    From<
14619        ::aws_smithy_runtime_api::client::result::SdkError<
14620            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
14621            R,
14622        >,
14623    > for Error
14624where
14625    R: Send + Sync + std::fmt::Debug + 'static,
14626{
14627    fn from(
14628        err: ::aws_smithy_runtime_api::client::result::SdkError<
14629            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
14630            R,
14631        >,
14632    ) -> Self {
14633        match err {
14634            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14635            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14636                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14637                source: err.into(),
14638            }),
14639        }
14640    }
14641}
14642impl From<crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
14643    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
14644        match err {
14645            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14646        }
14647    }
14648}
14649impl<R>
14650    From<
14651        ::aws_smithy_runtime_api::client::result::SdkError<
14652            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
14653            R,
14654        >,
14655    > for Error
14656where
14657    R: Send + Sync + std::fmt::Debug + 'static,
14658{
14659    fn from(
14660        err: ::aws_smithy_runtime_api::client::result::SdkError<
14661            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
14662            R,
14663        >,
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_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
14675    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
14676        match err {
14677            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
14678                Error::Unhandled(inner)
14679            }
14680        }
14681    }
14682}
14683impl<R>
14684    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
14685    for Error
14686where
14687    R: Send + Sync + std::fmt::Debug + 'static,
14688{
14689    fn from(
14690        err: ::aws_smithy_runtime_api::client::result::SdkError<
14691            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
14692            R,
14693        >,
14694    ) -> Self {
14695        match err {
14696            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14697            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14698                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14699                source: err.into(),
14700            }),
14701        }
14702    }
14703}
14704impl From<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
14705    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
14706        match err {
14707            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14708        }
14709    }
14710}
14711impl<R>
14712    From<
14713        ::aws_smithy_runtime_api::client::result::SdkError<
14714            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
14715            R,
14716        >,
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_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
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_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
14737    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
14738        match err {
14739            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
14740                Error::Unhandled(inner)
14741            }
14742        }
14743    }
14744}
14745impl<R>
14746    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
14747    for Error
14748where
14749    R: Send + Sync + std::fmt::Debug + 'static,
14750{
14751    fn from(
14752        err: ::aws_smithy_runtime_api::client::result::SdkError<
14753            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
14754            R,
14755        >,
14756    ) -> Self {
14757        match err {
14758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14761                source: err.into(),
14762            }),
14763        }
14764    }
14765}
14766impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
14767    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
14768        match err {
14769            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
14770        }
14771    }
14772}
14773impl<R>
14774    From<
14775        ::aws_smithy_runtime_api::client::result::SdkError<
14776            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14777            R,
14778        >,
14779    > for Error
14780where
14781    R: Send + Sync + std::fmt::Debug + 'static,
14782{
14783    fn from(
14784        err: ::aws_smithy_runtime_api::client::result::SdkError<
14785            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14786            R,
14787        >,
14788    ) -> Self {
14789        match err {
14790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14793                source: err.into(),
14794            }),
14795        }
14796    }
14797}
14798impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
14799    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
14800        match err {
14801            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
14802        }
14803    }
14804}
14805impl<R>
14806    From<
14807        ::aws_smithy_runtime_api::client::result::SdkError<
14808            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14809            R,
14810        >,
14811    > for Error
14812where
14813    R: Send + Sync + std::fmt::Debug + 'static,
14814{
14815    fn from(
14816        err: ::aws_smithy_runtime_api::client::result::SdkError<
14817            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14818            R,
14819        >,
14820    ) -> Self {
14821        match err {
14822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14825                source: err.into(),
14826            }),
14827        }
14828    }
14829}
14830impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
14831    fn from(
14832        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14833    ) -> Self {
14834        match err {
14835            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
14836        }
14837    }
14838}
14839impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
14840where
14841    R: Send + Sync + std::fmt::Debug + 'static,
14842{
14843    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
14844        match err {
14845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14848                source: err.into(),
14849            }),
14850        }
14851    }
14852}
14853impl From<crate::operation::import_image::ImportImageError> for Error {
14854    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
14855        match err {
14856            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
14857        }
14858    }
14859}
14860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
14861where
14862    R: Send + Sync + std::fmt::Debug + 'static,
14863{
14864    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
14865        match err {
14866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14869                source: err.into(),
14870            }),
14871        }
14872    }
14873}
14874impl From<crate::operation::import_instance::ImportInstanceError> for Error {
14875    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
14876        match err {
14877            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
14878        }
14879    }
14880}
14881impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
14882where
14883    R: Send + Sync + std::fmt::Debug + 'static,
14884{
14885    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
14886        match err {
14887            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14888            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14889                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14890                source: err.into(),
14891            }),
14892        }
14893    }
14894}
14895impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
14896    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
14897        match err {
14898            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
14899        }
14900    }
14901}
14902impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
14903where
14904    R: Send + Sync + std::fmt::Debug + 'static,
14905{
14906    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
14907        match err {
14908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14911                source: err.into(),
14912            }),
14913        }
14914    }
14915}
14916impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
14917    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
14918        match err {
14919            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
14920        }
14921    }
14922}
14923impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
14924where
14925    R: Send + Sync + std::fmt::Debug + 'static,
14926{
14927    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
14928        match err {
14929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14932                source: err.into(),
14933            }),
14934        }
14935    }
14936}
14937impl From<crate::operation::import_volume::ImportVolumeError> for Error {
14938    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
14939        match err {
14940            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
14941        }
14942    }
14943}
14944impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
14945    for Error
14946where
14947    R: Send + Sync + std::fmt::Debug + 'static,
14948{
14949    fn from(
14950        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
14951    ) -> Self {
14952        match err {
14953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14956                source: err.into(),
14957            }),
14958        }
14959    }
14960}
14961impl From<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
14962    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
14963        match err {
14964            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14965        }
14966    }
14967}
14968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
14969    for Error
14970where
14971    R: Send + Sync + std::fmt::Debug + 'static,
14972{
14973    fn from(
14974        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
14975    ) -> Self {
14976        match err {
14977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14980                source: err.into(),
14981            }),
14982        }
14983    }
14984}
14985impl From<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
14986    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
14987        match err {
14988            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14989        }
14990    }
14991}
14992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
14993where
14994    R: Send + Sync + std::fmt::Debug + 'static,
14995{
14996    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
14997        match err {
14998            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14999            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15000                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15001                source: err.into(),
15002            }),
15003        }
15004    }
15005}
15006impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
15007    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
15008        match err {
15009            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
15010        }
15011    }
15012}
15013impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> for Error
15014where
15015    R: Send + Sync + std::fmt::Debug + 'static,
15016{
15017    fn from(
15018        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>,
15019    ) -> Self {
15020        match err {
15021            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15022            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15023                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15024                source: err.into(),
15025            }),
15026        }
15027    }
15028}
15029impl From<crate::operation::modify_address_attribute::ModifyAddressAttributeError> for Error {
15030    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
15031        match err {
15032            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15033        }
15034    }
15035}
15036impl<R>
15037    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
15038    for Error
15039where
15040    R: Send + Sync + std::fmt::Debug + 'static,
15041{
15042    fn from(
15043        err: ::aws_smithy_runtime_api::client::result::SdkError<
15044            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
15045            R,
15046        >,
15047    ) -> Self {
15048        match err {
15049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15052                source: err.into(),
15053            }),
15054        }
15055    }
15056}
15057impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
15058    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
15059        match err {
15060            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
15061        }
15062    }
15063}
15064impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
15065    for Error
15066where
15067    R: Send + Sync + std::fmt::Debug + 'static,
15068{
15069    fn from(
15070        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
15071    ) -> Self {
15072        match err {
15073            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15074            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15075                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15076                source: err.into(),
15077            }),
15078        }
15079    }
15080}
15081impl From<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
15082    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
15083        match err {
15084            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
15085        }
15086    }
15087}
15088impl<R>
15089    From<
15090        ::aws_smithy_runtime_api::client::result::SdkError<
15091            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
15092            R,
15093        >,
15094    > for Error
15095where
15096    R: Send + Sync + std::fmt::Debug + 'static,
15097{
15098    fn from(
15099        err: ::aws_smithy_runtime_api::client::result::SdkError<
15100            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
15101            R,
15102        >,
15103    ) -> Self {
15104        match err {
15105            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15106            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15107                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15108                source: err.into(),
15109            }),
15110        }
15111    }
15112}
15113impl From<crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
15114    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
15115        match err {
15116            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
15117        }
15118    }
15119}
15120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
15121    for Error
15122where
15123    R: Send + Sync + std::fmt::Debug + 'static,
15124{
15125    fn from(
15126        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
15127    ) -> Self {
15128        match err {
15129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15132                source: err.into(),
15133            }),
15134        }
15135    }
15136}
15137impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
15138    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
15139        match err {
15140            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15141        }
15142    }
15143}
15144impl<R>
15145    From<
15146        ::aws_smithy_runtime_api::client::result::SdkError<
15147            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
15148            R,
15149        >,
15150    > for Error
15151where
15152    R: Send + Sync + std::fmt::Debug + 'static,
15153{
15154    fn from(
15155        err: ::aws_smithy_runtime_api::client::result::SdkError<
15156            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
15157            R,
15158        >,
15159    ) -> Self {
15160        match err {
15161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15164                source: err.into(),
15165            }),
15166        }
15167    }
15168}
15169impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
15170    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
15171        match err {
15172            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
15173        }
15174    }
15175}
15176impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
15177    for Error
15178where
15179    R: Send + Sync + std::fmt::Debug + 'static,
15180{
15181    fn from(
15182        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>,
15183    ) -> Self {
15184        match err {
15185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15188                source: err.into(),
15189            }),
15190        }
15191    }
15192}
15193impl From<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
15194    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
15195        match err {
15196            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
15197        }
15198    }
15199}
15200impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
15201where
15202    R: Send + Sync + std::fmt::Debug + 'static,
15203{
15204    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
15205        match err {
15206            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15207            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15208                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15209                source: err.into(),
15210            }),
15211        }
15212    }
15213}
15214impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
15215    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
15216        match err {
15217            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
15218        }
15219    }
15220}
15221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
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<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
15228    ) -> Self {
15229        match err {
15230            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15231            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15232                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15233                source: err.into(),
15234            }),
15235        }
15236    }
15237}
15238impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
15239    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
15240        match err {
15241            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15242        }
15243    }
15244}
15245impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
15246where
15247    R: Send + Sync + std::fmt::Debug + 'static,
15248{
15249    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
15250        match err {
15251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15254                source: err.into(),
15255            }),
15256        }
15257    }
15258}
15259impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
15260    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
15261        match err {
15262            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
15263        }
15264    }
15265}
15266impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>>
15267    for Error
15268where
15269    R: Send + Sync + std::fmt::Debug + 'static,
15270{
15271    fn from(
15272        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
15273    ) -> Self {
15274        match err {
15275            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15276            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15277                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15278                source: err.into(),
15279            }),
15280        }
15281    }
15282}
15283impl From<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
15284    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
15285        match err {
15286            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
15287        }
15288    }
15289}
15290impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
15291where
15292    R: Send + Sync + std::fmt::Debug + 'static,
15293{
15294    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
15295        match err {
15296            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15297            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15298                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15299                source: err.into(),
15300            }),
15301        }
15302    }
15303}
15304impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
15305    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
15306        match err {
15307            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
15308        }
15309    }
15310}
15311impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
15312where
15313    R: Send + Sync + std::fmt::Debug + 'static,
15314{
15315    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
15316        match err {
15317            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15318            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15319                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15320                source: err.into(),
15321            }),
15322        }
15323    }
15324}
15325impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
15326    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
15327        match err {
15328            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15329        }
15330    }
15331}
15332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>>
15333    for Error
15334where
15335    R: Send + Sync + std::fmt::Debug + 'static,
15336{
15337    fn from(
15338        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
15339    ) -> Self {
15340        match err {
15341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15342            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15343                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15344                source: err.into(),
15345            }),
15346        }
15347    }
15348}
15349impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
15350    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
15351        match err {
15352            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15353        }
15354    }
15355}
15356impl<R>
15357    From<
15358        ::aws_smithy_runtime_api::client::result::SdkError<
15359            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
15360            R,
15361        >,
15362    > for Error
15363where
15364    R: Send + Sync + std::fmt::Debug + 'static,
15365{
15366    fn from(
15367        err: ::aws_smithy_runtime_api::client::result::SdkError<
15368            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
15369            R,
15370        >,
15371    ) -> Self {
15372        match err {
15373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15376                source: err.into(),
15377            }),
15378        }
15379    }
15380}
15381impl From<crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
15382    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
15383        match err {
15384            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
15385                Error::Unhandled(inner)
15386            }
15387        }
15388    }
15389}
15390impl<R>
15391    From<
15392        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError, R>,
15393    > for Error
15394where
15395    R: Send + Sync + std::fmt::Debug + 'static,
15396{
15397    fn from(
15398        err: ::aws_smithy_runtime_api::client::result::SdkError<
15399            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError,
15400            R,
15401        >,
15402    ) -> Self {
15403        match err {
15404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15407                source: err.into(),
15408            }),
15409        }
15410    }
15411}
15412impl From<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError> for Error {
15413    fn from(err: crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError) -> Self {
15414        match err {
15415            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15416        }
15417    }
15418}
15419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
15420    for Error
15421where
15422    R: Send + Sync + std::fmt::Debug + 'static,
15423{
15424    fn from(
15425        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
15426    ) -> Self {
15427        match err {
15428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15431                source: err.into(),
15432            }),
15433        }
15434    }
15435}
15436impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
15437    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
15438        match err {
15439            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15440        }
15441    }
15442}
15443impl<R>
15444    From<
15445        ::aws_smithy_runtime_api::client::result::SdkError<
15446            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
15447            R,
15448        >,
15449    > for Error
15450where
15451    R: Send + Sync + std::fmt::Debug + 'static,
15452{
15453    fn from(
15454        err: ::aws_smithy_runtime_api::client::result::SdkError<
15455            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
15456            R,
15457        >,
15458    ) -> Self {
15459        match err {
15460            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15461            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15462                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15463                source: err.into(),
15464            }),
15465        }
15466    }
15467}
15468impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
15469    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
15470        match err {
15471            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
15472                Error::Unhandled(inner)
15473            }
15474        }
15475    }
15476}
15477impl<R>
15478    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
15479    for Error
15480where
15481    R: Send + Sync + std::fmt::Debug + 'static,
15482{
15483    fn from(
15484        err: ::aws_smithy_runtime_api::client::result::SdkError<
15485            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
15486            R,
15487        >,
15488    ) -> Self {
15489        match err {
15490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15493                source: err.into(),
15494            }),
15495        }
15496    }
15497}
15498impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
15499    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
15500        match err {
15501            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
15502        }
15503    }
15504}
15505impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
15506    for Error
15507where
15508    R: Send + Sync + std::fmt::Debug + 'static,
15509{
15510    fn from(
15511        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
15512    ) -> Self {
15513        match err {
15514            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15515            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15516                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15517                source: err.into(),
15518            }),
15519        }
15520    }
15521}
15522impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
15523    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
15524        match err {
15525            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
15526        }
15527    }
15528}
15529impl<R>
15530    From<
15531        ::aws_smithy_runtime_api::client::result::SdkError<
15532            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15533            R,
15534        >,
15535    > for Error
15536where
15537    R: Send + Sync + std::fmt::Debug + 'static,
15538{
15539    fn from(
15540        err: ::aws_smithy_runtime_api::client::result::SdkError<
15541            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15542            R,
15543        >,
15544    ) -> 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::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
15555    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
15556        match err {
15557            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15558        }
15559    }
15560}
15561impl<R>
15562    From<
15563        ::aws_smithy_runtime_api::client::result::SdkError<
15564            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
15565            R,
15566        >,
15567    > for Error
15568where
15569    R: Send + Sync + std::fmt::Debug + 'static,
15570{
15571    fn from(
15572        err: ::aws_smithy_runtime_api::client::result::SdkError<
15573            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
15574            R,
15575        >,
15576    ) -> Self {
15577        match err {
15578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15581                source: err.into(),
15582            }),
15583        }
15584    }
15585}
15586impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
15587    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
15588        match err {
15589            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
15590        }
15591    }
15592}
15593impl<R>
15594    From<
15595        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
15596    > for Error
15597where
15598    R: Send + Sync + std::fmt::Debug + 'static,
15599{
15600    fn from(
15601        err: ::aws_smithy_runtime_api::client::result::SdkError<
15602            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
15603            R,
15604        >,
15605    ) -> Self {
15606        match err {
15607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15610                source: err.into(),
15611            }),
15612        }
15613    }
15614}
15615impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
15616    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
15617        match err {
15618            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15619        }
15620    }
15621}
15622impl<R>
15623    From<
15624        ::aws_smithy_runtime_api::client::result::SdkError<
15625            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15626            R,
15627        >,
15628    > for Error
15629where
15630    R: Send + Sync + std::fmt::Debug + 'static,
15631{
15632    fn from(
15633        err: ::aws_smithy_runtime_api::client::result::SdkError<
15634            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15635            R,
15636        >,
15637    ) -> Self {
15638        match err {
15639            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15640            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15641                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15642                source: err.into(),
15643            }),
15644        }
15645    }
15646}
15647impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
15648    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
15649        match err {
15650            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
15651                Error::Unhandled(inner)
15652            }
15653        }
15654    }
15655}
15656impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>>
15657    for Error
15658where
15659    R: Send + Sync + std::fmt::Debug + 'static,
15660{
15661    fn from(
15662        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
15663    ) -> Self {
15664        match err {
15665            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15666            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15667                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15668                source: err.into(),
15669            }),
15670        }
15671    }
15672}
15673impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
15674    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
15675        match err {
15676            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
15677        }
15678    }
15679}
15680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
15681where
15682    R: Send + Sync + std::fmt::Debug + 'static,
15683{
15684    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
15685        match err {
15686            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15687            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15688                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15689                source: err.into(),
15690            }),
15691        }
15692    }
15693}
15694impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
15695    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
15696        match err {
15697            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
15698        }
15699    }
15700}
15701impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
15702where
15703    R: Send + Sync + std::fmt::Debug + 'static,
15704{
15705    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
15706        match err {
15707            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15708            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15709                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15710                source: err.into(),
15711            }),
15712        }
15713    }
15714}
15715impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
15716    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
15717        match err {
15718            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
15719        }
15720    }
15721}
15722impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
15723    for Error
15724where
15725    R: Send + Sync + std::fmt::Debug + 'static,
15726{
15727    fn from(
15728        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
15729    ) -> Self {
15730        match err {
15731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15734                source: err.into(),
15735            }),
15736        }
15737    }
15738}
15739impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
15740    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
15741        match err {
15742            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
15743        }
15744    }
15745}
15746impl<R>
15747    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
15748    for Error
15749where
15750    R: Send + Sync + std::fmt::Debug + 'static,
15751{
15752    fn from(
15753        err: ::aws_smithy_runtime_api::client::result::SdkError<
15754            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
15755            R,
15756        >,
15757    ) -> Self {
15758        match err {
15759            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15760            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15761                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15762                source: err.into(),
15763            }),
15764        }
15765    }
15766}
15767impl From<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
15768    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
15769        match err {
15770            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
15771        }
15772    }
15773}
15774impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
15775where
15776    R: Send + Sync + std::fmt::Debug + 'static,
15777{
15778    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> Self {
15779        match err {
15780            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15781            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15782                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15783                source: err.into(),
15784            }),
15785        }
15786    }
15787}
15788impl From<crate::operation::modify_ipam_scope::ModifyIpamScopeError> for Error {
15789    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
15790        match err {
15791            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
15792        }
15793    }
15794}
15795impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
15796where
15797    R: Send + Sync + std::fmt::Debug + 'static,
15798{
15799    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
15800        match err {
15801            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15802            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15803                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15804                source: err.into(),
15805            }),
15806        }
15807    }
15808}
15809impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
15810    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
15811        match err {
15812            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
15813        }
15814    }
15815}
15816impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
15817    for Error
15818where
15819    R: Send + Sync + std::fmt::Debug + 'static,
15820{
15821    fn from(
15822        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
15823    ) -> Self {
15824        match err {
15825            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15826            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15827                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15828                source: err.into(),
15829            }),
15830        }
15831    }
15832}
15833impl From<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
15834    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
15835        match err {
15836            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
15837        }
15838    }
15839}
15840impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>>
15841    for Error
15842where
15843    R: Send + Sync + std::fmt::Debug + 'static,
15844{
15845    fn from(
15846        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>,
15847    ) -> Self {
15848        match err {
15849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15852                source: err.into(),
15853            }),
15854        }
15855    }
15856}
15857impl From<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError> for Error {
15858    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
15859        match err {
15860            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
15861        }
15862    }
15863}
15864impl<R>
15865    From<
15866        ::aws_smithy_runtime_api::client::result::SdkError<
15867            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15868            R,
15869        >,
15870    > for Error
15871where
15872    R: Send + Sync + std::fmt::Debug + 'static,
15873{
15874    fn from(
15875        err: ::aws_smithy_runtime_api::client::result::SdkError<
15876            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15877            R,
15878        >,
15879    ) -> Self {
15880        match err {
15881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15884                source: err.into(),
15885            }),
15886        }
15887    }
15888}
15889impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
15890    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
15891        match err {
15892            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15893        }
15894    }
15895}
15896impl<R>
15897    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
15898    for Error
15899where
15900    R: Send + Sync + std::fmt::Debug + 'static,
15901{
15902    fn from(
15903        err: ::aws_smithy_runtime_api::client::result::SdkError<
15904            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
15905            R,
15906        >,
15907    ) -> Self {
15908        match err {
15909            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15910            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15911                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15912                source: err.into(),
15913            }),
15914        }
15915    }
15916}
15917impl From<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
15918    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
15919        match err {
15920            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15921        }
15922    }
15923}
15924impl<R>
15925    From<
15926        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError, R>,
15927    > for Error
15928where
15929    R: Send + Sync + std::fmt::Debug + 'static,
15930{
15931    fn from(
15932        err: ::aws_smithy_runtime_api::client::result::SdkError<
15933            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError,
15934            R,
15935        >,
15936    ) -> Self {
15937        match err {
15938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15941                source: err.into(),
15942            }),
15943        }
15944    }
15945}
15946impl From<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError> for Error {
15947    fn from(err: crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError) -> Self {
15948        match err {
15949            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15950        }
15951    }
15952}
15953impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
15954    for Error
15955where
15956    R: Send + Sync + std::fmt::Debug + 'static,
15957{
15958    fn from(
15959        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
15960    ) -> Self {
15961        match err {
15962            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15963            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15964                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15965                source: err.into(),
15966            }),
15967        }
15968    }
15969}
15970impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
15971    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
15972        match err {
15973            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
15974        }
15975    }
15976}
15977impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>> for Error
15978where
15979    R: Send + Sync + std::fmt::Debug + 'static,
15980{
15981    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>) -> Self {
15982        match err {
15983            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15984            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15985                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15986                source: err.into(),
15987            }),
15988        }
15989    }
15990}
15991impl From<crate::operation::modify_route_server::ModifyRouteServerError> for Error {
15992    fn from(err: crate::operation::modify_route_server::ModifyRouteServerError) -> Self {
15993        match err {
15994            crate::operation::modify_route_server::ModifyRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
15995        }
15996    }
15997}
15998impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
15999    for Error
16000where
16001    R: Send + Sync + std::fmt::Debug + 'static,
16002{
16003    fn from(
16004        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
16005    ) -> Self {
16006        match err {
16007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16010                source: err.into(),
16011            }),
16012        }
16013    }
16014}
16015impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
16016    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
16017        match err {
16018            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
16019        }
16020    }
16021}
16022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
16023    for Error
16024where
16025    R: Send + Sync + std::fmt::Debug + 'static,
16026{
16027    fn from(
16028        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
16029    ) -> Self {
16030        match err {
16031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16034                source: err.into(),
16035            }),
16036        }
16037    }
16038}
16039impl From<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
16040    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
16041        match err {
16042            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16043        }
16044    }
16045}
16046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
16047where
16048    R: Send + Sync + std::fmt::Debug + 'static,
16049{
16050    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> Self {
16051        match err {
16052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16055                source: err.into(),
16056            }),
16057        }
16058    }
16059}
16060impl From<crate::operation::modify_snapshot_tier::ModifySnapshotTierError> for Error {
16061    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
16062        match err {
16063            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
16064        }
16065    }
16066}
16067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>>
16068    for Error
16069where
16070    R: Send + Sync + std::fmt::Debug + 'static,
16071{
16072    fn from(
16073        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>,
16074    ) -> Self {
16075        match err {
16076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16079                source: err.into(),
16080            }),
16081        }
16082    }
16083}
16084impl From<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError> for Error {
16085    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
16086        match err {
16087            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
16088        }
16089    }
16090}
16091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
16092where
16093    R: Send + Sync + std::fmt::Debug + 'static,
16094{
16095    fn from(
16096        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
16097    ) -> Self {
16098        match err {
16099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16100            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16101                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16102                source: err.into(),
16103            }),
16104        }
16105    }
16106}
16107impl From<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError> for Error {
16108    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
16109        match err {
16110            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16111        }
16112    }
16113}
16114impl<R>
16115    From<
16116        ::aws_smithy_runtime_api::client::result::SdkError<
16117            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
16118            R,
16119        >,
16120    > for Error
16121where
16122    R: Send + Sync + std::fmt::Debug + 'static,
16123{
16124    fn from(
16125        err: ::aws_smithy_runtime_api::client::result::SdkError<
16126            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
16127            R,
16128        >,
16129    ) -> Self {
16130        match err {
16131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16134                source: err.into(),
16135            }),
16136        }
16137    }
16138}
16139impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
16140    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
16141        match err {
16142            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
16143                Error::Unhandled(inner)
16144            }
16145        }
16146    }
16147}
16148impl<R>
16149    From<
16150        ::aws_smithy_runtime_api::client::result::SdkError<
16151            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
16152            R,
16153        >,
16154    > for Error
16155where
16156    R: Send + Sync + std::fmt::Debug + 'static,
16157{
16158    fn from(
16159        err: ::aws_smithy_runtime_api::client::result::SdkError<
16160            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
16161            R,
16162        >,
16163    ) -> Self {
16164        match err {
16165            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16166            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16167                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16168                source: err.into(),
16169            }),
16170        }
16171    }
16172}
16173impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
16174    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
16175        match err {
16176            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
16177        }
16178    }
16179}
16180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
16181    for Error
16182where
16183    R: Send + Sync + std::fmt::Debug + 'static,
16184{
16185    fn from(
16186        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
16187    ) -> Self {
16188        match err {
16189            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16190            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16191                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16192                source: err.into(),
16193            }),
16194        }
16195    }
16196}
16197impl From<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
16198    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
16199        match err {
16200            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
16201        }
16202    }
16203}
16204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
16205where
16206    R: Send + Sync + std::fmt::Debug + 'static,
16207{
16208    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> Self {
16209        match err {
16210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16213                source: err.into(),
16214            }),
16215        }
16216    }
16217}
16218impl From<crate::operation::modify_transit_gateway::ModifyTransitGatewayError> for Error {
16219    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
16220        match err {
16221            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
16222        }
16223    }
16224}
16225impl<R>
16226    From<
16227        ::aws_smithy_runtime_api::client::result::SdkError<
16228            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
16229            R,
16230        >,
16231    > for Error
16232where
16233    R: Send + Sync + std::fmt::Debug + 'static,
16234{
16235    fn from(
16236        err: ::aws_smithy_runtime_api::client::result::SdkError<
16237            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
16238            R,
16239        >,
16240    ) -> Self {
16241        match err {
16242            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16243            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16244                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16245                source: err.into(),
16246            }),
16247        }
16248    }
16249}
16250impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
16251    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
16252        match err {
16253            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
16254                Error::Unhandled(inner)
16255            }
16256        }
16257    }
16258}
16259impl<R>
16260    From<
16261        ::aws_smithy_runtime_api::client::result::SdkError<
16262            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
16263            R,
16264        >,
16265    > for Error
16266where
16267    R: Send + Sync + std::fmt::Debug + 'static,
16268{
16269    fn from(
16270        err: ::aws_smithy_runtime_api::client::result::SdkError<
16271            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
16272            R,
16273        >,
16274    ) -> Self {
16275        match err {
16276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16279                source: err.into(),
16280            }),
16281        }
16282    }
16283}
16284impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
16285    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
16286        match err {
16287            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
16288                Error::Unhandled(inner)
16289            }
16290        }
16291    }
16292}
16293impl<R>
16294    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
16295    for Error
16296where
16297    R: Send + Sync + std::fmt::Debug + 'static,
16298{
16299    fn from(
16300        err: ::aws_smithy_runtime_api::client::result::SdkError<
16301            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
16302            R,
16303        >,
16304    ) -> Self {
16305        match err {
16306            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16307            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16308                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16309                source: err.into(),
16310            }),
16311        }
16312    }
16313}
16314impl From<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
16315    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
16316        match err {
16317            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16318        }
16319    }
16320}
16321impl<R>
16322    From<
16323        ::aws_smithy_runtime_api::client::result::SdkError<
16324            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
16325            R,
16326        >,
16327    > for Error
16328where
16329    R: Send + Sync + std::fmt::Debug + 'static,
16330{
16331    fn from(
16332        err: ::aws_smithy_runtime_api::client::result::SdkError<
16333            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
16334            R,
16335        >,
16336    ) -> Self {
16337        match err {
16338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16341                source: err.into(),
16342            }),
16343        }
16344    }
16345}
16346impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
16347    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
16348        match err {
16349            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
16350                Error::Unhandled(inner)
16351            }
16352        }
16353    }
16354}
16355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
16356    for Error
16357where
16358    R: Send + Sync + std::fmt::Debug + 'static,
16359{
16360    fn from(
16361        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
16362    ) -> Self {
16363        match err {
16364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16365            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16366                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16367                source: err.into(),
16368            }),
16369        }
16370    }
16371}
16372impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
16373    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
16374        match err {
16375            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
16376        }
16377    }
16378}
16379impl<R>
16380    From<
16381        ::aws_smithy_runtime_api::client::result::SdkError<
16382            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
16383            R,
16384        >,
16385    > for Error
16386where
16387    R: Send + Sync + std::fmt::Debug + 'static,
16388{
16389    fn from(
16390        err: ::aws_smithy_runtime_api::client::result::SdkError<
16391            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
16392            R,
16393        >,
16394    ) -> Self {
16395        match err {
16396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16399                source: err.into(),
16400            }),
16401        }
16402    }
16403}
16404impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
16405    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
16406        match err {
16407            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
16408        }
16409    }
16410}
16411impl<R>
16412    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
16413    for Error
16414where
16415    R: Send + Sync + std::fmt::Debug + 'static,
16416{
16417    fn from(
16418        err: ::aws_smithy_runtime_api::client::result::SdkError<
16419            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
16420            R,
16421        >,
16422    ) -> Self {
16423        match err {
16424            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16425            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16426                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16427                source: err.into(),
16428            }),
16429        }
16430    }
16431}
16432impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
16433    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
16434        match err {
16435            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
16436        }
16437    }
16438}
16439impl<R>
16440    From<
16441        ::aws_smithy_runtime_api::client::result::SdkError<
16442            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16443            R,
16444        >,
16445    > for Error
16446where
16447    R: Send + Sync + std::fmt::Debug + 'static,
16448{
16449    fn from(
16450        err: ::aws_smithy_runtime_api::client::result::SdkError<
16451            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16452            R,
16453        >,
16454    ) -> Self {
16455        match err {
16456            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16457            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16458                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16459                source: err.into(),
16460            }),
16461        }
16462    }
16463}
16464impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
16465    fn from(
16466        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16467    ) -> Self {
16468        match err {
16469            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
16470        }
16471    }
16472}
16473impl<R>
16474    From<
16475        ::aws_smithy_runtime_api::client::result::SdkError<
16476            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
16477            R,
16478        >,
16479    > for Error
16480where
16481    R: Send + Sync + std::fmt::Debug + 'static,
16482{
16483    fn from(
16484        err: ::aws_smithy_runtime_api::client::result::SdkError<
16485            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
16486            R,
16487        >,
16488    ) -> Self {
16489        match err {
16490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16493                source: err.into(),
16494            }),
16495        }
16496    }
16497}
16498impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
16499    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
16500        match err {
16501            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
16502                Error::Unhandled(inner)
16503            }
16504        }
16505    }
16506}
16507impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
16508where
16509    R: Send + Sync + std::fmt::Debug + 'static,
16510{
16511    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> Self {
16512        match err {
16513            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16514            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16515                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16516                source: err.into(),
16517            }),
16518        }
16519    }
16520}
16521impl From<crate::operation::modify_volume::ModifyVolumeError> for Error {
16522    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
16523        match err {
16524            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
16525        }
16526    }
16527}
16528impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
16529where
16530    R: Send + Sync + std::fmt::Debug + 'static,
16531{
16532    fn from(
16533        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
16534    ) -> Self {
16535        match err {
16536            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16537            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16538                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16539                source: err.into(),
16540            }),
16541        }
16542    }
16543}
16544impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
16545    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
16546        match err {
16547            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16548        }
16549    }
16550}
16551impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
16552where
16553    R: Send + Sync + std::fmt::Debug + 'static,
16554{
16555    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> Self {
16556        match err {
16557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16560                source: err.into(),
16561            }),
16562        }
16563    }
16564}
16565impl From<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError> for Error {
16566    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
16567        match err {
16568            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16569        }
16570    }
16571}
16572impl<R>
16573    From<
16574        ::aws_smithy_runtime_api::client::result::SdkError<
16575            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
16576            R,
16577        >,
16578    > for Error
16579where
16580    R: Send + Sync + std::fmt::Debug + 'static,
16581{
16582    fn from(
16583        err: ::aws_smithy_runtime_api::client::result::SdkError<
16584            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
16585            R,
16586        >,
16587    ) -> Self {
16588        match err {
16589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16592                source: err.into(),
16593            }),
16594        }
16595    }
16596}
16597impl From<crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
16598    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
16599        match err {
16600            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
16601                Error::Unhandled(inner)
16602            }
16603        }
16604    }
16605}
16606impl<R>
16607    From<
16608        ::aws_smithy_runtime_api::client::result::SdkError<
16609            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
16610            R,
16611        >,
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<
16618            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
16619            R,
16620        >,
16621    ) -> Self {
16622        match err {
16623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16626                source: err.into(),
16627            }),
16628        }
16629    }
16630}
16631impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
16632    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
16633        match err {
16634            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
16635                Error::Unhandled(inner)
16636            }
16637        }
16638    }
16639}
16640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
16641where
16642    R: Send + Sync + std::fmt::Debug + 'static,
16643{
16644    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
16645        match err {
16646            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16647            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16648                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16649                source: err.into(),
16650            }),
16651        }
16652    }
16653}
16654impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
16655    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
16656        match err {
16657            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16658        }
16659    }
16660}
16661impl<R>
16662    From<
16663        ::aws_smithy_runtime_api::client::result::SdkError<
16664            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16665            R,
16666        >,
16667    > for Error
16668where
16669    R: Send + Sync + std::fmt::Debug + 'static,
16670{
16671    fn from(
16672        err: ::aws_smithy_runtime_api::client::result::SdkError<
16673            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16674            R,
16675        >,
16676    ) -> Self {
16677        match err {
16678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16681                source: err.into(),
16682            }),
16683        }
16684    }
16685}
16686impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
16687    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
16688        match err {
16689            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
16690                Error::Unhandled(inner)
16691            }
16692        }
16693    }
16694}
16695impl<R>
16696    From<
16697        ::aws_smithy_runtime_api::client::result::SdkError<
16698            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16699            R,
16700        >,
16701    > for Error
16702where
16703    R: Send + Sync + std::fmt::Debug + 'static,
16704{
16705    fn from(
16706        err: ::aws_smithy_runtime_api::client::result::SdkError<
16707            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16708            R,
16709        >,
16710    ) -> Self {
16711        match err {
16712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16715                source: err.into(),
16716            }),
16717        }
16718    }
16719}
16720impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
16721    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
16722        match err {
16723            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
16724                Error::Unhandled(inner)
16725            }
16726        }
16727    }
16728}
16729impl<R>
16730    From<
16731        ::aws_smithy_runtime_api::client::result::SdkError<
16732            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16733            R,
16734        >,
16735    > for Error
16736where
16737    R: Send + Sync + std::fmt::Debug + 'static,
16738{
16739    fn from(
16740        err: ::aws_smithy_runtime_api::client::result::SdkError<
16741            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16742            R,
16743        >,
16744    ) -> Self {
16745        match err {
16746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16749                source: err.into(),
16750            }),
16751        }
16752    }
16753}
16754impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
16755    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
16756        match err {
16757            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
16758                inner,
16759            ) => Error::Unhandled(inner),
16760        }
16761    }
16762}
16763impl<R>
16764    From<
16765        ::aws_smithy_runtime_api::client::result::SdkError<
16766            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16767            R,
16768        >,
16769    > for Error
16770where
16771    R: Send + Sync + std::fmt::Debug + 'static,
16772{
16773    fn from(
16774        err: ::aws_smithy_runtime_api::client::result::SdkError<
16775            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16776            R,
16777        >,
16778    ) -> Self {
16779        match err {
16780            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16781            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16782                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16783                source: err.into(),
16784            }),
16785        }
16786    }
16787}
16788impl From<crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
16789    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
16790        match err {
16791            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
16792                Error::Unhandled(inner)
16793            }
16794        }
16795    }
16796}
16797impl<R>
16798    From<
16799        ::aws_smithy_runtime_api::client::result::SdkError<
16800            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16801            R,
16802        >,
16803    > for Error
16804where
16805    R: Send + Sync + std::fmt::Debug + 'static,
16806{
16807    fn from(
16808        err: ::aws_smithy_runtime_api::client::result::SdkError<
16809            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16810            R,
16811        >,
16812    ) -> Self {
16813        match err {
16814            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16815            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16816                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16817                source: err.into(),
16818            }),
16819        }
16820    }
16821}
16822impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
16823    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
16824        match err {
16825            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
16826                Error::Unhandled(inner)
16827            }
16828        }
16829    }
16830}
16831impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
16832where
16833    R: Send + Sync + std::fmt::Debug + 'static,
16834{
16835    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> Self {
16836        match err {
16837            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16838            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16839                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16840                source: err.into(),
16841            }),
16842        }
16843    }
16844}
16845impl From<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError> for Error {
16846    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
16847        match err {
16848            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
16849        }
16850    }
16851}
16852impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>> for Error
16853where
16854    R: Send + Sync + std::fmt::Debug + 'static,
16855{
16856    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>) -> Self {
16857        match err {
16858            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16859            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16860                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16861                source: err.into(),
16862            }),
16863        }
16864    }
16865}
16866impl From<crate::operation::modify_vpn_connection::ModifyVpnConnectionError> for Error {
16867    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
16868        match err {
16869            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
16870        }
16871    }
16872}
16873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
16874    for Error
16875where
16876    R: Send + Sync + std::fmt::Debug + 'static,
16877{
16878    fn from(
16879        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
16880    ) -> Self {
16881        match err {
16882            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16883            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16884                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16885                source: err.into(),
16886            }),
16887        }
16888    }
16889}
16890impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
16891    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
16892        match err {
16893            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16894        }
16895    }
16896}
16897impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>>
16898    for Error
16899where
16900    R: Send + Sync + std::fmt::Debug + 'static,
16901{
16902    fn from(
16903        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
16904    ) -> Self {
16905        match err {
16906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16909                source: err.into(),
16910            }),
16911        }
16912    }
16913}
16914impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
16915    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
16916        match err {
16917            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
16918        }
16919    }
16920}
16921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
16922    for Error
16923where
16924    R: Send + Sync + std::fmt::Debug + 'static,
16925{
16926    fn from(
16927        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
16928    ) -> Self {
16929        match err {
16930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16933                source: err.into(),
16934            }),
16935        }
16936    }
16937}
16938impl From<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
16939    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
16940        match err {
16941            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16942        }
16943    }
16944}
16945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
16946where
16947    R: Send + Sync + std::fmt::Debug + 'static,
16948{
16949    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
16950        match err {
16951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16954                source: err.into(),
16955            }),
16956        }
16957    }
16958}
16959impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
16960    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
16961        match err {
16962            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16963        }
16964    }
16965}
16966impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
16967where
16968    R: Send + Sync + std::fmt::Debug + 'static,
16969{
16970    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
16971        match err {
16972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16975                source: err.into(),
16976            }),
16977        }
16978    }
16979}
16980impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
16981    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
16982        match err {
16983            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
16984        }
16985    }
16986}
16987impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
16988where
16989    R: Send + Sync + std::fmt::Debug + 'static,
16990{
16991    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
16992        match err {
16993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16996                source: err.into(),
16997            }),
16998        }
16999    }
17000}
17001impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
17002    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
17003        match err {
17004            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
17005        }
17006    }
17007}
17008impl<R>
17009    From<
17010        ::aws_smithy_runtime_api::client::result::SdkError<
17011            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
17012            R,
17013        >,
17014    > for Error
17015where
17016    R: Send + Sync + std::fmt::Debug + 'static,
17017{
17018    fn from(
17019        err: ::aws_smithy_runtime_api::client::result::SdkError<
17020            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
17021            R,
17022        >,
17023    ) -> Self {
17024        match err {
17025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17028                source: err.into(),
17029            }),
17030        }
17031    }
17032}
17033impl From<crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
17034    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
17035        match err {
17036            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17037        }
17038    }
17039}
17040impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
17041where
17042    R: Send + Sync + std::fmt::Debug + 'static,
17043{
17044    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
17045        match err {
17046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17049                source: err.into(),
17050            }),
17051        }
17052    }
17053}
17054impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
17055    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
17056        match err {
17057            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
17058        }
17059    }
17060}
17061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
17062where
17063    R: Send + Sync + std::fmt::Debug + 'static,
17064{
17065    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
17066        match err {
17067            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17068            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17069                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17070                source: err.into(),
17071            }),
17072        }
17073    }
17074}
17075impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
17076    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
17077        match err {
17078            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
17079        }
17080    }
17081}
17082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
17083where
17084    R: Send + Sync + std::fmt::Debug + 'static,
17085{
17086    fn from(
17087        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
17088    ) -> Self {
17089        match err {
17090            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17091            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17092                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17093                source: err.into(),
17094            }),
17095        }
17096    }
17097}
17098impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
17099    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
17100        match err {
17101            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
17102        }
17103    }
17104}
17105impl<R>
17106    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
17107    for Error
17108where
17109    R: Send + Sync + std::fmt::Debug + 'static,
17110{
17111    fn from(
17112        err: ::aws_smithy_runtime_api::client::result::SdkError<
17113            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
17114            R,
17115        >,
17116    ) -> Self {
17117        match err {
17118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17121                source: err.into(),
17122            }),
17123        }
17124    }
17125}
17126impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
17127    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
17128        match err {
17129            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
17130        }
17131    }
17132}
17133impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
17134where
17135    R: Send + Sync + std::fmt::Debug + 'static,
17136{
17137    fn from(
17138        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
17139    ) -> Self {
17140        match err {
17141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17144                source: err.into(),
17145            }),
17146        }
17147    }
17148}
17149impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
17150    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
17151        match err {
17152            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
17153        }
17154    }
17155}
17156impl<R>
17157    From<
17158        ::aws_smithy_runtime_api::client::result::SdkError<
17159            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
17160            R,
17161        >,
17162    > for Error
17163where
17164    R: Send + Sync + std::fmt::Debug + 'static,
17165{
17166    fn from(
17167        err: ::aws_smithy_runtime_api::client::result::SdkError<
17168            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
17169            R,
17170        >,
17171    ) -> Self {
17172        match err {
17173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17176                source: err.into(),
17177            }),
17178        }
17179    }
17180}
17181impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
17182    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
17183        match err {
17184            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
17185        }
17186    }
17187}
17188impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
17189    for Error
17190where
17191    R: Send + Sync + std::fmt::Debug + 'static,
17192{
17193    fn from(
17194        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
17195    ) -> Self {
17196        match err {
17197            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17198            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17199                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17200                source: err.into(),
17201            }),
17202        }
17203    }
17204}
17205impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
17206    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
17207        match err {
17208            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
17209        }
17210    }
17211}
17212impl<R>
17213    From<
17214        ::aws_smithy_runtime_api::client::result::SdkError<
17215            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
17216            R,
17217        >,
17218    > for Error
17219where
17220    R: Send + Sync + std::fmt::Debug + 'static,
17221{
17222    fn from(
17223        err: ::aws_smithy_runtime_api::client::result::SdkError<
17224            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
17225            R,
17226        >,
17227    ) -> Self {
17228        match err {
17229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17232                source: err.into(),
17233            }),
17234        }
17235    }
17236}
17237impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
17238    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
17239        match err {
17240            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
17241                Error::Unhandled(inner)
17242            }
17243        }
17244    }
17245}
17246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
17247    for Error
17248where
17249    R: Send + Sync + std::fmt::Debug + 'static,
17250{
17251    fn from(
17252        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
17253    ) -> Self {
17254        match err {
17255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17258                source: err.into(),
17259            }),
17260        }
17261    }
17262}
17263impl From<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
17264    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
17265        match err {
17266            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17267        }
17268    }
17269}
17270impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
17271where
17272    R: Send + Sync + std::fmt::Debug + 'static,
17273{
17274    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> Self {
17275        match err {
17276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17279                source: err.into(),
17280            }),
17281        }
17282    }
17283}
17284impl From<crate::operation::reboot_instances::RebootInstancesError> for Error {
17285    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
17286        match err {
17287            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17288        }
17289    }
17290}
17291impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
17292where
17293    R: Send + Sync + std::fmt::Debug + 'static,
17294{
17295    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
17296        match err {
17297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17300                source: err.into(),
17301            }),
17302        }
17303    }
17304}
17305impl From<crate::operation::register_image::RegisterImageError> for Error {
17306    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
17307        match err {
17308            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
17309        }
17310    }
17311}
17312impl<R>
17313    From<
17314        ::aws_smithy_runtime_api::client::result::SdkError<
17315            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
17316            R,
17317        >,
17318    > for Error
17319where
17320    R: Send + Sync + std::fmt::Debug + 'static,
17321{
17322    fn from(
17323        err: ::aws_smithy_runtime_api::client::result::SdkError<
17324            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
17325            R,
17326        >,
17327    ) -> Self {
17328        match err {
17329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17332                source: err.into(),
17333            }),
17334        }
17335    }
17336}
17337impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
17338    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
17339        match err {
17340            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
17341                Error::Unhandled(inner)
17342            }
17343        }
17344    }
17345}
17346impl<R>
17347    From<
17348        ::aws_smithy_runtime_api::client::result::SdkError<
17349            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
17350            R,
17351        >,
17352    > for Error
17353where
17354    R: Send + Sync + std::fmt::Debug + 'static,
17355{
17356    fn from(
17357        err: ::aws_smithy_runtime_api::client::result::SdkError<
17358            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
17359            R,
17360        >,
17361    ) -> Self {
17362        match err {
17363            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17364            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17365                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17366                source: err.into(),
17367            }),
17368        }
17369    }
17370}
17371impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
17372    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
17373        match err {
17374            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
17375                inner,
17376            ) => Error::Unhandled(inner),
17377        }
17378    }
17379}
17380impl<R>
17381    From<
17382        ::aws_smithy_runtime_api::client::result::SdkError<
17383            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
17384            R,
17385        >,
17386    > for Error
17387where
17388    R: Send + Sync + std::fmt::Debug + 'static,
17389{
17390    fn from(
17391        err: ::aws_smithy_runtime_api::client::result::SdkError<
17392            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
17393            R,
17394        >,
17395    ) -> Self {
17396        match err {
17397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17400                source: err.into(),
17401            }),
17402        }
17403    }
17404}
17405impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
17406    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
17407        match err {
17408            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
17409                inner,
17410            ) => Error::Unhandled(inner),
17411        }
17412    }
17413}
17414impl<R>
17415    From<
17416        ::aws_smithy_runtime_api::client::result::SdkError<
17417            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
17418            R,
17419        >,
17420    > for Error
17421where
17422    R: Send + Sync + std::fmt::Debug + 'static,
17423{
17424    fn from(
17425        err: ::aws_smithy_runtime_api::client::result::SdkError<
17426            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
17427            R,
17428        >,
17429    ) -> Self {
17430        match err {
17431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17434                source: err.into(),
17435            }),
17436        }
17437    }
17438}
17439impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
17440    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
17441        match err {
17442            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
17443                Error::Unhandled(inner)
17444            }
17445        }
17446    }
17447}
17448impl<R>
17449    From<
17450        ::aws_smithy_runtime_api::client::result::SdkError<
17451            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17452            R,
17453        >,
17454    > for Error
17455where
17456    R: Send + Sync + std::fmt::Debug + 'static,
17457{
17458    fn from(
17459        err: ::aws_smithy_runtime_api::client::result::SdkError<
17460            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17461            R,
17462        >,
17463    ) -> Self {
17464        match err {
17465            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17466            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17467                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17468                source: err.into(),
17469            }),
17470        }
17471    }
17472}
17473impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
17474    fn from(
17475        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17476    ) -> Self {
17477        match err {
17478            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
17479        }
17480    }
17481}
17482impl<R>
17483    From<
17484        ::aws_smithy_runtime_api::client::result::SdkError<
17485            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
17486            R,
17487        >,
17488    > for Error
17489where
17490    R: Send + Sync + std::fmt::Debug + 'static,
17491{
17492    fn from(
17493        err: ::aws_smithy_runtime_api::client::result::SdkError<
17494            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
17495            R,
17496        >,
17497    ) -> Self {
17498        match err {
17499            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17500            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17501                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17502                source: err.into(),
17503            }),
17504        }
17505    }
17506}
17507impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
17508    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
17509        match err {
17510            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
17511                Error::Unhandled(inner)
17512            }
17513        }
17514    }
17515}
17516impl<R>
17517    From<
17518        ::aws_smithy_runtime_api::client::result::SdkError<
17519            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
17520            R,
17521        >,
17522    > for Error
17523where
17524    R: Send + Sync + std::fmt::Debug + 'static,
17525{
17526    fn from(
17527        err: ::aws_smithy_runtime_api::client::result::SdkError<
17528            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
17529            R,
17530        >,
17531    ) -> Self {
17532        match err {
17533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17536                source: err.into(),
17537            }),
17538        }
17539    }
17540}
17541impl From<crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
17542    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
17543        match err {
17544            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
17545                Error::Unhandled(inner)
17546            }
17547        }
17548    }
17549}
17550impl<R>
17551    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
17552    for Error
17553where
17554    R: Send + Sync + std::fmt::Debug + 'static,
17555{
17556    fn from(
17557        err: ::aws_smithy_runtime_api::client::result::SdkError<
17558            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
17559            R,
17560        >,
17561    ) -> Self {
17562        match err {
17563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17566                source: err.into(),
17567            }),
17568        }
17569    }
17570}
17571impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
17572    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
17573        match err {
17574            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
17575        }
17576    }
17577}
17578impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
17579    for Error
17580where
17581    R: Send + Sync + std::fmt::Debug + 'static,
17582{
17583    fn from(
17584        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
17585    ) -> Self {
17586        match err {
17587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17590                source: err.into(),
17591            }),
17592        }
17593    }
17594}
17595impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
17596    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
17597        match err {
17598            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
17599        }
17600    }
17601}
17602impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
17603where
17604    R: Send + Sync + std::fmt::Debug + 'static,
17605{
17606    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> Self {
17607        match err {
17608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17611                source: err.into(),
17612            }),
17613        }
17614    }
17615}
17616impl From<crate::operation::release_address::ReleaseAddressError> for Error {
17617    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
17618        match err {
17619            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
17620        }
17621    }
17622}
17623impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
17624where
17625    R: Send + Sync + std::fmt::Debug + 'static,
17626{
17627    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
17628        match err {
17629            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17630            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17631                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17632                source: err.into(),
17633            }),
17634        }
17635    }
17636}
17637impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
17638    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
17639        match err {
17640            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
17641        }
17642    }
17643}
17644impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
17645    for Error
17646where
17647    R: Send + Sync + std::fmt::Debug + 'static,
17648{
17649    fn from(
17650        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
17651    ) -> 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::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
17662    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
17663        match err {
17664            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
17665        }
17666    }
17667}
17668impl<R>
17669    From<
17670        ::aws_smithy_runtime_api::client::result::SdkError<
17671            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17672            R,
17673        >,
17674    > for Error
17675where
17676    R: Send + Sync + std::fmt::Debug + 'static,
17677{
17678    fn from(
17679        err: ::aws_smithy_runtime_api::client::result::SdkError<
17680            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17681            R,
17682        >,
17683    ) -> Self {
17684        match err {
17685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17688                source: err.into(),
17689            }),
17690        }
17691    }
17692}
17693impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
17694    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
17695        match err {
17696            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
17697                Error::Unhandled(inner)
17698            }
17699        }
17700    }
17701}
17702impl<R>
17703    From<
17704        ::aws_smithy_runtime_api::client::result::SdkError<
17705            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17706            R,
17707        >,
17708    > for Error
17709where
17710    R: Send + Sync + std::fmt::Debug + 'static,
17711{
17712    fn from(
17713        err: ::aws_smithy_runtime_api::client::result::SdkError<
17714            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17715            R,
17716        >,
17717    ) -> Self {
17718        match err {
17719            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17720            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17721                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17722                source: err.into(),
17723            }),
17724        }
17725    }
17726}
17727impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
17728    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
17729        match err {
17730            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
17731                inner,
17732            ) => Error::Unhandled(inner),
17733        }
17734    }
17735}
17736impl<R>
17737    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
17738    for Error
17739where
17740    R: Send + Sync + std::fmt::Debug + 'static,
17741{
17742    fn from(
17743        err: ::aws_smithy_runtime_api::client::result::SdkError<
17744            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
17745            R,
17746        >,
17747    ) -> Self {
17748        match err {
17749            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17750            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17751                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17752                source: err.into(),
17753            }),
17754        }
17755    }
17756}
17757impl From<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
17758    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
17759        match err {
17760            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17761        }
17762    }
17763}
17764impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>>
17765    for Error
17766where
17767    R: Send + Sync + std::fmt::Debug + 'static,
17768{
17769    fn from(
17770        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>,
17771    ) -> Self {
17772        match err {
17773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17776                source: err.into(),
17777            }),
17778        }
17779    }
17780}
17781impl From<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
17782    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
17783        match err {
17784            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
17785        }
17786    }
17787}
17788impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
17789where
17790    R: Send + Sync + std::fmt::Debug + 'static,
17791{
17792    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> Self {
17793        match err {
17794            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17795            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17796                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17797                source: err.into(),
17798            }),
17799        }
17800    }
17801}
17802impl From<crate::operation::replace_route::ReplaceRouteError> for Error {
17803    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
17804        match err {
17805            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
17806        }
17807    }
17808}
17809impl<R>
17810    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
17811    for Error
17812where
17813    R: Send + Sync + std::fmt::Debug + 'static,
17814{
17815    fn from(
17816        err: ::aws_smithy_runtime_api::client::result::SdkError<
17817            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
17818            R,
17819        >,
17820    ) -> Self {
17821        match err {
17822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17825                source: err.into(),
17826            }),
17827        }
17828    }
17829}
17830impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
17831    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
17832        match err {
17833            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17834        }
17835    }
17836}
17837impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
17838    for Error
17839where
17840    R: Send + Sync + std::fmt::Debug + 'static,
17841{
17842    fn from(
17843        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
17844    ) -> Self {
17845        match err {
17846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17849                source: err.into(),
17850            }),
17851        }
17852    }
17853}
17854impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
17855    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
17856        match err {
17857            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
17858        }
17859    }
17860}
17861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
17862where
17863    R: Send + Sync + std::fmt::Debug + 'static,
17864{
17865    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
17866        match err {
17867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17870                source: err.into(),
17871            }),
17872        }
17873    }
17874}
17875impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
17876    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
17877        match err {
17878            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
17879        }
17880    }
17881}
17882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
17883where
17884    R: Send + Sync + std::fmt::Debug + 'static,
17885{
17886    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
17887        match err {
17888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17891                source: err.into(),
17892            }),
17893        }
17894    }
17895}
17896impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
17897    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
17898        match err {
17899            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
17900        }
17901    }
17902}
17903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
17904where
17905    R: Send + Sync + std::fmt::Debug + 'static,
17906{
17907    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> Self {
17908        match err {
17909            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17910            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17911                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17912                source: err.into(),
17913            }),
17914        }
17915    }
17916}
17917impl From<crate::operation::request_spot_fleet::RequestSpotFleetError> for Error {
17918    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
17919        match err {
17920            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
17921        }
17922    }
17923}
17924impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
17925where
17926    R: Send + Sync + std::fmt::Debug + 'static,
17927{
17928    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> Self {
17929        match err {
17930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17933                source: err.into(),
17934            }),
17935        }
17936    }
17937}
17938impl From<crate::operation::request_spot_instances::RequestSpotInstancesError> for Error {
17939    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
17940        match err {
17941            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17942        }
17943    }
17944}
17945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
17946where
17947    R: Send + Sync + std::fmt::Debug + 'static,
17948{
17949    fn from(
17950        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
17951    ) -> Self {
17952        match err {
17953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17956                source: err.into(),
17957            }),
17958        }
17959    }
17960}
17961impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
17962    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
17963        match err {
17964            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17965        }
17966    }
17967}
17968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
17969    for Error
17970where
17971    R: Send + Sync + std::fmt::Debug + 'static,
17972{
17973    fn from(
17974        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
17975    ) -> Self {
17976        match err {
17977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17980                source: err.into(),
17981            }),
17982        }
17983    }
17984}
17985impl From<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
17986    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
17987        match err {
17988            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
17989        }
17990    }
17991}
17992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
17993    for Error
17994where
17995    R: Send + Sync + std::fmt::Debug + 'static,
17996{
17997    fn from(
17998        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
17999    ) -> Self {
18000        match err {
18001            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18002            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18003                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18004                source: err.into(),
18005            }),
18006        }
18007    }
18008}
18009impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
18010    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
18011        match err {
18012            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18013        }
18014    }
18015}
18016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
18017where
18018    R: Send + Sync + std::fmt::Debug + 'static,
18019{
18020    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
18021        match err {
18022            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18023            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18024                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18025                source: err.into(),
18026            }),
18027        }
18028    }
18029}
18030impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
18031    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
18032        match err {
18033            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18034        }
18035    }
18036}
18037impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
18038where
18039    R: Send + Sync + std::fmt::Debug + 'static,
18040{
18041    fn from(
18042        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
18043    ) -> Self {
18044        match err {
18045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18048                source: err.into(),
18049            }),
18050        }
18051    }
18052}
18053impl From<crate::operation::reset_instance_attribute::ResetInstanceAttributeError> for Error {
18054    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
18055        match err {
18056            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18057        }
18058    }
18059}
18060impl<R>
18061    From<
18062        ::aws_smithy_runtime_api::client::result::SdkError<
18063            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
18064            R,
18065        >,
18066    > for Error
18067where
18068    R: Send + Sync + std::fmt::Debug + 'static,
18069{
18070    fn from(
18071        err: ::aws_smithy_runtime_api::client::result::SdkError<
18072            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
18073            R,
18074        >,
18075    ) -> Self {
18076        match err {
18077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18080                source: err.into(),
18081            }),
18082        }
18083    }
18084}
18085impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
18086    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
18087        match err {
18088            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18089        }
18090    }
18091}
18092impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
18093where
18094    R: Send + Sync + std::fmt::Debug + 'static,
18095{
18096    fn from(
18097        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
18098    ) -> Self {
18099        match err {
18100            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18101            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18102                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18103                source: err.into(),
18104            }),
18105        }
18106    }
18107}
18108impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
18109    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
18110        match err {
18111            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
18112        }
18113    }
18114}
18115impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
18116    for Error
18117where
18118    R: Send + Sync + std::fmt::Debug + 'static,
18119{
18120    fn from(
18121        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
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::restore_address_to_classic::RestoreAddressToClassicError> for Error {
18133    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
18134        match err {
18135            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
18136        }
18137    }
18138}
18139impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
18140    for Error
18141where
18142    R: Send + Sync + std::fmt::Debug + 'static,
18143{
18144    fn from(
18145        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
18146    ) -> Self {
18147        match err {
18148            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18149            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18150                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18151                source: err.into(),
18152            }),
18153        }
18154    }
18155}
18156impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
18157    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
18158        match err {
18159            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
18160        }
18161    }
18162}
18163impl<R>
18164    From<
18165        ::aws_smithy_runtime_api::client::result::SdkError<
18166            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
18167            R,
18168        >,
18169    > for Error
18170where
18171    R: Send + Sync + std::fmt::Debug + 'static,
18172{
18173    fn from(
18174        err: ::aws_smithy_runtime_api::client::result::SdkError<
18175            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
18176            R,
18177        >,
18178    ) -> Self {
18179        match err {
18180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18183                source: err.into(),
18184            }),
18185        }
18186    }
18187}
18188impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
18189    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
18190        match err {
18191            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
18192        }
18193    }
18194}
18195impl<R>
18196    From<
18197        ::aws_smithy_runtime_api::client::result::SdkError<
18198            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
18199            R,
18200        >,
18201    > for Error
18202where
18203    R: Send + Sync + std::fmt::Debug + 'static,
18204{
18205    fn from(
18206        err: ::aws_smithy_runtime_api::client::result::SdkError<
18207            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
18208            R,
18209        >,
18210    ) -> Self {
18211        match err {
18212            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18213            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18214                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18215                source: err.into(),
18216            }),
18217        }
18218    }
18219}
18220impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
18221    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
18222        match err {
18223            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
18224        }
18225    }
18226}
18227impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
18228where
18229    R: Send + Sync + std::fmt::Debug + 'static,
18230{
18231    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
18232        match err {
18233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18236                source: err.into(),
18237            }),
18238        }
18239    }
18240}
18241impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
18242    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
18243        match err {
18244            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
18245        }
18246    }
18247}
18248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
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<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
18255    ) -> Self {
18256        match err {
18257            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18258            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18259                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18260                source: err.into(),
18261            }),
18262        }
18263    }
18264}
18265impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
18266    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
18267        match err {
18268            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
18269        }
18270    }
18271}
18272impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
18273    for Error
18274where
18275    R: Send + Sync + std::fmt::Debug + 'static,
18276{
18277    fn from(
18278        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
18279    ) -> Self {
18280        match err {
18281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18284                source: err.into(),
18285            }),
18286        }
18287    }
18288}
18289impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
18290    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
18291        match err {
18292            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
18293        }
18294    }
18295}
18296impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
18297    for Error
18298where
18299    R: Send + Sync + std::fmt::Debug + 'static,
18300{
18301    fn from(
18302        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
18303    ) -> Self {
18304        match err {
18305            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18306            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18307                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18308                source: err.into(),
18309            }),
18310        }
18311    }
18312}
18313impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
18314    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
18315        match err {
18316            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
18317        }
18318    }
18319}
18320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
18321where
18322    R: Send + Sync + std::fmt::Debug + 'static,
18323{
18324    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
18325        match err {
18326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18329                source: err.into(),
18330            }),
18331        }
18332    }
18333}
18334impl From<crate::operation::run_instances::RunInstancesError> for Error {
18335    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
18336        match err {
18337            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18338        }
18339    }
18340}
18341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
18342where
18343    R: Send + Sync + std::fmt::Debug + 'static,
18344{
18345    fn from(
18346        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
18347    ) -> Self {
18348        match err {
18349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18352                source: err.into(),
18353            }),
18354        }
18355    }
18356}
18357impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
18358    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
18359        match err {
18360            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18361        }
18362    }
18363}
18364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
18365    for Error
18366where
18367    R: Send + Sync + std::fmt::Debug + 'static,
18368{
18369    fn from(
18370        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
18371    ) -> Self {
18372        match err {
18373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18376                source: err.into(),
18377            }),
18378        }
18379    }
18380}
18381impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
18382    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
18383        match err {
18384            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
18385        }
18386    }
18387}
18388impl<R>
18389    From<
18390        ::aws_smithy_runtime_api::client::result::SdkError<
18391            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
18392            R,
18393        >,
18394    > for Error
18395where
18396    R: Send + Sync + std::fmt::Debug + 'static,
18397{
18398    fn from(
18399        err: ::aws_smithy_runtime_api::client::result::SdkError<
18400            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
18401            R,
18402        >,
18403    ) -> Self {
18404        match err {
18405            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18406            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18407                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18408                source: err.into(),
18409            }),
18410        }
18411    }
18412}
18413impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
18414    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
18415        match err {
18416            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
18417                Error::Unhandled(inner)
18418            }
18419        }
18420    }
18421}
18422impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
18423    for Error
18424where
18425    R: Send + Sync + std::fmt::Debug + 'static,
18426{
18427    fn from(
18428        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
18429    ) -> Self {
18430        match err {
18431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18434                source: err.into(),
18435            }),
18436        }
18437    }
18438}
18439impl From<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
18440    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
18441        match err {
18442            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
18443        }
18444    }
18445}
18446impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
18447    for Error
18448where
18449    R: Send + Sync + std::fmt::Debug + 'static,
18450{
18451    fn from(
18452        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
18453    ) -> Self {
18454        match err {
18455            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18456            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18457                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18458                source: err.into(),
18459            }),
18460        }
18461    }
18462}
18463impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
18464    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
18465        match err {
18466            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
18467        }
18468    }
18469}
18470impl<R>
18471    From<
18472        ::aws_smithy_runtime_api::client::result::SdkError<
18473            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
18474            R,
18475        >,
18476    > for Error
18477where
18478    R: Send + Sync + std::fmt::Debug + 'static,
18479{
18480    fn from(
18481        err: ::aws_smithy_runtime_api::client::result::SdkError<
18482            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
18483            R,
18484        >,
18485    ) -> Self {
18486        match err {
18487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18490                source: err.into(),
18491            }),
18492        }
18493    }
18494}
18495impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
18496    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
18497        match err {
18498            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
18499        }
18500    }
18501}
18502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
18503where
18504    R: Send + Sync + std::fmt::Debug + 'static,
18505{
18506    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
18507        match err {
18508            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18509            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18510                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18511                source: err.into(),
18512            }),
18513        }
18514    }
18515}
18516impl From<crate::operation::start_instances::StartInstancesError> for Error {
18517    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
18518        match err {
18519            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18520        }
18521    }
18522}
18523impl<R>
18524    From<
18525        ::aws_smithy_runtime_api::client::result::SdkError<
18526            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
18527            R,
18528        >,
18529    > for Error
18530where
18531    R: Send + Sync + std::fmt::Debug + 'static,
18532{
18533    fn from(
18534        err: ::aws_smithy_runtime_api::client::result::SdkError<
18535            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
18536            R,
18537        >,
18538    ) -> Self {
18539        match err {
18540            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18541            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18542                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18543                source: err.into(),
18544            }),
18545        }
18546    }
18547}
18548impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
18549    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
18550        match err {
18551            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
18552                Error::Unhandled(inner)
18553            }
18554        }
18555    }
18556}
18557impl<R>
18558    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
18559    for Error
18560where
18561    R: Send + Sync + std::fmt::Debug + 'static,
18562{
18563    fn from(
18564        err: ::aws_smithy_runtime_api::client::result::SdkError<
18565            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
18566            R,
18567        >,
18568    ) -> Self {
18569        match err {
18570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18573                source: err.into(),
18574            }),
18575        }
18576    }
18577}
18578impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
18579    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
18580        match err {
18581            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
18582        }
18583    }
18584}
18585impl<R>
18586    From<
18587        ::aws_smithy_runtime_api::client::result::SdkError<
18588            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
18589            R,
18590        >,
18591    > for Error
18592where
18593    R: Send + Sync + std::fmt::Debug + 'static,
18594{
18595    fn from(
18596        err: ::aws_smithy_runtime_api::client::result::SdkError<
18597            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
18598            R,
18599        >,
18600    ) -> Self {
18601        match err {
18602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18605                source: err.into(),
18606            }),
18607        }
18608    }
18609}
18610impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
18611    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
18612        match err {
18613            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
18614                inner,
18615            ) => Error::Unhandled(inner),
18616        }
18617    }
18618}
18619impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>> for Error
18620where
18621    R: Send + Sync + std::fmt::Debug + 'static,
18622{
18623    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>) -> Self {
18624        match err {
18625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18628                source: err.into(),
18629            }),
18630        }
18631    }
18632}
18633impl From<crate::operation::stop_instances::StopInstancesError> for Error {
18634    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
18635        match err {
18636            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18637        }
18638    }
18639}
18640impl<R>
18641    From<
18642        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
18643    > for Error
18644where
18645    R: Send + Sync + std::fmt::Debug + 'static,
18646{
18647    fn from(
18648        err: ::aws_smithy_runtime_api::client::result::SdkError<
18649            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
18650            R,
18651        >,
18652    ) -> Self {
18653        match err {
18654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18657                source: err.into(),
18658            }),
18659        }
18660    }
18661}
18662impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
18663    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
18664        match err {
18665            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
18666        }
18667    }
18668}
18669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
18670where
18671    R: Send + Sync + std::fmt::Debug + 'static,
18672{
18673    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
18674        match err {
18675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18678                source: err.into(),
18679            }),
18680        }
18681    }
18682}
18683impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
18684    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
18685        match err {
18686            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18687        }
18688    }
18689}
18690impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
18691where
18692    R: Send + Sync + std::fmt::Debug + 'static,
18693{
18694    fn from(
18695        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
18696    ) -> Self {
18697        match err {
18698            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18699            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18700                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18701                source: err.into(),
18702            }),
18703        }
18704    }
18705}
18706impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
18707    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
18708        match err {
18709            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
18710        }
18711    }
18712}
18713impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
18714    for Error
18715where
18716    R: Send + Sync + std::fmt::Debug + 'static,
18717{
18718    fn from(
18719        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
18720    ) -> Self {
18721        match err {
18722            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18723            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18724                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18725                source: err.into(),
18726            }),
18727        }
18728    }
18729}
18730impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
18731    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
18732        match err {
18733            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
18734        }
18735    }
18736}
18737impl<R>
18738    From<
18739        ::aws_smithy_runtime_api::client::result::SdkError<
18740            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18741            R,
18742        >,
18743    > for Error
18744where
18745    R: Send + Sync + std::fmt::Debug + 'static,
18746{
18747    fn from(
18748        err: ::aws_smithy_runtime_api::client::result::SdkError<
18749            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18750            R,
18751        >,
18752    ) -> Self {
18753        match err {
18754            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18755            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18756                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18757                source: err.into(),
18758            }),
18759        }
18760    }
18761}
18762impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
18763    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
18764        match err {
18765            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
18766                Error::Unhandled(inner)
18767            }
18768        }
18769    }
18770}
18771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
18772where
18773    R: Send + Sync + std::fmt::Debug + 'static,
18774{
18775    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
18776        match err {
18777            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18778            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18779                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18780                source: err.into(),
18781            }),
18782        }
18783    }
18784}
18785impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
18786    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
18787        match err {
18788            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
18789        }
18790    }
18791}
18792impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
18793where
18794    R: Send + Sync + std::fmt::Debug + 'static,
18795{
18796    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> Self {
18797        match err {
18798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18801                source: err.into(),
18802            }),
18803        }
18804    }
18805}
18806impl From<crate::operation::unmonitor_instances::UnmonitorInstancesError> for Error {
18807    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
18808        match err {
18809            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18810        }
18811    }
18812}
18813impl<R>
18814    From<
18815        ::aws_smithy_runtime_api::client::result::SdkError<
18816            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
18817            R,
18818        >,
18819    > for Error
18820where
18821    R: Send + Sync + std::fmt::Debug + 'static,
18822{
18823    fn from(
18824        err: ::aws_smithy_runtime_api::client::result::SdkError<
18825            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
18826            R,
18827        >,
18828    ) -> Self {
18829        match err {
18830            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18831            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18832                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18833                source: err.into(),
18834            }),
18835        }
18836    }
18837}
18838impl From<crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError> for Error {
18839    fn from(err: crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError) -> Self {
18840        match err {
18841            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError::Unhandled(inner) => {
18842                Error::Unhandled(inner)
18843            }
18844        }
18845    }
18846}
18847impl<R>
18848    From<
18849        ::aws_smithy_runtime_api::client::result::SdkError<
18850            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18851            R,
18852        >,
18853    > for Error
18854where
18855    R: Send + Sync + std::fmt::Debug + 'static,
18856{
18857    fn from(
18858        err: ::aws_smithy_runtime_api::client::result::SdkError<
18859            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18860            R,
18861        >,
18862    ) -> Self {
18863        match err {
18864            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18865            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18866                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18867                source: err.into(),
18868            }),
18869        }
18870    }
18871}
18872impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
18873    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
18874        match err {
18875            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
18876                Error::Unhandled(inner)
18877            }
18878        }
18879    }
18880}
18881impl<R>
18882    From<
18883        ::aws_smithy_runtime_api::client::result::SdkError<
18884            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18885            R,
18886        >,
18887    > for Error
18888where
18889    R: Send + Sync + std::fmt::Debug + 'static,
18890{
18891    fn from(
18892        err: ::aws_smithy_runtime_api::client::result::SdkError<
18893            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18894            R,
18895        >,
18896    ) -> Self {
18897        match err {
18898            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18899            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18900                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18901                source: err.into(),
18902            }),
18903        }
18904    }
18905}
18906impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
18907    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
18908        match err {
18909            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
18910                Error::Unhandled(inner)
18911            }
18912        }
18913    }
18914}
18915impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
18916where
18917    R: Send + Sync + std::fmt::Debug + 'static,
18918{
18919    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
18920        match err {
18921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18924                source: err.into(),
18925            }),
18926        }
18927    }
18928}
18929impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
18930    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
18931        match err {
18932            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
18933        }
18934    }
18935}
18936impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
18937where
18938    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
18939    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
18940{
18941    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
18942        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18943            meta: ::std::default::Default::default(),
18944            source: err.into(),
18945        })
18946    }
18947}
18948impl ::std::error::Error for Error {
18949    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
18950        match self {
18951            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
18952        }
18953    }
18954}
18955impl ::aws_types::request_id::RequestId for Error {
18956    fn request_id(&self) -> Option<&str> {
18957        match self {
18958            Self::Unhandled(e) => e.meta.request_id(),
18959        }
18960    }
18961}