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::create_capacity_reservation::CreateCapacityReservationError, R>>
1613    for Error
1614where
1615    R: Send + Sync + std::fmt::Debug + 'static,
1616{
1617    fn from(
1618        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>,
1619    ) -> Self {
1620        match err {
1621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1624                source: err.into(),
1625            }),
1626        }
1627    }
1628}
1629impl From<crate::operation::create_capacity_reservation::CreateCapacityReservationError> for Error {
1630    fn from(err: crate::operation::create_capacity_reservation::CreateCapacityReservationError) -> Self {
1631        match err {
1632            crate::operation::create_capacity_reservation::CreateCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1633        }
1634    }
1635}
1636impl<R>
1637    From<
1638        ::aws_smithy_runtime_api::client::result::SdkError<
1639            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1640            R,
1641        >,
1642    > for Error
1643where
1644    R: Send + Sync + std::fmt::Debug + 'static,
1645{
1646    fn from(
1647        err: ::aws_smithy_runtime_api::client::result::SdkError<
1648            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1649            R,
1650        >,
1651    ) -> Self {
1652        match err {
1653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1656                source: err.into(),
1657            }),
1658        }
1659    }
1660}
1661impl From<crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError> for Error {
1662    fn from(err: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError) -> Self {
1663        match err {
1664            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError::Unhandled(inner) => {
1665                Error::Unhandled(inner)
1666            }
1667        }
1668    }
1669}
1670impl<R>
1671    From<
1672        ::aws_smithy_runtime_api::client::result::SdkError<
1673            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1674            R,
1675        >,
1676    > for Error
1677where
1678    R: Send + Sync + std::fmt::Debug + 'static,
1679{
1680    fn from(
1681        err: ::aws_smithy_runtime_api::client::result::SdkError<
1682            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1683            R,
1684        >,
1685    ) -> Self {
1686        match err {
1687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1690                source: err.into(),
1691            }),
1692        }
1693    }
1694}
1695impl From<crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError> for Error {
1696    fn from(err: crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError) -> Self {
1697        match err {
1698            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
1699        }
1700    }
1701}
1702impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>> for Error
1703where
1704    R: Send + Sync + std::fmt::Debug + 'static,
1705{
1706    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>) -> Self {
1707        match err {
1708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1711                source: err.into(),
1712            }),
1713        }
1714    }
1715}
1716impl From<crate::operation::create_carrier_gateway::CreateCarrierGatewayError> for Error {
1717    fn from(err: crate::operation::create_carrier_gateway::CreateCarrierGatewayError) -> Self {
1718        match err {
1719            crate::operation::create_carrier_gateway::CreateCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1720        }
1721    }
1722}
1723impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>>
1724    for Error
1725where
1726    R: Send + Sync + std::fmt::Debug + 'static,
1727{
1728    fn from(
1729        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>,
1730    ) -> Self {
1731        match err {
1732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1735                source: err.into(),
1736            }),
1737        }
1738    }
1739}
1740impl From<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError> for Error {
1741    fn from(err: crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError) -> Self {
1742        match err {
1743            crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1744        }
1745    }
1746}
1747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>> for Error
1748where
1749    R: Send + Sync + std::fmt::Debug + 'static,
1750{
1751    fn from(
1752        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>,
1753    ) -> Self {
1754        match err {
1755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1758                source: err.into(),
1759            }),
1760        }
1761    }
1762}
1763impl From<crate::operation::create_client_vpn_route::CreateClientVpnRouteError> for Error {
1764    fn from(err: crate::operation::create_client_vpn_route::CreateClientVpnRouteError) -> Self {
1765        match err {
1766            crate::operation::create_client_vpn_route::CreateClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
1767        }
1768    }
1769}
1770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>> for Error
1771where
1772    R: Send + Sync + std::fmt::Debug + 'static,
1773{
1774    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>) -> Self {
1775        match err {
1776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1779                source: err.into(),
1780            }),
1781        }
1782    }
1783}
1784impl From<crate::operation::create_coip_cidr::CreateCoipCidrError> for Error {
1785    fn from(err: crate::operation::create_coip_cidr::CreateCoipCidrError) -> Self {
1786        match err {
1787            crate::operation::create_coip_cidr::CreateCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
1788        }
1789    }
1790}
1791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>> for Error
1792where
1793    R: Send + Sync + std::fmt::Debug + 'static,
1794{
1795    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>) -> Self {
1796        match err {
1797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1800                source: err.into(),
1801            }),
1802        }
1803    }
1804}
1805impl From<crate::operation::create_coip_pool::CreateCoipPoolError> for Error {
1806    fn from(err: crate::operation::create_coip_pool::CreateCoipPoolError) -> Self {
1807        match err {
1808            crate::operation::create_coip_pool::CreateCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
1809        }
1810    }
1811}
1812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>> for Error
1813where
1814    R: Send + Sync + std::fmt::Debug + 'static,
1815{
1816    fn from(
1817        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>,
1818    ) -> Self {
1819        match err {
1820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1823                source: err.into(),
1824            }),
1825        }
1826    }
1827}
1828impl From<crate::operation::create_customer_gateway::CreateCustomerGatewayError> for Error {
1829    fn from(err: crate::operation::create_customer_gateway::CreateCustomerGatewayError) -> Self {
1830        match err {
1831            crate::operation::create_customer_gateway::CreateCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1832        }
1833    }
1834}
1835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>> for Error
1836where
1837    R: Send + Sync + std::fmt::Debug + 'static,
1838{
1839    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>) -> Self {
1840        match err {
1841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1844                source: err.into(),
1845            }),
1846        }
1847    }
1848}
1849impl From<crate::operation::create_default_subnet::CreateDefaultSubnetError> for Error {
1850    fn from(err: crate::operation::create_default_subnet::CreateDefaultSubnetError) -> Self {
1851        match err {
1852            crate::operation::create_default_subnet::CreateDefaultSubnetError::Unhandled(inner) => Error::Unhandled(inner),
1853        }
1854    }
1855}
1856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>> for Error
1857where
1858    R: Send + Sync + std::fmt::Debug + 'static,
1859{
1860    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>) -> Self {
1861        match err {
1862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1865                source: err.into(),
1866            }),
1867        }
1868    }
1869}
1870impl From<crate::operation::create_default_vpc::CreateDefaultVpcError> for Error {
1871    fn from(err: crate::operation::create_default_vpc::CreateDefaultVpcError) -> Self {
1872        match err {
1873            crate::operation::create_default_vpc::CreateDefaultVpcError::Unhandled(inner) => Error::Unhandled(inner),
1874        }
1875    }
1876}
1877impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>> for Error
1878where
1879    R: Send + Sync + std::fmt::Debug + 'static,
1880{
1881    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>) -> Self {
1882        match err {
1883            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1884            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1885                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1886                source: err.into(),
1887            }),
1888        }
1889    }
1890}
1891impl From<crate::operation::create_dhcp_options::CreateDhcpOptionsError> for Error {
1892    fn from(err: crate::operation::create_dhcp_options::CreateDhcpOptionsError) -> Self {
1893        match err {
1894            crate::operation::create_dhcp_options::CreateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
1895        }
1896    }
1897}
1898impl<R>
1899    From<
1900        ::aws_smithy_runtime_api::client::result::SdkError<
1901            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1902            R,
1903        >,
1904    > for Error
1905where
1906    R: Send + Sync + std::fmt::Debug + 'static,
1907{
1908    fn from(
1909        err: ::aws_smithy_runtime_api::client::result::SdkError<
1910            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1911            R,
1912        >,
1913    ) -> 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_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError> for Error {
1924    fn from(err: crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError) -> Self {
1925        match err {
1926            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1927        }
1928    }
1929}
1930impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>> for Error
1931where
1932    R: Send + Sync + std::fmt::Debug + 'static,
1933{
1934    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>) -> Self {
1935        match err {
1936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1939                source: err.into(),
1940            }),
1941        }
1942    }
1943}
1944impl From<crate::operation::create_fleet::CreateFleetError> for Error {
1945    fn from(err: crate::operation::create_fleet::CreateFleetError) -> Self {
1946        match err {
1947            crate::operation::create_fleet::CreateFleetError::Unhandled(inner) => Error::Unhandled(inner),
1948        }
1949    }
1950}
1951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>> for Error
1952where
1953    R: Send + Sync + std::fmt::Debug + 'static,
1954{
1955    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>) -> Self {
1956        match err {
1957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1960                source: err.into(),
1961            }),
1962        }
1963    }
1964}
1965impl From<crate::operation::create_flow_logs::CreateFlowLogsError> for Error {
1966    fn from(err: crate::operation::create_flow_logs::CreateFlowLogsError) -> Self {
1967        match err {
1968            crate::operation::create_flow_logs::CreateFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
1969        }
1970    }
1971}
1972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>> for Error
1973where
1974    R: Send + Sync + std::fmt::Debug + 'static,
1975{
1976    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>) -> Self {
1977        match err {
1978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1981                source: err.into(),
1982            }),
1983        }
1984    }
1985}
1986impl From<crate::operation::create_fpga_image::CreateFpgaImageError> for Error {
1987    fn from(err: crate::operation::create_fpga_image::CreateFpgaImageError) -> Self {
1988        match err {
1989            crate::operation::create_fpga_image::CreateFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
1990        }
1991    }
1992}
1993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
1994where
1995    R: Send + Sync + std::fmt::Debug + 'static,
1996{
1997    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> Self {
1998        match err {
1999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2002                source: err.into(),
2003            }),
2004        }
2005    }
2006}
2007impl From<crate::operation::create_image::CreateImageError> for Error {
2008    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
2009        match err {
2010            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
2011        }
2012    }
2013}
2014impl<R>
2015    From<
2016        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError, R>,
2017    > for Error
2018where
2019    R: Send + Sync + std::fmt::Debug + 'static,
2020{
2021    fn from(
2022        err: ::aws_smithy_runtime_api::client::result::SdkError<
2023            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError,
2024            R,
2025        >,
2026    ) -> Self {
2027        match err {
2028            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2029            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2030                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2031                source: err.into(),
2032            }),
2033        }
2034    }
2035}
2036impl From<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError> for Error {
2037    fn from(err: crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError) -> Self {
2038        match err {
2039            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2040        }
2041    }
2042}
2043impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>>
2044    for Error
2045where
2046    R: Send + Sync + std::fmt::Debug + 'static,
2047{
2048    fn from(
2049        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>,
2050    ) -> Self {
2051        match err {
2052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2055                source: err.into(),
2056            }),
2057        }
2058    }
2059}
2060impl From<crate::operation::create_instance_event_window::CreateInstanceEventWindowError> for Error {
2061    fn from(err: crate::operation::create_instance_event_window::CreateInstanceEventWindowError) -> Self {
2062        match err {
2063            crate::operation::create_instance_event_window::CreateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
2064        }
2065    }
2066}
2067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>>
2068    for Error
2069where
2070    R: Send + Sync + std::fmt::Debug + 'static,
2071{
2072    fn from(
2073        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>,
2074    ) -> Self {
2075        match err {
2076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2079                source: err.into(),
2080            }),
2081        }
2082    }
2083}
2084impl From<crate::operation::create_instance_export_task::CreateInstanceExportTaskError> for Error {
2085    fn from(err: crate::operation::create_instance_export_task::CreateInstanceExportTaskError) -> Self {
2086        match err {
2087            crate::operation::create_instance_export_task::CreateInstanceExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
2088        }
2089    }
2090}
2091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>> for Error
2092where
2093    R: Send + Sync + std::fmt::Debug + 'static,
2094{
2095    fn from(
2096        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>,
2097    ) -> Self {
2098        match err {
2099            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2100            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2101                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2102                source: err.into(),
2103            }),
2104        }
2105    }
2106}
2107impl From<crate::operation::create_internet_gateway::CreateInternetGatewayError> for Error {
2108    fn from(err: crate::operation::create_internet_gateway::CreateInternetGatewayError) -> Self {
2109        match err {
2110            crate::operation::create_internet_gateway::CreateInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2111        }
2112    }
2113}
2114impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>> for Error
2115where
2116    R: Send + Sync + std::fmt::Debug + 'static,
2117{
2118    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>) -> Self {
2119        match err {
2120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2123                source: err.into(),
2124            }),
2125        }
2126    }
2127}
2128impl From<crate::operation::create_ipam::CreateIpamError> for Error {
2129    fn from(err: crate::operation::create_ipam::CreateIpamError) -> Self {
2130        match err {
2131            crate::operation::create_ipam::CreateIpamError::Unhandled(inner) => Error::Unhandled(inner),
2132        }
2133    }
2134}
2135impl<R>
2136    From<
2137        ::aws_smithy_runtime_api::client::result::SdkError<
2138            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2139            R,
2140        >,
2141    > for Error
2142where
2143    R: Send + Sync + std::fmt::Debug + 'static,
2144{
2145    fn from(
2146        err: ::aws_smithy_runtime_api::client::result::SdkError<
2147            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2148            R,
2149        >,
2150    ) -> Self {
2151        match err {
2152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2155                source: err.into(),
2156            }),
2157        }
2158    }
2159}
2160impl From<crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError> for Error {
2161    fn from(err: crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError) -> Self {
2162        match err {
2163            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError::Unhandled(
2164                inner,
2165            ) => Error::Unhandled(inner),
2166        }
2167    }
2168}
2169impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>> for Error
2170where
2171    R: Send + Sync + std::fmt::Debug + 'static,
2172{
2173    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>) -> Self {
2174        match err {
2175            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2176            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2177                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2178                source: err.into(),
2179            }),
2180        }
2181    }
2182}
2183impl From<crate::operation::create_ipam_pool::CreateIpamPoolError> for Error {
2184    fn from(err: crate::operation::create_ipam_pool::CreateIpamPoolError) -> Self {
2185        match err {
2186            crate::operation::create_ipam_pool::CreateIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
2187        }
2188    }
2189}
2190impl<R>
2191    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, R>>
2192    for Error
2193where
2194    R: Send + Sync + std::fmt::Debug + 'static,
2195{
2196    fn from(
2197        err: ::aws_smithy_runtime_api::client::result::SdkError<
2198            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError,
2199            R,
2200        >,
2201    ) -> Self {
2202        match err {
2203            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2204            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2205                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2206                source: err.into(),
2207            }),
2208        }
2209    }
2210}
2211impl From<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError> for Error {
2212    fn from(err: crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError) -> Self {
2213        match err {
2214            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2215        }
2216    }
2217}
2218impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>> for Error
2219where
2220    R: Send + Sync + std::fmt::Debug + 'static,
2221{
2222    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>) -> Self {
2223        match err {
2224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2227                source: err.into(),
2228            }),
2229        }
2230    }
2231}
2232impl From<crate::operation::create_ipam_scope::CreateIpamScopeError> for Error {
2233    fn from(err: crate::operation::create_ipam_scope::CreateIpamScopeError) -> Self {
2234        match err {
2235            crate::operation::create_ipam_scope::CreateIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
2236        }
2237    }
2238}
2239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>> for Error
2240where
2241    R: Send + Sync + std::fmt::Debug + 'static,
2242{
2243    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>) -> Self {
2244        match err {
2245            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2246            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2247                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2248                source: err.into(),
2249            }),
2250        }
2251    }
2252}
2253impl From<crate::operation::create_key_pair::CreateKeyPairError> for Error {
2254    fn from(err: crate::operation::create_key_pair::CreateKeyPairError) -> Self {
2255        match err {
2256            crate::operation::create_key_pair::CreateKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
2257        }
2258    }
2259}
2260impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>> for Error
2261where
2262    R: Send + Sync + std::fmt::Debug + 'static,
2263{
2264    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>) -> Self {
2265        match err {
2266            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2267            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2268                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2269                source: err.into(),
2270            }),
2271        }
2272    }
2273}
2274impl From<crate::operation::create_launch_template::CreateLaunchTemplateError> for Error {
2275    fn from(err: crate::operation::create_launch_template::CreateLaunchTemplateError) -> Self {
2276        match err {
2277            crate::operation::create_launch_template::CreateLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2278        }
2279    }
2280}
2281impl<R>
2282    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, R>>
2283    for Error
2284where
2285    R: Send + Sync + std::fmt::Debug + 'static,
2286{
2287    fn from(
2288        err: ::aws_smithy_runtime_api::client::result::SdkError<
2289            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError,
2290            R,
2291        >,
2292    ) -> Self {
2293        match err {
2294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2297                source: err.into(),
2298            }),
2299        }
2300    }
2301}
2302impl From<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError> for Error {
2303    fn from(err: crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError) -> Self {
2304        match err {
2305            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError::Unhandled(inner) => Error::Unhandled(inner),
2306        }
2307    }
2308}
2309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>>
2310    for Error
2311where
2312    R: Send + Sync + std::fmt::Debug + 'static,
2313{
2314    fn from(
2315        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>,
2316    ) -> Self {
2317        match err {
2318            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2319            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2320                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2321                source: err.into(),
2322            }),
2323        }
2324    }
2325}
2326impl From<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError> for Error {
2327    fn from(err: crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError) -> Self {
2328        match err {
2329            crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
2330        }
2331    }
2332}
2333impl<R>
2334    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, R>>
2335    for Error
2336where
2337    R: Send + Sync + std::fmt::Debug + 'static,
2338{
2339    fn from(
2340        err: ::aws_smithy_runtime_api::client::result::SdkError<
2341            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError,
2342            R,
2343        >,
2344    ) -> Self {
2345        match err {
2346            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2347            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2348                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2349                source: err.into(),
2350            }),
2351        }
2352    }
2353}
2354impl From<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError> for Error {
2355    fn from(err: crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError) -> Self {
2356        match err {
2357            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2358        }
2359    }
2360}
2361impl<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 {
2362    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
2363        match err {
2364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2365            _ => Error::Unhandled(
2366                                        crate::error::sealed_unhandled::Unhandled {
2367                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2368                                            source: err.into(),
2369                                        }
2370                                    ),
2371        }
2372    }
2373}
2374impl From<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
2375    fn from(err: crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
2376        match err {
2377            crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2378        }
2379    }
2380}
2381impl<R>
2382    From<
2383        ::aws_smithy_runtime_api::client::result::SdkError<
2384            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2385            R,
2386        >,
2387    > for Error
2388where
2389    R: Send + Sync + std::fmt::Debug + 'static,
2390{
2391    fn from(
2392        err: ::aws_smithy_runtime_api::client::result::SdkError<
2393            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2394            R,
2395        >,
2396    ) -> Self {
2397        match err {
2398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2401                source: err.into(),
2402            }),
2403        }
2404    }
2405}
2406impl From<crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError> for Error {
2407    fn from(err: crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError) -> Self {
2408        match err {
2409            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
2410                Error::Unhandled(inner)
2411            }
2412        }
2413    }
2414}
2415impl<R>
2416    From<
2417        ::aws_smithy_runtime_api::client::result::SdkError<
2418            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2419            R,
2420        >,
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<
2427            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2428            R,
2429        >,
2430    ) -> Self {
2431        match err {
2432            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2433            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2434                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2435                source: err.into(),
2436            }),
2437        }
2438    }
2439}
2440impl From<crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError> for Error {
2441    fn from(err: crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError) -> Self {
2442        match err {
2443            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
2444                Error::Unhandled(inner)
2445            }
2446        }
2447    }
2448}
2449impl<R>
2450    From<
2451        ::aws_smithy_runtime_api::client::result::SdkError<
2452            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2453            R,
2454        >,
2455    > for Error
2456where
2457    R: Send + Sync + std::fmt::Debug + 'static,
2458{
2459    fn from(
2460        err: ::aws_smithy_runtime_api::client::result::SdkError<
2461            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2462            R,
2463        >,
2464    ) -> Self {
2465        match err {
2466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2469                source: err.into(),
2470            }),
2471        }
2472    }
2473}
2474impl From<crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError> for Error {
2475    fn from(err: crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError) -> Self {
2476        match err {
2477            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
2478                Error::Unhandled(inner)
2479            }
2480        }
2481    }
2482}
2483impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>>
2484    for Error
2485where
2486    R: Send + Sync + std::fmt::Debug + 'static,
2487{
2488    fn from(
2489        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>,
2490    ) -> Self {
2491        match err {
2492            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2493            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2494                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2495                source: err.into(),
2496            }),
2497        }
2498    }
2499}
2500impl From<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError> for Error {
2501    fn from(err: crate::operation::create_managed_prefix_list::CreateManagedPrefixListError) -> Self {
2502        match err {
2503            crate::operation::create_managed_prefix_list::CreateManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
2504        }
2505    }
2506}
2507impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>> for Error
2508where
2509    R: Send + Sync + std::fmt::Debug + 'static,
2510{
2511    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>) -> Self {
2512        match err {
2513            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2514            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2515                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2516                source: err.into(),
2517            }),
2518        }
2519    }
2520}
2521impl From<crate::operation::create_nat_gateway::CreateNatGatewayError> for Error {
2522    fn from(err: crate::operation::create_nat_gateway::CreateNatGatewayError) -> Self {
2523        match err {
2524            crate::operation::create_nat_gateway::CreateNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2525        }
2526    }
2527}
2528impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>> for Error
2529where
2530    R: Send + Sync + std::fmt::Debug + 'static,
2531{
2532    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>) -> Self {
2533        match err {
2534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2537                source: err.into(),
2538            }),
2539        }
2540    }
2541}
2542impl From<crate::operation::create_network_acl::CreateNetworkAclError> for Error {
2543    fn from(err: crate::operation::create_network_acl::CreateNetworkAclError) -> Self {
2544        match err {
2545            crate::operation::create_network_acl::CreateNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
2546        }
2547    }
2548}
2549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>> for Error
2550where
2551    R: Send + Sync + std::fmt::Debug + 'static,
2552{
2553    fn from(
2554        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>,
2555    ) -> Self {
2556        match err {
2557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2560                source: err.into(),
2561            }),
2562        }
2563    }
2564}
2565impl From<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError> for Error {
2566    fn from(err: crate::operation::create_network_acl_entry::CreateNetworkAclEntryError) -> Self {
2567        match err {
2568            crate::operation::create_network_acl_entry::CreateNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
2569        }
2570    }
2571}
2572impl<R>
2573    From<
2574        ::aws_smithy_runtime_api::client::result::SdkError<
2575            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2576            R,
2577        >,
2578    > for Error
2579where
2580    R: Send + Sync + std::fmt::Debug + 'static,
2581{
2582    fn from(
2583        err: ::aws_smithy_runtime_api::client::result::SdkError<
2584            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2585            R,
2586        >,
2587    ) -> Self {
2588        match err {
2589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2592                source: err.into(),
2593            }),
2594        }
2595    }
2596}
2597impl From<crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError> for Error {
2598    fn from(err: crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError) -> Self {
2599        match err {
2600            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError::Unhandled(inner) => {
2601                Error::Unhandled(inner)
2602            }
2603        }
2604    }
2605}
2606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>>
2607    for Error
2608where
2609    R: Send + Sync + std::fmt::Debug + 'static,
2610{
2611    fn from(
2612        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>,
2613    ) -> Self {
2614        match err {
2615            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2616            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2617                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2618                source: err.into(),
2619            }),
2620        }
2621    }
2622}
2623impl From<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError> for Error {
2624    fn from(err: crate::operation::create_network_insights_path::CreateNetworkInsightsPathError) -> Self {
2625        match err {
2626            crate::operation::create_network_insights_path::CreateNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
2627        }
2628    }
2629}
2630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>> for Error
2631where
2632    R: Send + Sync + std::fmt::Debug + 'static,
2633{
2634    fn from(
2635        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>,
2636    ) -> Self {
2637        match err {
2638            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2639            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2640                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2641                source: err.into(),
2642            }),
2643        }
2644    }
2645}
2646impl From<crate::operation::create_network_interface::CreateNetworkInterfaceError> for Error {
2647    fn from(err: crate::operation::create_network_interface::CreateNetworkInterfaceError) -> Self {
2648        match err {
2649            crate::operation::create_network_interface::CreateNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2650        }
2651    }
2652}
2653impl<R>
2654    From<
2655        ::aws_smithy_runtime_api::client::result::SdkError<
2656            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2657            R,
2658        >,
2659    > for Error
2660where
2661    R: Send + Sync + std::fmt::Debug + 'static,
2662{
2663    fn from(
2664        err: ::aws_smithy_runtime_api::client::result::SdkError<
2665            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2666            R,
2667        >,
2668    ) -> Self {
2669        match err {
2670            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2671            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2672                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2673                source: err.into(),
2674            }),
2675        }
2676    }
2677}
2678impl From<crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError> for Error {
2679    fn from(err: crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError) -> Self {
2680        match err {
2681            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
2682        }
2683    }
2684}
2685impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>> for Error
2686where
2687    R: Send + Sync + std::fmt::Debug + 'static,
2688{
2689    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>) -> Self {
2690        match err {
2691            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2692            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2693                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2694                source: err.into(),
2695            }),
2696        }
2697    }
2698}
2699impl From<crate::operation::create_placement_group::CreatePlacementGroupError> for Error {
2700    fn from(err: crate::operation::create_placement_group::CreatePlacementGroupError) -> Self {
2701        match err {
2702            crate::operation::create_placement_group::CreatePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
2703        }
2704    }
2705}
2706impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>> for Error
2707where
2708    R: Send + Sync + std::fmt::Debug + 'static,
2709{
2710    fn from(
2711        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>,
2712    ) -> Self {
2713        match err {
2714            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2715            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2716                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2717                source: err.into(),
2718            }),
2719        }
2720    }
2721}
2722impl From<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError> for Error {
2723    fn from(err: crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError) -> Self {
2724        match err {
2725            crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
2726        }
2727    }
2728}
2729impl<R>
2730    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, R>>
2731    for Error
2732where
2733    R: Send + Sync + std::fmt::Debug + 'static,
2734{
2735    fn from(
2736        err: ::aws_smithy_runtime_api::client::result::SdkError<
2737            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError,
2738            R,
2739        >,
2740    ) -> Self {
2741        match err {
2742            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2743            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2744                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2745                source: err.into(),
2746            }),
2747        }
2748    }
2749}
2750impl From<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError> for Error {
2751    fn from(err: crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError) -> Self {
2752        match err {
2753            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError::Unhandled(inner) => Error::Unhandled(inner),
2754        }
2755    }
2756}
2757impl<R>
2758    From<
2759        ::aws_smithy_runtime_api::client::result::SdkError<
2760            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2761            R,
2762        >,
2763    > for Error
2764where
2765    R: Send + Sync + std::fmt::Debug + 'static,
2766{
2767    fn from(
2768        err: ::aws_smithy_runtime_api::client::result::SdkError<
2769            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2770            R,
2771        >,
2772    ) -> Self {
2773        match err {
2774            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2775            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2776                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2777                source: err.into(),
2778            }),
2779        }
2780    }
2781}
2782impl From<crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError> for Error {
2783    fn from(err: crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError) -> Self {
2784        match err {
2785            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
2786        }
2787    }
2788}
2789impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>>
2790    for Error
2791where
2792    R: Send + Sync + std::fmt::Debug + 'static,
2793{
2794    fn from(
2795        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>,
2796    ) -> Self {
2797        match err {
2798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2801                source: err.into(),
2802            }),
2803        }
2804    }
2805}
2806impl From<crate::operation::create_restore_image_task::CreateRestoreImageTaskError> for Error {
2807    fn from(err: crate::operation::create_restore_image_task::CreateRestoreImageTaskError) -> Self {
2808        match err {
2809            crate::operation::create_restore_image_task::CreateRestoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
2810        }
2811    }
2812}
2813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>> for Error
2814where
2815    R: Send + Sync + std::fmt::Debug + 'static,
2816{
2817    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>) -> Self {
2818        match err {
2819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2822                source: err.into(),
2823            }),
2824        }
2825    }
2826}
2827impl From<crate::operation::create_route::CreateRouteError> for Error {
2828    fn from(err: crate::operation::create_route::CreateRouteError) -> Self {
2829        match err {
2830            crate::operation::create_route::CreateRouteError::Unhandled(inner) => Error::Unhandled(inner),
2831        }
2832    }
2833}
2834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>> for Error
2835where
2836    R: Send + Sync + std::fmt::Debug + 'static,
2837{
2838    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>) -> Self {
2839        match err {
2840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2843                source: err.into(),
2844            }),
2845        }
2846    }
2847}
2848impl From<crate::operation::create_route_server::CreateRouteServerError> for Error {
2849    fn from(err: crate::operation::create_route_server::CreateRouteServerError) -> Self {
2850        match err {
2851            crate::operation::create_route_server::CreateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
2852        }
2853    }
2854}
2855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>>
2856    for Error
2857where
2858    R: Send + Sync + std::fmt::Debug + 'static,
2859{
2860    fn from(
2861        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>,
2862    ) -> Self {
2863        match err {
2864            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2865            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2866                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2867                source: err.into(),
2868            }),
2869        }
2870    }
2871}
2872impl From<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError> for Error {
2873    fn from(err: crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError) -> Self {
2874        match err {
2875            crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2876        }
2877    }
2878}
2879impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>> for Error
2880where
2881    R: Send + Sync + std::fmt::Debug + 'static,
2882{
2883    fn from(
2884        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>,
2885    ) -> Self {
2886        match err {
2887            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2888            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2889                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2890                source: err.into(),
2891            }),
2892        }
2893    }
2894}
2895impl From<crate::operation::create_route_server_peer::CreateRouteServerPeerError> for Error {
2896    fn from(err: crate::operation::create_route_server_peer::CreateRouteServerPeerError) -> Self {
2897        match err {
2898            crate::operation::create_route_server_peer::CreateRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
2899        }
2900    }
2901}
2902impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>> for Error
2903where
2904    R: Send + Sync + std::fmt::Debug + 'static,
2905{
2906    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>) -> Self {
2907        match err {
2908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2911                source: err.into(),
2912            }),
2913        }
2914    }
2915}
2916impl From<crate::operation::create_route_table::CreateRouteTableError> for Error {
2917    fn from(err: crate::operation::create_route_table::CreateRouteTableError) -> Self {
2918        match err {
2919            crate::operation::create_route_table::CreateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2920        }
2921    }
2922}
2923impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>> for Error
2924where
2925    R: Send + Sync + std::fmt::Debug + 'static,
2926{
2927    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>) -> Self {
2928        match err {
2929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2932                source: err.into(),
2933            }),
2934        }
2935    }
2936}
2937impl From<crate::operation::create_security_group::CreateSecurityGroupError> for Error {
2938    fn from(err: crate::operation::create_security_group::CreateSecurityGroupError) -> Self {
2939        match err {
2940            crate::operation::create_security_group::CreateSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
2941        }
2942    }
2943}
2944impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>> for Error
2945where
2946    R: Send + Sync + std::fmt::Debug + 'static,
2947{
2948    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>) -> Self {
2949        match err {
2950            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2951            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2952                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2953                source: err.into(),
2954            }),
2955        }
2956    }
2957}
2958impl From<crate::operation::create_snapshot::CreateSnapshotError> for Error {
2959    fn from(err: crate::operation::create_snapshot::CreateSnapshotError) -> Self {
2960        match err {
2961            crate::operation::create_snapshot::CreateSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
2962        }
2963    }
2964}
2965impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>> for Error
2966where
2967    R: Send + Sync + std::fmt::Debug + 'static,
2968{
2969    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>) -> Self {
2970        match err {
2971            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2972            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2973                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2974                source: err.into(),
2975            }),
2976        }
2977    }
2978}
2979impl From<crate::operation::create_snapshots::CreateSnapshotsError> for Error {
2980    fn from(err: crate::operation::create_snapshots::CreateSnapshotsError) -> Self {
2981        match err {
2982            crate::operation::create_snapshots::CreateSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
2983        }
2984    }
2985}
2986impl<R>
2987    From<
2988        ::aws_smithy_runtime_api::client::result::SdkError<
2989            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
2990            R,
2991        >,
2992    > for Error
2993where
2994    R: Send + Sync + std::fmt::Debug + 'static,
2995{
2996    fn from(
2997        err: ::aws_smithy_runtime_api::client::result::SdkError<
2998            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
2999            R,
3000        >,
3001    ) -> Self {
3002        match err {
3003            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3004            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3005                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3006                source: err.into(),
3007            }),
3008        }
3009    }
3010}
3011impl From<crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError> for Error {
3012    fn from(err: crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError) -> Self {
3013        match err {
3014            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
3015        }
3016    }
3017}
3018impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>> for Error
3019where
3020    R: Send + Sync + std::fmt::Debug + 'static,
3021{
3022    fn from(
3023        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>,
3024    ) -> Self {
3025        match err {
3026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3029                source: err.into(),
3030            }),
3031        }
3032    }
3033}
3034impl From<crate::operation::create_store_image_task::CreateStoreImageTaskError> for Error {
3035    fn from(err: crate::operation::create_store_image_task::CreateStoreImageTaskError) -> Self {
3036        match err {
3037            crate::operation::create_store_image_task::CreateStoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3038        }
3039    }
3040}
3041impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>> for Error
3042where
3043    R: Send + Sync + std::fmt::Debug + 'static,
3044{
3045    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>) -> Self {
3046        match err {
3047            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3048            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3049                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3050                source: err.into(),
3051            }),
3052        }
3053    }
3054}
3055impl From<crate::operation::create_subnet::CreateSubnetError> for Error {
3056    fn from(err: crate::operation::create_subnet::CreateSubnetError) -> Self {
3057        match err {
3058            crate::operation::create_subnet::CreateSubnetError::Unhandled(inner) => Error::Unhandled(inner),
3059        }
3060    }
3061}
3062impl<R>
3063    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, R>>
3064    for Error
3065where
3066    R: Send + Sync + std::fmt::Debug + 'static,
3067{
3068    fn from(
3069        err: ::aws_smithy_runtime_api::client::result::SdkError<
3070            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError,
3071            R,
3072        >,
3073    ) -> Self {
3074        match err {
3075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3078                source: err.into(),
3079            }),
3080        }
3081    }
3082}
3083impl From<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError> for Error {
3084    fn from(err: crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError) -> Self {
3085        match err {
3086            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
3087        }
3088    }
3089}
3090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
3091where
3092    R: Send + Sync + std::fmt::Debug + 'static,
3093{
3094    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
3095        match err {
3096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3099                source: err.into(),
3100            }),
3101        }
3102    }
3103}
3104impl From<crate::operation::create_tags::CreateTagsError> for Error {
3105    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
3106        match err {
3107            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
3108        }
3109    }
3110}
3111impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>>
3112    for Error
3113where
3114    R: Send + Sync + std::fmt::Debug + 'static,
3115{
3116    fn from(
3117        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>,
3118    ) -> Self {
3119        match err {
3120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3123                source: err.into(),
3124            }),
3125        }
3126    }
3127}
3128impl From<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError> for Error {
3129    fn from(err: crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError) -> Self {
3130        match err {
3131            crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
3132        }
3133    }
3134}
3135impl<R>
3136    From<
3137        ::aws_smithy_runtime_api::client::result::SdkError<
3138            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3139            R,
3140        >,
3141    > for Error
3142where
3143    R: Send + Sync + std::fmt::Debug + 'static,
3144{
3145    fn from(
3146        err: ::aws_smithy_runtime_api::client::result::SdkError<
3147            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3148            R,
3149        >,
3150    ) -> Self {
3151        match err {
3152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3155                source: err.into(),
3156            }),
3157        }
3158    }
3159}
3160impl From<crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError> for Error {
3161    fn from(err: crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError) -> Self {
3162        match err {
3163            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
3164        }
3165    }
3166}
3167impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>>
3168    for Error
3169where
3170    R: Send + Sync + std::fmt::Debug + 'static,
3171{
3172    fn from(
3173        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>,
3174    ) -> Self {
3175        match err {
3176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3179                source: err.into(),
3180            }),
3181        }
3182    }
3183}
3184impl From<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError> for Error {
3185    fn from(err: crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError) -> Self {
3186        match err {
3187            crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
3188        }
3189    }
3190}
3191impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>>
3192    for Error
3193where
3194    R: Send + Sync + std::fmt::Debug + 'static,
3195{
3196    fn from(
3197        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>,
3198    ) -> Self {
3199        match err {
3200            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3201            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3202                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3203                source: err.into(),
3204            }),
3205        }
3206    }
3207}
3208impl From<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError> for Error {
3209    fn from(err: crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError) -> Self {
3210        match err {
3211            crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
3212        }
3213    }
3214}
3215impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>> for Error
3216where
3217    R: Send + Sync + std::fmt::Debug + 'static,
3218{
3219    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>) -> Self {
3220        match err {
3221            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3222            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3223                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3224                source: err.into(),
3225            }),
3226        }
3227    }
3228}
3229impl From<crate::operation::create_transit_gateway::CreateTransitGatewayError> for Error {
3230    fn from(err: crate::operation::create_transit_gateway::CreateTransitGatewayError) -> Self {
3231        match err {
3232            crate::operation::create_transit_gateway::CreateTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3233        }
3234    }
3235}
3236impl<R>
3237    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, R>>
3238    for Error
3239where
3240    R: Send + Sync + std::fmt::Debug + 'static,
3241{
3242    fn from(
3243        err: ::aws_smithy_runtime_api::client::result::SdkError<
3244            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError,
3245            R,
3246        >,
3247    ) -> Self {
3248        match err {
3249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3252                source: err.into(),
3253            }),
3254        }
3255    }
3256}
3257impl From<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError> for Error {
3258    fn from(err: crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError) -> Self {
3259        match err {
3260            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
3261        }
3262    }
3263}
3264impl<R>
3265    From<
3266        ::aws_smithy_runtime_api::client::result::SdkError<
3267            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3268            R,
3269        >,
3270    > for Error
3271where
3272    R: Send + Sync + std::fmt::Debug + 'static,
3273{
3274    fn from(
3275        err: ::aws_smithy_runtime_api::client::result::SdkError<
3276            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3277            R,
3278        >,
3279    ) -> Self {
3280        match err {
3281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3284                source: err.into(),
3285            }),
3286        }
3287    }
3288}
3289impl From<crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError> for Error {
3290    fn from(err: crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError) -> Self {
3291        match err {
3292            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
3293        }
3294    }
3295}
3296impl<R>
3297    From<
3298        ::aws_smithy_runtime_api::client::result::SdkError<
3299            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3300            R,
3301        >,
3302    > for Error
3303where
3304    R: Send + Sync + std::fmt::Debug + 'static,
3305{
3306    fn from(
3307        err: ::aws_smithy_runtime_api::client::result::SdkError<
3308            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3309            R,
3310        >,
3311    ) -> Self {
3312        match err {
3313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3316                source: err.into(),
3317            }),
3318        }
3319    }
3320}
3321impl From<crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3322    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3323        match err {
3324            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::Unhandled(inner) => {
3325                Error::Unhandled(inner)
3326            }
3327        }
3328    }
3329}
3330impl<R>
3331    From<
3332        ::aws_smithy_runtime_api::client::result::SdkError<
3333            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3334            R,
3335        >,
3336    > for Error
3337where
3338    R: Send + Sync + std::fmt::Debug + 'static,
3339{
3340    fn from(
3341        err: ::aws_smithy_runtime_api::client::result::SdkError<
3342            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3343            R,
3344        >,
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_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3356    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3357        match err {
3358            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
3359                Error::Unhandled(inner)
3360            }
3361        }
3362    }
3363}
3364impl<R>
3365    From<
3366        ::aws_smithy_runtime_api::client::result::SdkError<
3367            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3368            R,
3369        >,
3370    > for Error
3371where
3372    R: Send + Sync + std::fmt::Debug + 'static,
3373{
3374    fn from(
3375        err: ::aws_smithy_runtime_api::client::result::SdkError<
3376            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3377            R,
3378        >,
3379    ) -> Self {
3380        match err {
3381            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3382            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3383                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3384                source: err.into(),
3385            }),
3386        }
3387    }
3388}
3389impl From<crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3390    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3391        match err {
3392            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3393        }
3394    }
3395}
3396impl<R>
3397    From<
3398        ::aws_smithy_runtime_api::client::result::SdkError<
3399            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3400            R,
3401        >,
3402    > for Error
3403where
3404    R: Send + Sync + std::fmt::Debug + 'static,
3405{
3406    fn from(
3407        err: ::aws_smithy_runtime_api::client::result::SdkError<
3408            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3409            R,
3410        >,
3411    ) -> Self {
3412        match err {
3413            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3414            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3415                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3416                source: err.into(),
3417            }),
3418        }
3419    }
3420}
3421impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3422    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3423        match err {
3424            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3425                Error::Unhandled(inner)
3426            }
3427        }
3428    }
3429}
3430impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3431    for Error
3432where
3433    R: Send + Sync + std::fmt::Debug + 'static,
3434{
3435    fn from(
3436        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3437    ) -> Self {
3438        match err {
3439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3442                source: err.into(),
3443            }),
3444        }
3445    }
3446}
3447impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3448    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3449        match err {
3450            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3451        }
3452    }
3453}
3454impl<R>
3455    From<
3456        ::aws_smithy_runtime_api::client::result::SdkError<
3457            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3458            R,
3459        >,
3460    > for Error
3461where
3462    R: Send + Sync + std::fmt::Debug + 'static,
3463{
3464    fn from(
3465        err: ::aws_smithy_runtime_api::client::result::SdkError<
3466            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3467            R,
3468        >,
3469    ) -> Self {
3470        match err {
3471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3474                source: err.into(),
3475            }),
3476        }
3477    }
3478}
3479impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3480    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3481        match err {
3482            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3483        }
3484    }
3485}
3486impl<R>
3487    From<
3488        ::aws_smithy_runtime_api::client::result::SdkError<
3489            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3490            R,
3491        >,
3492    > for Error
3493where
3494    R: Send + Sync + std::fmt::Debug + 'static,
3495{
3496    fn from(
3497        err: ::aws_smithy_runtime_api::client::result::SdkError<
3498            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3499            R,
3500        >,
3501    ) -> Self {
3502        match err {
3503            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3504            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3505                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3506                source: err.into(),
3507            }),
3508        }
3509    }
3510}
3511impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3512    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3513        match err {
3514            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3515                Error::Unhandled(inner)
3516            }
3517        }
3518    }
3519}
3520impl<R>
3521    From<
3522        ::aws_smithy_runtime_api::client::result::SdkError<
3523            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3524            R,
3525        >,
3526    > for Error
3527where
3528    R: Send + Sync + std::fmt::Debug + 'static,
3529{
3530    fn from(
3531        err: ::aws_smithy_runtime_api::client::result::SdkError<
3532            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3533            R,
3534        >,
3535    ) -> Self {
3536        match err {
3537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3540                source: err.into(),
3541            }),
3542        }
3543    }
3544}
3545impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3546    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3547        match err {
3548            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3549                Error::Unhandled(inner)
3550            }
3551        }
3552    }
3553}
3554impl<R>
3555    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3556    for Error
3557where
3558    R: Send + Sync + std::fmt::Debug + 'static,
3559{
3560    fn from(
3561        err: ::aws_smithy_runtime_api::client::result::SdkError<
3562            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3563            R,
3564        >,
3565    ) -> Self {
3566        match err {
3567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3570                source: err.into(),
3571            }),
3572        }
3573    }
3574}
3575impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3576    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3577        match err {
3578            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3579        }
3580    }
3581}
3582impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>>
3583    for Error
3584where
3585    R: Send + Sync + std::fmt::Debug + 'static,
3586{
3587    fn from(
3588        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>,
3589    ) -> Self {
3590        match err {
3591            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3592            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3593                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3594                source: err.into(),
3595            }),
3596        }
3597    }
3598}
3599impl From<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3600    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3601        match err {
3602            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3603        }
3604    }
3605}
3606impl<R>
3607    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3608    for Error
3609where
3610    R: Send + Sync + std::fmt::Debug + 'static,
3611{
3612    fn from(
3613        err: ::aws_smithy_runtime_api::client::result::SdkError<
3614            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3615            R,
3616        >,
3617    ) -> Self {
3618        match err {
3619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3622                source: err.into(),
3623            }),
3624        }
3625    }
3626}
3627impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
3628    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
3629        match err {
3630            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3631        }
3632    }
3633}
3634impl<R>
3635    From<
3636        ::aws_smithy_runtime_api::client::result::SdkError<
3637            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3638            R,
3639        >,
3640    > for Error
3641where
3642    R: Send + Sync + std::fmt::Debug + 'static,
3643{
3644    fn from(
3645        err: ::aws_smithy_runtime_api::client::result::SdkError<
3646            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3647            R,
3648        >,
3649    ) -> Self {
3650        match err {
3651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3654                source: err.into(),
3655            }),
3656        }
3657    }
3658}
3659impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
3660    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
3661        match err {
3662            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
3663                Error::Unhandled(inner)
3664            }
3665        }
3666    }
3667}
3668impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
3669where
3670    R: Send + Sync + std::fmt::Debug + 'static,
3671{
3672    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> Self {
3673        match err {
3674            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3675            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3676                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3677                source: err.into(),
3678            }),
3679        }
3680    }
3681}
3682impl From<crate::operation::create_volume::CreateVolumeError> for Error {
3683    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
3684        match err {
3685            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
3686        }
3687    }
3688}
3689impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
3690where
3691    R: Send + Sync + std::fmt::Debug + 'static,
3692{
3693    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
3694        match err {
3695            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3696            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3697                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3698                source: err.into(),
3699            }),
3700        }
3701    }
3702}
3703impl From<crate::operation::create_vpc::CreateVpcError> for Error {
3704    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
3705        match err {
3706            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
3707        }
3708    }
3709}
3710impl<R>
3711    From<
3712        ::aws_smithy_runtime_api::client::result::SdkError<
3713            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3714            R,
3715        >,
3716    > for Error
3717where
3718    R: Send + Sync + std::fmt::Debug + 'static,
3719{
3720    fn from(
3721        err: ::aws_smithy_runtime_api::client::result::SdkError<
3722            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3723            R,
3724        >,
3725    ) -> Self {
3726        match err {
3727            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3728            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3729                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3730                source: err.into(),
3731            }),
3732        }
3733    }
3734}
3735impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
3736    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
3737        match err {
3738            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
3739                Error::Unhandled(inner)
3740            }
3741        }
3742    }
3743}
3744impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
3745where
3746    R: Send + Sync + std::fmt::Debug + 'static,
3747{
3748    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
3749        match err {
3750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3753                source: err.into(),
3754            }),
3755        }
3756    }
3757}
3758impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
3759    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
3760        match err {
3761            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3762        }
3763    }
3764}
3765impl<R>
3766    From<
3767        ::aws_smithy_runtime_api::client::result::SdkError<
3768            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3769            R,
3770        >,
3771    > for Error
3772where
3773    R: Send + Sync + std::fmt::Debug + 'static,
3774{
3775    fn from(
3776        err: ::aws_smithy_runtime_api::client::result::SdkError<
3777            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3778            R,
3779        >,
3780    ) -> Self {
3781        match err {
3782            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3783            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3784                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3785                source: err.into(),
3786            }),
3787        }
3788    }
3789}
3790impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
3791    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
3792        match err {
3793            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
3794                Error::Unhandled(inner)
3795            }
3796        }
3797    }
3798}
3799impl<R>
3800    From<
3801        ::aws_smithy_runtime_api::client::result::SdkError<
3802            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3803            R,
3804        >,
3805    > for Error
3806where
3807    R: Send + Sync + std::fmt::Debug + 'static,
3808{
3809    fn from(
3810        err: ::aws_smithy_runtime_api::client::result::SdkError<
3811            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3812            R,
3813        >,
3814    ) -> Self {
3815        match err {
3816            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3817            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3818                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3819                source: err.into(),
3820            }),
3821        }
3822    }
3823}
3824impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
3825    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
3826        match err {
3827            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
3828                Error::Unhandled(inner)
3829            }
3830        }
3831    }
3832}
3833impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
3834    for Error
3835where
3836    R: Send + Sync + std::fmt::Debug + 'static,
3837{
3838    fn from(
3839        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
3840    ) -> 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_peering_connection::CreateVpcPeeringConnectionError> for Error {
3851    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
3852        match err {
3853            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3854        }
3855    }
3856}
3857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
3858where
3859    R: Send + Sync + std::fmt::Debug + 'static,
3860{
3861    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
3862        match err {
3863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3866                source: err.into(),
3867            }),
3868        }
3869    }
3870}
3871impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
3872    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
3873        match err {
3874            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3875        }
3876    }
3877}
3878impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
3879    for Error
3880where
3881    R: Send + Sync + std::fmt::Debug + 'static,
3882{
3883    fn from(
3884        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
3885    ) -> Self {
3886        match err {
3887            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3888            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3889                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3890                source: err.into(),
3891            }),
3892        }
3893    }
3894}
3895impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
3896    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
3897        match err {
3898            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
3899        }
3900    }
3901}
3902impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
3903where
3904    R: Send + Sync + std::fmt::Debug + 'static,
3905{
3906    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
3907        match err {
3908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3911                source: err.into(),
3912            }),
3913        }
3914    }
3915}
3916impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
3917    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
3918        match err {
3919            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3920        }
3921    }
3922}
3923impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
3924where
3925    R: Send + Sync + std::fmt::Debug + 'static,
3926{
3927    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> 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::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
3938    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
3939        match err {
3940            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3941        }
3942    }
3943}
3944impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
3945    for Error
3946where
3947    R: Send + Sync + std::fmt::Debug + 'static,
3948{
3949    fn from(
3950        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
3951    ) -> Self {
3952        match err {
3953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3956                source: err.into(),
3957            }),
3958        }
3959    }
3960}
3961impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
3962    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
3963        match err {
3964            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3965        }
3966    }
3967}
3968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
3969where
3970    R: Send + Sync + std::fmt::Debug + 'static,
3971{
3972    fn from(
3973        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
3974    ) -> Self {
3975        match err {
3976            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3977            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3978                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3979                source: err.into(),
3980            }),
3981        }
3982    }
3983}
3984impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
3985    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
3986        match err {
3987            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
3988        }
3989    }
3990}
3991impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
3992where
3993    R: Send + Sync + std::fmt::Debug + 'static,
3994{
3995    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
3996        match err {
3997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4000                source: err.into(),
4001            }),
4002        }
4003    }
4004}
4005impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
4006    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
4007        match err {
4008            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
4009        }
4010    }
4011}
4012impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
4013where
4014    R: Send + Sync + std::fmt::Debug + 'static,
4015{
4016    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
4017        match err {
4018            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4019            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4020                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4021                source: err.into(),
4022            }),
4023        }
4024    }
4025}
4026impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
4027    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
4028        match err {
4029            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
4030        }
4031    }
4032}
4033impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
4034where
4035    R: Send + Sync + std::fmt::Debug + 'static,
4036{
4037    fn from(
4038        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
4039    ) -> Self {
4040        match err {
4041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4044                source: err.into(),
4045            }),
4046        }
4047    }
4048}
4049impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
4050    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
4051        match err {
4052            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4053        }
4054    }
4055}
4056impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
4057where
4058    R: Send + Sync + std::fmt::Debug + 'static,
4059{
4060    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> Self {
4061        match err {
4062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4065                source: err.into(),
4066            }),
4067        }
4068    }
4069}
4070impl From<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError> for Error {
4071    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
4072        match err {
4073            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
4074        }
4075    }
4076}
4077impl<R>
4078    From<
4079        ::aws_smithy_runtime_api::client::result::SdkError<
4080            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4081            R,
4082        >,
4083    > for Error
4084where
4085    R: Send + Sync + std::fmt::Debug + 'static,
4086{
4087    fn from(
4088        err: ::aws_smithy_runtime_api::client::result::SdkError<
4089            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4090            R,
4091        >,
4092    ) -> Self {
4093        match err {
4094            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4095            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4096                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4097                source: err.into(),
4098            }),
4099        }
4100    }
4101}
4102impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
4103    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
4104        match err {
4105            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4106        }
4107    }
4108}
4109impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
4110where
4111    R: Send + Sync + std::fmt::Debug + 'static,
4112{
4113    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> Self {
4114        match err {
4115            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4116            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4117                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4118                source: err.into(),
4119            }),
4120        }
4121    }
4122}
4123impl From<crate::operation::delete_fleets::DeleteFleetsError> for Error {
4124    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
4125        match err {
4126            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
4127        }
4128    }
4129}
4130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
4131where
4132    R: Send + Sync + std::fmt::Debug + 'static,
4133{
4134    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
4135        match err {
4136            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4137            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4138                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4139                source: err.into(),
4140            }),
4141        }
4142    }
4143}
4144impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
4145    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
4146        match err {
4147            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
4148        }
4149    }
4150}
4151impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
4152where
4153    R: Send + Sync + std::fmt::Debug + 'static,
4154{
4155    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
4156        match err {
4157            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4158            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4159                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4160                source: err.into(),
4161            }),
4162        }
4163    }
4164}
4165impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4166    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4167        match err {
4168            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4169        }
4170    }
4171}
4172impl<R>
4173    From<
4174        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4175    > for Error
4176where
4177    R: Send + Sync + std::fmt::Debug + 'static,
4178{
4179    fn from(
4180        err: ::aws_smithy_runtime_api::client::result::SdkError<
4181            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4182            R,
4183        >,
4184    ) -> Self {
4185        match err {
4186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4189                source: err.into(),
4190            }),
4191        }
4192    }
4193}
4194impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4195    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4196        match err {
4197            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4198        }
4199    }
4200}
4201impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4202    for Error
4203where
4204    R: Send + Sync + std::fmt::Debug + 'static,
4205{
4206    fn from(
4207        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4208    ) -> Self {
4209        match err {
4210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4213                source: err.into(),
4214            }),
4215        }
4216    }
4217}
4218impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4219    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4220        match err {
4221            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4222        }
4223    }
4224}
4225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4226where
4227    R: Send + Sync + std::fmt::Debug + 'static,
4228{
4229    fn from(
4230        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4231    ) -> Self {
4232        match err {
4233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4236                source: err.into(),
4237            }),
4238        }
4239    }
4240}
4241impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4242    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4243        match err {
4244            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4245        }
4246    }
4247}
4248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4249where
4250    R: Send + Sync + std::fmt::Debug + 'static,
4251{
4252    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4253        match err {
4254            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4255            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4256                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4257                source: err.into(),
4258            }),
4259        }
4260    }
4261}
4262impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4263    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4264        match err {
4265            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4266        }
4267    }
4268}
4269impl<R>
4270    From<
4271        ::aws_smithy_runtime_api::client::result::SdkError<
4272            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4273            R,
4274        >,
4275    > for Error
4276where
4277    R: Send + Sync + std::fmt::Debug + 'static,
4278{
4279    fn from(
4280        err: ::aws_smithy_runtime_api::client::result::SdkError<
4281            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4282            R,
4283        >,
4284    ) -> Self {
4285        match err {
4286            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4287            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4288                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4289                source: err.into(),
4290            }),
4291        }
4292    }
4293}
4294impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4295    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4296        match err {
4297            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4298                inner,
4299            ) => Error::Unhandled(inner),
4300        }
4301    }
4302}
4303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4304where
4305    R: Send + Sync + std::fmt::Debug + 'static,
4306{
4307    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4308        match err {
4309            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4310            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4311                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4312                source: err.into(),
4313            }),
4314        }
4315    }
4316}
4317impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4318    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4319        match err {
4320            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4321        }
4322    }
4323}
4324impl<R>
4325    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4326    for Error
4327where
4328    R: Send + Sync + std::fmt::Debug + 'static,
4329{
4330    fn from(
4331        err: ::aws_smithy_runtime_api::client::result::SdkError<
4332            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4333            R,
4334        >,
4335    ) -> Self {
4336        match err {
4337            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4338            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4339                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4340                source: err.into(),
4341            }),
4342        }
4343    }
4344}
4345impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4346    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4347        match err {
4348            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4349        }
4350    }
4351}
4352impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4353where
4354    R: Send + Sync + std::fmt::Debug + 'static,
4355{
4356    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4357        match err {
4358            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4359            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4360                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4361                source: err.into(),
4362            }),
4363        }
4364    }
4365}
4366impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4367    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4368        match err {
4369            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4370        }
4371    }
4372}
4373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4374where
4375    R: Send + Sync + std::fmt::Debug + 'static,
4376{
4377    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4378        match err {
4379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4382                source: err.into(),
4383            }),
4384        }
4385    }
4386}
4387impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4388    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4389        match err {
4390            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4391        }
4392    }
4393}
4394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4395where
4396    R: Send + Sync + std::fmt::Debug + 'static,
4397{
4398    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4399        match err {
4400            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4401            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4402                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4403                source: err.into(),
4404            }),
4405        }
4406    }
4407}
4408impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4409    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4410        match err {
4411            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4412        }
4413    }
4414}
4415impl<R>
4416    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4417    for Error
4418where
4419    R: Send + Sync + std::fmt::Debug + 'static,
4420{
4421    fn from(
4422        err: ::aws_smithy_runtime_api::client::result::SdkError<
4423            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4424            R,
4425        >,
4426    ) -> Self {
4427        match err {
4428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4431                source: err.into(),
4432            }),
4433        }
4434    }
4435}
4436impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
4437    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
4438        match err {
4439            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
4440        }
4441    }
4442}
4443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
4444    for Error
4445where
4446    R: Send + Sync + std::fmt::Debug + 'static,
4447{
4448    fn from(
4449        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
4450    ) -> Self {
4451        match err {
4452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4455                source: err.into(),
4456            }),
4457        }
4458    }
4459}
4460impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
4461    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
4462        match err {
4463            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
4464        }
4465    }
4466}
4467impl<R>
4468    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
4469    for Error
4470where
4471    R: Send + Sync + std::fmt::Debug + 'static,
4472{
4473    fn from(
4474        err: ::aws_smithy_runtime_api::client::result::SdkError<
4475            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
4476            R,
4477        >,
4478    ) -> Self {
4479        match err {
4480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4483                source: err.into(),
4484            }),
4485        }
4486    }
4487}
4488impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
4489    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
4490        match err {
4491            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4492        }
4493    }
4494}
4495impl<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 {
4496    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
4497        match err {
4498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4499            _ => Error::Unhandled(
4500                                        crate::error::sealed_unhandled::Unhandled {
4501                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4502                                            source: err.into(),
4503                                        }
4504                                    ),
4505        }
4506    }
4507}
4508impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
4509    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
4510        match err {
4511            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4512        }
4513    }
4514}
4515impl<R>
4516    From<
4517        ::aws_smithy_runtime_api::client::result::SdkError<
4518            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4519            R,
4520        >,
4521    > for Error
4522where
4523    R: Send + Sync + std::fmt::Debug + 'static,
4524{
4525    fn from(
4526        err: ::aws_smithy_runtime_api::client::result::SdkError<
4527            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4528            R,
4529        >,
4530    ) -> Self {
4531        match err {
4532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4535                source: err.into(),
4536            }),
4537        }
4538    }
4539}
4540impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
4541    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
4542        match err {
4543            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
4544                Error::Unhandled(inner)
4545            }
4546        }
4547    }
4548}
4549impl<R>
4550    From<
4551        ::aws_smithy_runtime_api::client::result::SdkError<
4552            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4553            R,
4554        >,
4555    > for Error
4556where
4557    R: Send + Sync + std::fmt::Debug + 'static,
4558{
4559    fn from(
4560        err: ::aws_smithy_runtime_api::client::result::SdkError<
4561            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4562            R,
4563        >,
4564    ) -> Self {
4565        match err {
4566            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4567            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4568                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4569                source: err.into(),
4570            }),
4571        }
4572    }
4573}
4574impl From<crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError> for Error {
4575    fn from(err: crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError) -> Self {
4576        match err {
4577            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
4578                Error::Unhandled(inner)
4579            }
4580        }
4581    }
4582}
4583impl<R>
4584    From<
4585        ::aws_smithy_runtime_api::client::result::SdkError<
4586            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4587            R,
4588        >,
4589    > for Error
4590where
4591    R: Send + Sync + std::fmt::Debug + 'static,
4592{
4593    fn from(
4594        err: ::aws_smithy_runtime_api::client::result::SdkError<
4595            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4596            R,
4597        >,
4598    ) -> Self {
4599        match err {
4600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4603                source: err.into(),
4604            }),
4605        }
4606    }
4607}
4608impl From<crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError> for Error {
4609    fn from(err: crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError) -> Self {
4610        match err {
4611            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
4612                Error::Unhandled(inner)
4613            }
4614        }
4615    }
4616}
4617impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
4618    for Error
4619where
4620    R: Send + Sync + std::fmt::Debug + 'static,
4621{
4622    fn from(
4623        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
4624    ) -> Self {
4625        match err {
4626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4629                source: err.into(),
4630            }),
4631        }
4632    }
4633}
4634impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
4635    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
4636        match err {
4637            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
4638        }
4639    }
4640}
4641impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
4642where
4643    R: Send + Sync + std::fmt::Debug + 'static,
4644{
4645    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
4646        match err {
4647            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4648            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4649                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4650                source: err.into(),
4651            }),
4652        }
4653    }
4654}
4655impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
4656    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
4657        match err {
4658            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4659        }
4660    }
4661}
4662impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
4663where
4664    R: Send + Sync + std::fmt::Debug + 'static,
4665{
4666    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
4667        match err {
4668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4671                source: err.into(),
4672            }),
4673        }
4674    }
4675}
4676impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
4677    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
4678        match err {
4679            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
4680        }
4681    }
4682}
4683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
4684where
4685    R: Send + Sync + std::fmt::Debug + 'static,
4686{
4687    fn from(
4688        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
4689    ) -> Self {
4690        match err {
4691            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4692            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4693                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4694                source: err.into(),
4695            }),
4696        }
4697    }
4698}
4699impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
4700    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
4701        match err {
4702            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
4703        }
4704    }
4705}
4706impl<R>
4707    From<
4708        ::aws_smithy_runtime_api::client::result::SdkError<
4709            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4710            R,
4711        >,
4712    > for Error
4713where
4714    R: Send + Sync + std::fmt::Debug + 'static,
4715{
4716    fn from(
4717        err: ::aws_smithy_runtime_api::client::result::SdkError<
4718            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4719            R,
4720        >,
4721    ) -> Self {
4722        match err {
4723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4726                source: err.into(),
4727            }),
4728        }
4729    }
4730}
4731impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
4732    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
4733        match err {
4734            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
4735                Error::Unhandled(inner)
4736            }
4737        }
4738    }
4739}
4740impl<R>
4741    From<
4742        ::aws_smithy_runtime_api::client::result::SdkError<
4743            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4744            R,
4745        >,
4746    > for Error
4747where
4748    R: Send + Sync + std::fmt::Debug + 'static,
4749{
4750    fn from(
4751        err: ::aws_smithy_runtime_api::client::result::SdkError<
4752            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4753            R,
4754        >,
4755    ) -> Self {
4756        match err {
4757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4760                source: err.into(),
4761            }),
4762        }
4763    }
4764}
4765impl From<crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
4766    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
4767        match err {
4768            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
4769                Error::Unhandled(inner)
4770            }
4771        }
4772    }
4773}
4774impl<R>
4775    From<
4776        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
4777    > for Error
4778where
4779    R: Send + Sync + std::fmt::Debug + 'static,
4780{
4781    fn from(
4782        err: ::aws_smithy_runtime_api::client::result::SdkError<
4783            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
4784            R,
4785        >,
4786    ) -> Self {
4787        match err {
4788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4791                source: err.into(),
4792            }),
4793        }
4794    }
4795}
4796impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
4797    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
4798        match err {
4799            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
4800        }
4801    }
4802}
4803impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
4804    for Error
4805where
4806    R: Send + Sync + std::fmt::Debug + 'static,
4807{
4808    fn from(
4809        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
4810    ) -> Self {
4811        match err {
4812            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4813            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4814                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4815                source: err.into(),
4816            }),
4817        }
4818    }
4819}
4820impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
4821    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
4822        match err {
4823            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
4824        }
4825    }
4826}
4827impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
4828where
4829    R: Send + Sync + std::fmt::Debug + 'static,
4830{
4831    fn from(
4832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
4833    ) -> Self {
4834        match err {
4835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4838                source: err.into(),
4839            }),
4840        }
4841    }
4842}
4843impl From<crate::operation::delete_network_interface::DeleteNetworkInterfaceError> for Error {
4844    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
4845        match err {
4846            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
4847        }
4848    }
4849}
4850impl<R>
4851    From<
4852        ::aws_smithy_runtime_api::client::result::SdkError<
4853            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4854            R,
4855        >,
4856    > for Error
4857where
4858    R: Send + Sync + std::fmt::Debug + 'static,
4859{
4860    fn from(
4861        err: ::aws_smithy_runtime_api::client::result::SdkError<
4862            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4863            R,
4864        >,
4865    ) -> Self {
4866        match err {
4867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4870                source: err.into(),
4871            }),
4872        }
4873    }
4874}
4875impl From<crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
4876    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
4877        match err {
4878            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
4879        }
4880    }
4881}
4882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>> for Error
4883where
4884    R: Send + Sync + std::fmt::Debug + 'static,
4885{
4886    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>) -> Self {
4887        match err {
4888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4891                source: err.into(),
4892            }),
4893        }
4894    }
4895}
4896impl From<crate::operation::delete_placement_group::DeletePlacementGroupError> for Error {
4897    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
4898        match err {
4899            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
4900        }
4901    }
4902}
4903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
4904where
4905    R: Send + Sync + std::fmt::Debug + 'static,
4906{
4907    fn from(
4908        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
4909    ) -> Self {
4910        match err {
4911            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4912            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4913                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4914                source: err.into(),
4915            }),
4916        }
4917    }
4918}
4919impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
4920    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
4921        match err {
4922            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
4923        }
4924    }
4925}
4926impl<R>
4927    From<
4928        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
4929    > for Error
4930where
4931    R: Send + Sync + std::fmt::Debug + 'static,
4932{
4933    fn from(
4934        err: ::aws_smithy_runtime_api::client::result::SdkError<
4935            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
4936            R,
4937        >,
4938    ) -> Self {
4939        match err {
4940            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4941            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4942                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4943                source: err.into(),
4944            }),
4945        }
4946    }
4947}
4948impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
4949    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
4950        match err {
4951            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
4952        }
4953    }
4954}
4955impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
4956where
4957    R: Send + Sync + std::fmt::Debug + 'static,
4958{
4959    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> Self {
4960        match err {
4961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4964                source: err.into(),
4965            }),
4966        }
4967    }
4968}
4969impl From<crate::operation::delete_route::DeleteRouteError> for Error {
4970    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
4971        match err {
4972            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
4973        }
4974    }
4975}
4976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>> for Error
4977where
4978    R: Send + Sync + std::fmt::Debug + 'static,
4979{
4980    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>) -> Self {
4981        match err {
4982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4983            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4984                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4985                source: err.into(),
4986            }),
4987        }
4988    }
4989}
4990impl From<crate::operation::delete_route_server::DeleteRouteServerError> for Error {
4991    fn from(err: crate::operation::delete_route_server::DeleteRouteServerError) -> Self {
4992        match err {
4993            crate::operation::delete_route_server::DeleteRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
4994        }
4995    }
4996}
4997impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>>
4998    for Error
4999where
5000    R: Send + Sync + std::fmt::Debug + 'static,
5001{
5002    fn from(
5003        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>,
5004    ) -> Self {
5005        match err {
5006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5009                source: err.into(),
5010            }),
5011        }
5012    }
5013}
5014impl From<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError> for Error {
5015    fn from(err: crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError) -> Self {
5016        match err {
5017            crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5018        }
5019    }
5020}
5021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>> for Error
5022where
5023    R: Send + Sync + std::fmt::Debug + 'static,
5024{
5025    fn from(
5026        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>,
5027    ) -> Self {
5028        match err {
5029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5032                source: err.into(),
5033            }),
5034        }
5035    }
5036}
5037impl From<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError> for Error {
5038    fn from(err: crate::operation::delete_route_server_peer::DeleteRouteServerPeerError) -> Self {
5039        match err {
5040            crate::operation::delete_route_server_peer::DeleteRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
5041        }
5042    }
5043}
5044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
5045where
5046    R: Send + Sync + std::fmt::Debug + 'static,
5047{
5048    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> Self {
5049        match err {
5050            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5051            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5052                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5053                source: err.into(),
5054            }),
5055        }
5056    }
5057}
5058impl From<crate::operation::delete_route_table::DeleteRouteTableError> for Error {
5059    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
5060        match err {
5061            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5062        }
5063    }
5064}
5065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
5066where
5067    R: Send + Sync + std::fmt::Debug + 'static,
5068{
5069    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
5070        match err {
5071            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5072            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5073                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5074                source: err.into(),
5075            }),
5076        }
5077    }
5078}
5079impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
5080    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
5081        match err {
5082            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
5083        }
5084    }
5085}
5086impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
5087where
5088    R: Send + Sync + std::fmt::Debug + 'static,
5089{
5090    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
5091        match err {
5092            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5093            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5094                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5095                source: err.into(),
5096            }),
5097        }
5098    }
5099}
5100impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
5101    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
5102        match err {
5103            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5104        }
5105    }
5106}
5107impl<R>
5108    From<
5109        ::aws_smithy_runtime_api::client::result::SdkError<
5110            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5111            R,
5112        >,
5113    > for Error
5114where
5115    R: Send + Sync + std::fmt::Debug + 'static,
5116{
5117    fn from(
5118        err: ::aws_smithy_runtime_api::client::result::SdkError<
5119            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5120            R,
5121        >,
5122    ) -> Self {
5123        match err {
5124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5127                source: err.into(),
5128            }),
5129        }
5130    }
5131}
5132impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
5133    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
5134        match err {
5135            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5136        }
5137    }
5138}
5139impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
5140where
5141    R: Send + Sync + std::fmt::Debug + 'static,
5142{
5143    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
5144        match err {
5145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5148                source: err.into(),
5149            }),
5150        }
5151    }
5152}
5153impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
5154    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
5155        match err {
5156            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
5157        }
5158    }
5159}
5160impl<R>
5161    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, R>>
5162    for Error
5163where
5164    R: Send + Sync + std::fmt::Debug + 'static,
5165{
5166    fn from(
5167        err: ::aws_smithy_runtime_api::client::result::SdkError<
5168            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
5169            R,
5170        >,
5171    ) -> Self {
5172        match err {
5173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5176                source: err.into(),
5177            }),
5178        }
5179    }
5180}
5181impl From<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
5182    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
5183        match err {
5184            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
5185        }
5186    }
5187}
5188impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
5189where
5190    R: Send + Sync + std::fmt::Debug + 'static,
5191{
5192    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
5193        match err {
5194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5197                source: err.into(),
5198            }),
5199        }
5200    }
5201}
5202impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
5203    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
5204        match err {
5205            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
5206        }
5207    }
5208}
5209impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
5210    for Error
5211where
5212    R: Send + Sync + std::fmt::Debug + 'static,
5213{
5214    fn from(
5215        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>,
5216    ) -> Self {
5217        match err {
5218            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5219            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5220                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5221                source: err.into(),
5222            }),
5223        }
5224    }
5225}
5226impl From<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
5227    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
5228        match err {
5229            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
5230        }
5231    }
5232}
5233impl<R>
5234    From<
5235        ::aws_smithy_runtime_api::client::result::SdkError<
5236            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5237            R,
5238        >,
5239    > for Error
5240where
5241    R: Send + Sync + std::fmt::Debug + 'static,
5242{
5243    fn from(
5244        err: ::aws_smithy_runtime_api::client::result::SdkError<
5245            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5246            R,
5247        >,
5248    ) -> Self {
5249        match err {
5250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5253                source: err.into(),
5254            }),
5255        }
5256    }
5257}
5258impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
5259    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
5260        match err {
5261            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
5262        }
5263    }
5264}
5265impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
5266    for Error
5267where
5268    R: Send + Sync + std::fmt::Debug + 'static,
5269{
5270    fn from(
5271        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
5272    ) -> 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_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
5283    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
5284        match err {
5285            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
5286        }
5287    }
5288}
5289impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
5290    for Error
5291where
5292    R: Send + Sync + std::fmt::Debug + 'static,
5293{
5294    fn from(
5295        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5296    ) -> Self {
5297        match err {
5298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5301                source: err.into(),
5302            }),
5303        }
5304    }
5305}
5306impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5307    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5308        match err {
5309            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5310        }
5311    }
5312}
5313impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5314where
5315    R: Send + Sync + std::fmt::Debug + 'static,
5316{
5317    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5318        match err {
5319            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5320            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5321                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5322                source: err.into(),
5323            }),
5324        }
5325    }
5326}
5327impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5328    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5329        match err {
5330            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5331        }
5332    }
5333}
5334impl<R>
5335    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5336    for Error
5337where
5338    R: Send + Sync + std::fmt::Debug + 'static,
5339{
5340    fn from(
5341        err: ::aws_smithy_runtime_api::client::result::SdkError<
5342            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5343            R,
5344        >,
5345    ) -> Self {
5346        match err {
5347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5350                source: err.into(),
5351            }),
5352        }
5353    }
5354}
5355impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5356    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5357        match err {
5358            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5359        }
5360    }
5361}
5362impl<R>
5363    From<
5364        ::aws_smithy_runtime_api::client::result::SdkError<
5365            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5366            R,
5367        >,
5368    > for Error
5369where
5370    R: Send + Sync + std::fmt::Debug + 'static,
5371{
5372    fn from(
5373        err: ::aws_smithy_runtime_api::client::result::SdkError<
5374            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5375            R,
5376        >,
5377    ) -> Self {
5378        match err {
5379            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5380            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5381                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5382                source: err.into(),
5383            }),
5384        }
5385    }
5386}
5387impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5388    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5389        match err {
5390            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
5391        }
5392    }
5393}
5394impl<R>
5395    From<
5396        ::aws_smithy_runtime_api::client::result::SdkError<
5397            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5398            R,
5399        >,
5400    > for Error
5401where
5402    R: Send + Sync + std::fmt::Debug + 'static,
5403{
5404    fn from(
5405        err: ::aws_smithy_runtime_api::client::result::SdkError<
5406            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5407            R,
5408        >,
5409    ) -> Self {
5410        match err {
5411            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5412            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5413                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5414                source: err.into(),
5415            }),
5416        }
5417    }
5418}
5419impl From<crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
5420    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
5421        match err {
5422            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
5423                Error::Unhandled(inner)
5424            }
5425        }
5426    }
5427}
5428impl<R>
5429    From<
5430        ::aws_smithy_runtime_api::client::result::SdkError<
5431            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5432            R,
5433        >,
5434    > for Error
5435where
5436    R: Send + Sync + std::fmt::Debug + 'static,
5437{
5438    fn from(
5439        err: ::aws_smithy_runtime_api::client::result::SdkError<
5440            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5441            R,
5442        >,
5443    ) -> Self {
5444        match err {
5445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5448                source: err.into(),
5449            }),
5450        }
5451    }
5452}
5453impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
5454    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
5455        match err {
5456            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
5457                Error::Unhandled(inner)
5458            }
5459        }
5460    }
5461}
5462impl<R>
5463    From<
5464        ::aws_smithy_runtime_api::client::result::SdkError<
5465            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5466            R,
5467        >,
5468    > for Error
5469where
5470    R: Send + Sync + std::fmt::Debug + 'static,
5471{
5472    fn from(
5473        err: ::aws_smithy_runtime_api::client::result::SdkError<
5474            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5475            R,
5476        >,
5477    ) -> Self {
5478        match err {
5479            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5480            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5481                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5482                source: err.into(),
5483            }),
5484        }
5485    }
5486}
5487impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
5488    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
5489        match err {
5490            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
5491        }
5492    }
5493}
5494impl<R>
5495    From<
5496        ::aws_smithy_runtime_api::client::result::SdkError<
5497            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5498            R,
5499        >,
5500    > for Error
5501where
5502    R: Send + Sync + std::fmt::Debug + 'static,
5503{
5504    fn from(
5505        err: ::aws_smithy_runtime_api::client::result::SdkError<
5506            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5507            R,
5508        >,
5509    ) -> Self {
5510        match err {
5511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5514                source: err.into(),
5515            }),
5516        }
5517    }
5518}
5519impl From<crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
5520    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
5521        match err {
5522            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
5523                Error::Unhandled(inner)
5524            }
5525        }
5526    }
5527}
5528impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
5529    for Error
5530where
5531    R: Send + Sync + std::fmt::Debug + 'static,
5532{
5533    fn from(
5534        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
5535    ) -> Self {
5536        match err {
5537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5540                source: err.into(),
5541            }),
5542        }
5543    }
5544}
5545impl From<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError> for Error {
5546    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
5547        match err {
5548            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
5549        }
5550    }
5551}
5552impl<R>
5553    From<
5554        ::aws_smithy_runtime_api::client::result::SdkError<
5555            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5556            R,
5557        >,
5558    > for Error
5559where
5560    R: Send + Sync + std::fmt::Debug + 'static,
5561{
5562    fn from(
5563        err: ::aws_smithy_runtime_api::client::result::SdkError<
5564            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5565            R,
5566        >,
5567    ) -> Self {
5568        match err {
5569            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5570            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5571                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5572                source: err.into(),
5573            }),
5574        }
5575    }
5576}
5577impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
5578    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
5579        match err {
5580            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5581        }
5582    }
5583}
5584impl<R>
5585    From<
5586        ::aws_smithy_runtime_api::client::result::SdkError<
5587            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5588            R,
5589        >,
5590    > for Error
5591where
5592    R: Send + Sync + std::fmt::Debug + 'static,
5593{
5594    fn from(
5595        err: ::aws_smithy_runtime_api::client::result::SdkError<
5596            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5597            R,
5598        >,
5599    ) -> Self {
5600        match err {
5601            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5602            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5603                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5604                source: err.into(),
5605            }),
5606        }
5607    }
5608}
5609impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
5610    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
5611        match err {
5612            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
5613                Error::Unhandled(inner)
5614            }
5615        }
5616    }
5617}
5618impl<R>
5619    From<
5620        ::aws_smithy_runtime_api::client::result::SdkError<
5621            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5622            R,
5623        >,
5624    > for Error
5625where
5626    R: Send + Sync + std::fmt::Debug + 'static,
5627{
5628    fn from(
5629        err: ::aws_smithy_runtime_api::client::result::SdkError<
5630            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5631            R,
5632        >,
5633    ) -> Self {
5634        match err {
5635            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5636            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5637                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5638                source: err.into(),
5639            }),
5640        }
5641    }
5642}
5643impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
5644    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
5645        match err {
5646            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
5647                Error::Unhandled(inner)
5648            }
5649        }
5650    }
5651}
5652impl<R>
5653    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
5654    for Error
5655where
5656    R: Send + Sync + std::fmt::Debug + 'static,
5657{
5658    fn from(
5659        err: ::aws_smithy_runtime_api::client::result::SdkError<
5660            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
5661            R,
5662        >,
5663    ) -> Self {
5664        match err {
5665            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5666            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5667                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5668                source: err.into(),
5669            }),
5670        }
5671    }
5672}
5673impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
5674    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
5675        match err {
5676            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5677        }
5678    }
5679}
5680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
5681    for Error
5682where
5683    R: Send + Sync + std::fmt::Debug + 'static,
5684{
5685    fn from(
5686        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
5687    ) -> Self {
5688        match err {
5689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5692                source: err.into(),
5693            }),
5694        }
5695    }
5696}
5697impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
5698    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
5699        match err {
5700            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
5701        }
5702    }
5703}
5704impl<R>
5705    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
5706    for Error
5707where
5708    R: Send + Sync + std::fmt::Debug + 'static,
5709{
5710    fn from(
5711        err: ::aws_smithy_runtime_api::client::result::SdkError<
5712            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
5713            R,
5714        >,
5715    ) -> Self {
5716        match err {
5717            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5718            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5719                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5720                source: err.into(),
5721            }),
5722        }
5723    }
5724}
5725impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
5726    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
5727        match err {
5728            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
5729        }
5730    }
5731}
5732impl<R>
5733    From<
5734        ::aws_smithy_runtime_api::client::result::SdkError<
5735            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5736            R,
5737        >,
5738    > for Error
5739where
5740    R: Send + Sync + std::fmt::Debug + 'static,
5741{
5742    fn from(
5743        err: ::aws_smithy_runtime_api::client::result::SdkError<
5744            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5745            R,
5746        >,
5747    ) -> Self {
5748        match err {
5749            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5750            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5751                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5752                source: err.into(),
5753            }),
5754        }
5755    }
5756}
5757impl From<crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
5758    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
5759        match err {
5760            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
5761                Error::Unhandled(inner)
5762            }
5763        }
5764    }
5765}
5766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
5767where
5768    R: Send + Sync + std::fmt::Debug + 'static,
5769{
5770    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> 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_volume::DeleteVolumeError> for Error {
5781    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
5782        match err {
5783            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
5784        }
5785    }
5786}
5787impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
5788where
5789    R: Send + Sync + std::fmt::Debug + 'static,
5790{
5791    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> Self {
5792        match err {
5793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5796                source: err.into(),
5797            }),
5798        }
5799    }
5800}
5801impl From<crate::operation::delete_vpc::DeleteVpcError> for Error {
5802    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
5803        match err {
5804            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
5805        }
5806    }
5807}
5808impl<R>
5809    From<
5810        ::aws_smithy_runtime_api::client::result::SdkError<
5811            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5812            R,
5813        >,
5814    > for Error
5815where
5816    R: Send + Sync + std::fmt::Debug + 'static,
5817{
5818    fn from(
5819        err: ::aws_smithy_runtime_api::client::result::SdkError<
5820            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5821            R,
5822        >,
5823    ) -> Self {
5824        match err {
5825            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5826            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5827                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5828                source: err.into(),
5829            }),
5830        }
5831    }
5832}
5833impl From<crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
5834    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
5835        match err {
5836            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
5837                Error::Unhandled(inner)
5838            }
5839        }
5840    }
5841}
5842impl<R>
5843    From<
5844        ::aws_smithy_runtime_api::client::result::SdkError<
5845            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5846            R,
5847        >,
5848    > for Error
5849where
5850    R: Send + Sync + std::fmt::Debug + 'static,
5851{
5852    fn from(
5853        err: ::aws_smithy_runtime_api::client::result::SdkError<
5854            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5855            R,
5856        >,
5857    ) -> Self {
5858        match err {
5859            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5860            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5861                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5862                source: err.into(),
5863            }),
5864        }
5865    }
5866}
5867impl From<crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
5868    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
5869        match err {
5870            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
5871                Error::Unhandled(inner)
5872            }
5873        }
5874    }
5875}
5876impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
5877where
5878    R: Send + Sync + std::fmt::Debug + 'static,
5879{
5880    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
5881        match err {
5882            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5883            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5884                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5885                source: err.into(),
5886            }),
5887        }
5888    }
5889}
5890impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
5891    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
5892        match err {
5893            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
5894        }
5895    }
5896}
5897impl<R>
5898    From<
5899        ::aws_smithy_runtime_api::client::result::SdkError<
5900            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
5901            R,
5902        >,
5903    > for Error
5904where
5905    R: Send + Sync + std::fmt::Debug + 'static,
5906{
5907    fn from(
5908        err: ::aws_smithy_runtime_api::client::result::SdkError<
5909            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
5910            R,
5911        >,
5912    ) -> Self {
5913        match err {
5914            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5915            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5916                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5917                source: err.into(),
5918            }),
5919        }
5920    }
5921}
5922impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
5923    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
5924        match err {
5925            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
5926                Error::Unhandled(inner)
5927            }
5928        }
5929    }
5930}
5931impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
5932    for Error
5933where
5934    R: Send + Sync + std::fmt::Debug + 'static,
5935{
5936    fn from(
5937        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
5938    ) -> Self {
5939        match err {
5940            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5941            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5942                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5943                source: err.into(),
5944            }),
5945        }
5946    }
5947}
5948impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
5949    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
5950        match err {
5951            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
5952        }
5953    }
5954}
5955impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>> for Error
5956where
5957    R: Send + Sync + std::fmt::Debug + 'static,
5958{
5959    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>) -> Self {
5960        match err {
5961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5964                source: err.into(),
5965            }),
5966        }
5967    }
5968}
5969impl From<crate::operation::delete_vpn_connection::DeleteVpnConnectionError> for Error {
5970    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
5971        match err {
5972            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
5973        }
5974    }
5975}
5976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
5977    for Error
5978where
5979    R: Send + Sync + std::fmt::Debug + 'static,
5980{
5981    fn from(
5982        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
5983    ) -> Self {
5984        match err {
5985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5988                source: err.into(),
5989            }),
5990        }
5991    }
5992}
5993impl From<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
5994    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
5995        match err {
5996            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
5997        }
5998    }
5999}
6000impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
6001where
6002    R: Send + Sync + std::fmt::Debug + 'static,
6003{
6004    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
6005        match err {
6006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6009                source: err.into(),
6010            }),
6011        }
6012    }
6013}
6014impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
6015    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
6016        match err {
6017            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
6018        }
6019    }
6020}
6021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
6022where
6023    R: Send + Sync + std::fmt::Debug + 'static,
6024{
6025    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
6026        match err {
6027            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6028            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6029                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6030                source: err.into(),
6031            }),
6032        }
6033    }
6034}
6035impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
6036    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
6037        match err {
6038            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
6039        }
6040    }
6041}
6042impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
6043where
6044    R: Send + Sync + std::fmt::Debug + 'static,
6045{
6046    fn from(
6047        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
6048    ) -> Self {
6049        match err {
6050            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6051            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6052                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6053                source: err.into(),
6054            }),
6055        }
6056    }
6057}
6058impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
6059    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
6060        match err {
6061            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
6062        }
6063    }
6064}
6065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
6066    for Error
6067where
6068    R: Send + Sync + std::fmt::Debug + 'static,
6069{
6070    fn from(
6071        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
6072    ) -> Self {
6073        match err {
6074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6077                source: err.into(),
6078            }),
6079        }
6080    }
6081}
6082impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
6083    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
6084        match err {
6085            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6086        }
6087    }
6088}
6089impl<R>
6090    From<
6091        ::aws_smithy_runtime_api::client::result::SdkError<
6092            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6093            R,
6094        >,
6095    > for Error
6096where
6097    R: Send + Sync + std::fmt::Debug + 'static,
6098{
6099    fn from(
6100        err: ::aws_smithy_runtime_api::client::result::SdkError<
6101            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6102            R,
6103        >,
6104    ) -> Self {
6105        match err {
6106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6109                source: err.into(),
6110            }),
6111        }
6112    }
6113}
6114impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
6115    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
6116        match err {
6117            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6118        }
6119    }
6120}
6121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
6122where
6123    R: Send + Sync + std::fmt::Debug + 'static,
6124{
6125    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
6126        match err {
6127            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6128            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6129                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6130                source: err.into(),
6131            }),
6132        }
6133    }
6134}
6135impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
6136    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
6137        match err {
6138            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
6139        }
6140    }
6141}
6142impl<R>
6143    From<
6144        ::aws_smithy_runtime_api::client::result::SdkError<
6145            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6146            R,
6147        >,
6148    > for Error
6149where
6150    R: Send + Sync + std::fmt::Debug + 'static,
6151{
6152    fn from(
6153        err: ::aws_smithy_runtime_api::client::result::SdkError<
6154            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6155            R,
6156        >,
6157    ) -> Self {
6158        match err {
6159            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6160            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6161                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6162                source: err.into(),
6163            }),
6164        }
6165    }
6166}
6167impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
6168    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
6169        match err {
6170            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
6171                inner,
6172            ) => Error::Unhandled(inner),
6173        }
6174    }
6175}
6176impl<R>
6177    From<
6178        ::aws_smithy_runtime_api::client::result::SdkError<
6179            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6180            R,
6181        >,
6182    > for Error
6183where
6184    R: Send + Sync + std::fmt::Debug + 'static,
6185{
6186    fn from(
6187        err: ::aws_smithy_runtime_api::client::result::SdkError<
6188            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6189            R,
6190        >,
6191    ) -> Self {
6192        match err {
6193            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6194            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6195                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6196                source: err.into(),
6197            }),
6198        }
6199    }
6200}
6201impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
6202    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
6203        match err {
6204            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
6205                inner,
6206            ) => Error::Unhandled(inner),
6207        }
6208    }
6209}
6210impl<R>
6211    From<
6212        ::aws_smithy_runtime_api::client::result::SdkError<
6213            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6214            R,
6215        >,
6216    > for Error
6217where
6218    R: Send + Sync + std::fmt::Debug + 'static,
6219{
6220    fn from(
6221        err: ::aws_smithy_runtime_api::client::result::SdkError<
6222            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6223            R,
6224        >,
6225    ) -> Self {
6226        match err {
6227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6230                source: err.into(),
6231            }),
6232        }
6233    }
6234}
6235impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
6236    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
6237        match err {
6238            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
6239                inner,
6240            ) => Error::Unhandled(inner),
6241        }
6242    }
6243}
6244impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
6245    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::describe_account_attributes::DescribeAccountAttributesError, 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::describe_account_attributes::DescribeAccountAttributesError> for Error {
6262    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
6263        match err {
6264            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
6265        }
6266    }
6267}
6268impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
6269where
6270    R: Send + Sync + std::fmt::Debug + 'static,
6271{
6272    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
6273        match err {
6274            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6275            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6276                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6277                source: err.into(),
6278            }),
6279        }
6280    }
6281}
6282impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
6283    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
6284        match err {
6285            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
6286        }
6287    }
6288}
6289impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
6290    for Error
6291where
6292    R: Send + Sync + std::fmt::Debug + 'static,
6293{
6294    fn from(
6295        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
6296    ) -> Self {
6297        match err {
6298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6301                source: err.into(),
6302            }),
6303        }
6304    }
6305}
6306impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
6307    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
6308        match err {
6309            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6310        }
6311    }
6312}
6313impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>>
6314    for Error
6315where
6316    R: Send + Sync + std::fmt::Debug + 'static,
6317{
6318    fn from(
6319        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
6320    ) -> Self {
6321        match err {
6322            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6323            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6324                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6325                source: err.into(),
6326            }),
6327        }
6328    }
6329}
6330impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
6331    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
6332        match err {
6333            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
6334        }
6335    }
6336}
6337impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
6338    for Error
6339where
6340    R: Send + Sync + std::fmt::Debug + 'static,
6341{
6342    fn from(
6343        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
6344    ) -> Self {
6345        match err {
6346            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6347            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6348                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6349                source: err.into(),
6350            }),
6351        }
6352    }
6353}
6354impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
6355    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
6356        match err {
6357            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
6358        }
6359    }
6360}
6361impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
6362    for Error
6363where
6364    R: Send + Sync + std::fmt::Debug + 'static,
6365{
6366    fn from(
6367        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
6368    ) -> Self {
6369        match err {
6370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6373                source: err.into(),
6374            }),
6375        }
6376    }
6377}
6378impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
6379    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
6380        match err {
6381            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
6382        }
6383    }
6384}
6385impl<R>
6386    From<
6387        ::aws_smithy_runtime_api::client::result::SdkError<
6388            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6389            R,
6390        >,
6391    > for Error
6392where
6393    R: Send + Sync + std::fmt::Debug + 'static,
6394{
6395    fn from(
6396        err: ::aws_smithy_runtime_api::client::result::SdkError<
6397            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6398            R,
6399        >,
6400    ) -> Self {
6401        match err {
6402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6405                source: err.into(),
6406            }),
6407        }
6408    }
6409}
6410impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
6411    fn from(
6412        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6413    ) -> Self {
6414        match err {
6415            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
6416        }
6417    }
6418}
6419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
6420where
6421    R: Send + Sync + std::fmt::Debug + 'static,
6422{
6423    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> Self {
6424        match err {
6425            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6426            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6427                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6428                source: err.into(),
6429            }),
6430        }
6431    }
6432}
6433impl From<crate::operation::describe_bundle_tasks::DescribeBundleTasksError> for Error {
6434    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
6435        match err {
6436            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
6437        }
6438    }
6439}
6440impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>> for Error
6441where
6442    R: Send + Sync + std::fmt::Debug + 'static,
6443{
6444    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>) -> Self {
6445        match err {
6446            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6447            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6448                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6449                source: err.into(),
6450            }),
6451        }
6452    }
6453}
6454impl From<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError> for Error {
6455    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
6456        match err {
6457            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
6458        }
6459    }
6460}
6461impl<R>
6462    From<
6463        ::aws_smithy_runtime_api::client::result::SdkError<
6464            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6465            R,
6466        >,
6467    > for Error
6468where
6469    R: Send + Sync + std::fmt::Debug + 'static,
6470{
6471    fn from(
6472        err: ::aws_smithy_runtime_api::client::result::SdkError<
6473            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6474            R,
6475        >,
6476    ) -> Self {
6477        match err {
6478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6481                source: err.into(),
6482            }),
6483        }
6484    }
6485}
6486impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
6487    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
6488        match err {
6489            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
6490                Error::Unhandled(inner)
6491            }
6492        }
6493    }
6494}
6495impl<R>
6496    From<
6497        ::aws_smithy_runtime_api::client::result::SdkError<
6498            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6499            R,
6500        >,
6501    > for Error
6502where
6503    R: Send + Sync + std::fmt::Debug + 'static,
6504{
6505    fn from(
6506        err: ::aws_smithy_runtime_api::client::result::SdkError<
6507            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6508            R,
6509        >,
6510    ) -> Self {
6511        match err {
6512            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6513            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6514                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6515                source: err.into(),
6516            }),
6517        }
6518    }
6519}
6520impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
6521    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
6522        match err {
6523            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
6524                Error::Unhandled(inner)
6525            }
6526        }
6527    }
6528}
6529impl<R>
6530    From<
6531        ::aws_smithy_runtime_api::client::result::SdkError<
6532            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6533            R,
6534        >,
6535    > for Error
6536where
6537    R: Send + Sync + std::fmt::Debug + 'static,
6538{
6539    fn from(
6540        err: ::aws_smithy_runtime_api::client::result::SdkError<
6541            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6542            R,
6543        >,
6544    ) -> Self {
6545        match err {
6546            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6547            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6548                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6549                source: err.into(),
6550            }),
6551        }
6552    }
6553}
6554impl From<crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
6555    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
6556        match err {
6557            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
6558        }
6559    }
6560}
6561impl<R>
6562    From<
6563        ::aws_smithy_runtime_api::client::result::SdkError<
6564            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6565            R,
6566        >,
6567    > for Error
6568where
6569    R: Send + Sync + std::fmt::Debug + 'static,
6570{
6571    fn from(
6572        err: ::aws_smithy_runtime_api::client::result::SdkError<
6573            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6574            R,
6575        >,
6576    ) -> Self {
6577        match err {
6578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6581                source: err.into(),
6582            }),
6583        }
6584    }
6585}
6586impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
6587    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
6588        match err {
6589            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
6590                Error::Unhandled(inner)
6591            }
6592        }
6593    }
6594}
6595impl<R>
6596    From<
6597        ::aws_smithy_runtime_api::client::result::SdkError<
6598            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6599            R,
6600        >,
6601    > for Error
6602where
6603    R: Send + Sync + std::fmt::Debug + 'static,
6604{
6605    fn from(
6606        err: ::aws_smithy_runtime_api::client::result::SdkError<
6607            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6608            R,
6609        >,
6610    ) -> Self {
6611        match err {
6612            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6613            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6614                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6615                source: err.into(),
6616            }),
6617        }
6618    }
6619}
6620impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
6621    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
6622        match err {
6623            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
6624                Error::Unhandled(inner)
6625            }
6626        }
6627    }
6628}
6629impl<R>
6630    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, R>>
6631    for Error
6632where
6633    R: Send + Sync + std::fmt::Debug + 'static,
6634{
6635    fn from(
6636        err: ::aws_smithy_runtime_api::client::result::SdkError<
6637            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
6638            R,
6639        >,
6640    ) -> Self {
6641        match err {
6642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6645                source: err.into(),
6646            }),
6647        }
6648    }
6649}
6650impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
6651    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
6652        match err {
6653            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
6654        }
6655    }
6656}
6657impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
6658    for Error
6659where
6660    R: Send + Sync + std::fmt::Debug + 'static,
6661{
6662    fn from(
6663        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
6664    ) -> Self {
6665        match err {
6666            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6667            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6668                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6669                source: err.into(),
6670            }),
6671        }
6672    }
6673}
6674impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
6675    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
6676        match err {
6677            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
6678        }
6679    }
6680}
6681impl<R>
6682    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
6683    for Error
6684where
6685    R: Send + Sync + std::fmt::Debug + 'static,
6686{
6687    fn from(
6688        err: ::aws_smithy_runtime_api::client::result::SdkError<
6689            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError,
6690            R,
6691        >,
6692    ) -> Self {
6693        match err {
6694            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6695            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6696                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6697                source: err.into(),
6698            }),
6699        }
6700    }
6701}
6702impl From<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
6703    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
6704        match err {
6705            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6706        }
6707    }
6708}
6709impl<R>
6710    From<
6711        ::aws_smithy_runtime_api::client::result::SdkError<
6712            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6713            R,
6714        >,
6715    > for Error
6716where
6717    R: Send + Sync + std::fmt::Debug + 'static,
6718{
6719    fn from(
6720        err: ::aws_smithy_runtime_api::client::result::SdkError<
6721            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6722            R,
6723        >,
6724    ) -> Self {
6725        match err {
6726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6729                source: err.into(),
6730            }),
6731        }
6732    }
6733}
6734impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
6735    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
6736        match err {
6737            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
6738                Error::Unhandled(inner)
6739            }
6740        }
6741    }
6742}
6743impl<R>
6744    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
6745    for Error
6746where
6747    R: Send + Sync + std::fmt::Debug + 'static,
6748{
6749    fn from(
6750        err: ::aws_smithy_runtime_api::client::result::SdkError<
6751            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError,
6752            R,
6753        >,
6754    ) -> Self {
6755        match err {
6756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6759                source: err.into(),
6760            }),
6761        }
6762    }
6763}
6764impl From<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
6765    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
6766        match err {
6767            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
6768        }
6769    }
6770}
6771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
6772    for Error
6773where
6774    R: Send + Sync + std::fmt::Debug + 'static,
6775{
6776    fn from(
6777        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
6778    ) -> Self {
6779        match err {
6780            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6781            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6782                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6783                source: err.into(),
6784            }),
6785        }
6786    }
6787}
6788impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
6789    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
6790        match err {
6791            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6792        }
6793    }
6794}
6795impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
6796    for Error
6797where
6798    R: Send + Sync + std::fmt::Debug + 'static,
6799{
6800    fn from(
6801        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
6802    ) -> Self {
6803        match err {
6804            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6805            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6806                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6807                source: err.into(),
6808            }),
6809        }
6810    }
6811}
6812impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
6813    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
6814        match err {
6815            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
6816        }
6817    }
6818}
6819impl<R>
6820    From<
6821        ::aws_smithy_runtime_api::client::result::SdkError<
6822            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
6823            R,
6824        >,
6825    > for Error
6826where
6827    R: Send + Sync + std::fmt::Debug + 'static,
6828{
6829    fn from(
6830        err: ::aws_smithy_runtime_api::client::result::SdkError<
6831            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
6832            R,
6833        >,
6834    ) -> Self {
6835        match err {
6836            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6837            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6838                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6839                source: err.into(),
6840            }),
6841        }
6842    }
6843}
6844impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
6845    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
6846        match err {
6847            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
6848        }
6849    }
6850}
6851impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
6852where
6853    R: Send + Sync + std::fmt::Debug + 'static,
6854{
6855    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> Self {
6856        match err {
6857            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6858            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6859                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6860                source: err.into(),
6861            }),
6862        }
6863    }
6864}
6865impl From<crate::operation::describe_coip_pools::DescribeCoipPoolsError> for Error {
6866    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
6867        match err {
6868            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
6869        }
6870    }
6871}
6872impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
6873    for Error
6874where
6875    R: Send + Sync + std::fmt::Debug + 'static,
6876{
6877    fn from(
6878        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
6879    ) -> Self {
6880        match err {
6881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6884                source: err.into(),
6885            }),
6886        }
6887    }
6888}
6889impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
6890    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
6891        match err {
6892            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
6893        }
6894    }
6895}
6896impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
6897    for Error
6898where
6899    R: Send + Sync + std::fmt::Debug + 'static,
6900{
6901    fn from(
6902        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
6903    ) -> Self {
6904        match err {
6905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6908                source: err.into(),
6909            }),
6910        }
6911    }
6912}
6913impl From<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError> for Error {
6914    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
6915        match err {
6916            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
6917        }
6918    }
6919}
6920impl<R>
6921    From<
6922        ::aws_smithy_runtime_api::client::result::SdkError<
6923            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
6924            R,
6925        >,
6926    > for Error
6927where
6928    R: Send + Sync + std::fmt::Debug + 'static,
6929{
6930    fn from(
6931        err: ::aws_smithy_runtime_api::client::result::SdkError<
6932            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
6933            R,
6934        >,
6935    ) -> Self {
6936        match err {
6937            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6938            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6939                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6940                source: err.into(),
6941            }),
6942        }
6943    }
6944}
6945impl From<crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
6946    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
6947        match err {
6948            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
6949                Error::Unhandled(inner)
6950            }
6951        }
6952    }
6953}
6954impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
6955where
6956    R: Send + Sync + std::fmt::Debug + 'static,
6957{
6958    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> Self {
6959        match err {
6960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6963                source: err.into(),
6964            }),
6965        }
6966    }
6967}
6968impl From<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError> for Error {
6969    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
6970        match err {
6971            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
6972        }
6973    }
6974}
6975impl<R>
6976    From<
6977        ::aws_smithy_runtime_api::client::result::SdkError<
6978            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
6979            R,
6980        >,
6981    > for Error
6982where
6983    R: Send + Sync + std::fmt::Debug + 'static,
6984{
6985    fn from(
6986        err: ::aws_smithy_runtime_api::client::result::SdkError<
6987            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
6988            R,
6989        >,
6990    ) -> Self {
6991        match err {
6992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6995                source: err.into(),
6996            }),
6997        }
6998    }
6999}
7000impl From<crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
7001    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
7002        match err {
7003            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
7004                Error::Unhandled(inner)
7005            }
7006        }
7007    }
7008}
7009impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
7010where
7011    R: Send + Sync + std::fmt::Debug + 'static,
7012{
7013    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
7014        match err {
7015            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7016            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7017                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7018                source: err.into(),
7019            }),
7020        }
7021    }
7022}
7023impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
7024    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
7025        match err {
7026            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
7027        }
7028    }
7029}
7030impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
7031    for Error
7032where
7033    R: Send + Sync + std::fmt::Debug + 'static,
7034{
7035    fn from(
7036        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
7037    ) -> Self {
7038        match err {
7039            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7040            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7041                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7042                source: err.into(),
7043            }),
7044        }
7045    }
7046}
7047impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
7048    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
7049        match err {
7050            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7051        }
7052    }
7053}
7054impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
7055where
7056    R: Send + Sync + std::fmt::Debug + 'static,
7057{
7058    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
7059        match err {
7060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7063                source: err.into(),
7064            }),
7065        }
7066    }
7067}
7068impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
7069    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
7070        match err {
7071            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
7072        }
7073    }
7074}
7075impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
7076    for Error
7077where
7078    R: Send + Sync + std::fmt::Debug + 'static,
7079{
7080    fn from(
7081        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
7082    ) -> Self {
7083        match err {
7084            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7085            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7086                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7087                source: err.into(),
7088            }),
7089        }
7090    }
7091}
7092impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
7093    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
7094        match err {
7095            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
7096        }
7097    }
7098}
7099impl<R>
7100    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
7101    for Error
7102where
7103    R: Send + Sync + std::fmt::Debug + 'static,
7104{
7105    fn from(
7106        err: ::aws_smithy_runtime_api::client::result::SdkError<
7107            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
7108            R,
7109        >,
7110    ) -> Self {
7111        match err {
7112            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7113            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7114                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7115                source: err.into(),
7116            }),
7117        }
7118    }
7119}
7120impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
7121    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
7122        match err {
7123            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
7124        }
7125    }
7126}
7127impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
7128where
7129    R: Send + Sync + std::fmt::Debug + 'static,
7130{
7131    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
7132        match err {
7133            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7134            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7135                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7136                source: err.into(),
7137            }),
7138        }
7139    }
7140}
7141impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
7142    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
7143        match err {
7144            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
7145        }
7146    }
7147}
7148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> for Error
7149where
7150    R: Send + Sync + std::fmt::Debug + 'static,
7151{
7152    fn from(
7153        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>,
7154    ) -> Self {
7155        match err {
7156            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7157            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7158                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7159                source: err.into(),
7160            }),
7161        }
7162    }
7163}
7164impl From<crate::operation::describe_fleet_instances::DescribeFleetInstancesError> for Error {
7165    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
7166        match err {
7167            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7168        }
7169    }
7170}
7171impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
7172where
7173    R: Send + Sync + std::fmt::Debug + 'static,
7174{
7175    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
7176        match err {
7177            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7178            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7179                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7180                source: err.into(),
7181            }),
7182        }
7183    }
7184}
7185impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
7186    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
7187        match err {
7188            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
7189        }
7190    }
7191}
7192impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
7193where
7194    R: Send + Sync + std::fmt::Debug + 'static,
7195{
7196    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> Self {
7197        match err {
7198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7201                source: err.into(),
7202            }),
7203        }
7204    }
7205}
7206impl From<crate::operation::describe_flow_logs::DescribeFlowLogsError> for Error {
7207    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
7208        match err {
7209            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
7210        }
7211    }
7212}
7213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
7214    for Error
7215where
7216    R: Send + Sync + std::fmt::Debug + 'static,
7217{
7218    fn from(
7219        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
7220    ) -> Self {
7221        match err {
7222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7225                source: err.into(),
7226            }),
7227        }
7228    }
7229}
7230impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
7231    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
7232        match err {
7233            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7234        }
7235    }
7236}
7237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
7238where
7239    R: Send + Sync + std::fmt::Debug + 'static,
7240{
7241    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
7242        match err {
7243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7246                source: err.into(),
7247            }),
7248        }
7249    }
7250}
7251impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
7252    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
7253        match err {
7254            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
7255        }
7256    }
7257}
7258impl<R>
7259    From<
7260        ::aws_smithy_runtime_api::client::result::SdkError<
7261            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7262            R,
7263        >,
7264    > for Error
7265where
7266    R: Send + Sync + std::fmt::Debug + 'static,
7267{
7268    fn from(
7269        err: ::aws_smithy_runtime_api::client::result::SdkError<
7270            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7271            R,
7272        >,
7273    ) -> Self {
7274        match err {
7275            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7276            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7277                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7278                source: err.into(),
7279            }),
7280        }
7281    }
7282}
7283impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
7284    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
7285        match err {
7286            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7287        }
7288    }
7289}
7290impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
7291    for Error
7292where
7293    R: Send + Sync + std::fmt::Debug + 'static,
7294{
7295    fn from(
7296        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
7297    ) -> Self {
7298        match err {
7299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7302                source: err.into(),
7303            }),
7304        }
7305    }
7306}
7307impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
7308    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
7309        match err {
7310            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7311        }
7312    }
7313}
7314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
7315where
7316    R: Send + Sync + std::fmt::Debug + 'static,
7317{
7318    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
7319        match err {
7320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7323                source: err.into(),
7324            }),
7325        }
7326    }
7327}
7328impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
7329    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
7330        match err {
7331            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
7332        }
7333    }
7334}
7335impl<R>
7336    From<
7337        ::aws_smithy_runtime_api::client::result::SdkError<
7338            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7339            R,
7340        >,
7341    > for Error
7342where
7343    R: Send + Sync + std::fmt::Debug + 'static,
7344{
7345    fn from(
7346        err: ::aws_smithy_runtime_api::client::result::SdkError<
7347            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7348            R,
7349        >,
7350    ) -> Self {
7351        match err {
7352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7355                source: err.into(),
7356            }),
7357        }
7358    }
7359}
7360impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
7361    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
7362        match err {
7363            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
7364                Error::Unhandled(inner)
7365            }
7366        }
7367    }
7368}
7369impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
7370    for Error
7371where
7372    R: Send + Sync + std::fmt::Debug + 'static,
7373{
7374    fn from(
7375        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
7376    ) -> Self {
7377        match err {
7378            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7379            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7380                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7381                source: err.into(),
7382            }),
7383        }
7384    }
7385}
7386impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
7387    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
7388        match err {
7389            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7390        }
7391    }
7392}
7393impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
7394where
7395    R: Send + Sync + std::fmt::Debug + 'static,
7396{
7397    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
7398        match err {
7399            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7400            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7401                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7402                source: err.into(),
7403            }),
7404        }
7405    }
7406}
7407impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
7408    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
7409        match err {
7410            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7411        }
7412    }
7413}
7414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
7415where
7416    R: Send + Sync + std::fmt::Debug + 'static,
7417{
7418    fn from(
7419        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
7420    ) -> Self {
7421        match err {
7422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7425                source: err.into(),
7426            }),
7427        }
7428    }
7429}
7430impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
7431    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
7432        match err {
7433            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7434        }
7435    }
7436}
7437impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
7438where
7439    R: Send + Sync + std::fmt::Debug + 'static,
7440{
7441    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
7442        match err {
7443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7446                source: err.into(),
7447            }),
7448        }
7449    }
7450}
7451impl From<crate::operation::describe_images::DescribeImagesError> for Error {
7452    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
7453        match err {
7454            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
7455        }
7456    }
7457}
7458impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
7459    for Error
7460where
7461    R: Send + Sync + std::fmt::Debug + 'static,
7462{
7463    fn from(
7464        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
7465    ) -> Self {
7466        match err {
7467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7470                source: err.into(),
7471            }),
7472        }
7473    }
7474}
7475impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
7476    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
7477        match err {
7478            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7479        }
7480    }
7481}
7482impl<R>
7483    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
7484    for Error
7485where
7486    R: Send + Sync + std::fmt::Debug + 'static,
7487{
7488    fn from(
7489        err: ::aws_smithy_runtime_api::client::result::SdkError<
7490            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
7491            R,
7492        >,
7493    ) -> Self {
7494        match err {
7495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7498                source: err.into(),
7499            }),
7500        }
7501    }
7502}
7503impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
7504    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
7505        match err {
7506            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
7507        }
7508    }
7509}
7510impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
7511    for Error
7512where
7513    R: Send + Sync + std::fmt::Debug + 'static,
7514{
7515    fn from(
7516        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
7517    ) -> Self {
7518        match err {
7519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7522                source: err.into(),
7523            }),
7524        }
7525    }
7526}
7527impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
7528    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
7529        match err {
7530            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7531        }
7532    }
7533}
7534impl<R>
7535    From<
7536        ::aws_smithy_runtime_api::client::result::SdkError<
7537            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7538            R,
7539        >,
7540    > for Error
7541where
7542    R: Send + Sync + std::fmt::Debug + 'static,
7543{
7544    fn from(
7545        err: ::aws_smithy_runtime_api::client::result::SdkError<
7546            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7547            R,
7548        >,
7549    ) -> Self {
7550        match err {
7551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7554                source: err.into(),
7555            }),
7556        }
7557    }
7558}
7559impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
7560    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
7561        match err {
7562            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7563        }
7564    }
7565}
7566impl<R>
7567    From<
7568        ::aws_smithy_runtime_api::client::result::SdkError<
7569            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7570            R,
7571        >,
7572    > for Error
7573where
7574    R: Send + Sync + std::fmt::Debug + 'static,
7575{
7576    fn from(
7577        err: ::aws_smithy_runtime_api::client::result::SdkError<
7578            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7579            R,
7580        >,
7581    ) -> Self {
7582        match err {
7583            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7584            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7585                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7586                source: err.into(),
7587            }),
7588        }
7589    }
7590}
7591impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
7592    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
7593        match err {
7594            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
7595                Error::Unhandled(inner)
7596            }
7597        }
7598    }
7599}
7600impl<R>
7601    From<
7602        ::aws_smithy_runtime_api::client::result::SdkError<
7603            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7604            R,
7605        >,
7606    > for Error
7607where
7608    R: Send + Sync + std::fmt::Debug + 'static,
7609{
7610    fn from(
7611        err: ::aws_smithy_runtime_api::client::result::SdkError<
7612            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7613            R,
7614        >,
7615    ) -> Self {
7616        match err {
7617            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7618            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7619                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7620                source: err.into(),
7621            }),
7622        }
7623    }
7624}
7625impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
7626    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
7627        match err {
7628            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
7629                Error::Unhandled(inner)
7630            }
7631        }
7632    }
7633}
7634impl<R>
7635    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
7636    for Error
7637where
7638    R: Send + Sync + std::fmt::Debug + 'static,
7639{
7640    fn from(
7641        err: ::aws_smithy_runtime_api::client::result::SdkError<
7642            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
7643            R,
7644        >,
7645    ) -> Self {
7646        match err {
7647            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7648            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7649                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7650                source: err.into(),
7651            }),
7652        }
7653    }
7654}
7655impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
7656    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
7657        match err {
7658            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
7659        }
7660    }
7661}
7662impl<R>
7663    From<
7664        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
7665    > for Error
7666where
7667    R: Send + Sync + std::fmt::Debug + 'static,
7668{
7669    fn from(
7670        err: ::aws_smithy_runtime_api::client::result::SdkError<
7671            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
7672            R,
7673        >,
7674    ) -> Self {
7675        match err {
7676            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7677            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7678                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7679                source: err.into(),
7680            }),
7681        }
7682    }
7683}
7684impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
7685    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
7686        match err {
7687            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
7688        }
7689    }
7690}
7691impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
7692where
7693    R: Send + Sync + std::fmt::Debug + 'static,
7694{
7695    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> Self {
7696        match err {
7697            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7698            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7699                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7700                source: err.into(),
7701            }),
7702        }
7703    }
7704}
7705impl From<crate::operation::describe_instances::DescribeInstancesError> for Error {
7706    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
7707        match err {
7708            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7709        }
7710    }
7711}
7712impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
7713where
7714    R: Send + Sync + std::fmt::Debug + 'static,
7715{
7716    fn from(
7717        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
7718    ) -> Self {
7719        match err {
7720            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7721            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7722                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7723                source: err.into(),
7724            }),
7725        }
7726    }
7727}
7728impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
7729    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
7730        match err {
7731            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
7732        }
7733    }
7734}
7735impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
7736    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_instance_topology::DescribeInstanceTopologyError, 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_instance_topology::DescribeInstanceTopologyError> for Error {
7753    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
7754        match err {
7755            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
7756        }
7757    }
7758}
7759impl<R>
7760    From<
7761        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
7762    > for Error
7763where
7764    R: Send + Sync + std::fmt::Debug + 'static,
7765{
7766    fn from(
7767        err: ::aws_smithy_runtime_api::client::result::SdkError<
7768            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
7769            R,
7770        >,
7771    ) -> Self {
7772        match err {
7773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7776                source: err.into(),
7777            }),
7778        }
7779    }
7780}
7781impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
7782    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
7783        match err {
7784            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7785        }
7786    }
7787}
7788impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
7789where
7790    R: Send + Sync + std::fmt::Debug + 'static,
7791{
7792    fn from(
7793        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
7794    ) -> Self {
7795        match err {
7796            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7797            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7798                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7799                source: err.into(),
7800            }),
7801        }
7802    }
7803}
7804impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
7805    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
7806        match err {
7807            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
7808        }
7809    }
7810}
7811impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
7812    for Error
7813where
7814    R: Send + Sync + std::fmt::Debug + 'static,
7815{
7816    fn from(
7817        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
7818    ) -> Self {
7819        match err {
7820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7823                source: err.into(),
7824            }),
7825        }
7826    }
7827}
7828impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
7829    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
7830        match err {
7831            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7832        }
7833    }
7834}
7835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
7836where
7837    R: Send + Sync + std::fmt::Debug + 'static,
7838{
7839    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
7840        match err {
7841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7844                source: err.into(),
7845            }),
7846        }
7847    }
7848}
7849impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
7850    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
7851        match err {
7852            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
7853        }
7854    }
7855}
7856impl<R>
7857    From<
7858        ::aws_smithy_runtime_api::client::result::SdkError<
7859            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
7860            R,
7861        >,
7862    > for Error
7863where
7864    R: Send + Sync + std::fmt::Debug + 'static,
7865{
7866    fn from(
7867        err: ::aws_smithy_runtime_api::client::result::SdkError<
7868            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
7869            R,
7870        >,
7871    ) -> Self {
7872        match err {
7873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7876                source: err.into(),
7877            }),
7878        }
7879    }
7880}
7881impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
7882    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
7883        match err {
7884            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
7885                inner,
7886            ) => Error::Unhandled(inner),
7887        }
7888    }
7889}
7890impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
7891where
7892    R: Send + Sync + std::fmt::Debug + 'static,
7893{
7894    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
7895        match err {
7896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7899                source: err.into(),
7900            }),
7901        }
7902    }
7903}
7904impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
7905    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
7906        match err {
7907            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
7908        }
7909    }
7910}
7911impl<R>
7912    From<
7913        ::aws_smithy_runtime_api::client::result::SdkError<
7914            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
7915            R,
7916        >,
7917    > for Error
7918where
7919    R: Send + Sync + std::fmt::Debug + 'static,
7920{
7921    fn from(
7922        err: ::aws_smithy_runtime_api::client::result::SdkError<
7923            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
7924            R,
7925        >,
7926    ) -> Self {
7927        match err {
7928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7931                source: err.into(),
7932            }),
7933        }
7934    }
7935}
7936impl From<crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
7937    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
7938        match err {
7939            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
7940        }
7941    }
7942}
7943impl<R>
7944    From<
7945        ::aws_smithy_runtime_api::client::result::SdkError<
7946            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
7947            R,
7948        >,
7949    > for Error
7950where
7951    R: Send + Sync + std::fmt::Debug + 'static,
7952{
7953    fn from(
7954        err: ::aws_smithy_runtime_api::client::result::SdkError<
7955            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
7956            R,
7957        >,
7958    ) -> Self {
7959        match err {
7960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7963                source: err.into(),
7964            }),
7965        }
7966    }
7967}
7968impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
7969    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
7970        match err {
7971            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
7972                Error::Unhandled(inner)
7973            }
7974        }
7975    }
7976}
7977impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
7978where
7979    R: Send + Sync + std::fmt::Debug + 'static,
7980{
7981    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
7982        match err {
7983            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7984            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7985                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7986                source: err.into(),
7987            }),
7988        }
7989    }
7990}
7991impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
7992    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
7993        match err {
7994            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
7995        }
7996    }
7997}
7998impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
7999where
8000    R: Send + Sync + std::fmt::Debug + 'static,
8001{
8002    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
8003        match err {
8004            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8005            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8006                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8007                source: err.into(),
8008            }),
8009        }
8010    }
8011}
8012impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
8013    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
8014        match err {
8015            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
8016        }
8017    }
8018}
8019impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
8020where
8021    R: Send + Sync + std::fmt::Debug + 'static,
8022{
8023    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
8024        match err {
8025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8028                source: err.into(),
8029            }),
8030        }
8031    }
8032}
8033impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
8034    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
8035        match err {
8036            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8037        }
8038    }
8039}
8040impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
8041where
8042    R: Send + Sync + std::fmt::Debug + 'static,
8043{
8044    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> Self {
8045        match err {
8046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8049                source: err.into(),
8050            }),
8051        }
8052    }
8053}
8054impl From<crate::operation::describe_key_pairs::DescribeKeyPairsError> for Error {
8055    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
8056        match err {
8057            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
8058        }
8059    }
8060}
8061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
8062    for Error
8063where
8064    R: Send + Sync + std::fmt::Debug + 'static,
8065{
8066    fn from(
8067        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>,
8068    ) -> Self {
8069        match err {
8070            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8071            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8072                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8073                source: err.into(),
8074            }),
8075        }
8076    }
8077}
8078impl From<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError> for Error {
8079    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
8080        match err {
8081            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
8082        }
8083    }
8084}
8085impl<R>
8086    From<
8087        ::aws_smithy_runtime_api::client::result::SdkError<
8088            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8089            R,
8090        >,
8091    > for Error
8092where
8093    R: Send + Sync + std::fmt::Debug + 'static,
8094{
8095    fn from(
8096        err: ::aws_smithy_runtime_api::client::result::SdkError<
8097            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8098            R,
8099        >,
8100    ) -> Self {
8101        match err {
8102            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8103            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8104                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8105                source: err.into(),
8106            }),
8107        }
8108    }
8109}
8110impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
8111    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
8112        match err {
8113            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
8114        }
8115    }
8116}
8117impl<R>
8118    From<
8119        ::aws_smithy_runtime_api::client::result::SdkError<
8120            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8121            R,
8122        >,
8123    > for Error
8124where
8125    R: Send + Sync + std::fmt::Debug + 'static,
8126{
8127    fn from(
8128        err: ::aws_smithy_runtime_api::client::result::SdkError<
8129            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8130            R,
8131        >,
8132    ) -> Self {
8133        match err {
8134            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8135            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8136                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8137                source: err.into(),
8138            }),
8139        }
8140    }
8141}
8142impl From<crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
8143    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
8144        match err {
8145            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
8146        }
8147    }
8148}
8149impl<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 {
8150    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
8151        match err {
8152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8153            _ => Error::Unhandled(
8154                                        crate::error::sealed_unhandled::Unhandled {
8155                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8156                                            source: err.into(),
8157                                        }
8158                                    ),
8159        }
8160    }
8161}
8162impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
8163    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
8164        match err {
8165            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
8166        }
8167    }
8168}
8169impl<R>
8170    From<
8171        ::aws_smithy_runtime_api::client::result::SdkError<
8172            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8173            R,
8174        >,
8175    > for Error
8176where
8177    R: Send + Sync + std::fmt::Debug + 'static,
8178{
8179    fn from(
8180        err: ::aws_smithy_runtime_api::client::result::SdkError<
8181            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8182            R,
8183        >,
8184    ) -> Self {
8185        match err {
8186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8189                source: err.into(),
8190            }),
8191        }
8192    }
8193}
8194impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
8195    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
8196        match err {
8197            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
8198                inner,
8199            ) => Error::Unhandled(inner),
8200        }
8201    }
8202}
8203impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
8204where
8205    R: Send + Sync + std::fmt::Debug + 'static,
8206{
8207    fn from(
8208        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
8209    ) -> Self {
8210        match err {
8211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8214                source: err.into(),
8215            }),
8216        }
8217    }
8218}
8219impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
8220    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
8221        match err {
8222            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8223        }
8224    }
8225}
8226impl<R>
8227    From<
8228        ::aws_smithy_runtime_api::client::result::SdkError<
8229            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8230            R,
8231        >,
8232    > for Error
8233where
8234    R: Send + Sync + std::fmt::Debug + 'static,
8235{
8236    fn from(
8237        err: ::aws_smithy_runtime_api::client::result::SdkError<
8238            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8239            R,
8240        >,
8241    ) -> 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_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
8252    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
8253        match err {
8254            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
8255                Error::Unhandled(inner)
8256            }
8257        }
8258    }
8259}
8260impl<R>
8261    From<
8262        ::aws_smithy_runtime_api::client::result::SdkError<
8263            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8264            R,
8265        >,
8266    > for Error
8267where
8268    R: Send + Sync + std::fmt::Debug + 'static,
8269{
8270    fn from(
8271        err: ::aws_smithy_runtime_api::client::result::SdkError<
8272            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8273            R,
8274        >,
8275    ) -> Self {
8276        match err {
8277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8280                source: err.into(),
8281            }),
8282        }
8283    }
8284}
8285impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
8286    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
8287        match err {
8288            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
8289                Error::Unhandled(inner)
8290            }
8291        }
8292    }
8293}
8294impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
8295    for Error
8296where
8297    R: Send + Sync + std::fmt::Debug + 'static,
8298{
8299    fn from(
8300        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
8301    ) -> Self {
8302        match err {
8303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8306                source: err.into(),
8307            }),
8308        }
8309    }
8310}
8311impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
8312    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
8313        match err {
8314            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
8315        }
8316    }
8317}
8318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
8319where
8320    R: Send + Sync + std::fmt::Debug + 'static,
8321{
8322    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
8323        match err {
8324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8327                source: err.into(),
8328            }),
8329        }
8330    }
8331}
8332impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
8333    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
8334        match err {
8335            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
8336        }
8337    }
8338}
8339impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
8340    for Error
8341where
8342    R: Send + Sync + std::fmt::Debug + 'static,
8343{
8344    fn from(
8345        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
8346    ) -> Self {
8347        match err {
8348            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8349            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8350                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8351                source: err.into(),
8352            }),
8353        }
8354    }
8355}
8356impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
8357    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
8358        match err {
8359            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8360        }
8361    }
8362}
8363impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
8364    for Error
8365where
8366    R: Send + Sync + std::fmt::Debug + 'static,
8367{
8368    fn from(
8369        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
8370    ) -> Self {
8371        match err {
8372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8375                source: err.into(),
8376            }),
8377        }
8378    }
8379}
8380impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
8381    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
8382        match err {
8383            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
8384        }
8385    }
8386}
8387impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
8388where
8389    R: Send + Sync + std::fmt::Debug + 'static,
8390{
8391    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
8392        match err {
8393            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8394            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8395                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8396                source: err.into(),
8397            }),
8398        }
8399    }
8400}
8401impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
8402    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
8403        match err {
8404            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8405        }
8406    }
8407}
8408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
8409where
8410    R: Send + Sync + std::fmt::Debug + 'static,
8411{
8412    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
8413        match err {
8414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8417                source: err.into(),
8418            }),
8419        }
8420    }
8421}
8422impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
8423    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
8424        match err {
8425            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
8426        }
8427    }
8428}
8429impl<R>
8430    From<
8431        ::aws_smithy_runtime_api::client::result::SdkError<
8432            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8433            R,
8434        >,
8435    > for Error
8436where
8437    R: Send + Sync + std::fmt::Debug + 'static,
8438{
8439    fn from(
8440        err: ::aws_smithy_runtime_api::client::result::SdkError<
8441            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8442            R,
8443        >,
8444    ) -> Self {
8445        match err {
8446            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8447            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8448                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8449                source: err.into(),
8450            }),
8451        }
8452    }
8453}
8454impl From<crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
8455    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
8456        match err {
8457            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
8458                Error::Unhandled(inner)
8459            }
8460        }
8461    }
8462}
8463impl<R>
8464    From<
8465        ::aws_smithy_runtime_api::client::result::SdkError<
8466            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8467            R,
8468        >,
8469    > for Error
8470where
8471    R: Send + Sync + std::fmt::Debug + 'static,
8472{
8473    fn from(
8474        err: ::aws_smithy_runtime_api::client::result::SdkError<
8475            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8476            R,
8477        >,
8478    ) -> Self {
8479        match err {
8480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8483                source: err.into(),
8484            }),
8485        }
8486    }
8487}
8488impl From<crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
8489    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
8490        match err {
8491            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
8492                Error::Unhandled(inner)
8493            }
8494        }
8495    }
8496}
8497impl<R>
8498    From<
8499        ::aws_smithy_runtime_api::client::result::SdkError<
8500            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8501            R,
8502        >,
8503    > for Error
8504where
8505    R: Send + Sync + std::fmt::Debug + 'static,
8506{
8507    fn from(
8508        err: ::aws_smithy_runtime_api::client::result::SdkError<
8509            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8510            R,
8511        >,
8512    ) -> Self {
8513        match err {
8514            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8515            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8516                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8517                source: err.into(),
8518            }),
8519        }
8520    }
8521}
8522impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
8523    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
8524        match err {
8525            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
8526        }
8527    }
8528}
8529impl<R>
8530    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
8531    for Error
8532where
8533    R: Send + Sync + std::fmt::Debug + 'static,
8534{
8535    fn from(
8536        err: ::aws_smithy_runtime_api::client::result::SdkError<
8537            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
8538            R,
8539        >,
8540    ) -> Self {
8541        match err {
8542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8545                source: err.into(),
8546            }),
8547        }
8548    }
8549}
8550impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
8551    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
8552        match err {
8553            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
8554        }
8555    }
8556}
8557impl<R>
8558    From<
8559        ::aws_smithy_runtime_api::client::result::SdkError<
8560            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8561            R,
8562        >,
8563    > for Error
8564where
8565    R: Send + Sync + std::fmt::Debug + 'static,
8566{
8567    fn from(
8568        err: ::aws_smithy_runtime_api::client::result::SdkError<
8569            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8570            R,
8571        >,
8572    ) -> Self {
8573        match err {
8574            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8575            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8576                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8577                source: err.into(),
8578            }),
8579        }
8580    }
8581}
8582impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
8583    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
8584        match err {
8585            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
8586                Error::Unhandled(inner)
8587            }
8588        }
8589    }
8590}
8591impl<R>
8592    From<
8593        ::aws_smithy_runtime_api::client::result::SdkError<
8594            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8595            R,
8596        >,
8597    > for Error
8598where
8599    R: Send + Sync + std::fmt::Debug + 'static,
8600{
8601    fn from(
8602        err: ::aws_smithy_runtime_api::client::result::SdkError<
8603            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8604            R,
8605        >,
8606    ) -> Self {
8607        match err {
8608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8611                source: err.into(),
8612            }),
8613        }
8614    }
8615}
8616impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
8617    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
8618        match err {
8619            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
8620                Error::Unhandled(inner)
8621            }
8622        }
8623    }
8624}
8625impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
8626    for Error
8627where
8628    R: Send + Sync + std::fmt::Debug + 'static,
8629{
8630    fn from(
8631        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
8632    ) -> Self {
8633        match err {
8634            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8635            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8636                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8637                source: err.into(),
8638            }),
8639        }
8640    }
8641}
8642impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
8643    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
8644        match err {
8645            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
8646        }
8647    }
8648}
8649impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>> for Error
8650where
8651    R: Send + Sync + std::fmt::Debug + 'static,
8652{
8653    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>) -> Self {
8654        match err {
8655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8658                source: err.into(),
8659            }),
8660        }
8661    }
8662}
8663impl From<crate::operation::describe_outpost_lags::DescribeOutpostLagsError> for Error {
8664    fn from(err: crate::operation::describe_outpost_lags::DescribeOutpostLagsError) -> Self {
8665        match err {
8666            crate::operation::describe_outpost_lags::DescribeOutpostLagsError::Unhandled(inner) => Error::Unhandled(inner),
8667        }
8668    }
8669}
8670impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
8671    for Error
8672where
8673    R: Send + Sync + std::fmt::Debug + 'static,
8674{
8675    fn from(
8676        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
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_placement_groups::DescribePlacementGroupsError> for Error {
8688    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
8689        match err {
8690            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
8691        }
8692    }
8693}
8694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
8695where
8696    R: Send + Sync + std::fmt::Debug + 'static,
8697{
8698    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
8699        match err {
8700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8703                source: err.into(),
8704            }),
8705        }
8706    }
8707}
8708impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
8709    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
8710        match err {
8711            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8712        }
8713    }
8714}
8715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
8716    for Error
8717where
8718    R: Send + Sync + std::fmt::Debug + 'static,
8719{
8720    fn from(
8721        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
8722    ) -> Self {
8723        match err {
8724            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8725            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8726                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8727                source: err.into(),
8728            }),
8729        }
8730    }
8731}
8732impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
8733    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
8734        match err {
8735            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
8736        }
8737    }
8738}
8739impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
8740    for Error
8741where
8742    R: Send + Sync + std::fmt::Debug + 'static,
8743{
8744    fn from(
8745        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
8746    ) -> Self {
8747        match err {
8748            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8749            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8750                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8751                source: err.into(),
8752            }),
8753        }
8754    }
8755}
8756impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
8757    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
8758        match err {
8759            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8760        }
8761    }
8762}
8763impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
8764where
8765    R: Send + Sync + std::fmt::Debug + 'static,
8766{
8767    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
8768        match err {
8769            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8770            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8771                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8772                source: err.into(),
8773            }),
8774        }
8775    }
8776}
8777impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
8778    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
8779        match err {
8780            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
8781        }
8782    }
8783}
8784impl<R>
8785    From<
8786        ::aws_smithy_runtime_api::client::result::SdkError<
8787            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
8788            R,
8789        >,
8790    > for Error
8791where
8792    R: Send + Sync + std::fmt::Debug + 'static,
8793{
8794    fn from(
8795        err: ::aws_smithy_runtime_api::client::result::SdkError<
8796            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
8797            R,
8798        >,
8799    ) -> Self {
8800        match err {
8801            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8802            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8803                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8804                source: err.into(),
8805            }),
8806        }
8807    }
8808}
8809impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
8810    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
8811        match err {
8812            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
8813        }
8814    }
8815}
8816impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
8817    for Error
8818where
8819    R: Send + Sync + std::fmt::Debug + 'static,
8820{
8821    fn from(
8822        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
8823    ) -> Self {
8824        match err {
8825            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8826            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8827                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8828                source: err.into(),
8829            }),
8830        }
8831    }
8832}
8833impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
8834    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
8835        match err {
8836            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8837        }
8838    }
8839}
8840impl<R>
8841    From<
8842        ::aws_smithy_runtime_api::client::result::SdkError<
8843            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
8844            R,
8845        >,
8846    > for Error
8847where
8848    R: Send + Sync + std::fmt::Debug + 'static,
8849{
8850    fn from(
8851        err: ::aws_smithy_runtime_api::client::result::SdkError<
8852            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
8853            R,
8854        >,
8855    ) -> Self {
8856        match err {
8857            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8858            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8859                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8860                source: err.into(),
8861            }),
8862        }
8863    }
8864}
8865impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
8866    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
8867        match err {
8868            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
8869                Error::Unhandled(inner)
8870            }
8871        }
8872    }
8873}
8874impl<R>
8875    From<
8876        ::aws_smithy_runtime_api::client::result::SdkError<
8877            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
8878            R,
8879        >,
8880    > for Error
8881where
8882    R: Send + Sync + std::fmt::Debug + 'static,
8883{
8884    fn from(
8885        err: ::aws_smithy_runtime_api::client::result::SdkError<
8886            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
8887            R,
8888        >,
8889    ) -> Self {
8890        match err {
8891            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8892            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8893                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8894                source: err.into(),
8895            }),
8896        }
8897    }
8898}
8899impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
8900    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
8901        match err {
8902            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
8903                Error::Unhandled(inner)
8904            }
8905        }
8906    }
8907}
8908impl<R>
8909    From<
8910        ::aws_smithy_runtime_api::client::result::SdkError<
8911            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
8912            R,
8913        >,
8914    > for Error
8915where
8916    R: Send + Sync + std::fmt::Debug + 'static,
8917{
8918    fn from(
8919        err: ::aws_smithy_runtime_api::client::result::SdkError<
8920            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
8921            R,
8922        >,
8923    ) -> Self {
8924        match err {
8925            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8926            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8927                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8928                source: err.into(),
8929            }),
8930        }
8931    }
8932}
8933impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
8934    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
8935        match err {
8936            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
8937                Error::Unhandled(inner)
8938            }
8939        }
8940    }
8941}
8942impl<R>
8943    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError, R>>
8944    for Error
8945where
8946    R: Send + Sync + std::fmt::Debug + 'static,
8947{
8948    fn from(
8949        err: ::aws_smithy_runtime_api::client::result::SdkError<
8950            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError,
8951            R,
8952        >,
8953    ) -> Self {
8954        match err {
8955            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8956            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8957                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8958                source: err.into(),
8959            }),
8960        }
8961    }
8962}
8963impl From<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError> for Error {
8964    fn from(err: crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError) -> Self {
8965        match err {
8966            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
8967        }
8968    }
8969}
8970impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>>
8971    for Error
8972where
8973    R: Send + Sync + std::fmt::Debug + 'static,
8974{
8975    fn from(
8976        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>,
8977    ) -> Self {
8978        match err {
8979            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8980            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8981                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8982                source: err.into(),
8983            }),
8984        }
8985    }
8986}
8987impl From<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError> for Error {
8988    fn from(err: crate::operation::describe_route_server_peers::DescribeRouteServerPeersError) -> Self {
8989        match err {
8990            crate::operation::describe_route_server_peers::DescribeRouteServerPeersError::Unhandled(inner) => Error::Unhandled(inner),
8991        }
8992    }
8993}
8994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>> for Error
8995where
8996    R: Send + Sync + std::fmt::Debug + 'static,
8997{
8998    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>) -> Self {
8999        match err {
9000            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9001            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9002                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9003                source: err.into(),
9004            }),
9005        }
9006    }
9007}
9008impl From<crate::operation::describe_route_servers::DescribeRouteServersError> for Error {
9009    fn from(err: crate::operation::describe_route_servers::DescribeRouteServersError) -> Self {
9010        match err {
9011            crate::operation::describe_route_servers::DescribeRouteServersError::Unhandled(inner) => Error::Unhandled(inner),
9012        }
9013    }
9014}
9015impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
9016where
9017    R: Send + Sync + std::fmt::Debug + 'static,
9018{
9019    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> Self {
9020        match err {
9021            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9022            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9023                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9024                source: err.into(),
9025            }),
9026        }
9027    }
9028}
9029impl From<crate::operation::describe_route_tables::DescribeRouteTablesError> for Error {
9030    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
9031        match err {
9032            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
9033        }
9034    }
9035}
9036impl<R>
9037    From<
9038        ::aws_smithy_runtime_api::client::result::SdkError<
9039            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9040            R,
9041        >,
9042    > for Error
9043where
9044    R: Send + Sync + std::fmt::Debug + 'static,
9045{
9046    fn from(
9047        err: ::aws_smithy_runtime_api::client::result::SdkError<
9048            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9049            R,
9050        >,
9051    ) -> Self {
9052        match err {
9053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9056                source: err.into(),
9057            }),
9058        }
9059    }
9060}
9061impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
9062    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
9063        match err {
9064            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
9065                Error::Unhandled(inner)
9066            }
9067        }
9068    }
9069}
9070impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>>
9071    for Error
9072where
9073    R: Send + Sync + std::fmt::Debug + 'static,
9074{
9075    fn from(
9076        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
9077    ) -> Self {
9078        match err {
9079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9082                source: err.into(),
9083            }),
9084        }
9085    }
9086}
9087impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
9088    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
9089        match err {
9090            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9091        }
9092    }
9093}
9094impl<R>
9095    From<
9096        ::aws_smithy_runtime_api::client::result::SdkError<
9097            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9098            R,
9099        >,
9100    > for Error
9101where
9102    R: Send + Sync + std::fmt::Debug + 'static,
9103{
9104    fn from(
9105        err: ::aws_smithy_runtime_api::client::result::SdkError<
9106            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9107            R,
9108        >,
9109    ) -> Self {
9110        match err {
9111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9114                source: err.into(),
9115            }),
9116        }
9117    }
9118}
9119impl From<crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError> for Error {
9120    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
9121        match err {
9122            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
9123        }
9124    }
9125}
9126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>>
9127    for Error
9128where
9129    R: Send + Sync + std::fmt::Debug + 'static,
9130{
9131    fn from(
9132        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>,
9133    ) -> Self {
9134        match err {
9135            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9136            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9137                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9138                source: err.into(),
9139            }),
9140        }
9141    }
9142}
9143impl From<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError> for Error {
9144    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
9145        match err {
9146            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
9147        }
9148    }
9149}
9150impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
9151where
9152    R: Send + Sync + std::fmt::Debug + 'static,
9153{
9154    fn from(
9155        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
9156    ) -> Self {
9157        match err {
9158            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9159            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9160                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9161                source: err.into(),
9162            }),
9163        }
9164    }
9165}
9166impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
9167    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
9168        match err {
9169            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9170        }
9171    }
9172}
9173impl<R>
9174    From<
9175        ::aws_smithy_runtime_api::client::result::SdkError<
9176            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9177            R,
9178        >,
9179    > for Error
9180where
9181    R: Send + Sync + std::fmt::Debug + 'static,
9182{
9183    fn from(
9184        err: ::aws_smithy_runtime_api::client::result::SdkError<
9185            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9186            R,
9187        >,
9188    ) -> Self {
9189        match err {
9190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9193                source: err.into(),
9194            }),
9195        }
9196    }
9197}
9198impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
9199    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
9200        match err {
9201            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
9202                Error::Unhandled(inner)
9203            }
9204        }
9205    }
9206}
9207impl<R>
9208    From<
9209        ::aws_smithy_runtime_api::client::result::SdkError<
9210            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9211            R,
9212        >,
9213    > for Error
9214where
9215    R: Send + Sync + std::fmt::Debug + 'static,
9216{
9217    fn from(
9218        err: ::aws_smithy_runtime_api::client::result::SdkError<
9219            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9220            R,
9221        >,
9222    ) -> Self {
9223        match err {
9224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9227                source: err.into(),
9228            }),
9229        }
9230    }
9231}
9232impl From<crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError> for Error {
9233    fn from(err: crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError) -> Self {
9234        match err {
9235            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError::Unhandled(inner) => {
9236                Error::Unhandled(inner)
9237            }
9238        }
9239    }
9240}
9241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
9242    for Error
9243where
9244    R: Send + Sync + std::fmt::Debug + 'static,
9245{
9246    fn from(
9247        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
9248    ) -> Self {
9249        match err {
9250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9253                source: err.into(),
9254            }),
9255        }
9256    }
9257}
9258impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
9259    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
9260        match err {
9261            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
9262        }
9263    }
9264}
9265impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
9266where
9267    R: Send + Sync + std::fmt::Debug + 'static,
9268{
9269    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> Self {
9270        match err {
9271            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9272            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9273                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9274                source: err.into(),
9275            }),
9276        }
9277    }
9278}
9279impl From<crate::operation::describe_snapshots::DescribeSnapshotsError> for Error {
9280    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
9281        match err {
9282            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
9283        }
9284    }
9285}
9286impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
9287    for Error
9288where
9289    R: Send + Sync + std::fmt::Debug + 'static,
9290{
9291    fn from(
9292        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
9293    ) -> Self {
9294        match err {
9295            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9296            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9297                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9298                source: err.into(),
9299            }),
9300        }
9301    }
9302}
9303impl From<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
9304    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
9305        match err {
9306            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
9307        }
9308    }
9309}
9310impl<R>
9311    From<
9312        ::aws_smithy_runtime_api::client::result::SdkError<
9313            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9314            R,
9315        >,
9316    > for Error
9317where
9318    R: Send + Sync + std::fmt::Debug + 'static,
9319{
9320    fn from(
9321        err: ::aws_smithy_runtime_api::client::result::SdkError<
9322            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9323            R,
9324        >,
9325    ) -> Self {
9326        match err {
9327            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9328            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9329                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9330                source: err.into(),
9331            }),
9332        }
9333    }
9334}
9335impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
9336    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
9337        match err {
9338            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
9339        }
9340    }
9341}
9342impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
9343    for Error
9344where
9345    R: Send + Sync + std::fmt::Debug + 'static,
9346{
9347    fn from(
9348        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
9349    ) -> Self {
9350        match err {
9351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9354                source: err.into(),
9355            }),
9356        }
9357    }
9358}
9359impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
9360    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
9361        match err {
9362            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9363        }
9364    }
9365}
9366impl<R>
9367    From<
9368        ::aws_smithy_runtime_api::client::result::SdkError<
9369            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9370            R,
9371        >,
9372    > for Error
9373where
9374    R: Send + Sync + std::fmt::Debug + 'static,
9375{
9376    fn from(
9377        err: ::aws_smithy_runtime_api::client::result::SdkError<
9378            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9379            R,
9380        >,
9381    ) -> Self {
9382        match err {
9383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9386                source: err.into(),
9387            }),
9388        }
9389    }
9390}
9391impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
9392    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
9393        match err {
9394            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9395        }
9396    }
9397}
9398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
9399    for Error
9400where
9401    R: Send + Sync + std::fmt::Debug + 'static,
9402{
9403    fn from(
9404        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
9405    ) -> Self {
9406        match err {
9407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9410                source: err.into(),
9411            }),
9412        }
9413    }
9414}
9415impl From<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
9416    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
9417        match err {
9418            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9419        }
9420    }
9421}
9422impl<R>
9423    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
9424    for Error
9425where
9426    R: Send + Sync + std::fmt::Debug + 'static,
9427{
9428    fn from(
9429        err: ::aws_smithy_runtime_api::client::result::SdkError<
9430            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
9431            R,
9432        >,
9433    ) -> Self {
9434        match err {
9435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9438                source: err.into(),
9439            }),
9440        }
9441    }
9442}
9443impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
9444    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
9445        match err {
9446            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9447        }
9448    }
9449}
9450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
9451    for Error
9452where
9453    R: Send + Sync + std::fmt::Debug + 'static,
9454{
9455    fn from(
9456        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
9457    ) -> Self {
9458        match err {
9459            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9460            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9461                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9462                source: err.into(),
9463            }),
9464        }
9465    }
9466}
9467impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
9468    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
9469        match err {
9470            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9471        }
9472    }
9473}
9474impl<R>
9475    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
9476    for Error
9477where
9478    R: Send + Sync + std::fmt::Debug + 'static,
9479{
9480    fn from(
9481        err: ::aws_smithy_runtime_api::client::result::SdkError<
9482            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
9483            R,
9484        >,
9485    ) -> Self {
9486        match err {
9487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9490                source: err.into(),
9491            }),
9492        }
9493    }
9494}
9495impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
9496    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
9497        match err {
9498            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9499        }
9500    }
9501}
9502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
9503    for Error
9504where
9505    R: Send + Sync + std::fmt::Debug + 'static,
9506{
9507    fn from(
9508        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
9509    ) -> Self {
9510        match err {
9511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9514                source: err.into(),
9515            }),
9516        }
9517    }
9518}
9519impl From<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError> for Error {
9520    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
9521        match err {
9522            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
9523        }
9524    }
9525}
9526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
9527where
9528    R: Send + Sync + std::fmt::Debug + 'static,
9529{
9530    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> Self {
9531        match err {
9532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9535                source: err.into(),
9536            }),
9537        }
9538    }
9539}
9540impl From<crate::operation::describe_subnets::DescribeSubnetsError> for Error {
9541    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
9542        match err {
9543            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
9544        }
9545    }
9546}
9547impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
9548where
9549    R: Send + Sync + std::fmt::Debug + 'static,
9550{
9551    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
9552        match err {
9553            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9554            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9555                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9556                source: err.into(),
9557            }),
9558        }
9559    }
9560}
9561impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
9562    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
9563        match err {
9564            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
9565        }
9566    }
9567}
9568impl<R>
9569    From<
9570        ::aws_smithy_runtime_api::client::result::SdkError<
9571            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9572            R,
9573        >,
9574    > for Error
9575where
9576    R: Send + Sync + std::fmt::Debug + 'static,
9577{
9578    fn from(
9579        err: ::aws_smithy_runtime_api::client::result::SdkError<
9580            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9581            R,
9582        >,
9583    ) -> Self {
9584        match err {
9585            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9586            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9587                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9588                source: err.into(),
9589            }),
9590        }
9591    }
9592}
9593impl From<crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
9594    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
9595        match err {
9596            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
9597                Error::Unhandled(inner)
9598            }
9599        }
9600    }
9601}
9602impl<R>
9603    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
9604    for Error
9605where
9606    R: Send + Sync + std::fmt::Debug + 'static,
9607{
9608    fn from(
9609        err: ::aws_smithy_runtime_api::client::result::SdkError<
9610            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
9611            R,
9612        >,
9613    ) -> Self {
9614        match err {
9615            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9616            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9617                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9618                source: err.into(),
9619            }),
9620        }
9621    }
9622}
9623impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
9624    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
9625        match err {
9626            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
9627        }
9628    }
9629}
9630impl<R>
9631    From<
9632        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
9633    > for Error
9634where
9635    R: Send + Sync + std::fmt::Debug + 'static,
9636{
9637    fn from(
9638        err: ::aws_smithy_runtime_api::client::result::SdkError<
9639            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
9640            R,
9641        >,
9642    ) -> Self {
9643        match err {
9644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9647                source: err.into(),
9648            }),
9649        }
9650    }
9651}
9652impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
9653    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
9654        match err {
9655            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
9656        }
9657    }
9658}
9659impl<R>
9660    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
9661    for Error
9662where
9663    R: Send + Sync + std::fmt::Debug + 'static,
9664{
9665    fn from(
9666        err: ::aws_smithy_runtime_api::client::result::SdkError<
9667            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
9668            R,
9669        >,
9670    ) -> Self {
9671        match err {
9672            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9673            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9674                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9675                source: err.into(),
9676            }),
9677        }
9678    }
9679}
9680impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
9681    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
9682        match err {
9683            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
9684        }
9685    }
9686}
9687impl<R>
9688    From<
9689        ::aws_smithy_runtime_api::client::result::SdkError<
9690            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9691            R,
9692        >,
9693    > for Error
9694where
9695    R: Send + Sync + std::fmt::Debug + 'static,
9696{
9697    fn from(
9698        err: ::aws_smithy_runtime_api::client::result::SdkError<
9699            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9700            R,
9701        >,
9702    ) -> Self {
9703        match err {
9704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9707                source: err.into(),
9708            }),
9709        }
9710    }
9711}
9712impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
9713    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
9714        match err {
9715            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
9716                Error::Unhandled(inner)
9717            }
9718        }
9719    }
9720}
9721impl<R>
9722    From<
9723        ::aws_smithy_runtime_api::client::result::SdkError<
9724            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
9725            R,
9726        >,
9727    > for Error
9728where
9729    R: Send + Sync + std::fmt::Debug + 'static,
9730{
9731    fn from(
9732        err: ::aws_smithy_runtime_api::client::result::SdkError<
9733            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
9734            R,
9735        >,
9736    ) -> Self {
9737        match err {
9738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9741                source: err.into(),
9742            }),
9743        }
9744    }
9745}
9746impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
9747    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
9748        match err {
9749            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
9750                Error::Unhandled(inner)
9751            }
9752        }
9753    }
9754}
9755impl<R>
9756    From<
9757        ::aws_smithy_runtime_api::client::result::SdkError<
9758            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
9759            R,
9760        >,
9761    > for Error
9762where
9763    R: Send + Sync + std::fmt::Debug + 'static,
9764{
9765    fn from(
9766        err: ::aws_smithy_runtime_api::client::result::SdkError<
9767            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
9768            R,
9769        >,
9770    ) -> Self {
9771        match err {
9772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9775                source: err.into(),
9776            }),
9777        }
9778    }
9779}
9780impl From<crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
9781    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
9782        match err {
9783            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
9784        }
9785    }
9786}
9787impl<R>
9788    From<
9789        ::aws_smithy_runtime_api::client::result::SdkError<
9790            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
9791            R,
9792        >,
9793    > for Error
9794where
9795    R: Send + Sync + std::fmt::Debug + 'static,
9796{
9797    fn from(
9798        err: ::aws_smithy_runtime_api::client::result::SdkError<
9799            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
9800            R,
9801        >,
9802    ) -> Self {
9803        match err {
9804            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9805            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9806                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9807                source: err.into(),
9808            }),
9809        }
9810    }
9811}
9812impl From<crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
9813    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
9814        match err {
9815            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
9816                Error::Unhandled(inner)
9817            }
9818        }
9819    }
9820}
9821impl<R>
9822    From<
9823        ::aws_smithy_runtime_api::client::result::SdkError<
9824            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
9825            R,
9826        >,
9827    > for Error
9828where
9829    R: Send + Sync + std::fmt::Debug + 'static,
9830{
9831    fn from(
9832        err: ::aws_smithy_runtime_api::client::result::SdkError<
9833            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
9834            R,
9835        >,
9836    ) -> Self {
9837        match err {
9838            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9839            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9840                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9841                source: err.into(),
9842            }),
9843        }
9844    }
9845}
9846impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
9847    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
9848        match err {
9849            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
9850                Error::Unhandled(inner)
9851            }
9852        }
9853    }
9854}
9855impl<R>
9856    From<
9857        ::aws_smithy_runtime_api::client::result::SdkError<
9858            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
9859            R,
9860        >,
9861    > for Error
9862where
9863    R: Send + Sync + std::fmt::Debug + 'static,
9864{
9865    fn from(
9866        err: ::aws_smithy_runtime_api::client::result::SdkError<
9867            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
9868            R,
9869        >,
9870    ) -> Self {
9871        match err {
9872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9875                source: err.into(),
9876            }),
9877        }
9878    }
9879}
9880impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
9881    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
9882        match err {
9883            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
9884                Error::Unhandled(inner)
9885            }
9886        }
9887    }
9888}
9889impl<R>
9890    From<
9891        ::aws_smithy_runtime_api::client::result::SdkError<
9892            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
9893            R,
9894        >,
9895    > for Error
9896where
9897    R: Send + Sync + std::fmt::Debug + 'static,
9898{
9899    fn from(
9900        err: ::aws_smithy_runtime_api::client::result::SdkError<
9901            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
9902            R,
9903        >,
9904    ) -> Self {
9905        match err {
9906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9909                source: err.into(),
9910            }),
9911        }
9912    }
9913}
9914impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
9915    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
9916        match err {
9917            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
9918                inner,
9919            ) => Error::Unhandled(inner),
9920        }
9921    }
9922}
9923impl<R>
9924    From<
9925        ::aws_smithy_runtime_api::client::result::SdkError<
9926            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
9927            R,
9928        >,
9929    > for Error
9930where
9931    R: Send + Sync + std::fmt::Debug + 'static,
9932{
9933    fn from(
9934        err: ::aws_smithy_runtime_api::client::result::SdkError<
9935            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
9936            R,
9937        >,
9938    ) -> Self {
9939        match err {
9940            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9941            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9942                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9943                source: err.into(),
9944            }),
9945        }
9946    }
9947}
9948impl From<crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
9949    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
9950        match err {
9951            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
9952                Error::Unhandled(inner)
9953            }
9954        }
9955    }
9956}
9957impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
9958    for Error
9959where
9960    R: Send + Sync + std::fmt::Debug + 'static,
9961{
9962    fn from(
9963        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
9964    ) -> Self {
9965        match err {
9966            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9967            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9968                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9969                source: err.into(),
9970            }),
9971        }
9972    }
9973}
9974impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
9975    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
9976        match err {
9977            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
9978        }
9979    }
9980}
9981impl<R>
9982    From<
9983        ::aws_smithy_runtime_api::client::result::SdkError<
9984            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
9985            R,
9986        >,
9987    > for Error
9988where
9989    R: Send + Sync + std::fmt::Debug + 'static,
9990{
9991    fn from(
9992        err: ::aws_smithy_runtime_api::client::result::SdkError<
9993            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
9994            R,
9995        >,
9996    ) -> Self {
9997        match err {
9998            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9999            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10000                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10001                source: err.into(),
10002            }),
10003        }
10004    }
10005}
10006impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
10007    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
10008        match err {
10009            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
10010                Error::Unhandled(inner)
10011            }
10012        }
10013    }
10014}
10015impl<R>
10016    From<
10017        ::aws_smithy_runtime_api::client::result::SdkError<
10018            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10019            R,
10020        >,
10021    > for Error
10022where
10023    R: Send + Sync + std::fmt::Debug + 'static,
10024{
10025    fn from(
10026        err: ::aws_smithy_runtime_api::client::result::SdkError<
10027            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10028            R,
10029        >,
10030    ) -> Self {
10031        match err {
10032            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10033            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10034                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10035                source: err.into(),
10036            }),
10037        }
10038    }
10039}
10040impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
10041    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
10042        match err {
10043            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
10044                Error::Unhandled(inner)
10045            }
10046        }
10047    }
10048}
10049impl<R>
10050    From<
10051        ::aws_smithy_runtime_api::client::result::SdkError<
10052            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10053            R,
10054        >,
10055    > for Error
10056where
10057    R: Send + Sync + std::fmt::Debug + 'static,
10058{
10059    fn from(
10060        err: ::aws_smithy_runtime_api::client::result::SdkError<
10061            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10062            R,
10063        >,
10064    ) -> Self {
10065        match err {
10066            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10067            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10068                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10069                source: err.into(),
10070            }),
10071        }
10072    }
10073}
10074impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
10075    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
10076        match err {
10077            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10078        }
10079    }
10080}
10081impl<R>
10082    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
10083    for Error
10084where
10085    R: Send + Sync + std::fmt::Debug + 'static,
10086{
10087    fn from(
10088        err: ::aws_smithy_runtime_api::client::result::SdkError<
10089            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
10090            R,
10091        >,
10092    ) -> Self {
10093        match err {
10094            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10095            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10096                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10097                source: err.into(),
10098            }),
10099        }
10100    }
10101}
10102impl From<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
10103    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
10104        match err {
10105            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10106        }
10107    }
10108}
10109impl<R>
10110    From<
10111        ::aws_smithy_runtime_api::client::result::SdkError<
10112            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10113            R,
10114        >,
10115    > for Error
10116where
10117    R: Send + Sync + std::fmt::Debug + 'static,
10118{
10119    fn from(
10120        err: ::aws_smithy_runtime_api::client::result::SdkError<
10121            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10122            R,
10123        >,
10124    ) -> Self {
10125        match err {
10126            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10127            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10128                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10129                source: err.into(),
10130            }),
10131        }
10132    }
10133}
10134impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
10135    for Error
10136{
10137    fn from(
10138        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10139    ) -> Self {
10140        match err {
10141            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
10142        }
10143    }
10144}
10145impl<R>
10146    From<
10147        ::aws_smithy_runtime_api::client::result::SdkError<
10148            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10149            R,
10150        >,
10151    > for Error
10152where
10153    R: Send + Sync + std::fmt::Debug + 'static,
10154{
10155    fn from(
10156        err: ::aws_smithy_runtime_api::client::result::SdkError<
10157            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10158            R,
10159        >,
10160    ) -> Self {
10161        match err {
10162            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10163            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10164                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10165                source: err.into(),
10166            }),
10167        }
10168    }
10169}
10170impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
10171    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
10172        match err {
10173            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10174        }
10175    }
10176}
10177impl<R>
10178    From<
10179        ::aws_smithy_runtime_api::client::result::SdkError<
10180            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10181            R,
10182        >,
10183    > for Error
10184where
10185    R: Send + Sync + std::fmt::Debug + 'static,
10186{
10187    fn from(
10188        err: ::aws_smithy_runtime_api::client::result::SdkError<
10189            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10190            R,
10191        >,
10192    ) -> Self {
10193        match err {
10194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10197                source: err.into(),
10198            }),
10199        }
10200    }
10201}
10202impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
10203    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
10204        match err {
10205            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
10206                Error::Unhandled(inner)
10207            }
10208        }
10209    }
10210}
10211impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
10212    for Error
10213where
10214    R: Send + Sync + std::fmt::Debug + 'static,
10215{
10216    fn from(
10217        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
10218    ) -> Self {
10219        match err {
10220            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10221            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10222                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10223                source: err.into(),
10224            }),
10225        }
10226    }
10227}
10228impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
10229    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
10230        match err {
10231            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10232        }
10233    }
10234}
10235impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
10236where
10237    R: Send + Sync + std::fmt::Debug + 'static,
10238{
10239    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
10240        match err {
10241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10244                source: err.into(),
10245            }),
10246        }
10247    }
10248}
10249impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
10250    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
10251        match err {
10252            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
10253        }
10254    }
10255}
10256impl<R>
10257    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
10258    for Error
10259where
10260    R: Send + Sync + std::fmt::Debug + 'static,
10261{
10262    fn from(
10263        err: ::aws_smithy_runtime_api::client::result::SdkError<
10264            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
10265            R,
10266        >,
10267    ) -> Self {
10268        match err {
10269            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10270            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10271                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10272                source: err.into(),
10273            }),
10274        }
10275    }
10276}
10277impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
10278    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
10279        match err {
10280            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
10281        }
10282    }
10283}
10284impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
10285where
10286    R: Send + Sync + std::fmt::Debug + 'static,
10287{
10288    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
10289        match err {
10290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10293                source: err.into(),
10294            }),
10295        }
10296    }
10297}
10298impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
10299    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
10300        match err {
10301            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
10302        }
10303    }
10304}
10305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
10306where
10307    R: Send + Sync + std::fmt::Debug + 'static,
10308{
10309    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
10310        match err {
10311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10314                source: err.into(),
10315            }),
10316        }
10317    }
10318}
10319impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
10320    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
10321        match err {
10322            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10323        }
10324    }
10325}
10326impl<R>
10327    From<
10328        ::aws_smithy_runtime_api::client::result::SdkError<
10329            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10330            R,
10331        >,
10332    > for Error
10333where
10334    R: Send + Sync + std::fmt::Debug + 'static,
10335{
10336    fn from(
10337        err: ::aws_smithy_runtime_api::client::result::SdkError<
10338            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10339            R,
10340        >,
10341    ) -> Self {
10342        match err {
10343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10346                source: err.into(),
10347            }),
10348        }
10349    }
10350}
10351impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
10352    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
10353        match err {
10354            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
10355                Error::Unhandled(inner)
10356            }
10357        }
10358    }
10359}
10360impl<R>
10361    From<
10362        ::aws_smithy_runtime_api::client::result::SdkError<
10363            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10364            R,
10365        >,
10366    > for Error
10367where
10368    R: Send + Sync + std::fmt::Debug + 'static,
10369{
10370    fn from(
10371        err: ::aws_smithy_runtime_api::client::result::SdkError<
10372            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10373            R,
10374        >,
10375    ) -> Self {
10376        match err {
10377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10380                source: err.into(),
10381            }),
10382        }
10383    }
10384}
10385impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
10386    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
10387        match err {
10388            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
10389                Error::Unhandled(inner)
10390            }
10391        }
10392    }
10393}
10394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
10395    for Error
10396where
10397    R: Send + Sync + std::fmt::Debug + 'static,
10398{
10399    fn from(
10400        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
10401    ) -> Self {
10402        match err {
10403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10406                source: err.into(),
10407            }),
10408        }
10409    }
10410}
10411impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
10412    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
10413        match err {
10414            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
10415        }
10416    }
10417}
10418impl<R>
10419    From<
10420        ::aws_smithy_runtime_api::client::result::SdkError<
10421            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10422            R,
10423        >,
10424    > for Error
10425where
10426    R: Send + Sync + std::fmt::Debug + 'static,
10427{
10428    fn from(
10429        err: ::aws_smithy_runtime_api::client::result::SdkError<
10430            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10431            R,
10432        >,
10433    ) -> Self {
10434        match err {
10435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10438                source: err.into(),
10439            }),
10440        }
10441    }
10442}
10443impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
10444    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
10445        match err {
10446            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
10447                Error::Unhandled(inner)
10448            }
10449        }
10450    }
10451}
10452impl<R>
10453    From<
10454        ::aws_smithy_runtime_api::client::result::SdkError<
10455            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10456            R,
10457        >,
10458    > for Error
10459where
10460    R: Send + Sync + std::fmt::Debug + 'static,
10461{
10462    fn from(
10463        err: ::aws_smithy_runtime_api::client::result::SdkError<
10464            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10465            R,
10466        >,
10467    ) -> Self {
10468        match err {
10469            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10470            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10471                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10472                source: err.into(),
10473            }),
10474        }
10475    }
10476}
10477impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
10478    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
10479        match err {
10480            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
10481        }
10482    }
10483}
10484impl<R>
10485    From<
10486        ::aws_smithy_runtime_api::client::result::SdkError<
10487            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10488            R,
10489        >,
10490    > for Error
10491where
10492    R: Send + Sync + std::fmt::Debug + 'static,
10493{
10494    fn from(
10495        err: ::aws_smithy_runtime_api::client::result::SdkError<
10496            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10497            R,
10498        >,
10499    ) -> Self {
10500        match err {
10501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10504                source: err.into(),
10505            }),
10506        }
10507    }
10508}
10509impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
10510    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
10511        match err {
10512            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
10513                Error::Unhandled(inner)
10514            }
10515        }
10516    }
10517}
10518impl<R>
10519    From<
10520        ::aws_smithy_runtime_api::client::result::SdkError<
10521            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10522            R,
10523        >,
10524    > for Error
10525where
10526    R: Send + Sync + std::fmt::Debug + 'static,
10527{
10528    fn from(
10529        err: ::aws_smithy_runtime_api::client::result::SdkError<
10530            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10531            R,
10532        >,
10533    ) -> Self {
10534        match err {
10535            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10536            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10537                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10538                source: err.into(),
10539            }),
10540        }
10541    }
10542}
10543impl From<crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
10544    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
10545        match err {
10546            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10547        }
10548    }
10549}
10550impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>> for Error
10551where
10552    R: Send + Sync + std::fmt::Debug + 'static,
10553{
10554    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>) -> 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_vpc_endpoints::DescribeVpcEndpointsError> for Error {
10565    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
10566        match err {
10567            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10568        }
10569    }
10570}
10571impl<R>
10572    From<
10573        ::aws_smithy_runtime_api::client::result::SdkError<
10574            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10575            R,
10576        >,
10577    > for Error
10578where
10579    R: Send + Sync + std::fmt::Debug + 'static,
10580{
10581    fn from(
10582        err: ::aws_smithy_runtime_api::client::result::SdkError<
10583            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10584            R,
10585        >,
10586    ) -> Self {
10587        match err {
10588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10591                source: err.into(),
10592            }),
10593        }
10594    }
10595}
10596impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
10597    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
10598        match err {
10599            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
10600                Error::Unhandled(inner)
10601            }
10602        }
10603    }
10604}
10605impl<R>
10606    From<
10607        ::aws_smithy_runtime_api::client::result::SdkError<
10608            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10609            R,
10610        >,
10611    > for Error
10612where
10613    R: Send + Sync + std::fmt::Debug + 'static,
10614{
10615    fn from(
10616        err: ::aws_smithy_runtime_api::client::result::SdkError<
10617            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10618            R,
10619        >,
10620    ) -> Self {
10621        match err {
10622            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10623            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10624                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10625                source: err.into(),
10626            }),
10627        }
10628    }
10629}
10630impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
10631    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
10632        match err {
10633            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
10634                Error::Unhandled(inner)
10635            }
10636        }
10637    }
10638}
10639impl<R>
10640    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
10641    for Error
10642where
10643    R: Send + Sync + std::fmt::Debug + 'static,
10644{
10645    fn from(
10646        err: ::aws_smithy_runtime_api::client::result::SdkError<
10647            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
10648            R,
10649        >,
10650    ) -> Self {
10651        match err {
10652            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10653            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10654                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10655                source: err.into(),
10656            }),
10657        }
10658    }
10659}
10660impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
10661    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
10662        match err {
10663            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
10664        }
10665    }
10666}
10667impl<R>
10668    From<
10669        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
10670    > for Error
10671where
10672    R: Send + Sync + std::fmt::Debug + 'static,
10673{
10674    fn from(
10675        err: ::aws_smithy_runtime_api::client::result::SdkError<
10676            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
10677            R,
10678        >,
10679    ) -> Self {
10680        match err {
10681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10684                source: err.into(),
10685            }),
10686        }
10687    }
10688}
10689impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
10690    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
10691        match err {
10692            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10693        }
10694    }
10695}
10696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
10697where
10698    R: Send + Sync + std::fmt::Debug + 'static,
10699{
10700    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
10701        match err {
10702            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10703            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10704                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10705                source: err.into(),
10706            }),
10707        }
10708    }
10709}
10710impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
10711    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
10712        match err {
10713            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
10714        }
10715    }
10716}
10717impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
10718where
10719    R: Send + Sync + std::fmt::Debug + 'static,
10720{
10721    fn from(
10722        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
10723    ) -> Self {
10724        match err {
10725            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10726            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10727                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10728                source: err.into(),
10729            }),
10730        }
10731    }
10732}
10733impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
10734    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
10735        match err {
10736            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10737        }
10738    }
10739}
10740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
10741where
10742    R: Send + Sync + std::fmt::Debug + 'static,
10743{
10744    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> Self {
10745        match err {
10746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10749                source: err.into(),
10750            }),
10751        }
10752    }
10753}
10754impl From<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError> for Error {
10755    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
10756        match err {
10757            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10758        }
10759    }
10760}
10761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
10762where
10763    R: Send + Sync + std::fmt::Debug + 'static,
10764{
10765    fn from(
10766        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
10767    ) -> Self {
10768        match err {
10769            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10770            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10771                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10772                source: err.into(),
10773            }),
10774        }
10775    }
10776}
10777impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
10778    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
10779        match err {
10780            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
10781        }
10782    }
10783}
10784impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
10785where
10786    R: Send + Sync + std::fmt::Debug + 'static,
10787{
10788    fn from(
10789        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
10790    ) -> Self {
10791        match err {
10792            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10793            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10794                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10795                source: err.into(),
10796            }),
10797        }
10798    }
10799}
10800impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
10801    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
10802        match err {
10803            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
10804        }
10805    }
10806}
10807impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
10808where
10809    R: Send + Sync + std::fmt::Debug + 'static,
10810{
10811    fn from(
10812        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
10813    ) -> Self {
10814        match err {
10815            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10816            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10817                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10818                source: err.into(),
10819            }),
10820        }
10821    }
10822}
10823impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
10824    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
10825        match err {
10826            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
10827        }
10828    }
10829}
10830impl<R>
10831    From<
10832        ::aws_smithy_runtime_api::client::result::SdkError<
10833            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
10834            R,
10835        >,
10836    > for Error
10837where
10838    R: Send + Sync + std::fmt::Debug + 'static,
10839{
10840    fn from(
10841        err: ::aws_smithy_runtime_api::client::result::SdkError<
10842            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
10843            R,
10844        >,
10845    ) -> Self {
10846        match err {
10847            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10848            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10849                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10850                source: err.into(),
10851            }),
10852        }
10853    }
10854}
10855impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
10856    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
10857        match err {
10858            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
10859                Error::Unhandled(inner)
10860            }
10861        }
10862    }
10863}
10864impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
10865where
10866    R: Send + Sync + std::fmt::Debug + 'static,
10867{
10868    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
10869        match err {
10870            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10871            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10872                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10873                source: err.into(),
10874            }),
10875        }
10876    }
10877}
10878impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
10879    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
10880        match err {
10881            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
10882        }
10883    }
10884}
10885impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
10886where
10887    R: Send + Sync + std::fmt::Debug + 'static,
10888{
10889    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
10890        match err {
10891            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10892            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10893                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10894                source: err.into(),
10895            }),
10896        }
10897    }
10898}
10899impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
10900    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
10901        match err {
10902            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
10903        }
10904    }
10905}
10906impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
10907where
10908    R: Send + Sync + std::fmt::Debug + 'static,
10909{
10910    fn from(
10911        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
10912    ) -> Self {
10913        match err {
10914            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10915            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10916                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10917                source: err.into(),
10918            }),
10919        }
10920    }
10921}
10922impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
10923    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
10924        match err {
10925            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
10926        }
10927    }
10928}
10929impl<R>
10930    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
10931    for Error
10932where
10933    R: Send + Sync + std::fmt::Debug + 'static,
10934{
10935    fn from(
10936        err: ::aws_smithy_runtime_api::client::result::SdkError<
10937            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
10938            R,
10939        >,
10940    ) -> Self {
10941        match err {
10942            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10943            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10944                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10945                source: err.into(),
10946            }),
10947        }
10948    }
10949}
10950impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
10951    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
10952        match err {
10953            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
10954        }
10955    }
10956}
10957impl<R>
10958    From<
10959        ::aws_smithy_runtime_api::client::result::SdkError<
10960            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
10961            R,
10962        >,
10963    > for Error
10964where
10965    R: Send + Sync + std::fmt::Debug + 'static,
10966{
10967    fn from(
10968        err: ::aws_smithy_runtime_api::client::result::SdkError<
10969            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
10970            R,
10971        >,
10972    ) -> Self {
10973        match err {
10974            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10975            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10976                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10977                source: err.into(),
10978            }),
10979        }
10980    }
10981}
10982impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
10983    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
10984        match err {
10985            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
10986                inner,
10987            ) => Error::Unhandled(inner),
10988        }
10989    }
10990}
10991impl<R>
10992    From<
10993        ::aws_smithy_runtime_api::client::result::SdkError<
10994            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
10995            R,
10996        >,
10997    > for Error
10998where
10999    R: Send + Sync + std::fmt::Debug + 'static,
11000{
11001    fn from(
11002        err: ::aws_smithy_runtime_api::client::result::SdkError<
11003            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11004            R,
11005        >,
11006    ) -> Self {
11007        match err {
11008            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11009            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11010                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11011                source: err.into(),
11012            }),
11013        }
11014    }
11015}
11016impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
11017    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
11018        match err {
11019            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
11020        }
11021    }
11022}
11023impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
11024where
11025    R: Send + Sync + std::fmt::Debug + 'static,
11026{
11027    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
11028        match err {
11029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11032                source: err.into(),
11033            }),
11034        }
11035    }
11036}
11037impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
11038    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
11039        match err {
11040            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
11041        }
11042    }
11043}
11044impl<R>
11045    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
11046    for Error
11047where
11048    R: Send + Sync + std::fmt::Debug + 'static,
11049{
11050    fn from(
11051        err: ::aws_smithy_runtime_api::client::result::SdkError<
11052            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
11053            R,
11054        >,
11055    ) -> Self {
11056        match err {
11057            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11058            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11059                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11060                source: err.into(),
11061            }),
11062        }
11063    }
11064}
11065impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
11066    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
11067        match err {
11068            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
11069        }
11070    }
11071}
11072impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
11073where
11074    R: Send + Sync + std::fmt::Debug + 'static,
11075{
11076    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
11077        match err {
11078            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11079            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11080                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11081                source: err.into(),
11082            }),
11083        }
11084    }
11085}
11086impl From<crate::operation::disable_image::DisableImageError> for Error {
11087    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
11088        match err {
11089            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
11090        }
11091    }
11092}
11093impl<R>
11094    From<
11095        ::aws_smithy_runtime_api::client::result::SdkError<
11096            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11097            R,
11098        >,
11099    > for Error
11100where
11101    R: Send + Sync + std::fmt::Debug + 'static,
11102{
11103    fn from(
11104        err: ::aws_smithy_runtime_api::client::result::SdkError<
11105            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11106            R,
11107        >,
11108    ) -> Self {
11109        match err {
11110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11113                source: err.into(),
11114            }),
11115        }
11116    }
11117}
11118impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
11119    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
11120        match err {
11121            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
11122        }
11123    }
11124}
11125impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
11126    for Error
11127where
11128    R: Send + Sync + std::fmt::Debug + 'static,
11129{
11130    fn from(
11131        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
11132    ) -> Self {
11133        match err {
11134            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11135            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11136                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11137                source: err.into(),
11138            }),
11139        }
11140    }
11141}
11142impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
11143    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
11144        match err {
11145            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
11146        }
11147    }
11148}
11149impl<R>
11150    From<
11151        ::aws_smithy_runtime_api::client::result::SdkError<
11152            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11153            R,
11154        >,
11155    > for Error
11156where
11157    R: Send + Sync + std::fmt::Debug + 'static,
11158{
11159    fn from(
11160        err: ::aws_smithy_runtime_api::client::result::SdkError<
11161            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11162            R,
11163        >,
11164    ) -> Self {
11165        match err {
11166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11169                source: err.into(),
11170            }),
11171        }
11172    }
11173}
11174impl From<crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
11175    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
11176        match err {
11177            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
11178                Error::Unhandled(inner)
11179            }
11180        }
11181    }
11182}
11183impl<R>
11184    From<
11185        ::aws_smithy_runtime_api::client::result::SdkError<
11186            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11187            R,
11188        >,
11189    > for Error
11190where
11191    R: Send + Sync + std::fmt::Debug + 'static,
11192{
11193    fn from(
11194        err: ::aws_smithy_runtime_api::client::result::SdkError<
11195            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11196            R,
11197        >,
11198    ) -> Self {
11199        match err {
11200            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11201            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11202                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11203                source: err.into(),
11204            }),
11205        }
11206    }
11207}
11208impl From<crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
11209    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
11210        match err {
11211            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
11212                Error::Unhandled(inner)
11213            }
11214        }
11215    }
11216}
11217impl<R>
11218    From<
11219        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError, R>,
11220    > for Error
11221where
11222    R: Send + Sync + std::fmt::Debug + 'static,
11223{
11224    fn from(
11225        err: ::aws_smithy_runtime_api::client::result::SdkError<
11226            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError,
11227            R,
11228        >,
11229    ) -> Self {
11230        match err {
11231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11234                source: err.into(),
11235            }),
11236        }
11237    }
11238}
11239impl From<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError> for Error {
11240    fn from(err: crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError) -> Self {
11241        match err {
11242            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
11243        }
11244    }
11245}
11246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
11247    for Error
11248where
11249    R: Send + Sync + std::fmt::Debug + 'static,
11250{
11251    fn from(
11252        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
11253    ) -> Self {
11254        match err {
11255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11258                source: err.into(),
11259            }),
11260        }
11261    }
11262}
11263impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
11264    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
11265        match err {
11266            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
11267        }
11268    }
11269}
11270impl<R>
11271    From<
11272        ::aws_smithy_runtime_api::client::result::SdkError<
11273            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11274            R,
11275        >,
11276    > for Error
11277where
11278    R: Send + Sync + std::fmt::Debug + 'static,
11279{
11280    fn from(
11281        err: ::aws_smithy_runtime_api::client::result::SdkError<
11282            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11283            R,
11284        >,
11285    ) -> Self {
11286        match err {
11287            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11288            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11289                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11290                source: err.into(),
11291            }),
11292        }
11293    }
11294}
11295impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
11296    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
11297        match err {
11298            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
11299                Error::Unhandled(inner)
11300            }
11301        }
11302    }
11303}
11304impl<R>
11305    From<
11306        ::aws_smithy_runtime_api::client::result::SdkError<
11307            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11308            R,
11309        >,
11310    > for Error
11311where
11312    R: Send + Sync + std::fmt::Debug + 'static,
11313{
11314    fn from(
11315        err: ::aws_smithy_runtime_api::client::result::SdkError<
11316            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11317            R,
11318        >,
11319    ) -> 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::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
11330    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
11331        match err {
11332            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
11333                Error::Unhandled(inner)
11334            }
11335        }
11336    }
11337}
11338impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
11339    for Error
11340where
11341    R: Send + Sync + std::fmt::Debug + 'static,
11342{
11343    fn from(
11344        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
11345    ) -> Self {
11346        match err {
11347            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11348            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11349                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11350                source: err.into(),
11351            }),
11352        }
11353    }
11354}
11355impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
11356    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
11357        match err {
11358            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
11359        }
11360    }
11361}
11362impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
11363where
11364    R: Send + Sync + std::fmt::Debug + 'static,
11365{
11366    fn from(
11367        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
11368    ) -> Self {
11369        match err {
11370            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11371            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11372                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11373                source: err.into(),
11374            }),
11375        }
11376    }
11377}
11378impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
11379    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
11380        match err {
11381            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11382        }
11383    }
11384}
11385impl<R>
11386    From<
11387        ::aws_smithy_runtime_api::client::result::SdkError<
11388            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11389            R,
11390        >,
11391    > for Error
11392where
11393    R: Send + Sync + std::fmt::Debug + 'static,
11394{
11395    fn from(
11396        err: ::aws_smithy_runtime_api::client::result::SdkError<
11397            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11398            R,
11399        >,
11400    ) -> Self {
11401        match err {
11402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11405                source: err.into(),
11406            }),
11407        }
11408    }
11409}
11410impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
11411    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
11412        match err {
11413            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
11414        }
11415    }
11416}
11417impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
11418where
11419    R: Send + Sync + std::fmt::Debug + 'static,
11420{
11421    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
11422        match err {
11423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11426                source: err.into(),
11427            }),
11428        }
11429    }
11430}
11431impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
11432    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
11433        match err {
11434            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
11435        }
11436    }
11437}
11438impl<R>
11439    From<
11440        ::aws_smithy_runtime_api::client::result::SdkError<
11441            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11442            R,
11443        >,
11444    > for Error
11445where
11446    R: Send + Sync + std::fmt::Debug + 'static,
11447{
11448    fn from(
11449        err: ::aws_smithy_runtime_api::client::result::SdkError<
11450            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11451            R,
11452        >,
11453    ) -> Self {
11454        match err {
11455            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11456            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11457                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11458                source: err.into(),
11459            }),
11460        }
11461    }
11462}
11463impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
11464    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
11465        match err {
11466            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
11467                Error::Unhandled(inner)
11468            }
11469        }
11470    }
11471}
11472impl<R>
11473    From<
11474        ::aws_smithy_runtime_api::client::result::SdkError<
11475            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11476            R,
11477        >,
11478    > for Error
11479where
11480    R: Send + Sync + std::fmt::Debug + 'static,
11481{
11482    fn from(
11483        err: ::aws_smithy_runtime_api::client::result::SdkError<
11484            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11485            R,
11486        >,
11487    ) -> Self {
11488        match err {
11489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11492                source: err.into(),
11493            }),
11494        }
11495    }
11496}
11497impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
11498    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
11499        match err {
11500            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
11501                Error::Unhandled(inner)
11502            }
11503        }
11504    }
11505}
11506impl<R>
11507    From<
11508        ::aws_smithy_runtime_api::client::result::SdkError<
11509            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11510            R,
11511        >,
11512    > for Error
11513where
11514    R: Send + Sync + std::fmt::Debug + 'static,
11515{
11516    fn from(
11517        err: ::aws_smithy_runtime_api::client::result::SdkError<
11518            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11519            R,
11520        >,
11521    ) -> Self {
11522        match err {
11523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11526                source: err.into(),
11527            }),
11528        }
11529    }
11530}
11531impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
11532    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
11533        match err {
11534            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
11535                Error::Unhandled(inner)
11536            }
11537        }
11538    }
11539}
11540impl<R>
11541    From<
11542        ::aws_smithy_runtime_api::client::result::SdkError<
11543            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11544            R,
11545        >,
11546    > for Error
11547where
11548    R: Send + Sync + std::fmt::Debug + 'static,
11549{
11550    fn from(
11551        err: ::aws_smithy_runtime_api::client::result::SdkError<
11552            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11553            R,
11554        >,
11555    ) -> Self {
11556        match err {
11557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11560                source: err.into(),
11561            }),
11562        }
11563    }
11564}
11565impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
11566    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
11567        match err {
11568            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
11569        }
11570    }
11571}
11572impl<R>
11573    From<
11574        ::aws_smithy_runtime_api::client::result::SdkError<
11575            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11576            R,
11577        >,
11578    > for Error
11579where
11580    R: Send + Sync + std::fmt::Debug + 'static,
11581{
11582    fn from(
11583        err: ::aws_smithy_runtime_api::client::result::SdkError<
11584            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11585            R,
11586        >,
11587    ) -> Self {
11588        match err {
11589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11592                source: err.into(),
11593            }),
11594        }
11595    }
11596}
11597impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
11598    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
11599        match err {
11600            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
11601        }
11602    }
11603}
11604impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> for Error
11605where
11606    R: Send + Sync + std::fmt::Debug + 'static,
11607{
11608    fn from(
11609        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>,
11610    ) -> Self {
11611        match err {
11612            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11613            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11614                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11615                source: err.into(),
11616            }),
11617        }
11618    }
11619}
11620impl From<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
11621    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
11622        match err {
11623            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
11624        }
11625    }
11626}
11627impl<R>
11628    From<
11629        ::aws_smithy_runtime_api::client::result::SdkError<
11630            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11631            R,
11632        >,
11633    > for Error
11634where
11635    R: Send + Sync + std::fmt::Debug + 'static,
11636{
11637    fn from(
11638        err: ::aws_smithy_runtime_api::client::result::SdkError<
11639            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11640            R,
11641        >,
11642    ) -> Self {
11643        match err {
11644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11647                source: err.into(),
11648            }),
11649        }
11650    }
11651}
11652impl From<crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
11653    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
11654        match err {
11655            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
11656                Error::Unhandled(inner)
11657            }
11658        }
11659    }
11660}
11661impl<R>
11662    From<
11663        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
11664    > for Error
11665where
11666    R: Send + Sync + std::fmt::Debug + 'static,
11667{
11668    fn from(
11669        err: ::aws_smithy_runtime_api::client::result::SdkError<
11670            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
11671            R,
11672        >,
11673    ) -> Self {
11674        match err {
11675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11678                source: err.into(),
11679            }),
11680        }
11681    }
11682}
11683impl From<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
11684    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
11685        match err {
11686            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
11687        }
11688    }
11689}
11690impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>>
11691    for Error
11692where
11693    R: Send + Sync + std::fmt::Debug + 'static,
11694{
11695    fn from(
11696        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>,
11697    ) -> Self {
11698        match err {
11699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11702                source: err.into(),
11703            }),
11704        }
11705    }
11706}
11707impl From<crate::operation::disassociate_route_server::DisassociateRouteServerError> for Error {
11708    fn from(err: crate::operation::disassociate_route_server::DisassociateRouteServerError) -> Self {
11709        match err {
11710            crate::operation::disassociate_route_server::DisassociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
11711        }
11712    }
11713}
11714impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> for Error
11715where
11716    R: Send + Sync + std::fmt::Debug + 'static,
11717{
11718    fn from(
11719        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>,
11720    ) -> Self {
11721        match err {
11722            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11723            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11724                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11725                source: err.into(),
11726            }),
11727        }
11728    }
11729}
11730impl From<crate::operation::disassociate_route_table::DisassociateRouteTableError> for Error {
11731    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
11732        match err {
11733            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
11734        }
11735    }
11736}
11737impl<R>
11738    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
11739    for Error
11740where
11741    R: Send + Sync + std::fmt::Debug + 'static,
11742{
11743    fn from(
11744        err: ::aws_smithy_runtime_api::client::result::SdkError<
11745            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
11746            R,
11747        >,
11748    ) -> Self {
11749        match err {
11750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11753                source: err.into(),
11754            }),
11755        }
11756    }
11757}
11758impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
11759    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
11760        match err {
11761            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
11762        }
11763    }
11764}
11765impl<R>
11766    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
11767    for Error
11768where
11769    R: Send + Sync + std::fmt::Debug + 'static,
11770{
11771    fn from(
11772        err: ::aws_smithy_runtime_api::client::result::SdkError<
11773            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
11774            R,
11775        >,
11776    ) -> Self {
11777        match err {
11778            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11779            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11780                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11781                source: err.into(),
11782            }),
11783        }
11784    }
11785}
11786impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
11787    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
11788        match err {
11789            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
11790        }
11791    }
11792}
11793impl<R>
11794    From<
11795        ::aws_smithy_runtime_api::client::result::SdkError<
11796            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
11797            R,
11798        >,
11799    > for Error
11800where
11801    R: Send + Sync + std::fmt::Debug + 'static,
11802{
11803    fn from(
11804        err: ::aws_smithy_runtime_api::client::result::SdkError<
11805            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
11806            R,
11807        >,
11808    ) -> Self {
11809        match err {
11810            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11811            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11812                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11813                source: err.into(),
11814            }),
11815        }
11816    }
11817}
11818impl From<crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
11819    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
11820        match err {
11821            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
11822                Error::Unhandled(inner)
11823            }
11824        }
11825    }
11826}
11827impl<R>
11828    From<
11829        ::aws_smithy_runtime_api::client::result::SdkError<
11830            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
11831            R,
11832        >,
11833    > for Error
11834where
11835    R: Send + Sync + std::fmt::Debug + 'static,
11836{
11837    fn from(
11838        err: ::aws_smithy_runtime_api::client::result::SdkError<
11839            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
11840            R,
11841        >,
11842    ) -> Self {
11843        match err {
11844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11847                source: err.into(),
11848            }),
11849        }
11850    }
11851}
11852impl From<crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
11853    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
11854        match err {
11855            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
11856                Error::Unhandled(inner)
11857            }
11858        }
11859    }
11860}
11861impl<R>
11862    From<
11863        ::aws_smithy_runtime_api::client::result::SdkError<
11864            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
11865            R,
11866        >,
11867    > for Error
11868where
11869    R: Send + Sync + std::fmt::Debug + 'static,
11870{
11871    fn from(
11872        err: ::aws_smithy_runtime_api::client::result::SdkError<
11873            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
11874            R,
11875        >,
11876    ) -> Self {
11877        match err {
11878            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11879            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11880                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11881                source: err.into(),
11882            }),
11883        }
11884    }
11885}
11886impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
11887    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
11888        match err {
11889            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
11890                Error::Unhandled(inner)
11891            }
11892        }
11893    }
11894}
11895impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
11896    for Error
11897where
11898    R: Send + Sync + std::fmt::Debug + 'static,
11899{
11900    fn from(
11901        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
11902    ) -> Self {
11903        match err {
11904            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11905            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11906                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11907                source: err.into(),
11908            }),
11909        }
11910    }
11911}
11912impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
11913    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
11914        match err {
11915            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
11916        }
11917    }
11918}
11919impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>>
11920    for Error
11921where
11922    R: Send + Sync + std::fmt::Debug + 'static,
11923{
11924    fn from(
11925        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>,
11926    ) -> Self {
11927        match err {
11928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11931                source: err.into(),
11932            }),
11933        }
11934    }
11935}
11936impl From<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
11937    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
11938        match err {
11939            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
11940        }
11941    }
11942}
11943impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
11944where
11945    R: Send + Sync + std::fmt::Debug + 'static,
11946{
11947    fn from(
11948        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
11949    ) -> Self {
11950        match err {
11951            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11952            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11953                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11954                source: err.into(),
11955            }),
11956        }
11957    }
11958}
11959impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
11960    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
11961        match err {
11962            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
11963        }
11964    }
11965}
11966impl<R>
11967    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
11968    for Error
11969where
11970    R: Send + Sync + std::fmt::Debug + 'static,
11971{
11972    fn from(
11973        err: ::aws_smithy_runtime_api::client::result::SdkError<
11974            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
11975            R,
11976        >,
11977    ) -> Self {
11978        match err {
11979            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11980            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11981                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11982                source: err.into(),
11983            }),
11984        }
11985    }
11986}
11987impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
11988    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
11989        match err {
11990            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
11991        }
11992    }
11993}
11994impl<R>
11995    From<
11996        ::aws_smithy_runtime_api::client::result::SdkError<
11997            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
11998            R,
11999        >,
12000    > for Error
12001where
12002    R: Send + Sync + std::fmt::Debug + 'static,
12003{
12004    fn from(
12005        err: ::aws_smithy_runtime_api::client::result::SdkError<
12006            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12007            R,
12008        >,
12009    ) -> Self {
12010        match err {
12011            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12012            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12013                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12014                source: err.into(),
12015            }),
12016        }
12017    }
12018}
12019impl From<crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
12020    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
12021        match err {
12022            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
12023                inner,
12024            ) => Error::Unhandled(inner),
12025        }
12026    }
12027}
12028impl<R>
12029    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
12030    for Error
12031where
12032    R: Send + Sync + std::fmt::Debug + 'static,
12033{
12034    fn from(
12035        err: ::aws_smithy_runtime_api::client::result::SdkError<
12036            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
12037            R,
12038        >,
12039    ) -> Self {
12040        match err {
12041            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12042            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12043                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12044                source: err.into(),
12045            }),
12046        }
12047    }
12048}
12049impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
12050    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
12051        match err {
12052            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12053        }
12054    }
12055}
12056impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
12057where
12058    R: Send + Sync + std::fmt::Debug + 'static,
12059{
12060    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
12061        match err {
12062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12065                source: err.into(),
12066            }),
12067        }
12068    }
12069}
12070impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
12071    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
12072        match err {
12073            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
12074        }
12075    }
12076}
12077impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
12078    for Error
12079where
12080    R: Send + Sync + std::fmt::Debug + 'static,
12081{
12082    fn from(
12083        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>,
12084    ) -> Self {
12085        match err {
12086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12089                source: err.into(),
12090            }),
12091        }
12092    }
12093}
12094impl From<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
12095    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
12096        match err {
12097            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
12098        }
12099    }
12100}
12101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
12102where
12103    R: Send + Sync + std::fmt::Debug + 'static,
12104{
12105    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
12106        match err {
12107            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12108            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12109                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12110                source: err.into(),
12111            }),
12112        }
12113    }
12114}
12115impl From<crate::operation::enable_image::EnableImageError> for Error {
12116    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
12117        match err {
12118            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
12119        }
12120    }
12121}
12122impl<R>
12123    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
12124    for Error
12125where
12126    R: Send + Sync + std::fmt::Debug + 'static,
12127{
12128    fn from(
12129        err: ::aws_smithy_runtime_api::client::result::SdkError<
12130            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
12131            R,
12132        >,
12133    ) -> Self {
12134        match err {
12135            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12136            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12137                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12138                source: err.into(),
12139            }),
12140        }
12141    }
12142}
12143impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
12144    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
12145        match err {
12146            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12147        }
12148    }
12149}
12150impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> for Error
12151where
12152    R: Send + Sync + std::fmt::Debug + 'static,
12153{
12154    fn from(
12155        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>,
12156    ) -> Self {
12157        match err {
12158            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12159            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12160                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12161                source: err.into(),
12162            }),
12163        }
12164    }
12165}
12166impl From<crate::operation::enable_image_deprecation::EnableImageDeprecationError> for Error {
12167    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
12168        match err {
12169            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
12170        }
12171    }
12172}
12173impl<R>
12174    From<
12175        ::aws_smithy_runtime_api::client::result::SdkError<
12176            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12177            R,
12178        >,
12179    > for Error
12180where
12181    R: Send + Sync + std::fmt::Debug + 'static,
12182{
12183    fn from(
12184        err: ::aws_smithy_runtime_api::client::result::SdkError<
12185            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
12186            R,
12187        >,
12188    ) -> Self {
12189        match err {
12190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12193                source: err.into(),
12194            }),
12195        }
12196    }
12197}
12198impl From<crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
12199    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
12200        match err {
12201            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::Unhandled(inner) => {
12202                Error::Unhandled(inner)
12203            }
12204        }
12205    }
12206}
12207impl<R>
12208    From<
12209        ::aws_smithy_runtime_api::client::result::SdkError<
12210            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12211            R,
12212        >,
12213    > for Error
12214where
12215    R: Send + Sync + std::fmt::Debug + 'static,
12216{
12217    fn from(
12218        err: ::aws_smithy_runtime_api::client::result::SdkError<
12219            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12220            R,
12221        >,
12222    ) -> Self {
12223        match err {
12224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12227                source: err.into(),
12228            }),
12229        }
12230    }
12231}
12232impl From<crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
12233    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
12234        match err {
12235            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
12236                Error::Unhandled(inner)
12237            }
12238        }
12239    }
12240}
12241impl<R>
12242    From<
12243        ::aws_smithy_runtime_api::client::result::SdkError<
12244            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12245            R,
12246        >,
12247    > for Error
12248where
12249    R: Send + Sync + std::fmt::Debug + 'static,
12250{
12251    fn from(
12252        err: ::aws_smithy_runtime_api::client::result::SdkError<
12253            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12254            R,
12255        >,
12256    ) -> Self {
12257        match err {
12258            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12259            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12260                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12261                source: err.into(),
12262            }),
12263        }
12264    }
12265}
12266impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
12267    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
12268        match err {
12269            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
12270                inner,
12271            ) => Error::Unhandled(inner),
12272        }
12273    }
12274}
12275impl<R>
12276    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError, R>>
12277    for Error
12278where
12279    R: Send + Sync + std::fmt::Debug + 'static,
12280{
12281    fn from(
12282        err: ::aws_smithy_runtime_api::client::result::SdkError<
12283            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError,
12284            R,
12285        >,
12286    ) -> Self {
12287        match err {
12288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12291                source: err.into(),
12292            }),
12293        }
12294    }
12295}
12296impl From<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError> for Error {
12297    fn from(err: crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError) -> Self {
12298        match err {
12299            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
12300        }
12301    }
12302}
12303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
12304    for Error
12305where
12306    R: Send + Sync + std::fmt::Debug + 'static,
12307{
12308    fn from(
12309        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
12310    ) -> Self {
12311        match err {
12312            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12313            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12314                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12315                source: err.into(),
12316            }),
12317        }
12318    }
12319}
12320impl From<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
12321    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
12322        match err {
12323            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
12324        }
12325    }
12326}
12327impl<R>
12328    From<
12329        ::aws_smithy_runtime_api::client::result::SdkError<
12330            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12331            R,
12332        >,
12333    > for Error
12334where
12335    R: Send + Sync + std::fmt::Debug + 'static,
12336{
12337    fn from(
12338        err: ::aws_smithy_runtime_api::client::result::SdkError<
12339            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12340            R,
12341        >,
12342    ) -> Self {
12343        match err {
12344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12347                source: err.into(),
12348            }),
12349        }
12350    }
12351}
12352impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
12353    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
12354        match err {
12355            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12356        }
12357    }
12358}
12359impl<R>
12360    From<
12361        ::aws_smithy_runtime_api::client::result::SdkError<
12362            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12363            R,
12364        >,
12365    > for Error
12366where
12367    R: Send + Sync + std::fmt::Debug + 'static,
12368{
12369    fn from(
12370        err: ::aws_smithy_runtime_api::client::result::SdkError<
12371            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12372            R,
12373        >,
12374    ) -> Self {
12375        match err {
12376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12379                source: err.into(),
12380            }),
12381        }
12382    }
12383}
12384impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
12385    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
12386        match err {
12387            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
12388                Error::Unhandled(inner)
12389            }
12390        }
12391    }
12392}
12393impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
12394    for Error
12395where
12396    R: Send + Sync + std::fmt::Debug + 'static,
12397{
12398    fn from(
12399        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
12400    ) -> Self {
12401        match err {
12402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12405                source: err.into(),
12406            }),
12407        }
12408    }
12409}
12410impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
12411    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
12412        match err {
12413            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
12414        }
12415    }
12416}
12417impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
12418where
12419    R: Send + Sync + std::fmt::Debug + 'static,
12420{
12421    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
12422        match err {
12423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12426                source: err.into(),
12427            }),
12428        }
12429    }
12430}
12431impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
12432    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
12433        match err {
12434            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
12435        }
12436    }
12437}
12438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
12439where
12440    R: Send + Sync + std::fmt::Debug + 'static,
12441{
12442    fn from(
12443        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
12444    ) -> Self {
12445        match err {
12446            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12447            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12448                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12449                source: err.into(),
12450            }),
12451        }
12452    }
12453}
12454impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
12455    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
12456        match err {
12457            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
12458        }
12459    }
12460}
12461impl<R>
12462    From<
12463        ::aws_smithy_runtime_api::client::result::SdkError<
12464            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12465            R,
12466        >,
12467    > for Error
12468where
12469    R: Send + Sync + std::fmt::Debug + 'static,
12470{
12471    fn from(
12472        err: ::aws_smithy_runtime_api::client::result::SdkError<
12473            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12474            R,
12475        >,
12476    ) -> Self {
12477        match err {
12478            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12479            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12480                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12481                source: err.into(),
12482            }),
12483        }
12484    }
12485}
12486impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
12487    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
12488        match err {
12489            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
12490        }
12491    }
12492}
12493impl<R>
12494    From<
12495        ::aws_smithy_runtime_api::client::result::SdkError<
12496            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12497            R,
12498        >,
12499    > for Error
12500where
12501    R: Send + Sync + std::fmt::Debug + 'static,
12502{
12503    fn from(
12504        err: ::aws_smithy_runtime_api::client::result::SdkError<
12505            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12506            R,
12507        >,
12508    ) -> Self {
12509        match err {
12510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12513                source: err.into(),
12514            }),
12515        }
12516    }
12517}
12518impl From<crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
12519    fn from(
12520        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12521    ) -> Self {
12522        match err {
12523            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
12524        }
12525    }
12526}
12527impl<R>
12528    From<
12529        ::aws_smithy_runtime_api::client::result::SdkError<
12530            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12531            R,
12532        >,
12533    > for Error
12534where
12535    R: Send + Sync + std::fmt::Debug + 'static,
12536{
12537    fn from(
12538        err: ::aws_smithy_runtime_api::client::result::SdkError<
12539            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12540            R,
12541        >,
12542    ) -> Self {
12543        match err {
12544            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12545            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12546                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12547                source: err.into(),
12548            }),
12549        }
12550    }
12551}
12552impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
12553    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
12554        match err {
12555            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
12556                Error::Unhandled(inner)
12557            }
12558        }
12559    }
12560}
12561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
12562where
12563    R: Send + Sync + std::fmt::Debug + 'static,
12564{
12565    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
12566        match err {
12567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12570                source: err.into(),
12571            }),
12572        }
12573    }
12574}
12575impl From<crate::operation::export_image::ExportImageError> for Error {
12576    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
12577        match err {
12578            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
12579        }
12580    }
12581}
12582impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
12583    for Error
12584where
12585    R: Send + Sync + std::fmt::Debug + 'static,
12586{
12587    fn from(
12588        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
12589    ) -> Self {
12590        match err {
12591            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12592            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12593                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12594                source: err.into(),
12595            }),
12596        }
12597    }
12598}
12599impl From<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
12600    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
12601        match err {
12602            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
12603        }
12604    }
12605}
12606impl<R>
12607    From<
12608        ::aws_smithy_runtime_api::client::result::SdkError<
12609            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12610            R,
12611        >,
12612    > for Error
12613where
12614    R: Send + Sync + std::fmt::Debug + 'static,
12615{
12616    fn from(
12617        err: ::aws_smithy_runtime_api::client::result::SdkError<
12618            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12619            R,
12620        >,
12621    ) -> Self {
12622        match err {
12623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12626                source: err.into(),
12627            }),
12628        }
12629    }
12630}
12631impl From<crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
12632    fn from(
12633        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12634    ) -> Self {
12635        match err {
12636            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
12637        }
12638    }
12639}
12640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
12641    for Error
12642where
12643    R: Send + Sync + std::fmt::Debug + 'static,
12644{
12645    fn from(
12646        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
12647    ) -> Self {
12648        match err {
12649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12652                source: err.into(),
12653            }),
12654        }
12655    }
12656}
12657impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
12658    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
12659        match err {
12660            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12661        }
12662    }
12663}
12664impl<R>
12665    From<
12666        ::aws_smithy_runtime_api::client::result::SdkError<
12667            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
12668            R,
12669        >,
12670    > for Error
12671where
12672    R: Send + Sync + std::fmt::Debug + 'static,
12673{
12674    fn from(
12675        err: ::aws_smithy_runtime_api::client::result::SdkError<
12676            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
12677            R,
12678        >,
12679    ) -> Self {
12680        match err {
12681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12684                source: err.into(),
12685            }),
12686        }
12687    }
12688}
12689impl From<crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
12690    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
12691        match err {
12692            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
12693                Error::Unhandled(inner)
12694            }
12695        }
12696    }
12697}
12698impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
12699    for Error
12700where
12701    R: Send + Sync + std::fmt::Debug + 'static,
12702{
12703    fn from(
12704        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
12705    ) -> Self {
12706        match err {
12707            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12708            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12709                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12710                source: err.into(),
12711            }),
12712        }
12713    }
12714}
12715impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
12716    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
12717        match err {
12718            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
12719        }
12720    }
12721}
12722impl<R>
12723    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
12724    for Error
12725where
12726    R: Send + Sync + std::fmt::Debug + 'static,
12727{
12728    fn from(
12729        err: ::aws_smithy_runtime_api::client::result::SdkError<
12730            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
12731            R,
12732        >,
12733    ) -> Self {
12734        match err {
12735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12738                source: err.into(),
12739            }),
12740        }
12741    }
12742}
12743impl From<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
12744    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
12745        match err {
12746            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
12747        }
12748    }
12749}
12750impl<R>
12751    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
12752    for Error
12753where
12754    R: Send + Sync + std::fmt::Debug + 'static,
12755{
12756    fn from(
12757        err: ::aws_smithy_runtime_api::client::result::SdkError<
12758            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
12759            R,
12760        >,
12761    ) -> Self {
12762        match err {
12763            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12764            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12765                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12766                source: err.into(),
12767            }),
12768        }
12769    }
12770}
12771impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
12772    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
12773        match err {
12774            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
12775        }
12776    }
12777}
12778impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
12779where
12780    R: Send + Sync + std::fmt::Debug + 'static,
12781{
12782    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
12783        match err {
12784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12787                source: err.into(),
12788            }),
12789        }
12790    }
12791}
12792impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
12793    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
12794        match err {
12795            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
12796        }
12797    }
12798}
12799impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
12800where
12801    R: Send + Sync + std::fmt::Debug + 'static,
12802{
12803    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
12804        match err {
12805            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12806            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12807                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12808                source: err.into(),
12809            }),
12810        }
12811    }
12812}
12813impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
12814    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
12815        match err {
12816            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
12817        }
12818    }
12819}
12820impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
12821where
12822    R: Send + Sync + std::fmt::Debug + 'static,
12823{
12824    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
12825        match err {
12826            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12827            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12828                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12829                source: err.into(),
12830            }),
12831        }
12832    }
12833}
12834impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
12835    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
12836        match err {
12837            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
12838        }
12839    }
12840}
12841impl<R>
12842    From<
12843        ::aws_smithy_runtime_api::client::result::SdkError<
12844            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
12845            R,
12846        >,
12847    > for Error
12848where
12849    R: Send + Sync + std::fmt::Debug + 'static,
12850{
12851    fn from(
12852        err: ::aws_smithy_runtime_api::client::result::SdkError<
12853            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
12854            R,
12855        >,
12856    ) -> Self {
12857        match err {
12858            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12859            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12860                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12861                source: err.into(),
12862            }),
12863        }
12864    }
12865}
12866impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
12867    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
12868        match err {
12869            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
12870                Error::Unhandled(inner)
12871            }
12872        }
12873    }
12874}
12875impl<R>
12876    From<
12877        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
12878    > for Error
12879where
12880    R: Send + Sync + std::fmt::Debug + 'static,
12881{
12882    fn from(
12883        err: ::aws_smithy_runtime_api::client::result::SdkError<
12884            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
12885            R,
12886        >,
12887    ) -> Self {
12888        match err {
12889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12892                source: err.into(),
12893            }),
12894        }
12895    }
12896}
12897impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
12898    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
12899        match err {
12900            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
12901        }
12902    }
12903}
12904impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
12905    for Error
12906where
12907    R: Send + Sync + std::fmt::Debug + 'static,
12908{
12909    fn from(
12910        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
12911    ) -> Self {
12912        match err {
12913            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12914            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12915                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12916                source: err.into(),
12917            }),
12918        }
12919    }
12920}
12921impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
12922    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
12923        match err {
12924            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
12925        }
12926    }
12927}
12928impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
12929    for Error
12930where
12931    R: Send + Sync + std::fmt::Debug + 'static,
12932{
12933    fn from(
12934        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
12935    ) -> Self {
12936        match err {
12937            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12938            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12939                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12940                source: err.into(),
12941            }),
12942        }
12943    }
12944}
12945impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
12946    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
12947        match err {
12948            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12949        }
12950    }
12951}
12952impl<R>
12953    From<
12954        ::aws_smithy_runtime_api::client::result::SdkError<
12955            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
12956            R,
12957        >,
12958    > for Error
12959where
12960    R: Send + Sync + std::fmt::Debug + 'static,
12961{
12962    fn from(
12963        err: ::aws_smithy_runtime_api::client::result::SdkError<
12964            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
12965            R,
12966        >,
12967    ) -> Self {
12968        match err {
12969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12972                source: err.into(),
12973            }),
12974        }
12975    }
12976}
12977impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
12978    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
12979        match err {
12980            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
12981        }
12982    }
12983}
12984impl<R>
12985    From<
12986        ::aws_smithy_runtime_api::client::result::SdkError<
12987            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
12988            R,
12989        >,
12990    > for Error
12991where
12992    R: Send + Sync + std::fmt::Debug + 'static,
12993{
12994    fn from(
12995        err: ::aws_smithy_runtime_api::client::result::SdkError<
12996            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
12997            R,
12998        >,
12999    ) -> Self {
13000        match err {
13001            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13002            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13003                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13004                source: err.into(),
13005            }),
13006        }
13007    }
13008}
13009impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
13010    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
13011        match err {
13012            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
13013        }
13014    }
13015}
13016impl<R>
13017    From<
13018        ::aws_smithy_runtime_api::client::result::SdkError<
13019            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13020            R,
13021        >,
13022    > for Error
13023where
13024    R: Send + Sync + std::fmt::Debug + 'static,
13025{
13026    fn from(
13027        err: ::aws_smithy_runtime_api::client::result::SdkError<
13028            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13029            R,
13030        >,
13031    ) -> Self {
13032        match err {
13033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13036                source: err.into(),
13037            }),
13038        }
13039    }
13040}
13041impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
13042    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
13043        match err {
13044            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
13045                Error::Unhandled(inner)
13046            }
13047        }
13048    }
13049}
13050impl<R>
13051    From<
13052        ::aws_smithy_runtime_api::client::result::SdkError<
13053            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13054            R,
13055        >,
13056    > for Error
13057where
13058    R: Send + Sync + std::fmt::Debug + 'static,
13059{
13060    fn from(
13061        err: ::aws_smithy_runtime_api::client::result::SdkError<
13062            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13063            R,
13064        >,
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::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
13076    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
13077        match err {
13078            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
13079        }
13080    }
13081}
13082impl<R>
13083    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
13084    for Error
13085where
13086    R: Send + Sync + std::fmt::Debug + 'static,
13087{
13088    fn from(
13089        err: ::aws_smithy_runtime_api::client::result::SdkError<
13090            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
13091            R,
13092        >,
13093    ) -> Self {
13094        match err {
13095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13098                source: err.into(),
13099            }),
13100        }
13101    }
13102}
13103impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
13104    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
13105        match err {
13106            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
13107        }
13108    }
13109}
13110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
13111where
13112    R: Send + Sync + std::fmt::Debug + 'static,
13113{
13114    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> Self {
13115        match err {
13116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13119                source: err.into(),
13120            }),
13121        }
13122    }
13123}
13124impl From<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
13125    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
13126        match err {
13127            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
13128        }
13129    }
13130}
13131impl<R>
13132    From<
13133        ::aws_smithy_runtime_api::client::result::SdkError<
13134            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13135            R,
13136        >,
13137    > for Error
13138where
13139    R: Send + Sync + std::fmt::Debug + 'static,
13140{
13141    fn from(
13142        err: ::aws_smithy_runtime_api::client::result::SdkError<
13143            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13144            R,
13145        >,
13146    ) -> Self {
13147        match err {
13148            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13149            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13150                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13151                source: err.into(),
13152            }),
13153        }
13154    }
13155}
13156impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
13157    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
13158        match err {
13159            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
13160                Error::Unhandled(inner)
13161            }
13162        }
13163    }
13164}
13165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
13166where
13167    R: Send + Sync + std::fmt::Debug + 'static,
13168{
13169    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
13170        match err {
13171            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13172            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13173                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13174                source: err.into(),
13175            }),
13176        }
13177    }
13178}
13179impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
13180    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
13181        match err {
13182            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
13183        }
13184    }
13185}
13186impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
13187where
13188    R: Send + Sync + std::fmt::Debug + 'static,
13189{
13190    fn from(
13191        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
13192    ) -> Self {
13193        match err {
13194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13197                source: err.into(),
13198            }),
13199        }
13200    }
13201}
13202impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
13203    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
13204        match err {
13205            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
13206        }
13207    }
13208}
13209impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
13210    for Error
13211where
13212    R: Send + Sync + std::fmt::Debug + 'static,
13213{
13214    fn from(
13215        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
13216    ) -> Self {
13217        match err {
13218            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13219            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13220                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13221                source: err.into(),
13222            }),
13223        }
13224    }
13225}
13226impl From<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
13227    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
13228        match err {
13229            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
13230        }
13231    }
13232}
13233impl<R>
13234    From<
13235        ::aws_smithy_runtime_api::client::result::SdkError<
13236            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13237            R,
13238        >,
13239    > for Error
13240where
13241    R: Send + Sync + std::fmt::Debug + 'static,
13242{
13243    fn from(
13244        err: ::aws_smithy_runtime_api::client::result::SdkError<
13245            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13246            R,
13247        >,
13248    ) -> Self {
13249        match err {
13250            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13251            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13252                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13253                source: err.into(),
13254            }),
13255        }
13256    }
13257}
13258impl From<crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
13259    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
13260        match err {
13261            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
13262                Error::Unhandled(inner)
13263            }
13264        }
13265    }
13266}
13267impl<R>
13268    From<
13269        ::aws_smithy_runtime_api::client::result::SdkError<
13270            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13271            R,
13272        >,
13273    > for Error
13274where
13275    R: Send + Sync + std::fmt::Debug + 'static,
13276{
13277    fn from(
13278        err: ::aws_smithy_runtime_api::client::result::SdkError<
13279            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13280            R,
13281        >,
13282    ) -> Self {
13283        match err {
13284            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13285            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13286                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13287                source: err.into(),
13288            }),
13289        }
13290    }
13291}
13292impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
13293    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
13294        match err {
13295            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13296        }
13297    }
13298}
13299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
13300    for Error
13301where
13302    R: Send + Sync + std::fmt::Debug + 'static,
13303{
13304    fn from(
13305        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
13306    ) -> Self {
13307        match err {
13308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13311                source: err.into(),
13312            }),
13313        }
13314    }
13315}
13316impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
13317    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
13318        match err {
13319            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
13320        }
13321    }
13322}
13323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
13324where
13325    R: Send + Sync + std::fmt::Debug + 'static,
13326{
13327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
13328        match err {
13329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13332                source: err.into(),
13333            }),
13334        }
13335    }
13336}
13337impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
13338    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
13339        match err {
13340            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13341        }
13342    }
13343}
13344impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
13345where
13346    R: Send + Sync + std::fmt::Debug + 'static,
13347{
13348    fn from(
13349        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
13350    ) -> Self {
13351        match err {
13352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13355                source: err.into(),
13356            }),
13357        }
13358    }
13359}
13360impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
13361    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
13362        match err {
13363            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13364        }
13365    }
13366}
13367impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
13368where
13369    R: Send + Sync + std::fmt::Debug + 'static,
13370{
13371    fn from(
13372        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
13373    ) -> Self {
13374        match err {
13375            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13376            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13377                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13378                source: err.into(),
13379            }),
13380        }
13381    }
13382}
13383impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
13384    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
13385        match err {
13386            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
13387        }
13388    }
13389}
13390impl<R>
13391    From<
13392        ::aws_smithy_runtime_api::client::result::SdkError<
13393            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13394            R,
13395        >,
13396    > for Error
13397where
13398    R: Send + Sync + std::fmt::Debug + 'static,
13399{
13400    fn from(
13401        err: ::aws_smithy_runtime_api::client::result::SdkError<
13402            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13403            R,
13404        >,
13405    ) -> Self {
13406        match err {
13407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13410                source: err.into(),
13411            }),
13412        }
13413    }
13414}
13415impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
13416    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
13417        match err {
13418            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
13419                Error::Unhandled(inner)
13420            }
13421        }
13422    }
13423}
13424impl<R>
13425    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
13426    for Error
13427where
13428    R: Send + Sync + std::fmt::Debug + 'static,
13429{
13430    fn from(
13431        err: ::aws_smithy_runtime_api::client::result::SdkError<
13432            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
13433            R,
13434        >,
13435    ) -> Self {
13436        match err {
13437            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13438            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13439                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13440                source: err.into(),
13441            }),
13442        }
13443    }
13444}
13445impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
13446    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
13447        match err {
13448            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
13449        }
13450    }
13451}
13452impl<R>
13453    From<
13454        ::aws_smithy_runtime_api::client::result::SdkError<
13455            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
13456            R,
13457        >,
13458    > for Error
13459where
13460    R: Send + Sync + std::fmt::Debug + 'static,
13461{
13462    fn from(
13463        err: ::aws_smithy_runtime_api::client::result::SdkError<
13464            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
13465            R,
13466        >,
13467    ) -> Self {
13468        match err {
13469            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13470            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13471                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13472                source: err.into(),
13473            }),
13474        }
13475    }
13476}
13477impl From<crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
13478    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
13479        match err {
13480            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
13481                inner,
13482            ) => Error::Unhandled(inner),
13483        }
13484    }
13485}
13486impl<R>
13487    From<
13488        ::aws_smithy_runtime_api::client::result::SdkError<
13489            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
13490            R,
13491        >,
13492    > for Error
13493where
13494    R: Send + Sync + std::fmt::Debug + 'static,
13495{
13496    fn from(
13497        err: ::aws_smithy_runtime_api::client::result::SdkError<
13498            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
13499            R,
13500        >,
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_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
13512    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
13513        match err {
13514            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
13515                Error::Unhandled(inner)
13516            }
13517        }
13518    }
13519}
13520impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
13521where
13522    R: Send + Sync + std::fmt::Debug + 'static,
13523{
13524    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
13525        match err {
13526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13529                source: err.into(),
13530            }),
13531        }
13532    }
13533}
13534impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
13535    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
13536        match err {
13537            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
13538        }
13539    }
13540}
13541impl<R>
13542    From<
13543        ::aws_smithy_runtime_api::client::result::SdkError<
13544            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13545            R,
13546        >,
13547    > for Error
13548where
13549    R: Send + Sync + std::fmt::Debug + 'static,
13550{
13551    fn from(
13552        err: ::aws_smithy_runtime_api::client::result::SdkError<
13553            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13554            R,
13555        >,
13556    ) -> Self {
13557        match err {
13558            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13559            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13560                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13561                source: err.into(),
13562            }),
13563        }
13564    }
13565}
13566impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
13567    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
13568        match err {
13569            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
13570                Error::Unhandled(inner)
13571            }
13572        }
13573    }
13574}
13575impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>>
13576    for Error
13577where
13578    R: Send + Sync + std::fmt::Debug + 'static,
13579{
13580    fn from(
13581        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>,
13582    ) -> Self {
13583        match err {
13584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13587                source: err.into(),
13588            }),
13589        }
13590    }
13591}
13592impl From<crate::operation::get_route_server_associations::GetRouteServerAssociationsError> for Error {
13593    fn from(err: crate::operation::get_route_server_associations::GetRouteServerAssociationsError) -> Self {
13594        match err {
13595            crate::operation::get_route_server_associations::GetRouteServerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
13596        }
13597    }
13598}
13599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>>
13600    for Error
13601where
13602    R: Send + Sync + std::fmt::Debug + 'static,
13603{
13604    fn from(
13605        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>,
13606    ) -> Self {
13607        match err {
13608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13611                source: err.into(),
13612            }),
13613        }
13614    }
13615}
13616impl From<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError> for Error {
13617    fn from(err: crate::operation::get_route_server_propagations::GetRouteServerPropagationsError) -> Self {
13618        match err {
13619            crate::operation::get_route_server_propagations::GetRouteServerPropagationsError::Unhandled(inner) => Error::Unhandled(inner),
13620        }
13621    }
13622}
13623impl<R>
13624    From<
13625        ::aws_smithy_runtime_api::client::result::SdkError<
13626            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
13627            R,
13628        >,
13629    > for Error
13630where
13631    R: Send + Sync + std::fmt::Debug + 'static,
13632{
13633    fn from(
13634        err: ::aws_smithy_runtime_api::client::result::SdkError<
13635            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
13636            R,
13637        >,
13638    ) -> Self {
13639        match err {
13640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13643                source: err.into(),
13644            }),
13645        }
13646    }
13647}
13648impl From<crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError> for Error {
13649    fn from(err: crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError) -> Self {
13650        match err {
13651            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
13652        }
13653    }
13654}
13655impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
13656    for Error
13657where
13658    R: Send + Sync + std::fmt::Debug + 'static,
13659{
13660    fn from(
13661        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
13662    ) -> Self {
13663        match err {
13664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13667                source: err.into(),
13668            }),
13669        }
13670    }
13671}
13672impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
13673    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
13674        match err {
13675            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
13676        }
13677    }
13678}
13679impl<R>
13680    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
13681    for Error
13682where
13683    R: Send + Sync + std::fmt::Debug + 'static,
13684{
13685    fn from(
13686        err: ::aws_smithy_runtime_api::client::result::SdkError<
13687            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
13688            R,
13689        >,
13690    ) -> Self {
13691        match err {
13692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13695                source: err.into(),
13696            }),
13697        }
13698    }
13699}
13700impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
13701    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
13702        match err {
13703            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
13704        }
13705    }
13706}
13707impl<R>
13708    From<
13709        ::aws_smithy_runtime_api::client::result::SdkError<
13710            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
13711            R,
13712        >,
13713    > for Error
13714where
13715    R: Send + Sync + std::fmt::Debug + 'static,
13716{
13717    fn from(
13718        err: ::aws_smithy_runtime_api::client::result::SdkError<
13719            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
13720            R,
13721        >,
13722    ) -> Self {
13723        match err {
13724            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13725            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13726                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13727                source: err.into(),
13728            }),
13729        }
13730    }
13731}
13732impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
13733    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
13734        match err {
13735            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
13736                Error::Unhandled(inner)
13737            }
13738        }
13739    }
13740}
13741impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
13742    for Error
13743where
13744    R: Send + Sync + std::fmt::Debug + 'static,
13745{
13746    fn from(
13747        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
13748    ) -> Self {
13749        match err {
13750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13753                source: err.into(),
13754            }),
13755        }
13756    }
13757}
13758impl From<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError> for Error {
13759    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
13760        match err {
13761            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
13762        }
13763    }
13764}
13765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
13766    for Error
13767where
13768    R: Send + Sync + std::fmt::Debug + 'static,
13769{
13770    fn from(
13771        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
13772    ) -> Self {
13773        match err {
13774            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13775            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13776                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13777                source: err.into(),
13778            }),
13779        }
13780    }
13781}
13782impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
13783    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
13784        match err {
13785            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
13786        }
13787    }
13788}
13789impl<R>
13790    From<
13791        ::aws_smithy_runtime_api::client::result::SdkError<
13792            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
13793            R,
13794        >,
13795    > for Error
13796where
13797    R: Send + Sync + std::fmt::Debug + 'static,
13798{
13799    fn from(
13800        err: ::aws_smithy_runtime_api::client::result::SdkError<
13801            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
13802            R,
13803        >,
13804    ) -> Self {
13805        match err {
13806            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13807            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13808                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13809                source: err.into(),
13810            }),
13811        }
13812    }
13813}
13814impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
13815    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
13816        match err {
13817            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
13818                Error::Unhandled(inner)
13819            }
13820        }
13821    }
13822}
13823impl<R>
13824    From<
13825        ::aws_smithy_runtime_api::client::result::SdkError<
13826            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
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_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
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_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
13849    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
13850        match err {
13851            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
13852                inner,
13853            ) => Error::Unhandled(inner),
13854        }
13855    }
13856}
13857impl<R>
13858    From<
13859        ::aws_smithy_runtime_api::client::result::SdkError<
13860            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
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_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
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_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
13883    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
13884        match err {
13885            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
13886                Error::Unhandled(inner)
13887            }
13888        }
13889    }
13890}
13891impl<R>
13892    From<
13893        ::aws_smithy_runtime_api::client::result::SdkError<
13894            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
13895            R,
13896        >,
13897    > for Error
13898where
13899    R: Send + Sync + std::fmt::Debug + 'static,
13900{
13901    fn from(
13902        err: ::aws_smithy_runtime_api::client::result::SdkError<
13903            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
13904            R,
13905        >,
13906    ) -> Self {
13907        match err {
13908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13911                source: err.into(),
13912            }),
13913        }
13914    }
13915}
13916impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
13917    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
13918        match err {
13919            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
13920                Error::Unhandled(inner)
13921            }
13922        }
13923    }
13924}
13925impl<R>
13926    From<
13927        ::aws_smithy_runtime_api::client::result::SdkError<
13928            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
13929            R,
13930        >,
13931    > for Error
13932where
13933    R: Send + Sync + std::fmt::Debug + 'static,
13934{
13935    fn from(
13936        err: ::aws_smithy_runtime_api::client::result::SdkError<
13937            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
13938            R,
13939        >,
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_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
13951    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
13952        match err {
13953            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
13954                Error::Unhandled(inner)
13955            }
13956        }
13957    }
13958}
13959impl<R>
13960    From<
13961        ::aws_smithy_runtime_api::client::result::SdkError<
13962            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
13963            R,
13964        >,
13965    > for Error
13966where
13967    R: Send + Sync + std::fmt::Debug + 'static,
13968{
13969    fn from(
13970        err: ::aws_smithy_runtime_api::client::result::SdkError<
13971            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
13972            R,
13973        >,
13974    ) -> Self {
13975        match err {
13976            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13977            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13978                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13979                source: err.into(),
13980            }),
13981        }
13982    }
13983}
13984impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
13985    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
13986        match err {
13987            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
13988                Error::Unhandled(inner)
13989            }
13990        }
13991    }
13992}
13993impl<R>
13994    From<
13995        ::aws_smithy_runtime_api::client::result::SdkError<
13996            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
13997            R,
13998        >,
13999    > for Error
14000where
14001    R: Send + Sync + std::fmt::Debug + 'static,
14002{
14003    fn from(
14004        err: ::aws_smithy_runtime_api::client::result::SdkError<
14005            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
14006            R,
14007        >,
14008    ) -> Self {
14009        match err {
14010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14013                source: err.into(),
14014            }),
14015        }
14016    }
14017}
14018impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
14019    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
14020        match err {
14021            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
14022                Error::Unhandled(inner)
14023            }
14024        }
14025    }
14026}
14027impl<R>
14028    From<
14029        ::aws_smithy_runtime_api::client::result::SdkError<
14030            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
14031            R,
14032        >,
14033    > for Error
14034where
14035    R: Send + Sync + std::fmt::Debug + 'static,
14036{
14037    fn from(
14038        err: ::aws_smithy_runtime_api::client::result::SdkError<
14039            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
14040            R,
14041        >,
14042    ) -> Self {
14043        match err {
14044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14047                source: err.into(),
14048            }),
14049        }
14050    }
14051}
14052impl From<crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
14053    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
14054        match err {
14055            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14056        }
14057    }
14058}
14059impl<R>
14060    From<
14061        ::aws_smithy_runtime_api::client::result::SdkError<
14062            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
14063            R,
14064        >,
14065    > for Error
14066where
14067    R: Send + Sync + std::fmt::Debug + 'static,
14068{
14069    fn from(
14070        err: ::aws_smithy_runtime_api::client::result::SdkError<
14071            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
14072            R,
14073        >,
14074    ) -> Self {
14075        match err {
14076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14079                source: err.into(),
14080            }),
14081        }
14082    }
14083}
14084impl From<crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
14085    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
14086        match err {
14087            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
14088                Error::Unhandled(inner)
14089            }
14090        }
14091    }
14092}
14093impl<R>
14094    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
14095    for Error
14096where
14097    R: Send + Sync + std::fmt::Debug + 'static,
14098{
14099    fn from(
14100        err: ::aws_smithy_runtime_api::client::result::SdkError<
14101            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
14102            R,
14103        >,
14104    ) -> Self {
14105        match err {
14106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14109                source: err.into(),
14110            }),
14111        }
14112    }
14113}
14114impl From<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
14115    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
14116        match err {
14117            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14118        }
14119    }
14120}
14121impl<R>
14122    From<
14123        ::aws_smithy_runtime_api::client::result::SdkError<
14124            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
14125            R,
14126        >,
14127    > for Error
14128where
14129    R: Send + Sync + std::fmt::Debug + 'static,
14130{
14131    fn from(
14132        err: ::aws_smithy_runtime_api::client::result::SdkError<
14133            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
14134            R,
14135        >,
14136    ) -> Self {
14137        match err {
14138            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14139            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14140                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14141                source: err.into(),
14142            }),
14143        }
14144    }
14145}
14146impl From<crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
14147    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
14148        match err {
14149            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
14150                Error::Unhandled(inner)
14151            }
14152        }
14153    }
14154}
14155impl<R>
14156    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
14157    for Error
14158where
14159    R: Send + Sync + std::fmt::Debug + 'static,
14160{
14161    fn from(
14162        err: ::aws_smithy_runtime_api::client::result::SdkError<
14163            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
14164            R,
14165        >,
14166    ) -> Self {
14167        match err {
14168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14171                source: err.into(),
14172            }),
14173        }
14174    }
14175}
14176impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
14177    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
14178        match err {
14179            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
14180        }
14181    }
14182}
14183impl<R>
14184    From<
14185        ::aws_smithy_runtime_api::client::result::SdkError<
14186            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14187            R,
14188        >,
14189    > for Error
14190where
14191    R: Send + Sync + std::fmt::Debug + 'static,
14192{
14193    fn from(
14194        err: ::aws_smithy_runtime_api::client::result::SdkError<
14195            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14196            R,
14197        >,
14198    ) -> Self {
14199        match err {
14200            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14201            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14202                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14203                source: err.into(),
14204            }),
14205        }
14206    }
14207}
14208impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
14209    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
14210        match err {
14211            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
14212        }
14213    }
14214}
14215impl<R>
14216    From<
14217        ::aws_smithy_runtime_api::client::result::SdkError<
14218            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14219            R,
14220        >,
14221    > for Error
14222where
14223    R: Send + Sync + std::fmt::Debug + 'static,
14224{
14225    fn from(
14226        err: ::aws_smithy_runtime_api::client::result::SdkError<
14227            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14228            R,
14229        >,
14230    ) -> Self {
14231        match err {
14232            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14233            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14234                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14235                source: err.into(),
14236            }),
14237        }
14238    }
14239}
14240impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
14241    fn from(
14242        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14243    ) -> Self {
14244        match err {
14245            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
14246        }
14247    }
14248}
14249impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
14250where
14251    R: Send + Sync + std::fmt::Debug + 'static,
14252{
14253    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
14254        match err {
14255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14258                source: err.into(),
14259            }),
14260        }
14261    }
14262}
14263impl From<crate::operation::import_image::ImportImageError> for Error {
14264    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
14265        match err {
14266            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
14267        }
14268    }
14269}
14270impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
14271where
14272    R: Send + Sync + std::fmt::Debug + 'static,
14273{
14274    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
14275        match err {
14276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14279                source: err.into(),
14280            }),
14281        }
14282    }
14283}
14284impl From<crate::operation::import_instance::ImportInstanceError> for Error {
14285    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
14286        match err {
14287            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
14288        }
14289    }
14290}
14291impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
14292where
14293    R: Send + Sync + std::fmt::Debug + 'static,
14294{
14295    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
14296        match err {
14297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14300                source: err.into(),
14301            }),
14302        }
14303    }
14304}
14305impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
14306    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
14307        match err {
14308            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
14309        }
14310    }
14311}
14312impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
14313where
14314    R: Send + Sync + std::fmt::Debug + 'static,
14315{
14316    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
14317        match err {
14318            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14319            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14320                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14321                source: err.into(),
14322            }),
14323        }
14324    }
14325}
14326impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
14327    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
14328        match err {
14329            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
14330        }
14331    }
14332}
14333impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
14334where
14335    R: Send + Sync + std::fmt::Debug + 'static,
14336{
14337    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
14338        match err {
14339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14342                source: err.into(),
14343            }),
14344        }
14345    }
14346}
14347impl From<crate::operation::import_volume::ImportVolumeError> for Error {
14348    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
14349        match err {
14350            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
14351        }
14352    }
14353}
14354impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
14355    for Error
14356where
14357    R: Send + Sync + std::fmt::Debug + 'static,
14358{
14359    fn from(
14360        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
14361    ) -> Self {
14362        match err {
14363            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14364            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14365                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14366                source: err.into(),
14367            }),
14368        }
14369    }
14370}
14371impl From<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
14372    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
14373        match err {
14374            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14375        }
14376    }
14377}
14378impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
14379    for Error
14380where
14381    R: Send + Sync + std::fmt::Debug + 'static,
14382{
14383    fn from(
14384        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
14385    ) -> Self {
14386        match err {
14387            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14388            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14389                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14390                source: err.into(),
14391            }),
14392        }
14393    }
14394}
14395impl From<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
14396    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
14397        match err {
14398            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14399        }
14400    }
14401}
14402impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
14403where
14404    R: Send + Sync + std::fmt::Debug + 'static,
14405{
14406    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
14407        match err {
14408            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14409            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14410                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14411                source: err.into(),
14412            }),
14413        }
14414    }
14415}
14416impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
14417    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
14418        match err {
14419            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
14420        }
14421    }
14422}
14423impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> for Error
14424where
14425    R: Send + Sync + std::fmt::Debug + 'static,
14426{
14427    fn from(
14428        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>,
14429    ) -> Self {
14430        match err {
14431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14434                source: err.into(),
14435            }),
14436        }
14437    }
14438}
14439impl From<crate::operation::modify_address_attribute::ModifyAddressAttributeError> for Error {
14440    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
14441        match err {
14442            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14443        }
14444    }
14445}
14446impl<R>
14447    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
14448    for Error
14449where
14450    R: Send + Sync + std::fmt::Debug + 'static,
14451{
14452    fn from(
14453        err: ::aws_smithy_runtime_api::client::result::SdkError<
14454            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
14455            R,
14456        >,
14457    ) -> Self {
14458        match err {
14459            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14460            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14461                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14462                source: err.into(),
14463            }),
14464        }
14465    }
14466}
14467impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
14468    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
14469        match err {
14470            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
14471        }
14472    }
14473}
14474impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
14475    for Error
14476where
14477    R: Send + Sync + std::fmt::Debug + 'static,
14478{
14479    fn from(
14480        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
14481    ) -> Self {
14482        match err {
14483            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14484            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14485                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14486                source: err.into(),
14487            }),
14488        }
14489    }
14490}
14491impl From<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
14492    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
14493        match err {
14494            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
14495        }
14496    }
14497}
14498impl<R>
14499    From<
14500        ::aws_smithy_runtime_api::client::result::SdkError<
14501            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
14502            R,
14503        >,
14504    > for Error
14505where
14506    R: Send + Sync + std::fmt::Debug + 'static,
14507{
14508    fn from(
14509        err: ::aws_smithy_runtime_api::client::result::SdkError<
14510            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
14511            R,
14512        >,
14513    ) -> Self {
14514        match err {
14515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14518                source: err.into(),
14519            }),
14520        }
14521    }
14522}
14523impl From<crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
14524    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
14525        match err {
14526            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
14527        }
14528    }
14529}
14530impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
14531    for Error
14532where
14533    R: Send + Sync + std::fmt::Debug + 'static,
14534{
14535    fn from(
14536        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
14537    ) -> Self {
14538        match err {
14539            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14540            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14541                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14542                source: err.into(),
14543            }),
14544        }
14545    }
14546}
14547impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
14548    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
14549        match err {
14550            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
14551        }
14552    }
14553}
14554impl<R>
14555    From<
14556        ::aws_smithy_runtime_api::client::result::SdkError<
14557            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
14558            R,
14559        >,
14560    > for Error
14561where
14562    R: Send + Sync + std::fmt::Debug + 'static,
14563{
14564    fn from(
14565        err: ::aws_smithy_runtime_api::client::result::SdkError<
14566            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
14567            R,
14568        >,
14569    ) -> Self {
14570        match err {
14571            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14572            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14573                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14574                source: err.into(),
14575            }),
14576        }
14577    }
14578}
14579impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
14580    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
14581        match err {
14582            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
14583        }
14584    }
14585}
14586impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
14587    for Error
14588where
14589    R: Send + Sync + std::fmt::Debug + 'static,
14590{
14591    fn from(
14592        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>,
14593    ) -> Self {
14594        match err {
14595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14598                source: err.into(),
14599            }),
14600        }
14601    }
14602}
14603impl From<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
14604    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
14605        match err {
14606            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
14607        }
14608    }
14609}
14610impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
14611where
14612    R: Send + Sync + std::fmt::Debug + 'static,
14613{
14614    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
14615        match err {
14616            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14617            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14618                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14619                source: err.into(),
14620            }),
14621        }
14622    }
14623}
14624impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
14625    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
14626        match err {
14627            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
14628        }
14629    }
14630}
14631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
14632    for Error
14633where
14634    R: Send + Sync + std::fmt::Debug + 'static,
14635{
14636    fn from(
14637        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
14638    ) -> Self {
14639        match err {
14640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14643                source: err.into(),
14644            }),
14645        }
14646    }
14647}
14648impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
14649    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
14650        match err {
14651            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14652        }
14653    }
14654}
14655impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
14656where
14657    R: Send + Sync + std::fmt::Debug + 'static,
14658{
14659    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
14660        match err {
14661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14664                source: err.into(),
14665            }),
14666        }
14667    }
14668}
14669impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
14670    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
14671        match err {
14672            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
14673        }
14674    }
14675}
14676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>>
14677    for Error
14678where
14679    R: Send + Sync + std::fmt::Debug + 'static,
14680{
14681    fn from(
14682        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
14683    ) -> Self {
14684        match err {
14685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14688                source: err.into(),
14689            }),
14690        }
14691    }
14692}
14693impl From<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
14694    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
14695        match err {
14696            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
14697        }
14698    }
14699}
14700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
14701where
14702    R: Send + Sync + std::fmt::Debug + 'static,
14703{
14704    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
14705        match err {
14706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14709                source: err.into(),
14710            }),
14711        }
14712    }
14713}
14714impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
14715    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
14716        match err {
14717            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
14718        }
14719    }
14720}
14721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
14722where
14723    R: Send + Sync + std::fmt::Debug + 'static,
14724{
14725    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
14726        match err {
14727            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14728            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14729                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14730                source: err.into(),
14731            }),
14732        }
14733    }
14734}
14735impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
14736    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
14737        match err {
14738            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14739        }
14740    }
14741}
14742impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>>
14743    for Error
14744where
14745    R: Send + Sync + std::fmt::Debug + 'static,
14746{
14747    fn from(
14748        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
14749    ) -> Self {
14750        match err {
14751            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14752            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14753                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14754                source: err.into(),
14755            }),
14756        }
14757    }
14758}
14759impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
14760    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
14761        match err {
14762            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14763        }
14764    }
14765}
14766impl<R>
14767    From<
14768        ::aws_smithy_runtime_api::client::result::SdkError<
14769            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
14770            R,
14771        >,
14772    > for Error
14773where
14774    R: Send + Sync + std::fmt::Debug + 'static,
14775{
14776    fn from(
14777        err: ::aws_smithy_runtime_api::client::result::SdkError<
14778            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
14779            R,
14780        >,
14781    ) -> Self {
14782        match err {
14783            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14784            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14785                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14786                source: err.into(),
14787            }),
14788        }
14789    }
14790}
14791impl From<crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
14792    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
14793        match err {
14794            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
14795                Error::Unhandled(inner)
14796            }
14797        }
14798    }
14799}
14800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
14801    for Error
14802where
14803    R: Send + Sync + std::fmt::Debug + 'static,
14804{
14805    fn from(
14806        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
14807    ) -> Self {
14808        match err {
14809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14812                source: err.into(),
14813            }),
14814        }
14815    }
14816}
14817impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
14818    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
14819        match err {
14820            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
14821        }
14822    }
14823}
14824impl<R>
14825    From<
14826        ::aws_smithy_runtime_api::client::result::SdkError<
14827            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
14828            R,
14829        >,
14830    > for Error
14831where
14832    R: Send + Sync + std::fmt::Debug + 'static,
14833{
14834    fn from(
14835        err: ::aws_smithy_runtime_api::client::result::SdkError<
14836            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
14837            R,
14838        >,
14839    ) -> Self {
14840        match err {
14841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14844                source: err.into(),
14845            }),
14846        }
14847    }
14848}
14849impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
14850    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
14851        match err {
14852            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
14853                Error::Unhandled(inner)
14854            }
14855        }
14856    }
14857}
14858impl<R>
14859    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
14860    for Error
14861where
14862    R: Send + Sync + std::fmt::Debug + 'static,
14863{
14864    fn from(
14865        err: ::aws_smithy_runtime_api::client::result::SdkError<
14866            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
14867            R,
14868        >,
14869    ) -> Self {
14870        match err {
14871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14874                source: err.into(),
14875            }),
14876        }
14877    }
14878}
14879impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
14880    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
14881        match err {
14882            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
14883        }
14884    }
14885}
14886impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
14887    for Error
14888where
14889    R: Send + Sync + std::fmt::Debug + 'static,
14890{
14891    fn from(
14892        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
14893    ) -> Self {
14894        match err {
14895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14898                source: err.into(),
14899            }),
14900        }
14901    }
14902}
14903impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
14904    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
14905        match err {
14906            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
14907        }
14908    }
14909}
14910impl<R>
14911    From<
14912        ::aws_smithy_runtime_api::client::result::SdkError<
14913            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
14914            R,
14915        >,
14916    > for Error
14917where
14918    R: Send + Sync + std::fmt::Debug + 'static,
14919{
14920    fn from(
14921        err: ::aws_smithy_runtime_api::client::result::SdkError<
14922            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
14923            R,
14924        >,
14925    ) -> Self {
14926        match err {
14927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14930                source: err.into(),
14931            }),
14932        }
14933    }
14934}
14935impl From<crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
14936    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
14937        match err {
14938            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
14939        }
14940    }
14941}
14942impl<R>
14943    From<
14944        ::aws_smithy_runtime_api::client::result::SdkError<
14945            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
14946            R,
14947        >,
14948    > for Error
14949where
14950    R: Send + Sync + std::fmt::Debug + 'static,
14951{
14952    fn from(
14953        err: ::aws_smithy_runtime_api::client::result::SdkError<
14954            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
14955            R,
14956        >,
14957    ) -> Self {
14958        match err {
14959            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14960            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14961                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14962                source: err.into(),
14963            }),
14964        }
14965    }
14966}
14967impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
14968    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
14969        match err {
14970            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
14971        }
14972    }
14973}
14974impl<R>
14975    From<
14976        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
14977    > for Error
14978where
14979    R: Send + Sync + std::fmt::Debug + 'static,
14980{
14981    fn from(
14982        err: ::aws_smithy_runtime_api::client::result::SdkError<
14983            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
14984            R,
14985        >,
14986    ) -> Self {
14987        match err {
14988            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14989            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14990                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14991                source: err.into(),
14992            }),
14993        }
14994    }
14995}
14996impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
14997    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
14998        match err {
14999            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15000        }
15001    }
15002}
15003impl<R>
15004    From<
15005        ::aws_smithy_runtime_api::client::result::SdkError<
15006            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15007            R,
15008        >,
15009    > for Error
15010where
15011    R: Send + Sync + std::fmt::Debug + 'static,
15012{
15013    fn from(
15014        err: ::aws_smithy_runtime_api::client::result::SdkError<
15015            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15016            R,
15017        >,
15018    ) -> Self {
15019        match err {
15020            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15021            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15022                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15023                source: err.into(),
15024            }),
15025        }
15026    }
15027}
15028impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
15029    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
15030        match err {
15031            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
15032                Error::Unhandled(inner)
15033            }
15034        }
15035    }
15036}
15037impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, 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<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
15044    ) -> Self {
15045        match err {
15046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15049                source: err.into(),
15050            }),
15051        }
15052    }
15053}
15054impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
15055    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
15056        match err {
15057            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
15058        }
15059    }
15060}
15061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
15062where
15063    R: Send + Sync + std::fmt::Debug + 'static,
15064{
15065    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
15066        match err {
15067            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15068            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15069                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15070                source: err.into(),
15071            }),
15072        }
15073    }
15074}
15075impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
15076    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
15077        match err {
15078            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
15079        }
15080    }
15081}
15082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
15083where
15084    R: Send + Sync + std::fmt::Debug + 'static,
15085{
15086    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
15087        match err {
15088            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15089            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15090                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15091                source: err.into(),
15092            }),
15093        }
15094    }
15095}
15096impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
15097    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
15098        match err {
15099            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
15100        }
15101    }
15102}
15103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
15104    for Error
15105where
15106    R: Send + Sync + std::fmt::Debug + 'static,
15107{
15108    fn from(
15109        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
15110    ) -> Self {
15111        match err {
15112            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15113            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15114                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15115                source: err.into(),
15116            }),
15117        }
15118    }
15119}
15120impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
15121    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
15122        match err {
15123            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
15124        }
15125    }
15126}
15127impl<R>
15128    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
15129    for Error
15130where
15131    R: Send + Sync + std::fmt::Debug + 'static,
15132{
15133    fn from(
15134        err: ::aws_smithy_runtime_api::client::result::SdkError<
15135            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
15136            R,
15137        >,
15138    ) -> Self {
15139        match err {
15140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15143                source: err.into(),
15144            }),
15145        }
15146    }
15147}
15148impl From<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
15149    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
15150        match err {
15151            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
15152        }
15153    }
15154}
15155impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
15156where
15157    R: Send + Sync + std::fmt::Debug + 'static,
15158{
15159    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> 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_ipam_scope::ModifyIpamScopeError> for Error {
15170    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
15171        match err {
15172            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
15173        }
15174    }
15175}
15176impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
15177where
15178    R: Send + Sync + std::fmt::Debug + 'static,
15179{
15180    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
15181        match err {
15182            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15183            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15184                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15185                source: err.into(),
15186            }),
15187        }
15188    }
15189}
15190impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
15191    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
15192        match err {
15193            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
15194        }
15195    }
15196}
15197impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
15198    for Error
15199where
15200    R: Send + Sync + std::fmt::Debug + 'static,
15201{
15202    fn from(
15203        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
15204    ) -> 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_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
15215    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
15216        match err {
15217            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
15218        }
15219    }
15220}
15221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, 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_managed_prefix_list::ModifyManagedPrefixListError, 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_managed_prefix_list::ModifyManagedPrefixListError> for Error {
15239    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
15240        match err {
15241            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
15242        }
15243    }
15244}
15245impl<R>
15246    From<
15247        ::aws_smithy_runtime_api::client::result::SdkError<
15248            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15249            R,
15250        >,
15251    > for Error
15252where
15253    R: Send + Sync + std::fmt::Debug + 'static,
15254{
15255    fn from(
15256        err: ::aws_smithy_runtime_api::client::result::SdkError<
15257            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15258            R,
15259        >,
15260    ) -> Self {
15261        match err {
15262            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15263            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15264                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15265                source: err.into(),
15266            }),
15267        }
15268    }
15269}
15270impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
15271    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
15272        match err {
15273            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15274        }
15275    }
15276}
15277impl<R>
15278    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
15279    for Error
15280where
15281    R: Send + Sync + std::fmt::Debug + 'static,
15282{
15283    fn from(
15284        err: ::aws_smithy_runtime_api::client::result::SdkError<
15285            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
15286            R,
15287        >,
15288    ) -> Self {
15289        match err {
15290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15293                source: err.into(),
15294            }),
15295        }
15296    }
15297}
15298impl From<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
15299    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
15300        match err {
15301            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15302        }
15303    }
15304}
15305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
15306    for Error
15307where
15308    R: Send + Sync + std::fmt::Debug + 'static,
15309{
15310    fn from(
15311        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
15312    ) -> Self {
15313        match err {
15314            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15315            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15316                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15317                source: err.into(),
15318            }),
15319        }
15320    }
15321}
15322impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
15323    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
15324        match err {
15325            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
15326        }
15327    }
15328}
15329impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>> for Error
15330where
15331    R: Send + Sync + std::fmt::Debug + 'static,
15332{
15333    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>) -> Self {
15334        match err {
15335            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15336            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15337                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15338                source: err.into(),
15339            }),
15340        }
15341    }
15342}
15343impl From<crate::operation::modify_route_server::ModifyRouteServerError> for Error {
15344    fn from(err: crate::operation::modify_route_server::ModifyRouteServerError) -> Self {
15345        match err {
15346            crate::operation::modify_route_server::ModifyRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
15347        }
15348    }
15349}
15350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
15351    for Error
15352where
15353    R: Send + Sync + std::fmt::Debug + 'static,
15354{
15355    fn from(
15356        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
15357    ) -> Self {
15358        match err {
15359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15362                source: err.into(),
15363            }),
15364        }
15365    }
15366}
15367impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
15368    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
15369        match err {
15370            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
15371        }
15372    }
15373}
15374impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
15375    for Error
15376where
15377    R: Send + Sync + std::fmt::Debug + 'static,
15378{
15379    fn from(
15380        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
15381    ) -> Self {
15382        match err {
15383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15386                source: err.into(),
15387            }),
15388        }
15389    }
15390}
15391impl From<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
15392    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
15393        match err {
15394            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15395        }
15396    }
15397}
15398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
15399where
15400    R: Send + Sync + std::fmt::Debug + 'static,
15401{
15402    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> 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_snapshot_tier::ModifySnapshotTierError> for Error {
15413    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
15414        match err {
15415            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
15416        }
15417    }
15418}
15419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, 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_spot_fleet_request::ModifySpotFleetRequestError, 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_spot_fleet_request::ModifySpotFleetRequestError> for Error {
15437    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
15438        match err {
15439            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
15440        }
15441    }
15442}
15443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
15444where
15445    R: Send + Sync + std::fmt::Debug + 'static,
15446{
15447    fn from(
15448        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
15449    ) -> Self {
15450        match err {
15451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15454                source: err.into(),
15455            }),
15456        }
15457    }
15458}
15459impl From<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError> for Error {
15460    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
15461        match err {
15462            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15463        }
15464    }
15465}
15466impl<R>
15467    From<
15468        ::aws_smithy_runtime_api::client::result::SdkError<
15469            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
15470            R,
15471        >,
15472    > for Error
15473where
15474    R: Send + Sync + std::fmt::Debug + 'static,
15475{
15476    fn from(
15477        err: ::aws_smithy_runtime_api::client::result::SdkError<
15478            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
15479            R,
15480        >,
15481    ) -> Self {
15482        match err {
15483            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15484            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15485                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15486                source: err.into(),
15487            }),
15488        }
15489    }
15490}
15491impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
15492    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
15493        match err {
15494            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
15495                Error::Unhandled(inner)
15496            }
15497        }
15498    }
15499}
15500impl<R>
15501    From<
15502        ::aws_smithy_runtime_api::client::result::SdkError<
15503            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
15504            R,
15505        >,
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<
15512            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
15513            R,
15514        >,
15515    ) -> Self {
15516        match err {
15517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15520                source: err.into(),
15521            }),
15522        }
15523    }
15524}
15525impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
15526    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
15527        match err {
15528            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
15529        }
15530    }
15531}
15532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
15533    for Error
15534where
15535    R: Send + Sync + std::fmt::Debug + 'static,
15536{
15537    fn from(
15538        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
15539    ) -> Self {
15540        match err {
15541            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15542            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15543                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15544                source: err.into(),
15545            }),
15546        }
15547    }
15548}
15549impl From<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
15550    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
15551        match err {
15552            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
15553        }
15554    }
15555}
15556impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
15557where
15558    R: Send + Sync + std::fmt::Debug + 'static,
15559{
15560    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> Self {
15561        match err {
15562            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15563            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15564                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15565                source: err.into(),
15566            }),
15567        }
15568    }
15569}
15570impl From<crate::operation::modify_transit_gateway::ModifyTransitGatewayError> for Error {
15571    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
15572        match err {
15573            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
15574        }
15575    }
15576}
15577impl<R>
15578    From<
15579        ::aws_smithy_runtime_api::client::result::SdkError<
15580            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
15581            R,
15582        >,
15583    > for Error
15584where
15585    R: Send + Sync + std::fmt::Debug + 'static,
15586{
15587    fn from(
15588        err: ::aws_smithy_runtime_api::client::result::SdkError<
15589            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
15590            R,
15591        >,
15592    ) -> Self {
15593        match err {
15594            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15595            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15596                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15597                source: err.into(),
15598            }),
15599        }
15600    }
15601}
15602impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
15603    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
15604        match err {
15605            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
15606                Error::Unhandled(inner)
15607            }
15608        }
15609    }
15610}
15611impl<R>
15612    From<
15613        ::aws_smithy_runtime_api::client::result::SdkError<
15614            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15615            R,
15616        >,
15617    > for Error
15618where
15619    R: Send + Sync + std::fmt::Debug + 'static,
15620{
15621    fn from(
15622        err: ::aws_smithy_runtime_api::client::result::SdkError<
15623            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15624            R,
15625        >,
15626    ) -> Self {
15627        match err {
15628            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15629            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15630                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15631                source: err.into(),
15632            }),
15633        }
15634    }
15635}
15636impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
15637    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
15638        match err {
15639            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
15640                Error::Unhandled(inner)
15641            }
15642        }
15643    }
15644}
15645impl<R>
15646    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
15647    for Error
15648where
15649    R: Send + Sync + std::fmt::Debug + 'static,
15650{
15651    fn from(
15652        err: ::aws_smithy_runtime_api::client::result::SdkError<
15653            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
15654            R,
15655        >,
15656    ) -> Self {
15657        match err {
15658            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15659            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15660                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15661                source: err.into(),
15662            }),
15663        }
15664    }
15665}
15666impl From<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
15667    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
15668        match err {
15669            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15670        }
15671    }
15672}
15673impl<R>
15674    From<
15675        ::aws_smithy_runtime_api::client::result::SdkError<
15676            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
15677            R,
15678        >,
15679    > for Error
15680where
15681    R: Send + Sync + std::fmt::Debug + 'static,
15682{
15683    fn from(
15684        err: ::aws_smithy_runtime_api::client::result::SdkError<
15685            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
15686            R,
15687        >,
15688    ) -> Self {
15689        match err {
15690            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15691            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15692                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15693                source: err.into(),
15694            }),
15695        }
15696    }
15697}
15698impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
15699    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
15700        match err {
15701            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
15702                Error::Unhandled(inner)
15703            }
15704        }
15705    }
15706}
15707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
15708    for Error
15709where
15710    R: Send + Sync + std::fmt::Debug + 'static,
15711{
15712    fn from(
15713        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
15714    ) -> Self {
15715        match err {
15716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15719                source: err.into(),
15720            }),
15721        }
15722    }
15723}
15724impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
15725    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
15726        match err {
15727            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
15728        }
15729    }
15730}
15731impl<R>
15732    From<
15733        ::aws_smithy_runtime_api::client::result::SdkError<
15734            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
15735            R,
15736        >,
15737    > for Error
15738where
15739    R: Send + Sync + std::fmt::Debug + 'static,
15740{
15741    fn from(
15742        err: ::aws_smithy_runtime_api::client::result::SdkError<
15743            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
15744            R,
15745        >,
15746    ) -> Self {
15747        match err {
15748            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15749            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15750                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15751                source: err.into(),
15752            }),
15753        }
15754    }
15755}
15756impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
15757    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
15758        match err {
15759            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15760        }
15761    }
15762}
15763impl<R>
15764    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
15765    for Error
15766where
15767    R: Send + Sync + std::fmt::Debug + 'static,
15768{
15769    fn from(
15770        err: ::aws_smithy_runtime_api::client::result::SdkError<
15771            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
15772            R,
15773        >,
15774    ) -> Self {
15775        match err {
15776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15779                source: err.into(),
15780            }),
15781        }
15782    }
15783}
15784impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
15785    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
15786        match err {
15787            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
15788        }
15789    }
15790}
15791impl<R>
15792    From<
15793        ::aws_smithy_runtime_api::client::result::SdkError<
15794            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15795            R,
15796        >,
15797    > for Error
15798where
15799    R: Send + Sync + std::fmt::Debug + 'static,
15800{
15801    fn from(
15802        err: ::aws_smithy_runtime_api::client::result::SdkError<
15803            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15804            R,
15805        >,
15806    ) -> Self {
15807        match err {
15808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15811                source: err.into(),
15812            }),
15813        }
15814    }
15815}
15816impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
15817    fn from(
15818        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15819    ) -> Self {
15820        match err {
15821            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
15822        }
15823    }
15824}
15825impl<R>
15826    From<
15827        ::aws_smithy_runtime_api::client::result::SdkError<
15828            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
15829            R,
15830        >,
15831    > for Error
15832where
15833    R: Send + Sync + std::fmt::Debug + 'static,
15834{
15835    fn from(
15836        err: ::aws_smithy_runtime_api::client::result::SdkError<
15837            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
15838            R,
15839        >,
15840    ) -> Self {
15841        match err {
15842            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15843            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15844                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15845                source: err.into(),
15846            }),
15847        }
15848    }
15849}
15850impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
15851    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
15852        match err {
15853            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
15854                Error::Unhandled(inner)
15855            }
15856        }
15857    }
15858}
15859impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
15860where
15861    R: Send + Sync + std::fmt::Debug + 'static,
15862{
15863    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> Self {
15864        match err {
15865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15868                source: err.into(),
15869            }),
15870        }
15871    }
15872}
15873impl From<crate::operation::modify_volume::ModifyVolumeError> for Error {
15874    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
15875        match err {
15876            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
15877        }
15878    }
15879}
15880impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
15881where
15882    R: Send + Sync + std::fmt::Debug + 'static,
15883{
15884    fn from(
15885        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
15886    ) -> Self {
15887        match err {
15888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15891                source: err.into(),
15892            }),
15893        }
15894    }
15895}
15896impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
15897    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
15898        match err {
15899            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15900        }
15901    }
15902}
15903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
15904where
15905    R: Send + Sync + std::fmt::Debug + 'static,
15906{
15907    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> 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_vpc_attribute::ModifyVpcAttributeError> for Error {
15918    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
15919        match err {
15920            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15921        }
15922    }
15923}
15924impl<R>
15925    From<
15926        ::aws_smithy_runtime_api::client::result::SdkError<
15927            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
15928            R,
15929        >,
15930    > for Error
15931where
15932    R: Send + Sync + std::fmt::Debug + 'static,
15933{
15934    fn from(
15935        err: ::aws_smithy_runtime_api::client::result::SdkError<
15936            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
15937            R,
15938        >,
15939    ) -> Self {
15940        match err {
15941            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15942            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15943                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15944                source: err.into(),
15945            }),
15946        }
15947    }
15948}
15949impl From<crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
15950    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
15951        match err {
15952            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
15953                Error::Unhandled(inner)
15954            }
15955        }
15956    }
15957}
15958impl<R>
15959    From<
15960        ::aws_smithy_runtime_api::client::result::SdkError<
15961            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
15962            R,
15963        >,
15964    > for Error
15965where
15966    R: Send + Sync + std::fmt::Debug + 'static,
15967{
15968    fn from(
15969        err: ::aws_smithy_runtime_api::client::result::SdkError<
15970            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
15971            R,
15972        >,
15973    ) -> Self {
15974        match err {
15975            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15976            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15977                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15978                source: err.into(),
15979            }),
15980        }
15981    }
15982}
15983impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
15984    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
15985        match err {
15986            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
15987                Error::Unhandled(inner)
15988            }
15989        }
15990    }
15991}
15992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
15993where
15994    R: Send + Sync + std::fmt::Debug + 'static,
15995{
15996    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
15997        match err {
15998            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15999            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16000                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16001                source: err.into(),
16002            }),
16003        }
16004    }
16005}
16006impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
16007    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
16008        match err {
16009            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16010        }
16011    }
16012}
16013impl<R>
16014    From<
16015        ::aws_smithy_runtime_api::client::result::SdkError<
16016            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16017            R,
16018        >,
16019    > for Error
16020where
16021    R: Send + Sync + std::fmt::Debug + 'static,
16022{
16023    fn from(
16024        err: ::aws_smithy_runtime_api::client::result::SdkError<
16025            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16026            R,
16027        >,
16028    ) -> Self {
16029        match err {
16030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16033                source: err.into(),
16034            }),
16035        }
16036    }
16037}
16038impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
16039    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
16040        match err {
16041            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
16042                Error::Unhandled(inner)
16043            }
16044        }
16045    }
16046}
16047impl<R>
16048    From<
16049        ::aws_smithy_runtime_api::client::result::SdkError<
16050            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16051            R,
16052        >,
16053    > for Error
16054where
16055    R: Send + Sync + std::fmt::Debug + 'static,
16056{
16057    fn from(
16058        err: ::aws_smithy_runtime_api::client::result::SdkError<
16059            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16060            R,
16061        >,
16062    ) -> Self {
16063        match err {
16064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16067                source: err.into(),
16068            }),
16069        }
16070    }
16071}
16072impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
16073    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
16074        match err {
16075            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
16076                Error::Unhandled(inner)
16077            }
16078        }
16079    }
16080}
16081impl<R>
16082    From<
16083        ::aws_smithy_runtime_api::client::result::SdkError<
16084            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16085            R,
16086        >,
16087    > for Error
16088where
16089    R: Send + Sync + std::fmt::Debug + 'static,
16090{
16091    fn from(
16092        err: ::aws_smithy_runtime_api::client::result::SdkError<
16093            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16094            R,
16095        >,
16096    ) -> Self {
16097        match err {
16098            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16099            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16100                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16101                source: err.into(),
16102            }),
16103        }
16104    }
16105}
16106impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
16107    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
16108        match err {
16109            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
16110                inner,
16111            ) => Error::Unhandled(inner),
16112        }
16113    }
16114}
16115impl<R>
16116    From<
16117        ::aws_smithy_runtime_api::client::result::SdkError<
16118            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16119            R,
16120        >,
16121    > for Error
16122where
16123    R: Send + Sync + std::fmt::Debug + 'static,
16124{
16125    fn from(
16126        err: ::aws_smithy_runtime_api::client::result::SdkError<
16127            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16128            R,
16129        >,
16130    ) -> Self {
16131        match err {
16132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16135                source: err.into(),
16136            }),
16137        }
16138    }
16139}
16140impl From<crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
16141    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
16142        match err {
16143            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
16144                Error::Unhandled(inner)
16145            }
16146        }
16147    }
16148}
16149impl<R>
16150    From<
16151        ::aws_smithy_runtime_api::client::result::SdkError<
16152            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16153            R,
16154        >,
16155    > for Error
16156where
16157    R: Send + Sync + std::fmt::Debug + 'static,
16158{
16159    fn from(
16160        err: ::aws_smithy_runtime_api::client::result::SdkError<
16161            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16162            R,
16163        >,
16164    ) -> Self {
16165        match err {
16166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16169                source: err.into(),
16170            }),
16171        }
16172    }
16173}
16174impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
16175    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
16176        match err {
16177            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
16178                Error::Unhandled(inner)
16179            }
16180        }
16181    }
16182}
16183impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
16184where
16185    R: Send + Sync + std::fmt::Debug + 'static,
16186{
16187    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> 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_vpc_tenancy::ModifyVpcTenancyError> for Error {
16198    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
16199        match err {
16200            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
16201        }
16202    }
16203}
16204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, 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_vpn_connection::ModifyVpnConnectionError, 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_vpn_connection::ModifyVpnConnectionError> for Error {
16219    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
16220        match err {
16221            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
16222        }
16223    }
16224}
16225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
16226    for Error
16227where
16228    R: Send + Sync + std::fmt::Debug + 'static,
16229{
16230    fn from(
16231        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
16232    ) -> Self {
16233        match err {
16234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16237                source: err.into(),
16238            }),
16239        }
16240    }
16241}
16242impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
16243    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
16244        match err {
16245            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16246        }
16247    }
16248}
16249impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>>
16250    for Error
16251where
16252    R: Send + Sync + std::fmt::Debug + 'static,
16253{
16254    fn from(
16255        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
16256    ) -> Self {
16257        match err {
16258            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16259            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16260                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16261                source: err.into(),
16262            }),
16263        }
16264    }
16265}
16266impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
16267    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
16268        match err {
16269            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
16270        }
16271    }
16272}
16273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
16274    for Error
16275where
16276    R: Send + Sync + std::fmt::Debug + 'static,
16277{
16278    fn from(
16279        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
16280    ) -> Self {
16281        match err {
16282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16285                source: err.into(),
16286            }),
16287        }
16288    }
16289}
16290impl From<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
16291    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
16292        match err {
16293            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16294        }
16295    }
16296}
16297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
16298where
16299    R: Send + Sync + std::fmt::Debug + 'static,
16300{
16301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
16302        match err {
16303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16306                source: err.into(),
16307            }),
16308        }
16309    }
16310}
16311impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
16312    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
16313        match err {
16314            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16315        }
16316    }
16317}
16318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
16319where
16320    R: Send + Sync + std::fmt::Debug + 'static,
16321{
16322    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
16323        match err {
16324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16327                source: err.into(),
16328            }),
16329        }
16330    }
16331}
16332impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
16333    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
16334        match err {
16335            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
16336        }
16337    }
16338}
16339impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
16340where
16341    R: Send + Sync + std::fmt::Debug + 'static,
16342{
16343    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
16344        match err {
16345            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16346            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16347                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16348                source: err.into(),
16349            }),
16350        }
16351    }
16352}
16353impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
16354    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
16355        match err {
16356            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
16357        }
16358    }
16359}
16360impl<R>
16361    From<
16362        ::aws_smithy_runtime_api::client::result::SdkError<
16363            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
16364            R,
16365        >,
16366    > for Error
16367where
16368    R: Send + Sync + std::fmt::Debug + 'static,
16369{
16370    fn from(
16371        err: ::aws_smithy_runtime_api::client::result::SdkError<
16372            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
16373            R,
16374        >,
16375    ) -> Self {
16376        match err {
16377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16380                source: err.into(),
16381            }),
16382        }
16383    }
16384}
16385impl From<crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
16386    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
16387        match err {
16388            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16389        }
16390    }
16391}
16392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
16393where
16394    R: Send + Sync + std::fmt::Debug + 'static,
16395{
16396    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
16397        match err {
16398            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16399            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16400                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16401                source: err.into(),
16402            }),
16403        }
16404    }
16405}
16406impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
16407    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
16408        match err {
16409            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
16410        }
16411    }
16412}
16413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
16414where
16415    R: Send + Sync + std::fmt::Debug + 'static,
16416{
16417    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
16418        match err {
16419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16422                source: err.into(),
16423            }),
16424        }
16425    }
16426}
16427impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
16428    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
16429        match err {
16430            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
16431        }
16432    }
16433}
16434impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
16435where
16436    R: Send + Sync + std::fmt::Debug + 'static,
16437{
16438    fn from(
16439        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
16440    ) -> Self {
16441        match err {
16442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16445                source: err.into(),
16446            }),
16447        }
16448    }
16449}
16450impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
16451    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
16452        match err {
16453            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
16454        }
16455    }
16456}
16457impl<R>
16458    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
16459    for Error
16460where
16461    R: Send + Sync + std::fmt::Debug + 'static,
16462{
16463    fn from(
16464        err: ::aws_smithy_runtime_api::client::result::SdkError<
16465            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
16466            R,
16467        >,
16468    ) -> Self {
16469        match err {
16470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16473                source: err.into(),
16474            }),
16475        }
16476    }
16477}
16478impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
16479    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
16480        match err {
16481            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
16482        }
16483    }
16484}
16485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
16486where
16487    R: Send + Sync + std::fmt::Debug + 'static,
16488{
16489    fn from(
16490        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
16491    ) -> Self {
16492        match err {
16493            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16494            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16495                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16496                source: err.into(),
16497            }),
16498        }
16499    }
16500}
16501impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
16502    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
16503        match err {
16504            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
16505        }
16506    }
16507}
16508impl<R>
16509    From<
16510        ::aws_smithy_runtime_api::client::result::SdkError<
16511            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
16512            R,
16513        >,
16514    > for Error
16515where
16516    R: Send + Sync + std::fmt::Debug + 'static,
16517{
16518    fn from(
16519        err: ::aws_smithy_runtime_api::client::result::SdkError<
16520            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
16521            R,
16522        >,
16523    ) -> Self {
16524        match err {
16525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16528                source: err.into(),
16529            }),
16530        }
16531    }
16532}
16533impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
16534    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
16535        match err {
16536            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
16537        }
16538    }
16539}
16540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
16541    for Error
16542where
16543    R: Send + Sync + std::fmt::Debug + 'static,
16544{
16545    fn from(
16546        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
16547    ) -> Self {
16548        match err {
16549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16552                source: err.into(),
16553            }),
16554        }
16555    }
16556}
16557impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
16558    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
16559        match err {
16560            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
16561        }
16562    }
16563}
16564impl<R>
16565    From<
16566        ::aws_smithy_runtime_api::client::result::SdkError<
16567            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
16568            R,
16569        >,
16570    > for Error
16571where
16572    R: Send + Sync + std::fmt::Debug + 'static,
16573{
16574    fn from(
16575        err: ::aws_smithy_runtime_api::client::result::SdkError<
16576            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
16577            R,
16578        >,
16579    ) -> Self {
16580        match err {
16581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16584                source: err.into(),
16585            }),
16586        }
16587    }
16588}
16589impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
16590    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
16591        match err {
16592            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
16593                Error::Unhandled(inner)
16594            }
16595        }
16596    }
16597}
16598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
16599    for Error
16600where
16601    R: Send + Sync + std::fmt::Debug + 'static,
16602{
16603    fn from(
16604        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
16605    ) -> Self {
16606        match err {
16607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16610                source: err.into(),
16611            }),
16612        }
16613    }
16614}
16615impl From<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
16616    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
16617        match err {
16618            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16619        }
16620    }
16621}
16622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
16623where
16624    R: Send + Sync + std::fmt::Debug + 'static,
16625{
16626    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> Self {
16627        match err {
16628            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16629            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16630                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16631                source: err.into(),
16632            }),
16633        }
16634    }
16635}
16636impl From<crate::operation::reboot_instances::RebootInstancesError> for Error {
16637    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
16638        match err {
16639            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16640        }
16641    }
16642}
16643impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
16644where
16645    R: Send + Sync + std::fmt::Debug + 'static,
16646{
16647    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
16648        match err {
16649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16652                source: err.into(),
16653            }),
16654        }
16655    }
16656}
16657impl From<crate::operation::register_image::RegisterImageError> for Error {
16658    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
16659        match err {
16660            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
16661        }
16662    }
16663}
16664impl<R>
16665    From<
16666        ::aws_smithy_runtime_api::client::result::SdkError<
16667            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
16668            R,
16669        >,
16670    > for Error
16671where
16672    R: Send + Sync + std::fmt::Debug + 'static,
16673{
16674    fn from(
16675        err: ::aws_smithy_runtime_api::client::result::SdkError<
16676            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
16677            R,
16678        >,
16679    ) -> Self {
16680        match err {
16681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16684                source: err.into(),
16685            }),
16686        }
16687    }
16688}
16689impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
16690    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
16691        match err {
16692            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
16693                Error::Unhandled(inner)
16694            }
16695        }
16696    }
16697}
16698impl<R>
16699    From<
16700        ::aws_smithy_runtime_api::client::result::SdkError<
16701            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
16702            R,
16703        >,
16704    > for Error
16705where
16706    R: Send + Sync + std::fmt::Debug + 'static,
16707{
16708    fn from(
16709        err: ::aws_smithy_runtime_api::client::result::SdkError<
16710            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
16711            R,
16712        >,
16713    ) -> Self {
16714        match err {
16715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16718                source: err.into(),
16719            }),
16720        }
16721    }
16722}
16723impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
16724    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
16725        match err {
16726            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
16727                inner,
16728            ) => Error::Unhandled(inner),
16729        }
16730    }
16731}
16732impl<R>
16733    From<
16734        ::aws_smithy_runtime_api::client::result::SdkError<
16735            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
16736            R,
16737        >,
16738    > for Error
16739where
16740    R: Send + Sync + std::fmt::Debug + 'static,
16741{
16742    fn from(
16743        err: ::aws_smithy_runtime_api::client::result::SdkError<
16744            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
16745            R,
16746        >,
16747    ) -> Self {
16748        match err {
16749            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16750            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16751                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16752                source: err.into(),
16753            }),
16754        }
16755    }
16756}
16757impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
16758    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
16759        match err {
16760            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
16761                inner,
16762            ) => Error::Unhandled(inner),
16763        }
16764    }
16765}
16766impl<R>
16767    From<
16768        ::aws_smithy_runtime_api::client::result::SdkError<
16769            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
16770            R,
16771        >,
16772    > for Error
16773where
16774    R: Send + Sync + std::fmt::Debug + 'static,
16775{
16776    fn from(
16777        err: ::aws_smithy_runtime_api::client::result::SdkError<
16778            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
16779            R,
16780        >,
16781    ) -> Self {
16782        match err {
16783            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16784            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16785                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16786                source: err.into(),
16787            }),
16788        }
16789    }
16790}
16791impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
16792    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
16793        match err {
16794            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
16795                Error::Unhandled(inner)
16796            }
16797        }
16798    }
16799}
16800impl<R>
16801    From<
16802        ::aws_smithy_runtime_api::client::result::SdkError<
16803            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
16804            R,
16805        >,
16806    > for Error
16807where
16808    R: Send + Sync + std::fmt::Debug + 'static,
16809{
16810    fn from(
16811        err: ::aws_smithy_runtime_api::client::result::SdkError<
16812            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
16813            R,
16814        >,
16815    ) -> Self {
16816        match err {
16817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16820                source: err.into(),
16821            }),
16822        }
16823    }
16824}
16825impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
16826    fn from(
16827        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
16828    ) -> Self {
16829        match err {
16830            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
16831        }
16832    }
16833}
16834impl<R>
16835    From<
16836        ::aws_smithy_runtime_api::client::result::SdkError<
16837            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
16838            R,
16839        >,
16840    > for Error
16841where
16842    R: Send + Sync + std::fmt::Debug + 'static,
16843{
16844    fn from(
16845        err: ::aws_smithy_runtime_api::client::result::SdkError<
16846            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
16847            R,
16848        >,
16849    ) -> Self {
16850        match err {
16851            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16852            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16853                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16854                source: err.into(),
16855            }),
16856        }
16857    }
16858}
16859impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
16860    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
16861        match err {
16862            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
16863                Error::Unhandled(inner)
16864            }
16865        }
16866    }
16867}
16868impl<R>
16869    From<
16870        ::aws_smithy_runtime_api::client::result::SdkError<
16871            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
16872            R,
16873        >,
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<
16880            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
16881            R,
16882        >,
16883    ) -> Self {
16884        match err {
16885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16888                source: err.into(),
16889            }),
16890        }
16891    }
16892}
16893impl From<crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
16894    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
16895        match err {
16896            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
16897                Error::Unhandled(inner)
16898            }
16899        }
16900    }
16901}
16902impl<R>
16903    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
16904    for Error
16905where
16906    R: Send + Sync + std::fmt::Debug + 'static,
16907{
16908    fn from(
16909        err: ::aws_smithy_runtime_api::client::result::SdkError<
16910            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
16911            R,
16912        >,
16913    ) -> Self {
16914        match err {
16915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16918                source: err.into(),
16919            }),
16920        }
16921    }
16922}
16923impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
16924    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
16925        match err {
16926            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
16927        }
16928    }
16929}
16930impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
16931    for Error
16932where
16933    R: Send + Sync + std::fmt::Debug + 'static,
16934{
16935    fn from(
16936        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
16937    ) -> Self {
16938        match err {
16939            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16940            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16941                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16942                source: err.into(),
16943            }),
16944        }
16945    }
16946}
16947impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
16948    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
16949        match err {
16950            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
16951        }
16952    }
16953}
16954impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
16955where
16956    R: Send + Sync + std::fmt::Debug + 'static,
16957{
16958    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> Self {
16959        match err {
16960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16963                source: err.into(),
16964            }),
16965        }
16966    }
16967}
16968impl From<crate::operation::release_address::ReleaseAddressError> for Error {
16969    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
16970        match err {
16971            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
16972        }
16973    }
16974}
16975impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
16976where
16977    R: Send + Sync + std::fmt::Debug + 'static,
16978{
16979    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
16980        match err {
16981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16984                source: err.into(),
16985            }),
16986        }
16987    }
16988}
16989impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
16990    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
16991        match err {
16992            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
16993        }
16994    }
16995}
16996impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
16997    for Error
16998where
16999    R: Send + Sync + std::fmt::Debug + 'static,
17000{
17001    fn from(
17002        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
17003    ) -> Self {
17004        match err {
17005            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17006            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17007                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17008                source: err.into(),
17009            }),
17010        }
17011    }
17012}
17013impl From<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
17014    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
17015        match err {
17016            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
17017        }
17018    }
17019}
17020impl<R>
17021    From<
17022        ::aws_smithy_runtime_api::client::result::SdkError<
17023            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17024            R,
17025        >,
17026    > for Error
17027where
17028    R: Send + Sync + std::fmt::Debug + 'static,
17029{
17030    fn from(
17031        err: ::aws_smithy_runtime_api::client::result::SdkError<
17032            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17033            R,
17034        >,
17035    ) -> Self {
17036        match err {
17037            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17038            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17039                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17040                source: err.into(),
17041            }),
17042        }
17043    }
17044}
17045impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
17046    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
17047        match err {
17048            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
17049                Error::Unhandled(inner)
17050            }
17051        }
17052    }
17053}
17054impl<R>
17055    From<
17056        ::aws_smithy_runtime_api::client::result::SdkError<
17057            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17058            R,
17059        >,
17060    > for Error
17061where
17062    R: Send + Sync + std::fmt::Debug + 'static,
17063{
17064    fn from(
17065        err: ::aws_smithy_runtime_api::client::result::SdkError<
17066            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17067            R,
17068        >,
17069    ) -> Self {
17070        match err {
17071            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17072            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17073                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17074                source: err.into(),
17075            }),
17076        }
17077    }
17078}
17079impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
17080    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
17081        match err {
17082            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
17083                inner,
17084            ) => Error::Unhandled(inner),
17085        }
17086    }
17087}
17088impl<R>
17089    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
17090    for Error
17091where
17092    R: Send + Sync + std::fmt::Debug + 'static,
17093{
17094    fn from(
17095        err: ::aws_smithy_runtime_api::client::result::SdkError<
17096            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
17097            R,
17098        >,
17099    ) -> Self {
17100        match err {
17101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17104                source: err.into(),
17105            }),
17106        }
17107    }
17108}
17109impl From<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
17110    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
17111        match err {
17112            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17113        }
17114    }
17115}
17116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>>
17117    for Error
17118where
17119    R: Send + Sync + std::fmt::Debug + 'static,
17120{
17121    fn from(
17122        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>,
17123    ) -> Self {
17124        match err {
17125            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17126            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17127                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17128                source: err.into(),
17129            }),
17130        }
17131    }
17132}
17133impl From<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
17134    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
17135        match err {
17136            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
17137        }
17138    }
17139}
17140impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
17141where
17142    R: Send + Sync + std::fmt::Debug + 'static,
17143{
17144    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> Self {
17145        match err {
17146            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17147            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17148                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17149                source: err.into(),
17150            }),
17151        }
17152    }
17153}
17154impl From<crate::operation::replace_route::ReplaceRouteError> for Error {
17155    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
17156        match err {
17157            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
17158        }
17159    }
17160}
17161impl<R>
17162    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
17163    for Error
17164where
17165    R: Send + Sync + std::fmt::Debug + 'static,
17166{
17167    fn from(
17168        err: ::aws_smithy_runtime_api::client::result::SdkError<
17169            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
17170            R,
17171        >,
17172    ) -> Self {
17173        match err {
17174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17177                source: err.into(),
17178            }),
17179        }
17180    }
17181}
17182impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
17183    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
17184        match err {
17185            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17186        }
17187    }
17188}
17189impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
17190    for Error
17191where
17192    R: Send + Sync + std::fmt::Debug + 'static,
17193{
17194    fn from(
17195        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
17196    ) -> Self {
17197        match err {
17198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17201                source: err.into(),
17202            }),
17203        }
17204    }
17205}
17206impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
17207    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
17208        match err {
17209            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
17210        }
17211    }
17212}
17213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
17214where
17215    R: Send + Sync + std::fmt::Debug + 'static,
17216{
17217    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
17218        match err {
17219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17222                source: err.into(),
17223            }),
17224        }
17225    }
17226}
17227impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
17228    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
17229        match err {
17230            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
17231        }
17232    }
17233}
17234impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
17235where
17236    R: Send + Sync + std::fmt::Debug + 'static,
17237{
17238    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
17239        match err {
17240            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17241            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17242                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17243                source: err.into(),
17244            }),
17245        }
17246    }
17247}
17248impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
17249    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
17250        match err {
17251            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
17252        }
17253    }
17254}
17255impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
17256where
17257    R: Send + Sync + std::fmt::Debug + 'static,
17258{
17259    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> Self {
17260        match err {
17261            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17262            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17263                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17264                source: err.into(),
17265            }),
17266        }
17267    }
17268}
17269impl From<crate::operation::request_spot_fleet::RequestSpotFleetError> for Error {
17270    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
17271        match err {
17272            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
17273        }
17274    }
17275}
17276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
17277where
17278    R: Send + Sync + std::fmt::Debug + 'static,
17279{
17280    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> Self {
17281        match err {
17282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17285                source: err.into(),
17286            }),
17287        }
17288    }
17289}
17290impl From<crate::operation::request_spot_instances::RequestSpotInstancesError> for Error {
17291    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
17292        match err {
17293            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17294        }
17295    }
17296}
17297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
17298where
17299    R: Send + Sync + std::fmt::Debug + 'static,
17300{
17301    fn from(
17302        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
17303    ) -> Self {
17304        match err {
17305            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17306            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17307                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17308                source: err.into(),
17309            }),
17310        }
17311    }
17312}
17313impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
17314    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
17315        match err {
17316            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17317        }
17318    }
17319}
17320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
17321    for Error
17322where
17323    R: Send + Sync + std::fmt::Debug + 'static,
17324{
17325    fn from(
17326        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
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::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
17338    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
17339        match err {
17340            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
17341        }
17342    }
17343}
17344impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
17345    for Error
17346where
17347    R: Send + Sync + std::fmt::Debug + 'static,
17348{
17349    fn from(
17350        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
17351    ) -> Self {
17352        match err {
17353            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17354            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17355                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17356                source: err.into(),
17357            }),
17358        }
17359    }
17360}
17361impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
17362    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
17363        match err {
17364            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17365        }
17366    }
17367}
17368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
17369where
17370    R: Send + Sync + std::fmt::Debug + 'static,
17371{
17372    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
17373        match err {
17374            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17375            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17376                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17377                source: err.into(),
17378            }),
17379        }
17380    }
17381}
17382impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
17383    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
17384        match err {
17385            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17386        }
17387    }
17388}
17389impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
17390where
17391    R: Send + Sync + std::fmt::Debug + 'static,
17392{
17393    fn from(
17394        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
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::reset_instance_attribute::ResetInstanceAttributeError> for Error {
17406    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
17407        match err {
17408            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17409        }
17410    }
17411}
17412impl<R>
17413    From<
17414        ::aws_smithy_runtime_api::client::result::SdkError<
17415            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
17416            R,
17417        >,
17418    > for Error
17419where
17420    R: Send + Sync + std::fmt::Debug + 'static,
17421{
17422    fn from(
17423        err: ::aws_smithy_runtime_api::client::result::SdkError<
17424            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
17425            R,
17426        >,
17427    ) -> Self {
17428        match err {
17429            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17430            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17431                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17432                source: err.into(),
17433            }),
17434        }
17435    }
17436}
17437impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
17438    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
17439        match err {
17440            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17441        }
17442    }
17443}
17444impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
17445where
17446    R: Send + Sync + std::fmt::Debug + 'static,
17447{
17448    fn from(
17449        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
17450    ) -> Self {
17451        match err {
17452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17455                source: err.into(),
17456            }),
17457        }
17458    }
17459}
17460impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
17461    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
17462        match err {
17463            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17464        }
17465    }
17466}
17467impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
17468    for Error
17469where
17470    R: Send + Sync + std::fmt::Debug + 'static,
17471{
17472    fn from(
17473        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
17474    ) -> Self {
17475        match err {
17476            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17477            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17478                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17479                source: err.into(),
17480            }),
17481        }
17482    }
17483}
17484impl From<crate::operation::restore_address_to_classic::RestoreAddressToClassicError> for Error {
17485    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
17486        match err {
17487            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
17488        }
17489    }
17490}
17491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
17492    for Error
17493where
17494    R: Send + Sync + std::fmt::Debug + 'static,
17495{
17496    fn from(
17497        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
17498    ) -> Self {
17499        match err {
17500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17503                source: err.into(),
17504            }),
17505        }
17506    }
17507}
17508impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
17509    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
17510        match err {
17511            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
17512        }
17513    }
17514}
17515impl<R>
17516    From<
17517        ::aws_smithy_runtime_api::client::result::SdkError<
17518            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
17519            R,
17520        >,
17521    > for Error
17522where
17523    R: Send + Sync + std::fmt::Debug + 'static,
17524{
17525    fn from(
17526        err: ::aws_smithy_runtime_api::client::result::SdkError<
17527            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
17528            R,
17529        >,
17530    ) -> Self {
17531        match err {
17532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17535                source: err.into(),
17536            }),
17537        }
17538    }
17539}
17540impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
17541    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
17542        match err {
17543            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
17544        }
17545    }
17546}
17547impl<R>
17548    From<
17549        ::aws_smithy_runtime_api::client::result::SdkError<
17550            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
17551            R,
17552        >,
17553    > for Error
17554where
17555    R: Send + Sync + std::fmt::Debug + 'static,
17556{
17557    fn from(
17558        err: ::aws_smithy_runtime_api::client::result::SdkError<
17559            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
17560            R,
17561        >,
17562    ) -> Self {
17563        match err {
17564            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17565            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17566                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17567                source: err.into(),
17568            }),
17569        }
17570    }
17571}
17572impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
17573    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
17574        match err {
17575            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
17576        }
17577    }
17578}
17579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
17580where
17581    R: Send + Sync + std::fmt::Debug + 'static,
17582{
17583    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
17584        match err {
17585            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17586            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17587                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17588                source: err.into(),
17589            }),
17590        }
17591    }
17592}
17593impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
17594    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
17595        match err {
17596            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
17597        }
17598    }
17599}
17600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
17601    for Error
17602where
17603    R: Send + Sync + std::fmt::Debug + 'static,
17604{
17605    fn from(
17606        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
17607    ) -> Self {
17608        match err {
17609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17612                source: err.into(),
17613            }),
17614        }
17615    }
17616}
17617impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
17618    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
17619        match err {
17620            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
17621        }
17622    }
17623}
17624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
17625    for Error
17626where
17627    R: Send + Sync + std::fmt::Debug + 'static,
17628{
17629    fn from(
17630        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
17631    ) -> Self {
17632        match err {
17633            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17634            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17635                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17636                source: err.into(),
17637            }),
17638        }
17639    }
17640}
17641impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
17642    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
17643        match err {
17644            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
17645        }
17646    }
17647}
17648impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
17649    for Error
17650where
17651    R: Send + Sync + std::fmt::Debug + 'static,
17652{
17653    fn from(
17654        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
17655    ) -> Self {
17656        match err {
17657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17660                source: err.into(),
17661            }),
17662        }
17663    }
17664}
17665impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
17666    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
17667        match err {
17668            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
17669        }
17670    }
17671}
17672impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
17673where
17674    R: Send + Sync + std::fmt::Debug + 'static,
17675{
17676    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
17677        match err {
17678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17681                source: err.into(),
17682            }),
17683        }
17684    }
17685}
17686impl From<crate::operation::run_instances::RunInstancesError> for Error {
17687    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
17688        match err {
17689            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17690        }
17691    }
17692}
17693impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
17694where
17695    R: Send + Sync + std::fmt::Debug + 'static,
17696{
17697    fn from(
17698        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
17699    ) -> Self {
17700        match err {
17701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17704                source: err.into(),
17705            }),
17706        }
17707    }
17708}
17709impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
17710    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
17711        match err {
17712            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17713        }
17714    }
17715}
17716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
17717    for Error
17718where
17719    R: Send + Sync + std::fmt::Debug + 'static,
17720{
17721    fn from(
17722        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
17723    ) -> Self {
17724        match err {
17725            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17726            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17727                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17728                source: err.into(),
17729            }),
17730        }
17731    }
17732}
17733impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
17734    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
17735        match err {
17736            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
17737        }
17738    }
17739}
17740impl<R>
17741    From<
17742        ::aws_smithy_runtime_api::client::result::SdkError<
17743            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
17744            R,
17745        >,
17746    > for Error
17747where
17748    R: Send + Sync + std::fmt::Debug + 'static,
17749{
17750    fn from(
17751        err: ::aws_smithy_runtime_api::client::result::SdkError<
17752            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
17753            R,
17754        >,
17755    ) -> Self {
17756        match err {
17757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17760                source: err.into(),
17761            }),
17762        }
17763    }
17764}
17765impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
17766    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
17767        match err {
17768            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
17769                Error::Unhandled(inner)
17770            }
17771        }
17772    }
17773}
17774impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
17775    for Error
17776where
17777    R: Send + Sync + std::fmt::Debug + 'static,
17778{
17779    fn from(
17780        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
17781    ) -> Self {
17782        match err {
17783            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17784            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17785                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17786                source: err.into(),
17787            }),
17788        }
17789    }
17790}
17791impl From<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
17792    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
17793        match err {
17794            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
17795        }
17796    }
17797}
17798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
17799    for Error
17800where
17801    R: Send + Sync + std::fmt::Debug + 'static,
17802{
17803    fn from(
17804        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
17805    ) -> Self {
17806        match err {
17807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17810                source: err.into(),
17811            }),
17812        }
17813    }
17814}
17815impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
17816    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
17817        match err {
17818            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
17819        }
17820    }
17821}
17822impl<R>
17823    From<
17824        ::aws_smithy_runtime_api::client::result::SdkError<
17825            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
17826            R,
17827        >,
17828    > for Error
17829where
17830    R: Send + Sync + std::fmt::Debug + 'static,
17831{
17832    fn from(
17833        err: ::aws_smithy_runtime_api::client::result::SdkError<
17834            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
17835            R,
17836        >,
17837    ) -> Self {
17838        match err {
17839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17842                source: err.into(),
17843            }),
17844        }
17845    }
17846}
17847impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
17848    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
17849        match err {
17850            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
17851        }
17852    }
17853}
17854impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
17855where
17856    R: Send + Sync + std::fmt::Debug + 'static,
17857{
17858    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
17859        match err {
17860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17863                source: err.into(),
17864            }),
17865        }
17866    }
17867}
17868impl From<crate::operation::start_instances::StartInstancesError> for Error {
17869    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
17870        match err {
17871            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17872        }
17873    }
17874}
17875impl<R>
17876    From<
17877        ::aws_smithy_runtime_api::client::result::SdkError<
17878            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
17879            R,
17880        >,
17881    > for Error
17882where
17883    R: Send + Sync + std::fmt::Debug + 'static,
17884{
17885    fn from(
17886        err: ::aws_smithy_runtime_api::client::result::SdkError<
17887            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
17888            R,
17889        >,
17890    ) -> Self {
17891        match err {
17892            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17893            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17894                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17895                source: err.into(),
17896            }),
17897        }
17898    }
17899}
17900impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
17901    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
17902        match err {
17903            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
17904                Error::Unhandled(inner)
17905            }
17906        }
17907    }
17908}
17909impl<R>
17910    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
17911    for Error
17912where
17913    R: Send + Sync + std::fmt::Debug + 'static,
17914{
17915    fn from(
17916        err: ::aws_smithy_runtime_api::client::result::SdkError<
17917            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
17918            R,
17919        >,
17920    ) -> Self {
17921        match err {
17922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17925                source: err.into(),
17926            }),
17927        }
17928    }
17929}
17930impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
17931    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
17932        match err {
17933            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
17934        }
17935    }
17936}
17937impl<R>
17938    From<
17939        ::aws_smithy_runtime_api::client::result::SdkError<
17940            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
17941            R,
17942        >,
17943    > for Error
17944where
17945    R: Send + Sync + std::fmt::Debug + 'static,
17946{
17947    fn from(
17948        err: ::aws_smithy_runtime_api::client::result::SdkError<
17949            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
17950            R,
17951        >,
17952    ) -> Self {
17953        match err {
17954            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17955            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17956                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17957                source: err.into(),
17958            }),
17959        }
17960    }
17961}
17962impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
17963    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
17964        match err {
17965            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
17966                inner,
17967            ) => Error::Unhandled(inner),
17968        }
17969    }
17970}
17971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>> for Error
17972where
17973    R: Send + Sync + std::fmt::Debug + 'static,
17974{
17975    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>) -> 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::stop_instances::StopInstancesError> for Error {
17986    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
17987        match err {
17988            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17989        }
17990    }
17991}
17992impl<R>
17993    From<
17994        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
17995    > for Error
17996where
17997    R: Send + Sync + std::fmt::Debug + 'static,
17998{
17999    fn from(
18000        err: ::aws_smithy_runtime_api::client::result::SdkError<
18001            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
18002            R,
18003        >,
18004    ) -> Self {
18005        match err {
18006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18009                source: err.into(),
18010            }),
18011        }
18012    }
18013}
18014impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
18015    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
18016        match err {
18017            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
18018        }
18019    }
18020}
18021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
18022where
18023    R: Send + Sync + std::fmt::Debug + 'static,
18024{
18025    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
18026        match err {
18027            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18028            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18029                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18030                source: err.into(),
18031            }),
18032        }
18033    }
18034}
18035impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
18036    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
18037        match err {
18038            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18039        }
18040    }
18041}
18042impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
18043where
18044    R: Send + Sync + std::fmt::Debug + 'static,
18045{
18046    fn from(
18047        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
18048    ) -> Self {
18049        match err {
18050            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18051            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18052                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18053                source: err.into(),
18054            }),
18055        }
18056    }
18057}
18058impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
18059    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
18060        match err {
18061            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
18062        }
18063    }
18064}
18065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
18066    for Error
18067where
18068    R: Send + Sync + std::fmt::Debug + 'static,
18069{
18070    fn from(
18071        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
18072    ) -> Self {
18073        match err {
18074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18077                source: err.into(),
18078            }),
18079        }
18080    }
18081}
18082impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
18083    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
18084        match err {
18085            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
18086        }
18087    }
18088}
18089impl<R>
18090    From<
18091        ::aws_smithy_runtime_api::client::result::SdkError<
18092            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18093            R,
18094        >,
18095    > for Error
18096where
18097    R: Send + Sync + std::fmt::Debug + 'static,
18098{
18099    fn from(
18100        err: ::aws_smithy_runtime_api::client::result::SdkError<
18101            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18102            R,
18103        >,
18104    ) -> Self {
18105        match err {
18106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18109                source: err.into(),
18110            }),
18111        }
18112    }
18113}
18114impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
18115    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
18116        match err {
18117            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
18118                Error::Unhandled(inner)
18119            }
18120        }
18121    }
18122}
18123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
18124where
18125    R: Send + Sync + std::fmt::Debug + 'static,
18126{
18127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
18128        match err {
18129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18132                source: err.into(),
18133            }),
18134        }
18135    }
18136}
18137impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
18138    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
18139        match err {
18140            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
18141        }
18142    }
18143}
18144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
18145where
18146    R: Send + Sync + std::fmt::Debug + 'static,
18147{
18148    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> Self {
18149        match err {
18150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18153                source: err.into(),
18154            }),
18155        }
18156    }
18157}
18158impl From<crate::operation::unmonitor_instances::UnmonitorInstancesError> for Error {
18159    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
18160        match err {
18161            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18162        }
18163    }
18164}
18165impl<R>
18166    From<
18167        ::aws_smithy_runtime_api::client::result::SdkError<
18168            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18169            R,
18170        >,
18171    > for Error
18172where
18173    R: Send + Sync + std::fmt::Debug + 'static,
18174{
18175    fn from(
18176        err: ::aws_smithy_runtime_api::client::result::SdkError<
18177            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18178            R,
18179        >,
18180    ) -> Self {
18181        match err {
18182            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18183            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18184                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18185                source: err.into(),
18186            }),
18187        }
18188    }
18189}
18190impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
18191    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
18192        match err {
18193            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
18194                Error::Unhandled(inner)
18195            }
18196        }
18197    }
18198}
18199impl<R>
18200    From<
18201        ::aws_smithy_runtime_api::client::result::SdkError<
18202            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18203            R,
18204        >,
18205    > for Error
18206where
18207    R: Send + Sync + std::fmt::Debug + 'static,
18208{
18209    fn from(
18210        err: ::aws_smithy_runtime_api::client::result::SdkError<
18211            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18212            R,
18213        >,
18214    ) -> Self {
18215        match err {
18216            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18217            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18218                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18219                source: err.into(),
18220            }),
18221        }
18222    }
18223}
18224impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
18225    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
18226        match err {
18227            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
18228                Error::Unhandled(inner)
18229            }
18230        }
18231    }
18232}
18233impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
18234where
18235    R: Send + Sync + std::fmt::Debug + 'static,
18236{
18237    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
18238        match err {
18239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18242                source: err.into(),
18243            }),
18244        }
18245    }
18246}
18247impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
18248    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
18249        match err {
18250            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
18251        }
18252    }
18253}
18254impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
18255where
18256    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
18257    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
18258{
18259    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
18260        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18261            meta: ::std::default::Default::default(),
18262            source: err.into(),
18263        })
18264    }
18265}
18266impl ::std::error::Error for Error {
18267    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
18268        match self {
18269            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
18270        }
18271    }
18272}
18273impl ::aws_types::request_id::RequestId for Error {
18274    fn request_id(&self) -> Option<&str> {
18275        match self {
18276            Self::Unhandled(e) => e.meta.request_id(),
18277        }
18278    }
18279}