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_table::AssociateRouteTableError, 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_table::AssociateRouteTableError, 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_table::AssociateRouteTableError> for Error {
775    fn from(err: crate::operation::associate_route_table::AssociateRouteTableError) -> Self {
776        match err {
777            crate::operation::associate_route_table::AssociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
778        }
779    }
780}
781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>>
782    for Error
783where
784    R: Send + Sync + std::fmt::Debug + 'static,
785{
786    fn from(
787        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>,
788    ) -> Self {
789        match err {
790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
793                source: err.into(),
794            }),
795        }
796    }
797}
798impl From<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError> for Error {
799    fn from(err: crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError) -> Self {
800        match err {
801            crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
802        }
803    }
804}
805impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>>
806    for Error
807where
808    R: Send + Sync + std::fmt::Debug + 'static,
809{
810    fn from(
811        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>,
812    ) -> Self {
813        match err {
814            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
815            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
816                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
817                source: err.into(),
818            }),
819        }
820    }
821}
822impl From<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError> for Error {
823    fn from(err: crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError) -> Self {
824        match err {
825            crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
826        }
827    }
828}
829impl<R>
830    From<
831        ::aws_smithy_runtime_api::client::result::SdkError<
832            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
833            R,
834        >,
835    > for Error
836where
837    R: Send + Sync + std::fmt::Debug + 'static,
838{
839    fn from(
840        err: ::aws_smithy_runtime_api::client::result::SdkError<
841            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
842            R,
843        >,
844    ) -> Self {
845        match err {
846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
849                source: err.into(),
850            }),
851        }
852    }
853}
854impl From<crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError> for Error {
855    fn from(err: crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError) -> Self {
856        match err {
857            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
858                Error::Unhandled(inner)
859            }
860        }
861    }
862}
863impl<R>
864    From<
865        ::aws_smithy_runtime_api::client::result::SdkError<
866            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
867            R,
868        >,
869    > for Error
870where
871    R: Send + Sync + std::fmt::Debug + 'static,
872{
873    fn from(
874        err: ::aws_smithy_runtime_api::client::result::SdkError<
875            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
876            R,
877        >,
878    ) -> Self {
879        match err {
880            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
881            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
882                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
883                source: err.into(),
884            }),
885        }
886    }
887}
888impl From<crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError> for Error {
889    fn from(err: crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError) -> Self {
890        match err {
891            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError::Unhandled(inner) => {
892                Error::Unhandled(inner)
893            }
894        }
895    }
896}
897impl<R>
898    From<
899        ::aws_smithy_runtime_api::client::result::SdkError<
900            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
901            R,
902        >,
903    > for Error
904where
905    R: Send + Sync + std::fmt::Debug + 'static,
906{
907    fn from(
908        err: ::aws_smithy_runtime_api::client::result::SdkError<
909            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
910            R,
911        >,
912    ) -> Self {
913        match err {
914            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
915            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
916                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
917                source: err.into(),
918            }),
919        }
920    }
921}
922impl From<crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError> for Error {
923    fn from(err: crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError) -> Self {
924        match err {
925            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError::Unhandled(inner) => {
926                Error::Unhandled(inner)
927            }
928        }
929    }
930}
931impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>>
932    for Error
933where
934    R: Send + Sync + std::fmt::Debug + 'static,
935{
936    fn from(
937        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>,
938    ) -> Self {
939        match err {
940            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
941            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
942                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
943                source: err.into(),
944            }),
945        }
946    }
947}
948impl From<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError> for Error {
949    fn from(err: crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError) -> Self {
950        match err {
951            crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
952        }
953    }
954}
955impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>> for Error
956where
957    R: Send + Sync + std::fmt::Debug + 'static,
958{
959    fn from(
960        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>,
961    ) -> Self {
962        match err {
963            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
964            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
965                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
966                source: err.into(),
967            }),
968        }
969    }
970}
971impl From<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError> for Error {
972    fn from(err: crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError) -> Self {
973        match err {
974            crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
975        }
976    }
977}
978impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>> for Error
979where
980    R: Send + Sync + std::fmt::Debug + 'static,
981{
982    fn from(
983        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>,
984    ) -> Self {
985        match err {
986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
989                source: err.into(),
990            }),
991        }
992    }
993}
994impl From<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError> for Error {
995    fn from(err: crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError) -> Self {
996        match err {
997            crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
998        }
999    }
1000}
1001impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>> for Error
1002where
1003    R: Send + Sync + std::fmt::Debug + 'static,
1004{
1005    fn from(
1006        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>,
1007    ) -> Self {
1008        match err {
1009            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1010            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1011                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1012                source: err.into(),
1013            }),
1014        }
1015    }
1016}
1017impl From<crate::operation::attach_internet_gateway::AttachInternetGatewayError> for Error {
1018    fn from(err: crate::operation::attach_internet_gateway::AttachInternetGatewayError) -> Self {
1019        match err {
1020            crate::operation::attach_internet_gateway::AttachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1021        }
1022    }
1023}
1024impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>> for Error
1025where
1026    R: Send + Sync + std::fmt::Debug + 'static,
1027{
1028    fn from(
1029        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>,
1030    ) -> Self {
1031        match err {
1032            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1033            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1034                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1035                source: err.into(),
1036            }),
1037        }
1038    }
1039}
1040impl From<crate::operation::attach_network_interface::AttachNetworkInterfaceError> for Error {
1041    fn from(err: crate::operation::attach_network_interface::AttachNetworkInterfaceError) -> Self {
1042        match err {
1043            crate::operation::attach_network_interface::AttachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
1044        }
1045    }
1046}
1047impl<R>
1048    From<
1049        ::aws_smithy_runtime_api::client::result::SdkError<
1050            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1051            R,
1052        >,
1053    > for Error
1054where
1055    R: Send + Sync + std::fmt::Debug + 'static,
1056{
1057    fn from(
1058        err: ::aws_smithy_runtime_api::client::result::SdkError<
1059            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1060            R,
1061        >,
1062    ) -> Self {
1063        match err {
1064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1067                source: err.into(),
1068            }),
1069        }
1070    }
1071}
1072impl From<crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError> for Error {
1073    fn from(err: crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError) -> Self {
1074        match err {
1075            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError::Unhandled(inner) => {
1076                Error::Unhandled(inner)
1077            }
1078        }
1079    }
1080}
1081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>> for Error
1082where
1083    R: Send + Sync + std::fmt::Debug + 'static,
1084{
1085    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>) -> Self {
1086        match err {
1087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1090                source: err.into(),
1091            }),
1092        }
1093    }
1094}
1095impl From<crate::operation::attach_volume::AttachVolumeError> for Error {
1096    fn from(err: crate::operation::attach_volume::AttachVolumeError) -> Self {
1097        match err {
1098            crate::operation::attach_volume::AttachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
1099        }
1100    }
1101}
1102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, 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_vpn_gateway::AttachVpnGatewayError, 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_vpn_gateway::AttachVpnGatewayError> for Error {
1117    fn from(err: crate::operation::attach_vpn_gateway::AttachVpnGatewayError) -> Self {
1118        match err {
1119            crate::operation::attach_vpn_gateway::AttachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1120        }
1121    }
1122}
1123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>>
1124    for Error
1125where
1126    R: Send + Sync + std::fmt::Debug + 'static,
1127{
1128    fn from(
1129        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>,
1130    ) -> Self {
1131        match err {
1132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1135                source: err.into(),
1136            }),
1137        }
1138    }
1139}
1140impl From<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError> for Error {
1141    fn from(err: crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError) -> Self {
1142        match err {
1143            crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
1144        }
1145    }
1146}
1147impl<R>
1148    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError, R>>
1149    for Error
1150where
1151    R: Send + Sync + std::fmt::Debug + 'static,
1152{
1153    fn from(
1154        err: ::aws_smithy_runtime_api::client::result::SdkError<
1155            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError,
1156            R,
1157        >,
1158    ) -> Self {
1159        match err {
1160            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1161            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1162                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1163                source: err.into(),
1164            }),
1165        }
1166    }
1167}
1168impl From<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError> for Error {
1169    fn from(err: crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError) -> Self {
1170        match err {
1171            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
1172        }
1173    }
1174}
1175impl<R>
1176    From<
1177        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError, R>,
1178    > for Error
1179where
1180    R: Send + Sync + std::fmt::Debug + 'static,
1181{
1182    fn from(
1183        err: ::aws_smithy_runtime_api::client::result::SdkError<
1184            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError,
1185            R,
1186        >,
1187    ) -> Self {
1188        match err {
1189            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1190            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1191                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1192                source: err.into(),
1193            }),
1194        }
1195    }
1196}
1197impl From<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError> for Error {
1198    fn from(err: crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError) -> Self {
1199        match err {
1200            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
1201        }
1202    }
1203}
1204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>> for Error
1205where
1206    R: Send + Sync + std::fmt::Debug + 'static,
1207{
1208    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>) -> 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::bundle_instance::BundleInstanceError> for Error {
1219    fn from(err: crate::operation::bundle_instance::BundleInstanceError) -> Self {
1220        match err {
1221            crate::operation::bundle_instance::BundleInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1222        }
1223    }
1224}
1225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, 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::cancel_bundle_task::CancelBundleTaskError, 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::cancel_bundle_task::CancelBundleTaskError> for Error {
1240    fn from(err: crate::operation::cancel_bundle_task::CancelBundleTaskError) -> Self {
1241        match err {
1242            crate::operation::cancel_bundle_task::CancelBundleTaskError::Unhandled(inner) => Error::Unhandled(inner),
1243        }
1244    }
1245}
1246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>>
1247    for Error
1248where
1249    R: Send + Sync + std::fmt::Debug + 'static,
1250{
1251    fn from(
1252        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>,
1253    ) -> Self {
1254        match err {
1255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1258                source: err.into(),
1259            }),
1260        }
1261    }
1262}
1263impl From<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError> for Error {
1264    fn from(err: crate::operation::cancel_capacity_reservation::CancelCapacityReservationError) -> Self {
1265        match err {
1266            crate::operation::cancel_capacity_reservation::CancelCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1267        }
1268    }
1269}
1270impl<R>
1271    From<
1272        ::aws_smithy_runtime_api::client::result::SdkError<
1273            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1274            R,
1275        >,
1276    > for Error
1277where
1278    R: Send + Sync + std::fmt::Debug + 'static,
1279{
1280    fn from(
1281        err: ::aws_smithy_runtime_api::client::result::SdkError<
1282            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1283            R,
1284        >,
1285    ) -> Self {
1286        match err {
1287            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1288            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1289                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1290                source: err.into(),
1291            }),
1292        }
1293    }
1294}
1295impl From<crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError> for Error {
1296    fn from(err: crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError) -> Self {
1297        match err {
1298            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError::Unhandled(inner) => Error::Unhandled(inner),
1299        }
1300    }
1301}
1302impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>> for Error
1303where
1304    R: Send + Sync + std::fmt::Debug + 'static,
1305{
1306    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>) -> 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_conversion_task::CancelConversionTaskError> for Error {
1317    fn from(err: crate::operation::cancel_conversion_task::CancelConversionTaskError) -> Self {
1318        match err {
1319            crate::operation::cancel_conversion_task::CancelConversionTaskError::Unhandled(inner) => Error::Unhandled(inner),
1320        }
1321    }
1322}
1323impl<R>
1324    From<
1325        ::aws_smithy_runtime_api::client::result::SdkError<
1326            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1327            R,
1328        >,
1329    > for Error
1330where
1331    R: Send + Sync + std::fmt::Debug + 'static,
1332{
1333    fn from(
1334        err: ::aws_smithy_runtime_api::client::result::SdkError<
1335            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1336            R,
1337        >,
1338    ) -> Self {
1339        match err {
1340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1343                source: err.into(),
1344            }),
1345        }
1346    }
1347}
1348impl From<crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError> for Error {
1349    fn from(err: crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError) -> Self {
1350        match err {
1351            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
1352        }
1353    }
1354}
1355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>> for Error
1356where
1357    R: Send + Sync + std::fmt::Debug + 'static,
1358{
1359    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>) -> 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_export_task::CancelExportTaskError> for Error {
1370    fn from(err: crate::operation::cancel_export_task::CancelExportTaskError) -> Self {
1371        match err {
1372            crate::operation::cancel_export_task::CancelExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1373        }
1374    }
1375}
1376impl<R>
1377    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError, R>>
1378    for Error
1379where
1380    R: Send + Sync + std::fmt::Debug + 'static,
1381{
1382    fn from(
1383        err: ::aws_smithy_runtime_api::client::result::SdkError<
1384            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError,
1385            R,
1386        >,
1387    ) -> Self {
1388        match err {
1389            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1390            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1391                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1392                source: err.into(),
1393            }),
1394        }
1395    }
1396}
1397impl From<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError> for Error {
1398    fn from(err: crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError) -> Self {
1399        match err {
1400            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError::Unhandled(inner) => Error::Unhandled(inner),
1401        }
1402    }
1403}
1404impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>> for Error
1405where
1406    R: Send + Sync + std::fmt::Debug + 'static,
1407{
1408    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>) -> 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_import_task::CancelImportTaskError> for Error {
1419    fn from(err: crate::operation::cancel_import_task::CancelImportTaskError) -> Self {
1420        match err {
1421            crate::operation::cancel_import_task::CancelImportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1422        }
1423    }
1424}
1425impl<R>
1426    From<
1427        ::aws_smithy_runtime_api::client::result::SdkError<
1428            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1429            R,
1430        >,
1431    > for Error
1432where
1433    R: Send + Sync + std::fmt::Debug + 'static,
1434{
1435    fn from(
1436        err: ::aws_smithy_runtime_api::client::result::SdkError<
1437            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1438            R,
1439        >,
1440    ) -> Self {
1441        match err {
1442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1445                source: err.into(),
1446            }),
1447        }
1448    }
1449}
1450impl From<crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError> for Error {
1451    fn from(err: crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError) -> Self {
1452        match err {
1453            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
1454        }
1455    }
1456}
1457impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>>
1458    for Error
1459where
1460    R: Send + Sync + std::fmt::Debug + 'static,
1461{
1462    fn from(
1463        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>,
1464    ) -> Self {
1465        match err {
1466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1469                source: err.into(),
1470            }),
1471        }
1472    }
1473}
1474impl From<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError> for Error {
1475    fn from(err: crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError) -> Self {
1476        match err {
1477            crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1478        }
1479    }
1480}
1481impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>>
1482    for Error
1483where
1484    R: Send + Sync + std::fmt::Debug + 'static,
1485{
1486    fn from(
1487        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>,
1488    ) -> Self {
1489        match err {
1490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1493                source: err.into(),
1494            }),
1495        }
1496    }
1497}
1498impl From<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError> for Error {
1499    fn from(err: crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError) -> Self {
1500        match err {
1501            crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1502        }
1503    }
1504}
1505impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>> for Error
1506where
1507    R: Send + Sync + std::fmt::Debug + 'static,
1508{
1509    fn from(
1510        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>,
1511    ) -> Self {
1512        match err {
1513            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1514            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1515                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1516                source: err.into(),
1517            }),
1518        }
1519    }
1520}
1521impl From<crate::operation::confirm_product_instance::ConfirmProductInstanceError> for Error {
1522    fn from(err: crate::operation::confirm_product_instance::ConfirmProductInstanceError) -> Self {
1523        match err {
1524            crate::operation::confirm_product_instance::ConfirmProductInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1525        }
1526    }
1527}
1528impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>> for Error
1529where
1530    R: Send + Sync + std::fmt::Debug + 'static,
1531{
1532    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>) -> 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::copy_fpga_image::CopyFpgaImageError> for Error {
1543    fn from(err: crate::operation::copy_fpga_image::CopyFpgaImageError) -> Self {
1544        match err {
1545            crate::operation::copy_fpga_image::CopyFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
1546        }
1547    }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, 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_image::CopyImageError, 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_image::CopyImageError> for Error {
1564    fn from(err: crate::operation::copy_image::CopyImageError) -> Self {
1565        match err {
1566            crate::operation::copy_image::CopyImageError::Unhandled(inner) => Error::Unhandled(inner),
1567        }
1568    }
1569}
1570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, 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_snapshot::CopySnapshotError, 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_snapshot::CopySnapshotError> for Error {
1585    fn from(err: crate::operation::copy_snapshot::CopySnapshotError) -> Self {
1586        match err {
1587            crate::operation::copy_snapshot::CopySnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1588        }
1589    }
1590}
1591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>>
1592    for Error
1593where
1594    R: Send + Sync + std::fmt::Debug + 'static,
1595{
1596    fn from(
1597        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>,
1598    ) -> Self {
1599        match err {
1600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1603                source: err.into(),
1604            }),
1605        }
1606    }
1607}
1608impl From<crate::operation::create_capacity_reservation::CreateCapacityReservationError> for Error {
1609    fn from(err: crate::operation::create_capacity_reservation::CreateCapacityReservationError) -> Self {
1610        match err {
1611            crate::operation::create_capacity_reservation::CreateCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1612        }
1613    }
1614}
1615impl<R>
1616    From<
1617        ::aws_smithy_runtime_api::client::result::SdkError<
1618            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1619            R,
1620        >,
1621    > for Error
1622where
1623    R: Send + Sync + std::fmt::Debug + 'static,
1624{
1625    fn from(
1626        err: ::aws_smithy_runtime_api::client::result::SdkError<
1627            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1628            R,
1629        >,
1630    ) -> Self {
1631        match err {
1632            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1633            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1634                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1635                source: err.into(),
1636            }),
1637        }
1638    }
1639}
1640impl From<crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError> for Error {
1641    fn from(err: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError) -> Self {
1642        match err {
1643            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError::Unhandled(inner) => {
1644                Error::Unhandled(inner)
1645            }
1646        }
1647    }
1648}
1649impl<R>
1650    From<
1651        ::aws_smithy_runtime_api::client::result::SdkError<
1652            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1653            R,
1654        >,
1655    > for Error
1656where
1657    R: Send + Sync + std::fmt::Debug + 'static,
1658{
1659    fn from(
1660        err: ::aws_smithy_runtime_api::client::result::SdkError<
1661            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1662            R,
1663        >,
1664    ) -> Self {
1665        match err {
1666            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1667            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1668                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1669                source: err.into(),
1670            }),
1671        }
1672    }
1673}
1674impl From<crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError> for Error {
1675    fn from(err: crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError) -> Self {
1676        match err {
1677            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
1678        }
1679    }
1680}
1681impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>> for Error
1682where
1683    R: Send + Sync + std::fmt::Debug + 'static,
1684{
1685    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>) -> 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_carrier_gateway::CreateCarrierGatewayError> for Error {
1696    fn from(err: crate::operation::create_carrier_gateway::CreateCarrierGatewayError) -> Self {
1697        match err {
1698            crate::operation::create_carrier_gateway::CreateCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1699        }
1700    }
1701}
1702impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>>
1703    for Error
1704where
1705    R: Send + Sync + std::fmt::Debug + 'static,
1706{
1707    fn from(
1708        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>,
1709    ) -> Self {
1710        match err {
1711            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1712            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1713                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1714                source: err.into(),
1715            }),
1716        }
1717    }
1718}
1719impl From<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError> for Error {
1720    fn from(err: crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError) -> Self {
1721        match err {
1722            crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1723        }
1724    }
1725}
1726impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>> for Error
1727where
1728    R: Send + Sync + std::fmt::Debug + 'static,
1729{
1730    fn from(
1731        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>,
1732    ) -> Self {
1733        match err {
1734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1737                source: err.into(),
1738            }),
1739        }
1740    }
1741}
1742impl From<crate::operation::create_client_vpn_route::CreateClientVpnRouteError> for Error {
1743    fn from(err: crate::operation::create_client_vpn_route::CreateClientVpnRouteError) -> Self {
1744        match err {
1745            crate::operation::create_client_vpn_route::CreateClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
1746        }
1747    }
1748}
1749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>> for Error
1750where
1751    R: Send + Sync + std::fmt::Debug + 'static,
1752{
1753    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>) -> 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_coip_cidr::CreateCoipCidrError> for Error {
1764    fn from(err: crate::operation::create_coip_cidr::CreateCoipCidrError) -> Self {
1765        match err {
1766            crate::operation::create_coip_cidr::CreateCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
1767        }
1768    }
1769}
1770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, 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_pool::CreateCoipPoolError, 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_pool::CreateCoipPoolError> for Error {
1785    fn from(err: crate::operation::create_coip_pool::CreateCoipPoolError) -> Self {
1786        match err {
1787            crate::operation::create_coip_pool::CreateCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
1788        }
1789    }
1790}
1791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>> for Error
1792where
1793    R: Send + Sync + std::fmt::Debug + 'static,
1794{
1795    fn from(
1796        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>,
1797    ) -> Self {
1798        match err {
1799            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1800            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1801                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1802                source: err.into(),
1803            }),
1804        }
1805    }
1806}
1807impl From<crate::operation::create_customer_gateway::CreateCustomerGatewayError> for Error {
1808    fn from(err: crate::operation::create_customer_gateway::CreateCustomerGatewayError) -> Self {
1809        match err {
1810            crate::operation::create_customer_gateway::CreateCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1811        }
1812    }
1813}
1814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>> for Error
1815where
1816    R: Send + Sync + std::fmt::Debug + 'static,
1817{
1818    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>) -> 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_default_subnet::CreateDefaultSubnetError> for Error {
1829    fn from(err: crate::operation::create_default_subnet::CreateDefaultSubnetError) -> Self {
1830        match err {
1831            crate::operation::create_default_subnet::CreateDefaultSubnetError::Unhandled(inner) => Error::Unhandled(inner),
1832        }
1833    }
1834}
1835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, 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_vpc::CreateDefaultVpcError, 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_vpc::CreateDefaultVpcError> for Error {
1850    fn from(err: crate::operation::create_default_vpc::CreateDefaultVpcError) -> Self {
1851        match err {
1852            crate::operation::create_default_vpc::CreateDefaultVpcError::Unhandled(inner) => Error::Unhandled(inner),
1853        }
1854    }
1855}
1856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, 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_dhcp_options::CreateDhcpOptionsError, 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_dhcp_options::CreateDhcpOptionsError> for Error {
1871    fn from(err: crate::operation::create_dhcp_options::CreateDhcpOptionsError) -> Self {
1872        match err {
1873            crate::operation::create_dhcp_options::CreateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
1874        }
1875    }
1876}
1877impl<R>
1878    From<
1879        ::aws_smithy_runtime_api::client::result::SdkError<
1880            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1881            R,
1882        >,
1883    > for Error
1884where
1885    R: Send + Sync + std::fmt::Debug + 'static,
1886{
1887    fn from(
1888        err: ::aws_smithy_runtime_api::client::result::SdkError<
1889            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1890            R,
1891        >,
1892    ) -> Self {
1893        match err {
1894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1897                source: err.into(),
1898            }),
1899        }
1900    }
1901}
1902impl From<crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError> for Error {
1903    fn from(err: crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError) -> Self {
1904        match err {
1905            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1906        }
1907    }
1908}
1909impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>> for Error
1910where
1911    R: Send + Sync + std::fmt::Debug + 'static,
1912{
1913    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>) -> Self {
1914        match err {
1915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1918                source: err.into(),
1919            }),
1920        }
1921    }
1922}
1923impl From<crate::operation::create_fleet::CreateFleetError> for Error {
1924    fn from(err: crate::operation::create_fleet::CreateFleetError) -> Self {
1925        match err {
1926            crate::operation::create_fleet::CreateFleetError::Unhandled(inner) => Error::Unhandled(inner),
1927        }
1928    }
1929}
1930impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, 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_flow_logs::CreateFlowLogsError, 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_flow_logs::CreateFlowLogsError> for Error {
1945    fn from(err: crate::operation::create_flow_logs::CreateFlowLogsError) -> Self {
1946        match err {
1947            crate::operation::create_flow_logs::CreateFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
1948        }
1949    }
1950}
1951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, 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_fpga_image::CreateFpgaImageError, 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_fpga_image::CreateFpgaImageError> for Error {
1966    fn from(err: crate::operation::create_fpga_image::CreateFpgaImageError) -> Self {
1967        match err {
1968            crate::operation::create_fpga_image::CreateFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
1969        }
1970    }
1971}
1972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, 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_image::CreateImageError, 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_image::CreateImageError> for Error {
1987    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
1988        match err {
1989            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
1990        }
1991    }
1992}
1993impl<R>
1994    From<
1995        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError, R>,
1996    > for Error
1997where
1998    R: Send + Sync + std::fmt::Debug + 'static,
1999{
2000    fn from(
2001        err: ::aws_smithy_runtime_api::client::result::SdkError<
2002            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError,
2003            R,
2004        >,
2005    ) -> Self {
2006        match err {
2007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2010                source: err.into(),
2011            }),
2012        }
2013    }
2014}
2015impl From<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError> for Error {
2016    fn from(err: crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError) -> Self {
2017        match err {
2018            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2019        }
2020    }
2021}
2022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>>
2023    for Error
2024where
2025    R: Send + Sync + std::fmt::Debug + 'static,
2026{
2027    fn from(
2028        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>,
2029    ) -> Self {
2030        match err {
2031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2034                source: err.into(),
2035            }),
2036        }
2037    }
2038}
2039impl From<crate::operation::create_instance_event_window::CreateInstanceEventWindowError> for Error {
2040    fn from(err: crate::operation::create_instance_event_window::CreateInstanceEventWindowError) -> Self {
2041        match err {
2042            crate::operation::create_instance_event_window::CreateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
2043        }
2044    }
2045}
2046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>>
2047    for Error
2048where
2049    R: Send + Sync + std::fmt::Debug + 'static,
2050{
2051    fn from(
2052        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>,
2053    ) -> Self {
2054        match err {
2055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2058                source: err.into(),
2059            }),
2060        }
2061    }
2062}
2063impl From<crate::operation::create_instance_export_task::CreateInstanceExportTaskError> for Error {
2064    fn from(err: crate::operation::create_instance_export_task::CreateInstanceExportTaskError) -> Self {
2065        match err {
2066            crate::operation::create_instance_export_task::CreateInstanceExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
2067        }
2068    }
2069}
2070impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>> for Error
2071where
2072    R: Send + Sync + std::fmt::Debug + 'static,
2073{
2074    fn from(
2075        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>,
2076    ) -> Self {
2077        match err {
2078            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2079            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2080                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2081                source: err.into(),
2082            }),
2083        }
2084    }
2085}
2086impl From<crate::operation::create_internet_gateway::CreateInternetGatewayError> for Error {
2087    fn from(err: crate::operation::create_internet_gateway::CreateInternetGatewayError) -> Self {
2088        match err {
2089            crate::operation::create_internet_gateway::CreateInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2090        }
2091    }
2092}
2093impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>> for Error
2094where
2095    R: Send + Sync + std::fmt::Debug + 'static,
2096{
2097    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>) -> 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_ipam::CreateIpamError> for Error {
2108    fn from(err: crate::operation::create_ipam::CreateIpamError) -> Self {
2109        match err {
2110            crate::operation::create_ipam::CreateIpamError::Unhandled(inner) => Error::Unhandled(inner),
2111        }
2112    }
2113}
2114impl<R>
2115    From<
2116        ::aws_smithy_runtime_api::client::result::SdkError<
2117            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2118            R,
2119        >,
2120    > for Error
2121where
2122    R: Send + Sync + std::fmt::Debug + 'static,
2123{
2124    fn from(
2125        err: ::aws_smithy_runtime_api::client::result::SdkError<
2126            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2127            R,
2128        >,
2129    ) -> Self {
2130        match err {
2131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2134                source: err.into(),
2135            }),
2136        }
2137    }
2138}
2139impl From<crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError> for Error {
2140    fn from(err: crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError) -> Self {
2141        match err {
2142            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError::Unhandled(
2143                inner,
2144            ) => Error::Unhandled(inner),
2145        }
2146    }
2147}
2148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>> for Error
2149where
2150    R: Send + Sync + std::fmt::Debug + 'static,
2151{
2152    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>) -> Self {
2153        match err {
2154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2157                source: err.into(),
2158            }),
2159        }
2160    }
2161}
2162impl From<crate::operation::create_ipam_pool::CreateIpamPoolError> for Error {
2163    fn from(err: crate::operation::create_ipam_pool::CreateIpamPoolError) -> Self {
2164        match err {
2165            crate::operation::create_ipam_pool::CreateIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
2166        }
2167    }
2168}
2169impl<R>
2170    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, R>>
2171    for Error
2172where
2173    R: Send + Sync + std::fmt::Debug + 'static,
2174{
2175    fn from(
2176        err: ::aws_smithy_runtime_api::client::result::SdkError<
2177            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError,
2178            R,
2179        >,
2180    ) -> Self {
2181        match err {
2182            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2183            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2184                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2185                source: err.into(),
2186            }),
2187        }
2188    }
2189}
2190impl From<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError> for Error {
2191    fn from(err: crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError) -> Self {
2192        match err {
2193            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2194        }
2195    }
2196}
2197impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>> for Error
2198where
2199    R: Send + Sync + std::fmt::Debug + 'static,
2200{
2201    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>) -> 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_scope::CreateIpamScopeError> for Error {
2212    fn from(err: crate::operation::create_ipam_scope::CreateIpamScopeError) -> Self {
2213        match err {
2214            crate::operation::create_ipam_scope::CreateIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
2215        }
2216    }
2217}
2218impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, 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_key_pair::CreateKeyPairError, 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_key_pair::CreateKeyPairError> for Error {
2233    fn from(err: crate::operation::create_key_pair::CreateKeyPairError) -> Self {
2234        match err {
2235            crate::operation::create_key_pair::CreateKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
2236        }
2237    }
2238}
2239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, 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_launch_template::CreateLaunchTemplateError, 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_launch_template::CreateLaunchTemplateError> for Error {
2254    fn from(err: crate::operation::create_launch_template::CreateLaunchTemplateError) -> Self {
2255        match err {
2256            crate::operation::create_launch_template::CreateLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2257        }
2258    }
2259}
2260impl<R>
2261    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, R>>
2262    for Error
2263where
2264    R: Send + Sync + std::fmt::Debug + 'static,
2265{
2266    fn from(
2267        err: ::aws_smithy_runtime_api::client::result::SdkError<
2268            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError,
2269            R,
2270        >,
2271    ) -> Self {
2272        match err {
2273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2276                source: err.into(),
2277            }),
2278        }
2279    }
2280}
2281impl From<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError> for Error {
2282    fn from(err: crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError) -> Self {
2283        match err {
2284            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError::Unhandled(inner) => Error::Unhandled(inner),
2285        }
2286    }
2287}
2288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>>
2289    for Error
2290where
2291    R: Send + Sync + std::fmt::Debug + 'static,
2292{
2293    fn from(
2294        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>,
2295    ) -> Self {
2296        match err {
2297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2300                source: err.into(),
2301            }),
2302        }
2303    }
2304}
2305impl From<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError> for Error {
2306    fn from(err: crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError) -> Self {
2307        match err {
2308            crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
2309        }
2310    }
2311}
2312impl<R>
2313    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, R>>
2314    for Error
2315where
2316    R: Send + Sync + std::fmt::Debug + 'static,
2317{
2318    fn from(
2319        err: ::aws_smithy_runtime_api::client::result::SdkError<
2320            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError,
2321            R,
2322        >,
2323    ) -> Self {
2324        match err {
2325            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2326            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2327                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2328                source: err.into(),
2329            }),
2330        }
2331    }
2332}
2333impl From<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError> for Error {
2334    fn from(err: crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError) -> Self {
2335        match err {
2336            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2337        }
2338    }
2339}
2340impl<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 {
2341    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
2342        match err {
2343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2344            _ => Error::Unhandled(
2345                                        crate::error::sealed_unhandled::Unhandled {
2346                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2347                                            source: err.into(),
2348                                        }
2349                                    ),
2350        }
2351    }
2352}
2353impl From<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
2354    fn from(err: crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
2355        match err {
2356            crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2357        }
2358    }
2359}
2360impl<R>
2361    From<
2362        ::aws_smithy_runtime_api::client::result::SdkError<
2363            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2364            R,
2365        >,
2366    > for Error
2367where
2368    R: Send + Sync + std::fmt::Debug + 'static,
2369{
2370    fn from(
2371        err: ::aws_smithy_runtime_api::client::result::SdkError<
2372            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2373            R,
2374        >,
2375    ) -> Self {
2376        match err {
2377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2380                source: err.into(),
2381            }),
2382        }
2383    }
2384}
2385impl From<crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError> for Error {
2386    fn from(err: crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError) -> Self {
2387        match err {
2388            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
2389                Error::Unhandled(inner)
2390            }
2391        }
2392    }
2393}
2394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>>
2395    for Error
2396where
2397    R: Send + Sync + std::fmt::Debug + 'static,
2398{
2399    fn from(
2400        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>,
2401    ) -> Self {
2402        match err {
2403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2406                source: err.into(),
2407            }),
2408        }
2409    }
2410}
2411impl From<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError> for Error {
2412    fn from(err: crate::operation::create_managed_prefix_list::CreateManagedPrefixListError) -> Self {
2413        match err {
2414            crate::operation::create_managed_prefix_list::CreateManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
2415        }
2416    }
2417}
2418impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>> for Error
2419where
2420    R: Send + Sync + std::fmt::Debug + 'static,
2421{
2422    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>) -> Self {
2423        match err {
2424            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2425            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2426                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2427                source: err.into(),
2428            }),
2429        }
2430    }
2431}
2432impl From<crate::operation::create_nat_gateway::CreateNatGatewayError> for Error {
2433    fn from(err: crate::operation::create_nat_gateway::CreateNatGatewayError) -> Self {
2434        match err {
2435            crate::operation::create_nat_gateway::CreateNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2436        }
2437    }
2438}
2439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>> for Error
2440where
2441    R: Send + Sync + std::fmt::Debug + 'static,
2442{
2443    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>) -> Self {
2444        match err {
2445            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2446            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2447                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2448                source: err.into(),
2449            }),
2450        }
2451    }
2452}
2453impl From<crate::operation::create_network_acl::CreateNetworkAclError> for Error {
2454    fn from(err: crate::operation::create_network_acl::CreateNetworkAclError) -> Self {
2455        match err {
2456            crate::operation::create_network_acl::CreateNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
2457        }
2458    }
2459}
2460impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>> for Error
2461where
2462    R: Send + Sync + std::fmt::Debug + 'static,
2463{
2464    fn from(
2465        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>,
2466    ) -> Self {
2467        match err {
2468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2471                source: err.into(),
2472            }),
2473        }
2474    }
2475}
2476impl From<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError> for Error {
2477    fn from(err: crate::operation::create_network_acl_entry::CreateNetworkAclEntryError) -> Self {
2478        match err {
2479            crate::operation::create_network_acl_entry::CreateNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
2480        }
2481    }
2482}
2483impl<R>
2484    From<
2485        ::aws_smithy_runtime_api::client::result::SdkError<
2486            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2487            R,
2488        >,
2489    > for Error
2490where
2491    R: Send + Sync + std::fmt::Debug + 'static,
2492{
2493    fn from(
2494        err: ::aws_smithy_runtime_api::client::result::SdkError<
2495            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2496            R,
2497        >,
2498    ) -> Self {
2499        match err {
2500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2503                source: err.into(),
2504            }),
2505        }
2506    }
2507}
2508impl From<crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError> for Error {
2509    fn from(err: crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError) -> Self {
2510        match err {
2511            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError::Unhandled(inner) => {
2512                Error::Unhandled(inner)
2513            }
2514        }
2515    }
2516}
2517impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>>
2518    for Error
2519where
2520    R: Send + Sync + std::fmt::Debug + 'static,
2521{
2522    fn from(
2523        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>,
2524    ) -> Self {
2525        match err {
2526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2529                source: err.into(),
2530            }),
2531        }
2532    }
2533}
2534impl From<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError> for Error {
2535    fn from(err: crate::operation::create_network_insights_path::CreateNetworkInsightsPathError) -> Self {
2536        match err {
2537            crate::operation::create_network_insights_path::CreateNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
2538        }
2539    }
2540}
2541impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>> for Error
2542where
2543    R: Send + Sync + std::fmt::Debug + 'static,
2544{
2545    fn from(
2546        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>,
2547    ) -> Self {
2548        match err {
2549            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2550            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2551                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2552                source: err.into(),
2553            }),
2554        }
2555    }
2556}
2557impl From<crate::operation::create_network_interface::CreateNetworkInterfaceError> for Error {
2558    fn from(err: crate::operation::create_network_interface::CreateNetworkInterfaceError) -> Self {
2559        match err {
2560            crate::operation::create_network_interface::CreateNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2561        }
2562    }
2563}
2564impl<R>
2565    From<
2566        ::aws_smithy_runtime_api::client::result::SdkError<
2567            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2568            R,
2569        >,
2570    > for Error
2571where
2572    R: Send + Sync + std::fmt::Debug + 'static,
2573{
2574    fn from(
2575        err: ::aws_smithy_runtime_api::client::result::SdkError<
2576            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2577            R,
2578        >,
2579    ) -> Self {
2580        match err {
2581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2584                source: err.into(),
2585            }),
2586        }
2587    }
2588}
2589impl From<crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError> for Error {
2590    fn from(err: crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError) -> Self {
2591        match err {
2592            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
2593        }
2594    }
2595}
2596impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>> for Error
2597where
2598    R: Send + Sync + std::fmt::Debug + 'static,
2599{
2600    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>) -> Self {
2601        match err {
2602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2605                source: err.into(),
2606            }),
2607        }
2608    }
2609}
2610impl From<crate::operation::create_placement_group::CreatePlacementGroupError> for Error {
2611    fn from(err: crate::operation::create_placement_group::CreatePlacementGroupError) -> Self {
2612        match err {
2613            crate::operation::create_placement_group::CreatePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
2614        }
2615    }
2616}
2617impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>> for Error
2618where
2619    R: Send + Sync + std::fmt::Debug + 'static,
2620{
2621    fn from(
2622        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>,
2623    ) -> Self {
2624        match err {
2625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2628                source: err.into(),
2629            }),
2630        }
2631    }
2632}
2633impl From<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError> for Error {
2634    fn from(err: crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError) -> Self {
2635        match err {
2636            crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
2637        }
2638    }
2639}
2640impl<R>
2641    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, R>>
2642    for Error
2643where
2644    R: Send + Sync + std::fmt::Debug + 'static,
2645{
2646    fn from(
2647        err: ::aws_smithy_runtime_api::client::result::SdkError<
2648            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError,
2649            R,
2650        >,
2651    ) -> Self {
2652        match err {
2653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2656                source: err.into(),
2657            }),
2658        }
2659    }
2660}
2661impl From<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError> for Error {
2662    fn from(err: crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError) -> Self {
2663        match err {
2664            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError::Unhandled(inner) => Error::Unhandled(inner),
2665        }
2666    }
2667}
2668impl<R>
2669    From<
2670        ::aws_smithy_runtime_api::client::result::SdkError<
2671            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2672            R,
2673        >,
2674    > for Error
2675where
2676    R: Send + Sync + std::fmt::Debug + 'static,
2677{
2678    fn from(
2679        err: ::aws_smithy_runtime_api::client::result::SdkError<
2680            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2681            R,
2682        >,
2683    ) -> Self {
2684        match err {
2685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2688                source: err.into(),
2689            }),
2690        }
2691    }
2692}
2693impl From<crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError> for Error {
2694    fn from(err: crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError) -> Self {
2695        match err {
2696            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
2697        }
2698    }
2699}
2700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>>
2701    for Error
2702where
2703    R: Send + Sync + std::fmt::Debug + 'static,
2704{
2705    fn from(
2706        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>,
2707    ) -> Self {
2708        match err {
2709            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2710            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2711                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2712                source: err.into(),
2713            }),
2714        }
2715    }
2716}
2717impl From<crate::operation::create_restore_image_task::CreateRestoreImageTaskError> for Error {
2718    fn from(err: crate::operation::create_restore_image_task::CreateRestoreImageTaskError) -> Self {
2719        match err {
2720            crate::operation::create_restore_image_task::CreateRestoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
2721        }
2722    }
2723}
2724impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>> for Error
2725where
2726    R: Send + Sync + std::fmt::Debug + 'static,
2727{
2728    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>) -> Self {
2729        match err {
2730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2733                source: err.into(),
2734            }),
2735        }
2736    }
2737}
2738impl From<crate::operation::create_route::CreateRouteError> for Error {
2739    fn from(err: crate::operation::create_route::CreateRouteError) -> Self {
2740        match err {
2741            crate::operation::create_route::CreateRouteError::Unhandled(inner) => Error::Unhandled(inner),
2742        }
2743    }
2744}
2745impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>> for Error
2746where
2747    R: Send + Sync + std::fmt::Debug + 'static,
2748{
2749    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>) -> Self {
2750        match err {
2751            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2752            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2753                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2754                source: err.into(),
2755            }),
2756        }
2757    }
2758}
2759impl From<crate::operation::create_route_table::CreateRouteTableError> for Error {
2760    fn from(err: crate::operation::create_route_table::CreateRouteTableError) -> Self {
2761        match err {
2762            crate::operation::create_route_table::CreateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2763        }
2764    }
2765}
2766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>> for Error
2767where
2768    R: Send + Sync + std::fmt::Debug + 'static,
2769{
2770    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>) -> Self {
2771        match err {
2772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2775                source: err.into(),
2776            }),
2777        }
2778    }
2779}
2780impl From<crate::operation::create_security_group::CreateSecurityGroupError> for Error {
2781    fn from(err: crate::operation::create_security_group::CreateSecurityGroupError) -> Self {
2782        match err {
2783            crate::operation::create_security_group::CreateSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
2784        }
2785    }
2786}
2787impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>> for Error
2788where
2789    R: Send + Sync + std::fmt::Debug + 'static,
2790{
2791    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>) -> Self {
2792        match err {
2793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2796                source: err.into(),
2797            }),
2798        }
2799    }
2800}
2801impl From<crate::operation::create_snapshot::CreateSnapshotError> for Error {
2802    fn from(err: crate::operation::create_snapshot::CreateSnapshotError) -> Self {
2803        match err {
2804            crate::operation::create_snapshot::CreateSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
2805        }
2806    }
2807}
2808impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>> for Error
2809where
2810    R: Send + Sync + std::fmt::Debug + 'static,
2811{
2812    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>) -> Self {
2813        match err {
2814            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2815            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2816                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2817                source: err.into(),
2818            }),
2819        }
2820    }
2821}
2822impl From<crate::operation::create_snapshots::CreateSnapshotsError> for Error {
2823    fn from(err: crate::operation::create_snapshots::CreateSnapshotsError) -> Self {
2824        match err {
2825            crate::operation::create_snapshots::CreateSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
2826        }
2827    }
2828}
2829impl<R>
2830    From<
2831        ::aws_smithy_runtime_api::client::result::SdkError<
2832            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
2833            R,
2834        >,
2835    > for Error
2836where
2837    R: Send + Sync + std::fmt::Debug + 'static,
2838{
2839    fn from(
2840        err: ::aws_smithy_runtime_api::client::result::SdkError<
2841            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
2842            R,
2843        >,
2844    ) -> Self {
2845        match err {
2846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2849                source: err.into(),
2850            }),
2851        }
2852    }
2853}
2854impl From<crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError> for Error {
2855    fn from(err: crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError) -> Self {
2856        match err {
2857            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
2858        }
2859    }
2860}
2861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>> for Error
2862where
2863    R: Send + Sync + std::fmt::Debug + 'static,
2864{
2865    fn from(
2866        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>,
2867    ) -> Self {
2868        match err {
2869            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2870            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2871                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2872                source: err.into(),
2873            }),
2874        }
2875    }
2876}
2877impl From<crate::operation::create_store_image_task::CreateStoreImageTaskError> for Error {
2878    fn from(err: crate::operation::create_store_image_task::CreateStoreImageTaskError) -> Self {
2879        match err {
2880            crate::operation::create_store_image_task::CreateStoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
2881        }
2882    }
2883}
2884impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>> for Error
2885where
2886    R: Send + Sync + std::fmt::Debug + 'static,
2887{
2888    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>) -> Self {
2889        match err {
2890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2893                source: err.into(),
2894            }),
2895        }
2896    }
2897}
2898impl From<crate::operation::create_subnet::CreateSubnetError> for Error {
2899    fn from(err: crate::operation::create_subnet::CreateSubnetError) -> Self {
2900        match err {
2901            crate::operation::create_subnet::CreateSubnetError::Unhandled(inner) => Error::Unhandled(inner),
2902        }
2903    }
2904}
2905impl<R>
2906    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, R>>
2907    for Error
2908where
2909    R: Send + Sync + std::fmt::Debug + 'static,
2910{
2911    fn from(
2912        err: ::aws_smithy_runtime_api::client::result::SdkError<
2913            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError,
2914            R,
2915        >,
2916    ) -> Self {
2917        match err {
2918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2921                source: err.into(),
2922            }),
2923        }
2924    }
2925}
2926impl From<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError> for Error {
2927    fn from(err: crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError) -> Self {
2928        match err {
2929            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
2930        }
2931    }
2932}
2933impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
2934where
2935    R: Send + Sync + std::fmt::Debug + 'static,
2936{
2937    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
2938        match err {
2939            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2940            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2941                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2942                source: err.into(),
2943            }),
2944        }
2945    }
2946}
2947impl From<crate::operation::create_tags::CreateTagsError> for Error {
2948    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
2949        match err {
2950            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
2951        }
2952    }
2953}
2954impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>>
2955    for Error
2956where
2957    R: Send + Sync + std::fmt::Debug + 'static,
2958{
2959    fn from(
2960        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>,
2961    ) -> Self {
2962        match err {
2963            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2964            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2965                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2966                source: err.into(),
2967            }),
2968        }
2969    }
2970}
2971impl From<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError> for Error {
2972    fn from(err: crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError) -> Self {
2973        match err {
2974            crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
2975        }
2976    }
2977}
2978impl<R>
2979    From<
2980        ::aws_smithy_runtime_api::client::result::SdkError<
2981            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
2982            R,
2983        >,
2984    > for Error
2985where
2986    R: Send + Sync + std::fmt::Debug + 'static,
2987{
2988    fn from(
2989        err: ::aws_smithy_runtime_api::client::result::SdkError<
2990            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
2991            R,
2992        >,
2993    ) -> Self {
2994        match err {
2995            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2996            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2997                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2998                source: err.into(),
2999            }),
3000        }
3001    }
3002}
3003impl From<crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError> for Error {
3004    fn from(err: crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError) -> Self {
3005        match err {
3006            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
3007        }
3008    }
3009}
3010impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>>
3011    for Error
3012where
3013    R: Send + Sync + std::fmt::Debug + 'static,
3014{
3015    fn from(
3016        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>,
3017    ) -> Self {
3018        match err {
3019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3022                source: err.into(),
3023            }),
3024        }
3025    }
3026}
3027impl From<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError> for Error {
3028    fn from(err: crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError) -> Self {
3029        match err {
3030            crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
3031        }
3032    }
3033}
3034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>>
3035    for Error
3036where
3037    R: Send + Sync + std::fmt::Debug + 'static,
3038{
3039    fn from(
3040        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>,
3041    ) -> Self {
3042        match err {
3043            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3044            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3045                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3046                source: err.into(),
3047            }),
3048        }
3049    }
3050}
3051impl From<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError> for Error {
3052    fn from(err: crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError) -> Self {
3053        match err {
3054            crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
3055        }
3056    }
3057}
3058impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>> for Error
3059where
3060    R: Send + Sync + std::fmt::Debug + 'static,
3061{
3062    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>) -> Self {
3063        match err {
3064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3067                source: err.into(),
3068            }),
3069        }
3070    }
3071}
3072impl From<crate::operation::create_transit_gateway::CreateTransitGatewayError> for Error {
3073    fn from(err: crate::operation::create_transit_gateway::CreateTransitGatewayError) -> Self {
3074        match err {
3075            crate::operation::create_transit_gateway::CreateTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3076        }
3077    }
3078}
3079impl<R>
3080    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, R>>
3081    for Error
3082where
3083    R: Send + Sync + std::fmt::Debug + 'static,
3084{
3085    fn from(
3086        err: ::aws_smithy_runtime_api::client::result::SdkError<
3087            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError,
3088            R,
3089        >,
3090    ) -> Self {
3091        match err {
3092            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3093            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3094                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3095                source: err.into(),
3096            }),
3097        }
3098    }
3099}
3100impl From<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError> for Error {
3101    fn from(err: crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError) -> Self {
3102        match err {
3103            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
3104        }
3105    }
3106}
3107impl<R>
3108    From<
3109        ::aws_smithy_runtime_api::client::result::SdkError<
3110            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3111            R,
3112        >,
3113    > for Error
3114where
3115    R: Send + Sync + std::fmt::Debug + 'static,
3116{
3117    fn from(
3118        err: ::aws_smithy_runtime_api::client::result::SdkError<
3119            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3120            R,
3121        >,
3122    ) -> Self {
3123        match err {
3124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3127                source: err.into(),
3128            }),
3129        }
3130    }
3131}
3132impl From<crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError> for Error {
3133    fn from(err: crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError) -> Self {
3134        match err {
3135            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
3136        }
3137    }
3138}
3139impl<R>
3140    From<
3141        ::aws_smithy_runtime_api::client::result::SdkError<
3142            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3143            R,
3144        >,
3145    > for Error
3146where
3147    R: Send + Sync + std::fmt::Debug + 'static,
3148{
3149    fn from(
3150        err: ::aws_smithy_runtime_api::client::result::SdkError<
3151            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3152            R,
3153        >,
3154    ) -> Self {
3155        match err {
3156            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3157            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3158                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3159                source: err.into(),
3160            }),
3161        }
3162    }
3163}
3164impl From<crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3165    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3166        match err {
3167            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::Unhandled(inner) => {
3168                Error::Unhandled(inner)
3169            }
3170        }
3171    }
3172}
3173impl<R>
3174    From<
3175        ::aws_smithy_runtime_api::client::result::SdkError<
3176            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3177            R,
3178        >,
3179    > for Error
3180where
3181    R: Send + Sync + std::fmt::Debug + 'static,
3182{
3183    fn from(
3184        err: ::aws_smithy_runtime_api::client::result::SdkError<
3185            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3186            R,
3187        >,
3188    ) -> Self {
3189        match err {
3190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3193                source: err.into(),
3194            }),
3195        }
3196    }
3197}
3198impl From<crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3199    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3200        match err {
3201            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
3202                Error::Unhandled(inner)
3203            }
3204        }
3205    }
3206}
3207impl<R>
3208    From<
3209        ::aws_smithy_runtime_api::client::result::SdkError<
3210            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3211            R,
3212        >,
3213    > for Error
3214where
3215    R: Send + Sync + std::fmt::Debug + 'static,
3216{
3217    fn from(
3218        err: ::aws_smithy_runtime_api::client::result::SdkError<
3219            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3220            R,
3221        >,
3222    ) -> Self {
3223        match err {
3224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3227                source: err.into(),
3228            }),
3229        }
3230    }
3231}
3232impl From<crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3233    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3234        match err {
3235            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3236        }
3237    }
3238}
3239impl<R>
3240    From<
3241        ::aws_smithy_runtime_api::client::result::SdkError<
3242            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3243            R,
3244        >,
3245    > for Error
3246where
3247    R: Send + Sync + std::fmt::Debug + 'static,
3248{
3249    fn from(
3250        err: ::aws_smithy_runtime_api::client::result::SdkError<
3251            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3252            R,
3253        >,
3254    ) -> Self {
3255        match err {
3256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3259                source: err.into(),
3260            }),
3261        }
3262    }
3263}
3264impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3265    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3266        match err {
3267            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3268                Error::Unhandled(inner)
3269            }
3270        }
3271    }
3272}
3273impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3274    for Error
3275where
3276    R: Send + Sync + std::fmt::Debug + 'static,
3277{
3278    fn from(
3279        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3280    ) -> Self {
3281        match err {
3282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3285                source: err.into(),
3286            }),
3287        }
3288    }
3289}
3290impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3291    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3292        match err {
3293            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3294        }
3295    }
3296}
3297impl<R>
3298    From<
3299        ::aws_smithy_runtime_api::client::result::SdkError<
3300            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3301            R,
3302        >,
3303    > for Error
3304where
3305    R: Send + Sync + std::fmt::Debug + 'static,
3306{
3307    fn from(
3308        err: ::aws_smithy_runtime_api::client::result::SdkError<
3309            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3310            R,
3311        >,
3312    ) -> Self {
3313        match err {
3314            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3315            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3316                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3317                source: err.into(),
3318            }),
3319        }
3320    }
3321}
3322impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3323    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3324        match err {
3325            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3326        }
3327    }
3328}
3329impl<R>
3330    From<
3331        ::aws_smithy_runtime_api::client::result::SdkError<
3332            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3333            R,
3334        >,
3335    > for Error
3336where
3337    R: Send + Sync + std::fmt::Debug + 'static,
3338{
3339    fn from(
3340        err: ::aws_smithy_runtime_api::client::result::SdkError<
3341            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3342            R,
3343        >,
3344    ) -> Self {
3345        match err {
3346            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3347            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3348                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3349                source: err.into(),
3350            }),
3351        }
3352    }
3353}
3354impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3355    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3356        match err {
3357            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3358                Error::Unhandled(inner)
3359            }
3360        }
3361    }
3362}
3363impl<R>
3364    From<
3365        ::aws_smithy_runtime_api::client::result::SdkError<
3366            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3367            R,
3368        >,
3369    > for Error
3370where
3371    R: Send + Sync + std::fmt::Debug + 'static,
3372{
3373    fn from(
3374        err: ::aws_smithy_runtime_api::client::result::SdkError<
3375            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3376            R,
3377        >,
3378    ) -> Self {
3379        match err {
3380            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3381            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3382                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3383                source: err.into(),
3384            }),
3385        }
3386    }
3387}
3388impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3389    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3390        match err {
3391            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3392                Error::Unhandled(inner)
3393            }
3394        }
3395    }
3396}
3397impl<R>
3398    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3399    for Error
3400where
3401    R: Send + Sync + std::fmt::Debug + 'static,
3402{
3403    fn from(
3404        err: ::aws_smithy_runtime_api::client::result::SdkError<
3405            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3406            R,
3407        >,
3408    ) -> Self {
3409        match err {
3410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3413                source: err.into(),
3414            }),
3415        }
3416    }
3417}
3418impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3419    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3420        match err {
3421            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3422        }
3423    }
3424}
3425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>>
3426    for Error
3427where
3428    R: Send + Sync + std::fmt::Debug + 'static,
3429{
3430    fn from(
3431        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>,
3432    ) -> Self {
3433        match err {
3434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3437                source: err.into(),
3438            }),
3439        }
3440    }
3441}
3442impl From<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3443    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3444        match err {
3445            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3446        }
3447    }
3448}
3449impl<R>
3450    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3451    for Error
3452where
3453    R: Send + Sync + std::fmt::Debug + 'static,
3454{
3455    fn from(
3456        err: ::aws_smithy_runtime_api::client::result::SdkError<
3457            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3458            R,
3459        >,
3460    ) -> Self {
3461        match err {
3462            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3463            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3464                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3465                source: err.into(),
3466            }),
3467        }
3468    }
3469}
3470impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
3471    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
3472        match err {
3473            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3474        }
3475    }
3476}
3477impl<R>
3478    From<
3479        ::aws_smithy_runtime_api::client::result::SdkError<
3480            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3481            R,
3482        >,
3483    > for Error
3484where
3485    R: Send + Sync + std::fmt::Debug + 'static,
3486{
3487    fn from(
3488        err: ::aws_smithy_runtime_api::client::result::SdkError<
3489            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3490            R,
3491        >,
3492    ) -> Self {
3493        match err {
3494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3497                source: err.into(),
3498            }),
3499        }
3500    }
3501}
3502impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
3503    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
3504        match err {
3505            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
3506                Error::Unhandled(inner)
3507            }
3508        }
3509    }
3510}
3511impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
3512where
3513    R: Send + Sync + std::fmt::Debug + 'static,
3514{
3515    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> Self {
3516        match err {
3517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3520                source: err.into(),
3521            }),
3522        }
3523    }
3524}
3525impl From<crate::operation::create_volume::CreateVolumeError> for Error {
3526    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
3527        match err {
3528            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
3529        }
3530    }
3531}
3532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
3533where
3534    R: Send + Sync + std::fmt::Debug + 'static,
3535{
3536    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
3537        match err {
3538            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3539            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3540                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3541                source: err.into(),
3542            }),
3543        }
3544    }
3545}
3546impl From<crate::operation::create_vpc::CreateVpcError> for Error {
3547    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
3548        match err {
3549            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
3550        }
3551    }
3552}
3553impl<R>
3554    From<
3555        ::aws_smithy_runtime_api::client::result::SdkError<
3556            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3557            R,
3558        >,
3559    > for Error
3560where
3561    R: Send + Sync + std::fmt::Debug + 'static,
3562{
3563    fn from(
3564        err: ::aws_smithy_runtime_api::client::result::SdkError<
3565            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3566            R,
3567        >,
3568    ) -> Self {
3569        match err {
3570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3573                source: err.into(),
3574            }),
3575        }
3576    }
3577}
3578impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
3579    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
3580        match err {
3581            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
3582                Error::Unhandled(inner)
3583            }
3584        }
3585    }
3586}
3587impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
3588where
3589    R: Send + Sync + std::fmt::Debug + 'static,
3590{
3591    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
3592        match err {
3593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3596                source: err.into(),
3597            }),
3598        }
3599    }
3600}
3601impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
3602    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
3603        match err {
3604            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3605        }
3606    }
3607}
3608impl<R>
3609    From<
3610        ::aws_smithy_runtime_api::client::result::SdkError<
3611            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3612            R,
3613        >,
3614    > for Error
3615where
3616    R: Send + Sync + std::fmt::Debug + 'static,
3617{
3618    fn from(
3619        err: ::aws_smithy_runtime_api::client::result::SdkError<
3620            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3621            R,
3622        >,
3623    ) -> Self {
3624        match err {
3625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3628                source: err.into(),
3629            }),
3630        }
3631    }
3632}
3633impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
3634    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
3635        match err {
3636            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
3637                Error::Unhandled(inner)
3638            }
3639        }
3640    }
3641}
3642impl<R>
3643    From<
3644        ::aws_smithy_runtime_api::client::result::SdkError<
3645            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3646            R,
3647        >,
3648    > for Error
3649where
3650    R: Send + Sync + std::fmt::Debug + 'static,
3651{
3652    fn from(
3653        err: ::aws_smithy_runtime_api::client::result::SdkError<
3654            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3655            R,
3656        >,
3657    ) -> Self {
3658        match err {
3659            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3660            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3661                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3662                source: err.into(),
3663            }),
3664        }
3665    }
3666}
3667impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
3668    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
3669        match err {
3670            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
3671                Error::Unhandled(inner)
3672            }
3673        }
3674    }
3675}
3676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
3677    for Error
3678where
3679    R: Send + Sync + std::fmt::Debug + 'static,
3680{
3681    fn from(
3682        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
3683    ) -> Self {
3684        match err {
3685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3688                source: err.into(),
3689            }),
3690        }
3691    }
3692}
3693impl From<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError> for Error {
3694    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
3695        match err {
3696            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3697        }
3698    }
3699}
3700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
3701where
3702    R: Send + Sync + std::fmt::Debug + 'static,
3703{
3704    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
3705        match err {
3706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3709                source: err.into(),
3710            }),
3711        }
3712    }
3713}
3714impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
3715    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
3716        match err {
3717            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3718        }
3719    }
3720}
3721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
3722    for Error
3723where
3724    R: Send + Sync + std::fmt::Debug + 'static,
3725{
3726    fn from(
3727        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
3728    ) -> Self {
3729        match err {
3730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3733                source: err.into(),
3734            }),
3735        }
3736    }
3737}
3738impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
3739    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
3740        match err {
3741            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
3742        }
3743    }
3744}
3745impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
3746where
3747    R: Send + Sync + std::fmt::Debug + 'static,
3748{
3749    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
3750        match err {
3751            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3752            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3753                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3754                source: err.into(),
3755            }),
3756        }
3757    }
3758}
3759impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
3760    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
3761        match err {
3762            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3763        }
3764    }
3765}
3766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
3767where
3768    R: Send + Sync + std::fmt::Debug + 'static,
3769{
3770    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> Self {
3771        match err {
3772            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3773            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3774                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3775                source: err.into(),
3776            }),
3777        }
3778    }
3779}
3780impl From<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
3781    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
3782        match err {
3783            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3784        }
3785    }
3786}
3787impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
3788    for Error
3789where
3790    R: Send + Sync + std::fmt::Debug + 'static,
3791{
3792    fn from(
3793        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
3794    ) -> Self {
3795        match err {
3796            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3797            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3798                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3799                source: err.into(),
3800            }),
3801        }
3802    }
3803}
3804impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
3805    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
3806        match err {
3807            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3808        }
3809    }
3810}
3811impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
3812where
3813    R: Send + Sync + std::fmt::Debug + 'static,
3814{
3815    fn from(
3816        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
3817    ) -> Self {
3818        match err {
3819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3822                source: err.into(),
3823            }),
3824        }
3825    }
3826}
3827impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
3828    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
3829        match err {
3830            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
3831        }
3832    }
3833}
3834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
3835where
3836    R: Send + Sync + std::fmt::Debug + 'static,
3837{
3838    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
3839        match err {
3840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3843                source: err.into(),
3844            }),
3845        }
3846    }
3847}
3848impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
3849    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
3850        match err {
3851            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
3852        }
3853    }
3854}
3855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
3856where
3857    R: Send + Sync + std::fmt::Debug + 'static,
3858{
3859    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
3860        match err {
3861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3864                source: err.into(),
3865            }),
3866        }
3867    }
3868}
3869impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
3870    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
3871        match err {
3872            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
3873        }
3874    }
3875}
3876impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
3877where
3878    R: Send + Sync + std::fmt::Debug + 'static,
3879{
3880    fn from(
3881        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
3882    ) -> Self {
3883        match err {
3884            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3885            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3886                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3887                source: err.into(),
3888            }),
3889        }
3890    }
3891}
3892impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
3893    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
3894        match err {
3895            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3896        }
3897    }
3898}
3899impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
3900where
3901    R: Send + Sync + std::fmt::Debug + 'static,
3902{
3903    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> Self {
3904        match err {
3905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3908                source: err.into(),
3909            }),
3910        }
3911    }
3912}
3913impl From<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError> for Error {
3914    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
3915        match err {
3916            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
3917        }
3918    }
3919}
3920impl<R>
3921    From<
3922        ::aws_smithy_runtime_api::client::result::SdkError<
3923            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
3924            R,
3925        >,
3926    > for Error
3927where
3928    R: Send + Sync + std::fmt::Debug + 'static,
3929{
3930    fn from(
3931        err: ::aws_smithy_runtime_api::client::result::SdkError<
3932            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
3933            R,
3934        >,
3935    ) -> Self {
3936        match err {
3937            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3938            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3939                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3940                source: err.into(),
3941            }),
3942        }
3943    }
3944}
3945impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
3946    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
3947        match err {
3948            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3949        }
3950    }
3951}
3952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
3953where
3954    R: Send + Sync + std::fmt::Debug + 'static,
3955{
3956    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> Self {
3957        match err {
3958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3961                source: err.into(),
3962            }),
3963        }
3964    }
3965}
3966impl From<crate::operation::delete_fleets::DeleteFleetsError> for Error {
3967    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
3968        match err {
3969            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
3970        }
3971    }
3972}
3973impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
3974where
3975    R: Send + Sync + std::fmt::Debug + 'static,
3976{
3977    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
3978        match err {
3979            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3980            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3981                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3982                source: err.into(),
3983            }),
3984        }
3985    }
3986}
3987impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
3988    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
3989        match err {
3990            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
3991        }
3992    }
3993}
3994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
3995where
3996    R: Send + Sync + std::fmt::Debug + 'static,
3997{
3998    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
3999        match err {
4000            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4001            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4002                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4003                source: err.into(),
4004            }),
4005        }
4006    }
4007}
4008impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4009    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4010        match err {
4011            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4012        }
4013    }
4014}
4015impl<R>
4016    From<
4017        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4018    > for Error
4019where
4020    R: Send + Sync + std::fmt::Debug + 'static,
4021{
4022    fn from(
4023        err: ::aws_smithy_runtime_api::client::result::SdkError<
4024            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4025            R,
4026        >,
4027    ) -> Self {
4028        match err {
4029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4032                source: err.into(),
4033            }),
4034        }
4035    }
4036}
4037impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4038    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4039        match err {
4040            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4041        }
4042    }
4043}
4044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4045    for Error
4046where
4047    R: Send + Sync + std::fmt::Debug + 'static,
4048{
4049    fn from(
4050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4051    ) -> Self {
4052        match err {
4053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4056                source: err.into(),
4057            }),
4058        }
4059    }
4060}
4061impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4062    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4063        match err {
4064            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4065        }
4066    }
4067}
4068impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4069where
4070    R: Send + Sync + std::fmt::Debug + 'static,
4071{
4072    fn from(
4073        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4074    ) -> Self {
4075        match err {
4076            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4077            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4078                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4079                source: err.into(),
4080            }),
4081        }
4082    }
4083}
4084impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4085    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4086        match err {
4087            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4088        }
4089    }
4090}
4091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4092where
4093    R: Send + Sync + std::fmt::Debug + 'static,
4094{
4095    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4096        match err {
4097            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4098            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4099                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4100                source: err.into(),
4101            }),
4102        }
4103    }
4104}
4105impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4106    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4107        match err {
4108            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4109        }
4110    }
4111}
4112impl<R>
4113    From<
4114        ::aws_smithy_runtime_api::client::result::SdkError<
4115            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4116            R,
4117        >,
4118    > for Error
4119where
4120    R: Send + Sync + std::fmt::Debug + 'static,
4121{
4122    fn from(
4123        err: ::aws_smithy_runtime_api::client::result::SdkError<
4124            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4125            R,
4126        >,
4127    ) -> Self {
4128        match err {
4129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4132                source: err.into(),
4133            }),
4134        }
4135    }
4136}
4137impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4138    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4139        match err {
4140            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4141                inner,
4142            ) => Error::Unhandled(inner),
4143        }
4144    }
4145}
4146impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4147where
4148    R: Send + Sync + std::fmt::Debug + 'static,
4149{
4150    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4151        match err {
4152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4155                source: err.into(),
4156            }),
4157        }
4158    }
4159}
4160impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4161    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4162        match err {
4163            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4164        }
4165    }
4166}
4167impl<R>
4168    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4169    for Error
4170where
4171    R: Send + Sync + std::fmt::Debug + 'static,
4172{
4173    fn from(
4174        err: ::aws_smithy_runtime_api::client::result::SdkError<
4175            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4176            R,
4177        >,
4178    ) -> Self {
4179        match err {
4180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4183                source: err.into(),
4184            }),
4185        }
4186    }
4187}
4188impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4189    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4190        match err {
4191            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4192        }
4193    }
4194}
4195impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4196where
4197    R: Send + Sync + std::fmt::Debug + 'static,
4198{
4199    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4200        match err {
4201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4204                source: err.into(),
4205            }),
4206        }
4207    }
4208}
4209impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4210    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4211        match err {
4212            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4213        }
4214    }
4215}
4216impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4217where
4218    R: Send + Sync + std::fmt::Debug + 'static,
4219{
4220    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4221        match err {
4222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4225                source: err.into(),
4226            }),
4227        }
4228    }
4229}
4230impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4231    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4232        match err {
4233            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4234        }
4235    }
4236}
4237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4238where
4239    R: Send + Sync + std::fmt::Debug + 'static,
4240{
4241    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4242        match err {
4243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4246                source: err.into(),
4247            }),
4248        }
4249    }
4250}
4251impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4252    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4253        match err {
4254            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4255        }
4256    }
4257}
4258impl<R>
4259    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4260    for Error
4261where
4262    R: Send + Sync + std::fmt::Debug + 'static,
4263{
4264    fn from(
4265        err: ::aws_smithy_runtime_api::client::result::SdkError<
4266            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4267            R,
4268        >,
4269    ) -> Self {
4270        match err {
4271            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4272            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4273                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4274                source: err.into(),
4275            }),
4276        }
4277    }
4278}
4279impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
4280    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
4281        match err {
4282            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
4283        }
4284    }
4285}
4286impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
4287    for Error
4288where
4289    R: Send + Sync + std::fmt::Debug + 'static,
4290{
4291    fn from(
4292        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
4293    ) -> Self {
4294        match err {
4295            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4296            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4297                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4298                source: err.into(),
4299            }),
4300        }
4301    }
4302}
4303impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
4304    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
4305        match err {
4306            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
4307        }
4308    }
4309}
4310impl<R>
4311    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
4312    for Error
4313where
4314    R: Send + Sync + std::fmt::Debug + 'static,
4315{
4316    fn from(
4317        err: ::aws_smithy_runtime_api::client::result::SdkError<
4318            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
4319            R,
4320        >,
4321    ) -> Self {
4322        match err {
4323            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4324            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4325                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4326                source: err.into(),
4327            }),
4328        }
4329    }
4330}
4331impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
4332    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
4333        match err {
4334            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4335        }
4336    }
4337}
4338impl<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 {
4339    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
4340        match err {
4341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4342            _ => Error::Unhandled(
4343                                        crate::error::sealed_unhandled::Unhandled {
4344                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4345                                            source: err.into(),
4346                                        }
4347                                    ),
4348        }
4349    }
4350}
4351impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
4352    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
4353        match err {
4354            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4355        }
4356    }
4357}
4358impl<R>
4359    From<
4360        ::aws_smithy_runtime_api::client::result::SdkError<
4361            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4362            R,
4363        >,
4364    > for Error
4365where
4366    R: Send + Sync + std::fmt::Debug + 'static,
4367{
4368    fn from(
4369        err: ::aws_smithy_runtime_api::client::result::SdkError<
4370            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4371            R,
4372        >,
4373    ) -> Self {
4374        match err {
4375            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4376            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4377                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4378                source: err.into(),
4379            }),
4380        }
4381    }
4382}
4383impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
4384    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
4385        match err {
4386            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
4387                Error::Unhandled(inner)
4388            }
4389        }
4390    }
4391}
4392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
4393    for Error
4394where
4395    R: Send + Sync + std::fmt::Debug + 'static,
4396{
4397    fn from(
4398        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
4399    ) -> Self {
4400        match err {
4401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4404                source: err.into(),
4405            }),
4406        }
4407    }
4408}
4409impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
4410    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
4411        match err {
4412            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
4413        }
4414    }
4415}
4416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
4417where
4418    R: Send + Sync + std::fmt::Debug + 'static,
4419{
4420    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
4421        match err {
4422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4425                source: err.into(),
4426            }),
4427        }
4428    }
4429}
4430impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
4431    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
4432        match err {
4433            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4434        }
4435    }
4436}
4437impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
4438where
4439    R: Send + Sync + std::fmt::Debug + 'static,
4440{
4441    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
4442        match err {
4443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4446                source: err.into(),
4447            }),
4448        }
4449    }
4450}
4451impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
4452    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
4453        match err {
4454            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
4455        }
4456    }
4457}
4458impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
4459where
4460    R: Send + Sync + std::fmt::Debug + 'static,
4461{
4462    fn from(
4463        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
4464    ) -> Self {
4465        match err {
4466            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4467            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4468                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4469                source: err.into(),
4470            }),
4471        }
4472    }
4473}
4474impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
4475    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
4476        match err {
4477            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
4478        }
4479    }
4480}
4481impl<R>
4482    From<
4483        ::aws_smithy_runtime_api::client::result::SdkError<
4484            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4485            R,
4486        >,
4487    > for Error
4488where
4489    R: Send + Sync + std::fmt::Debug + 'static,
4490{
4491    fn from(
4492        err: ::aws_smithy_runtime_api::client::result::SdkError<
4493            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4494            R,
4495        >,
4496    ) -> Self {
4497        match err {
4498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4501                source: err.into(),
4502            }),
4503        }
4504    }
4505}
4506impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
4507    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
4508        match err {
4509            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
4510                Error::Unhandled(inner)
4511            }
4512        }
4513    }
4514}
4515impl<R>
4516    From<
4517        ::aws_smithy_runtime_api::client::result::SdkError<
4518            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
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_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
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_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
4541    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
4542        match err {
4543            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
4544                Error::Unhandled(inner)
4545            }
4546        }
4547    }
4548}
4549impl<R>
4550    From<
4551        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
4552    > for Error
4553where
4554    R: Send + Sync + std::fmt::Debug + 'static,
4555{
4556    fn from(
4557        err: ::aws_smithy_runtime_api::client::result::SdkError<
4558            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
4559            R,
4560        >,
4561    ) -> Self {
4562        match err {
4563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4566                source: err.into(),
4567            }),
4568        }
4569    }
4570}
4571impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
4572    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
4573        match err {
4574            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
4575        }
4576    }
4577}
4578impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
4579    for Error
4580where
4581    R: Send + Sync + std::fmt::Debug + 'static,
4582{
4583    fn from(
4584        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
4585    ) -> Self {
4586        match err {
4587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4590                source: err.into(),
4591            }),
4592        }
4593    }
4594}
4595impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
4596    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
4597        match err {
4598            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
4599        }
4600    }
4601}
4602impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
4603where
4604    R: Send + Sync + std::fmt::Debug + 'static,
4605{
4606    fn from(
4607        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
4608    ) -> Self {
4609        match err {
4610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4613                source: err.into(),
4614            }),
4615        }
4616    }
4617}
4618impl From<crate::operation::delete_network_interface::DeleteNetworkInterfaceError> for Error {
4619    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
4620        match err {
4621            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
4622        }
4623    }
4624}
4625impl<R>
4626    From<
4627        ::aws_smithy_runtime_api::client::result::SdkError<
4628            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4629            R,
4630        >,
4631    > for Error
4632where
4633    R: Send + Sync + std::fmt::Debug + 'static,
4634{
4635    fn from(
4636        err: ::aws_smithy_runtime_api::client::result::SdkError<
4637            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4638            R,
4639        >,
4640    ) -> Self {
4641        match err {
4642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4645                source: err.into(),
4646            }),
4647        }
4648    }
4649}
4650impl From<crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
4651    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
4652        match err {
4653            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
4654        }
4655    }
4656}
4657impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>> for Error
4658where
4659    R: Send + Sync + std::fmt::Debug + 'static,
4660{
4661    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>) -> Self {
4662        match err {
4663            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4664            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4665                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4666                source: err.into(),
4667            }),
4668        }
4669    }
4670}
4671impl From<crate::operation::delete_placement_group::DeletePlacementGroupError> for Error {
4672    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
4673        match err {
4674            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
4675        }
4676    }
4677}
4678impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
4679where
4680    R: Send + Sync + std::fmt::Debug + 'static,
4681{
4682    fn from(
4683        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
4684    ) -> Self {
4685        match err {
4686            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4687            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4688                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4689                source: err.into(),
4690            }),
4691        }
4692    }
4693}
4694impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
4695    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
4696        match err {
4697            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
4698        }
4699    }
4700}
4701impl<R>
4702    From<
4703        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
4704    > for Error
4705where
4706    R: Send + Sync + std::fmt::Debug + 'static,
4707{
4708    fn from(
4709        err: ::aws_smithy_runtime_api::client::result::SdkError<
4710            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
4711            R,
4712        >,
4713    ) -> Self {
4714        match err {
4715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4718                source: err.into(),
4719            }),
4720        }
4721    }
4722}
4723impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
4724    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
4725        match err {
4726            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
4727        }
4728    }
4729}
4730impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
4731where
4732    R: Send + Sync + std::fmt::Debug + 'static,
4733{
4734    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> Self {
4735        match err {
4736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4739                source: err.into(),
4740            }),
4741        }
4742    }
4743}
4744impl From<crate::operation::delete_route::DeleteRouteError> for Error {
4745    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
4746        match err {
4747            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
4748        }
4749    }
4750}
4751impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
4752where
4753    R: Send + Sync + std::fmt::Debug + 'static,
4754{
4755    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> 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_route_table::DeleteRouteTableError> for Error {
4766    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
4767        match err {
4768            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4769        }
4770    }
4771}
4772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
4773where
4774    R: Send + Sync + std::fmt::Debug + 'static,
4775{
4776    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
4777        match err {
4778            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4779            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4780                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4781                source: err.into(),
4782            }),
4783        }
4784    }
4785}
4786impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
4787    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
4788        match err {
4789            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
4790        }
4791    }
4792}
4793impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
4794where
4795    R: Send + Sync + std::fmt::Debug + 'static,
4796{
4797    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
4798        match err {
4799            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4800            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4801                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4802                source: err.into(),
4803            }),
4804        }
4805    }
4806}
4807impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
4808    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
4809        match err {
4810            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
4811        }
4812    }
4813}
4814impl<R>
4815    From<
4816        ::aws_smithy_runtime_api::client::result::SdkError<
4817            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
4818            R,
4819        >,
4820    > for Error
4821where
4822    R: Send + Sync + std::fmt::Debug + 'static,
4823{
4824    fn from(
4825        err: ::aws_smithy_runtime_api::client::result::SdkError<
4826            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
4827            R,
4828        >,
4829    ) -> Self {
4830        match err {
4831            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4832            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4833                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4834                source: err.into(),
4835            }),
4836        }
4837    }
4838}
4839impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
4840    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
4841        match err {
4842            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
4843        }
4844    }
4845}
4846impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
4847where
4848    R: Send + Sync + std::fmt::Debug + 'static,
4849{
4850    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
4851        match err {
4852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4855                source: err.into(),
4856            }),
4857        }
4858    }
4859}
4860impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
4861    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
4862        match err {
4863            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
4864        }
4865    }
4866}
4867impl<R>
4868    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, R>>
4869    for Error
4870where
4871    R: Send + Sync + std::fmt::Debug + 'static,
4872{
4873    fn from(
4874        err: ::aws_smithy_runtime_api::client::result::SdkError<
4875            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
4876            R,
4877        >,
4878    ) -> Self {
4879        match err {
4880            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4881            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4882                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4883                source: err.into(),
4884            }),
4885        }
4886    }
4887}
4888impl From<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
4889    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
4890        match err {
4891            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
4892        }
4893    }
4894}
4895impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
4896where
4897    R: Send + Sync + std::fmt::Debug + 'static,
4898{
4899    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
4900        match err {
4901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4904                source: err.into(),
4905            }),
4906        }
4907    }
4908}
4909impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
4910    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
4911        match err {
4912            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
4913        }
4914    }
4915}
4916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
4917    for Error
4918where
4919    R: Send + Sync + std::fmt::Debug + 'static,
4920{
4921    fn from(
4922        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>,
4923    ) -> Self {
4924        match err {
4925            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4926            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4927                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4928                source: err.into(),
4929            }),
4930        }
4931    }
4932}
4933impl From<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
4934    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
4935        match err {
4936            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
4937        }
4938    }
4939}
4940impl<R>
4941    From<
4942        ::aws_smithy_runtime_api::client::result::SdkError<
4943            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
4944            R,
4945        >,
4946    > for Error
4947where
4948    R: Send + Sync + std::fmt::Debug + 'static,
4949{
4950    fn from(
4951        err: ::aws_smithy_runtime_api::client::result::SdkError<
4952            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
4953            R,
4954        >,
4955    ) -> Self {
4956        match err {
4957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4960                source: err.into(),
4961            }),
4962        }
4963    }
4964}
4965impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
4966    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
4967        match err {
4968            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
4969        }
4970    }
4971}
4972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
4973    for Error
4974where
4975    R: Send + Sync + std::fmt::Debug + 'static,
4976{
4977    fn from(
4978        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
4979    ) -> Self {
4980        match err {
4981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4984                source: err.into(),
4985            }),
4986        }
4987    }
4988}
4989impl From<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
4990    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
4991        match err {
4992            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
4993        }
4994    }
4995}
4996impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
4997    for Error
4998where
4999    R: Send + Sync + std::fmt::Debug + 'static,
5000{
5001    fn from(
5002        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5003    ) -> Self {
5004        match err {
5005            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5006            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5007                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5008                source: err.into(),
5009            }),
5010        }
5011    }
5012}
5013impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5014    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5015        match err {
5016            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5017        }
5018    }
5019}
5020impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5021where
5022    R: Send + Sync + std::fmt::Debug + 'static,
5023{
5024    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5025        match err {
5026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5029                source: err.into(),
5030            }),
5031        }
5032    }
5033}
5034impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5035    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5036        match err {
5037            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5038        }
5039    }
5040}
5041impl<R>
5042    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5043    for Error
5044where
5045    R: Send + Sync + std::fmt::Debug + 'static,
5046{
5047    fn from(
5048        err: ::aws_smithy_runtime_api::client::result::SdkError<
5049            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5050            R,
5051        >,
5052    ) -> Self {
5053        match err {
5054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5057                source: err.into(),
5058            }),
5059        }
5060    }
5061}
5062impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5063    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5064        match err {
5065            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5066        }
5067    }
5068}
5069impl<R>
5070    From<
5071        ::aws_smithy_runtime_api::client::result::SdkError<
5072            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5073            R,
5074        >,
5075    > for Error
5076where
5077    R: Send + Sync + std::fmt::Debug + 'static,
5078{
5079    fn from(
5080        err: ::aws_smithy_runtime_api::client::result::SdkError<
5081            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5082            R,
5083        >,
5084    ) -> Self {
5085        match err {
5086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5089                source: err.into(),
5090            }),
5091        }
5092    }
5093}
5094impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5095    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5096        match err {
5097            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
5098        }
5099    }
5100}
5101impl<R>
5102    From<
5103        ::aws_smithy_runtime_api::client::result::SdkError<
5104            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5105            R,
5106        >,
5107    > for Error
5108where
5109    R: Send + Sync + std::fmt::Debug + 'static,
5110{
5111    fn from(
5112        err: ::aws_smithy_runtime_api::client::result::SdkError<
5113            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5114            R,
5115        >,
5116    ) -> Self {
5117        match err {
5118            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5119            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5120                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5121                source: err.into(),
5122            }),
5123        }
5124    }
5125}
5126impl From<crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
5127    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
5128        match err {
5129            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
5130                Error::Unhandled(inner)
5131            }
5132        }
5133    }
5134}
5135impl<R>
5136    From<
5137        ::aws_smithy_runtime_api::client::result::SdkError<
5138            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5139            R,
5140        >,
5141    > for Error
5142where
5143    R: Send + Sync + std::fmt::Debug + 'static,
5144{
5145    fn from(
5146        err: ::aws_smithy_runtime_api::client::result::SdkError<
5147            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5148            R,
5149        >,
5150    ) -> Self {
5151        match err {
5152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5155                source: err.into(),
5156            }),
5157        }
5158    }
5159}
5160impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
5161    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
5162        match err {
5163            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
5164                Error::Unhandled(inner)
5165            }
5166        }
5167    }
5168}
5169impl<R>
5170    From<
5171        ::aws_smithy_runtime_api::client::result::SdkError<
5172            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5173            R,
5174        >,
5175    > for Error
5176where
5177    R: Send + Sync + std::fmt::Debug + 'static,
5178{
5179    fn from(
5180        err: ::aws_smithy_runtime_api::client::result::SdkError<
5181            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5182            R,
5183        >,
5184    ) -> Self {
5185        match err {
5186            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5187            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5188                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5189                source: err.into(),
5190            }),
5191        }
5192    }
5193}
5194impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
5195    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
5196        match err {
5197            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
5198        }
5199    }
5200}
5201impl<R>
5202    From<
5203        ::aws_smithy_runtime_api::client::result::SdkError<
5204            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5205            R,
5206        >,
5207    > for Error
5208where
5209    R: Send + Sync + std::fmt::Debug + 'static,
5210{
5211    fn from(
5212        err: ::aws_smithy_runtime_api::client::result::SdkError<
5213            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5214            R,
5215        >,
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_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
5227    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
5228        match err {
5229            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
5230                Error::Unhandled(inner)
5231            }
5232        }
5233    }
5234}
5235impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
5236    for Error
5237where
5238    R: Send + Sync + std::fmt::Debug + 'static,
5239{
5240    fn from(
5241        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
5242    ) -> Self {
5243        match err {
5244            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5245            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5246                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5247                source: err.into(),
5248            }),
5249        }
5250    }
5251}
5252impl From<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError> for Error {
5253    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
5254        match err {
5255            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
5256        }
5257    }
5258}
5259impl<R>
5260    From<
5261        ::aws_smithy_runtime_api::client::result::SdkError<
5262            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5263            R,
5264        >,
5265    > for Error
5266where
5267    R: Send + Sync + std::fmt::Debug + 'static,
5268{
5269    fn from(
5270        err: ::aws_smithy_runtime_api::client::result::SdkError<
5271            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5272            R,
5273        >,
5274    ) -> Self {
5275        match err {
5276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5279                source: err.into(),
5280            }),
5281        }
5282    }
5283}
5284impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
5285    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
5286        match err {
5287            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5288        }
5289    }
5290}
5291impl<R>
5292    From<
5293        ::aws_smithy_runtime_api::client::result::SdkError<
5294            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5295            R,
5296        >,
5297    > for Error
5298where
5299    R: Send + Sync + std::fmt::Debug + 'static,
5300{
5301    fn from(
5302        err: ::aws_smithy_runtime_api::client::result::SdkError<
5303            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5304            R,
5305        >,
5306    ) -> Self {
5307        match err {
5308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5311                source: err.into(),
5312            }),
5313        }
5314    }
5315}
5316impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
5317    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
5318        match err {
5319            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
5320                Error::Unhandled(inner)
5321            }
5322        }
5323    }
5324}
5325impl<R>
5326    From<
5327        ::aws_smithy_runtime_api::client::result::SdkError<
5328            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5329            R,
5330        >,
5331    > for Error
5332where
5333    R: Send + Sync + std::fmt::Debug + 'static,
5334{
5335    fn from(
5336        err: ::aws_smithy_runtime_api::client::result::SdkError<
5337            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5338            R,
5339        >,
5340    ) -> Self {
5341        match err {
5342            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5343            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5344                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5345                source: err.into(),
5346            }),
5347        }
5348    }
5349}
5350impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
5351    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
5352        match err {
5353            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
5354                Error::Unhandled(inner)
5355            }
5356        }
5357    }
5358}
5359impl<R>
5360    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
5361    for Error
5362where
5363    R: Send + Sync + std::fmt::Debug + 'static,
5364{
5365    fn from(
5366        err: ::aws_smithy_runtime_api::client::result::SdkError<
5367            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
5368            R,
5369        >,
5370    ) -> Self {
5371        match err {
5372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5375                source: err.into(),
5376            }),
5377        }
5378    }
5379}
5380impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
5381    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
5382        match err {
5383            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5384        }
5385    }
5386}
5387impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
5388    for Error
5389where
5390    R: Send + Sync + std::fmt::Debug + 'static,
5391{
5392    fn from(
5393        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
5394    ) -> Self {
5395        match err {
5396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5399                source: err.into(),
5400            }),
5401        }
5402    }
5403}
5404impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
5405    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
5406        match err {
5407            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
5408        }
5409    }
5410}
5411impl<R>
5412    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
5413    for Error
5414where
5415    R: Send + Sync + std::fmt::Debug + 'static,
5416{
5417    fn from(
5418        err: ::aws_smithy_runtime_api::client::result::SdkError<
5419            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
5420            R,
5421        >,
5422    ) -> Self {
5423        match err {
5424            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5425            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5426                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5427                source: err.into(),
5428            }),
5429        }
5430    }
5431}
5432impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
5433    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
5434        match err {
5435            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
5436        }
5437    }
5438}
5439impl<R>
5440    From<
5441        ::aws_smithy_runtime_api::client::result::SdkError<
5442            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5443            R,
5444        >,
5445    > for Error
5446where
5447    R: Send + Sync + std::fmt::Debug + 'static,
5448{
5449    fn from(
5450        err: ::aws_smithy_runtime_api::client::result::SdkError<
5451            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5452            R,
5453        >,
5454    ) -> Self {
5455        match err {
5456            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5457            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5458                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5459                source: err.into(),
5460            }),
5461        }
5462    }
5463}
5464impl From<crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
5465    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
5466        match err {
5467            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
5468                Error::Unhandled(inner)
5469            }
5470        }
5471    }
5472}
5473impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
5474where
5475    R: Send + Sync + std::fmt::Debug + 'static,
5476{
5477    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> 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_volume::DeleteVolumeError> for Error {
5488    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
5489        match err {
5490            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
5491        }
5492    }
5493}
5494impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
5495where
5496    R: Send + Sync + std::fmt::Debug + 'static,
5497{
5498    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> Self {
5499        match err {
5500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5503                source: err.into(),
5504            }),
5505        }
5506    }
5507}
5508impl From<crate::operation::delete_vpc::DeleteVpcError> for Error {
5509    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
5510        match err {
5511            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
5512        }
5513    }
5514}
5515impl<R>
5516    From<
5517        ::aws_smithy_runtime_api::client::result::SdkError<
5518            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5519            R,
5520        >,
5521    > for Error
5522where
5523    R: Send + Sync + std::fmt::Debug + 'static,
5524{
5525    fn from(
5526        err: ::aws_smithy_runtime_api::client::result::SdkError<
5527            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5528            R,
5529        >,
5530    ) -> Self {
5531        match err {
5532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5535                source: err.into(),
5536            }),
5537        }
5538    }
5539}
5540impl From<crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
5541    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
5542        match err {
5543            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
5544                Error::Unhandled(inner)
5545            }
5546        }
5547    }
5548}
5549impl<R>
5550    From<
5551        ::aws_smithy_runtime_api::client::result::SdkError<
5552            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5553            R,
5554        >,
5555    > for Error
5556where
5557    R: Send + Sync + std::fmt::Debug + 'static,
5558{
5559    fn from(
5560        err: ::aws_smithy_runtime_api::client::result::SdkError<
5561            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5562            R,
5563        >,
5564    ) -> Self {
5565        match err {
5566            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5567            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5568                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5569                source: err.into(),
5570            }),
5571        }
5572    }
5573}
5574impl From<crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
5575    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
5576        match err {
5577            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
5578                Error::Unhandled(inner)
5579            }
5580        }
5581    }
5582}
5583impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
5584where
5585    R: Send + Sync + std::fmt::Debug + 'static,
5586{
5587    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
5588        match err {
5589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5592                source: err.into(),
5593            }),
5594        }
5595    }
5596}
5597impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
5598    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
5599        match err {
5600            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
5601        }
5602    }
5603}
5604impl<R>
5605    From<
5606        ::aws_smithy_runtime_api::client::result::SdkError<
5607            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
5608            R,
5609        >,
5610    > for Error
5611where
5612    R: Send + Sync + std::fmt::Debug + 'static,
5613{
5614    fn from(
5615        err: ::aws_smithy_runtime_api::client::result::SdkError<
5616            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
5617            R,
5618        >,
5619    ) -> Self {
5620        match err {
5621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5624                source: err.into(),
5625            }),
5626        }
5627    }
5628}
5629impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
5630    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
5631        match err {
5632            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
5633                Error::Unhandled(inner)
5634            }
5635        }
5636    }
5637}
5638impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
5639    for Error
5640where
5641    R: Send + Sync + std::fmt::Debug + 'static,
5642{
5643    fn from(
5644        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
5645    ) -> Self {
5646        match err {
5647            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5648            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5649                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5650                source: err.into(),
5651            }),
5652        }
5653    }
5654}
5655impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
5656    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
5657        match err {
5658            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
5659        }
5660    }
5661}
5662impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>> for Error
5663where
5664    R: Send + Sync + std::fmt::Debug + 'static,
5665{
5666    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>) -> Self {
5667        match err {
5668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5671                source: err.into(),
5672            }),
5673        }
5674    }
5675}
5676impl From<crate::operation::delete_vpn_connection::DeleteVpnConnectionError> for Error {
5677    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
5678        match err {
5679            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
5680        }
5681    }
5682}
5683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
5684    for Error
5685where
5686    R: Send + Sync + std::fmt::Debug + 'static,
5687{
5688    fn from(
5689        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
5690    ) -> Self {
5691        match err {
5692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5695                source: err.into(),
5696            }),
5697        }
5698    }
5699}
5700impl From<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
5701    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
5702        match err {
5703            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
5704        }
5705    }
5706}
5707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
5708where
5709    R: Send + Sync + std::fmt::Debug + 'static,
5710{
5711    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
5712        match err {
5713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5716                source: err.into(),
5717            }),
5718        }
5719    }
5720}
5721impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
5722    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
5723        match err {
5724            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5725        }
5726    }
5727}
5728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
5729where
5730    R: Send + Sync + std::fmt::Debug + 'static,
5731{
5732    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
5733        match err {
5734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5737                source: err.into(),
5738            }),
5739        }
5740    }
5741}
5742impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
5743    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
5744        match err {
5745            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
5746        }
5747    }
5748}
5749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
5750where
5751    R: Send + Sync + std::fmt::Debug + 'static,
5752{
5753    fn from(
5754        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
5755    ) -> Self {
5756        match err {
5757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5760                source: err.into(),
5761            }),
5762        }
5763    }
5764}
5765impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
5766    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
5767        match err {
5768            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
5769        }
5770    }
5771}
5772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
5773    for Error
5774where
5775    R: Send + Sync + std::fmt::Debug + 'static,
5776{
5777    fn from(
5778        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
5779    ) -> Self {
5780        match err {
5781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5784                source: err.into(),
5785            }),
5786        }
5787    }
5788}
5789impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
5790    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
5791        match err {
5792            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
5793        }
5794    }
5795}
5796impl<R>
5797    From<
5798        ::aws_smithy_runtime_api::client::result::SdkError<
5799            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
5800            R,
5801        >,
5802    > for Error
5803where
5804    R: Send + Sync + std::fmt::Debug + 'static,
5805{
5806    fn from(
5807        err: ::aws_smithy_runtime_api::client::result::SdkError<
5808            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
5809            R,
5810        >,
5811    ) -> Self {
5812        match err {
5813            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5814            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5815                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5816                source: err.into(),
5817            }),
5818        }
5819    }
5820}
5821impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
5822    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
5823        match err {
5824            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
5825        }
5826    }
5827}
5828impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
5829where
5830    R: Send + Sync + std::fmt::Debug + 'static,
5831{
5832    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
5833        match err {
5834            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5835            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5836                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5837                source: err.into(),
5838            }),
5839        }
5840    }
5841}
5842impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
5843    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
5844        match err {
5845            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
5846        }
5847    }
5848}
5849impl<R>
5850    From<
5851        ::aws_smithy_runtime_api::client::result::SdkError<
5852            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
5853            R,
5854        >,
5855    > for Error
5856where
5857    R: Send + Sync + std::fmt::Debug + 'static,
5858{
5859    fn from(
5860        err: ::aws_smithy_runtime_api::client::result::SdkError<
5861            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
5862            R,
5863        >,
5864    ) -> Self {
5865        match err {
5866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5869                source: err.into(),
5870            }),
5871        }
5872    }
5873}
5874impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
5875    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
5876        match err {
5877            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
5878                inner,
5879            ) => Error::Unhandled(inner),
5880        }
5881    }
5882}
5883impl<R>
5884    From<
5885        ::aws_smithy_runtime_api::client::result::SdkError<
5886            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
5887            R,
5888        >,
5889    > for Error
5890where
5891    R: Send + Sync + std::fmt::Debug + 'static,
5892{
5893    fn from(
5894        err: ::aws_smithy_runtime_api::client::result::SdkError<
5895            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
5896            R,
5897        >,
5898    ) -> Self {
5899        match err {
5900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5903                source: err.into(),
5904            }),
5905        }
5906    }
5907}
5908impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
5909    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
5910        match err {
5911            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
5912                inner,
5913            ) => Error::Unhandled(inner),
5914        }
5915    }
5916}
5917impl<R>
5918    From<
5919        ::aws_smithy_runtime_api::client::result::SdkError<
5920            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
5921            R,
5922        >,
5923    > for Error
5924where
5925    R: Send + Sync + std::fmt::Debug + 'static,
5926{
5927    fn from(
5928        err: ::aws_smithy_runtime_api::client::result::SdkError<
5929            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
5930            R,
5931        >,
5932    ) -> Self {
5933        match err {
5934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5937                source: err.into(),
5938            }),
5939        }
5940    }
5941}
5942impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
5943    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
5944        match err {
5945            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
5946                inner,
5947            ) => Error::Unhandled(inner),
5948        }
5949    }
5950}
5951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
5952    for Error
5953where
5954    R: Send + Sync + std::fmt::Debug + 'static,
5955{
5956    fn from(
5957        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
5958    ) -> Self {
5959        match err {
5960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5963                source: err.into(),
5964            }),
5965        }
5966    }
5967}
5968impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
5969    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
5970        match err {
5971            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
5972        }
5973    }
5974}
5975impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
5976where
5977    R: Send + Sync + std::fmt::Debug + 'static,
5978{
5979    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
5980        match err {
5981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5984                source: err.into(),
5985            }),
5986        }
5987    }
5988}
5989impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
5990    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
5991        match err {
5992            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
5993        }
5994    }
5995}
5996impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
5997    for Error
5998where
5999    R: Send + Sync + std::fmt::Debug + 'static,
6000{
6001    fn from(
6002        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
6003    ) -> Self {
6004        match err {
6005            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6006            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6007                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6008                source: err.into(),
6009            }),
6010        }
6011    }
6012}
6013impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
6014    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
6015        match err {
6016            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6017        }
6018    }
6019}
6020impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>>
6021    for Error
6022where
6023    R: Send + Sync + std::fmt::Debug + 'static,
6024{
6025    fn from(
6026        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
6027    ) -> Self {
6028        match err {
6029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6032                source: err.into(),
6033            }),
6034        }
6035    }
6036}
6037impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
6038    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
6039        match err {
6040            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
6041        }
6042    }
6043}
6044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
6045    for Error
6046where
6047    R: Send + Sync + std::fmt::Debug + 'static,
6048{
6049    fn from(
6050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
6051    ) -> Self {
6052        match err {
6053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6056                source: err.into(),
6057            }),
6058        }
6059    }
6060}
6061impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
6062    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
6063        match err {
6064            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
6065        }
6066    }
6067}
6068impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
6069    for Error
6070where
6071    R: Send + Sync + std::fmt::Debug + 'static,
6072{
6073    fn from(
6074        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
6075    ) -> Self {
6076        match err {
6077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6080                source: err.into(),
6081            }),
6082        }
6083    }
6084}
6085impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
6086    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
6087        match err {
6088            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
6089        }
6090    }
6091}
6092impl<R>
6093    From<
6094        ::aws_smithy_runtime_api::client::result::SdkError<
6095            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6096            R,
6097        >,
6098    > for Error
6099where
6100    R: Send + Sync + std::fmt::Debug + 'static,
6101{
6102    fn from(
6103        err: ::aws_smithy_runtime_api::client::result::SdkError<
6104            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6105            R,
6106        >,
6107    ) -> Self {
6108        match err {
6109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6112                source: err.into(),
6113            }),
6114        }
6115    }
6116}
6117impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
6118    fn from(
6119        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6120    ) -> Self {
6121        match err {
6122            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
6123        }
6124    }
6125}
6126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
6127where
6128    R: Send + Sync + std::fmt::Debug + 'static,
6129{
6130    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> Self {
6131        match err {
6132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6135                source: err.into(),
6136            }),
6137        }
6138    }
6139}
6140impl From<crate::operation::describe_bundle_tasks::DescribeBundleTasksError> for Error {
6141    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
6142        match err {
6143            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
6144        }
6145    }
6146}
6147impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>> for Error
6148where
6149    R: Send + Sync + std::fmt::Debug + 'static,
6150{
6151    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>) -> Self {
6152        match err {
6153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6156                source: err.into(),
6157            }),
6158        }
6159    }
6160}
6161impl From<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError> for Error {
6162    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
6163        match err {
6164            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
6165        }
6166    }
6167}
6168impl<R>
6169    From<
6170        ::aws_smithy_runtime_api::client::result::SdkError<
6171            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6172            R,
6173        >,
6174    > for Error
6175where
6176    R: Send + Sync + std::fmt::Debug + 'static,
6177{
6178    fn from(
6179        err: ::aws_smithy_runtime_api::client::result::SdkError<
6180            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6181            R,
6182        >,
6183    ) -> Self {
6184        match err {
6185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6188                source: err.into(),
6189            }),
6190        }
6191    }
6192}
6193impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
6194    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
6195        match err {
6196            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
6197                Error::Unhandled(inner)
6198            }
6199        }
6200    }
6201}
6202impl<R>
6203    From<
6204        ::aws_smithy_runtime_api::client::result::SdkError<
6205            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6206            R,
6207        >,
6208    > for Error
6209where
6210    R: Send + Sync + std::fmt::Debug + 'static,
6211{
6212    fn from(
6213        err: ::aws_smithy_runtime_api::client::result::SdkError<
6214            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6215            R,
6216        >,
6217    ) -> Self {
6218        match err {
6219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6222                source: err.into(),
6223            }),
6224        }
6225    }
6226}
6227impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
6228    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
6229        match err {
6230            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
6231                Error::Unhandled(inner)
6232            }
6233        }
6234    }
6235}
6236impl<R>
6237    From<
6238        ::aws_smithy_runtime_api::client::result::SdkError<
6239            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6240            R,
6241        >,
6242    > for Error
6243where
6244    R: Send + Sync + std::fmt::Debug + 'static,
6245{
6246    fn from(
6247        err: ::aws_smithy_runtime_api::client::result::SdkError<
6248            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6249            R,
6250        >,
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_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
6262    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
6263        match err {
6264            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
6265        }
6266    }
6267}
6268impl<R>
6269    From<
6270        ::aws_smithy_runtime_api::client::result::SdkError<
6271            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6272            R,
6273        >,
6274    > for Error
6275where
6276    R: Send + Sync + std::fmt::Debug + 'static,
6277{
6278    fn from(
6279        err: ::aws_smithy_runtime_api::client::result::SdkError<
6280            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6281            R,
6282        >,
6283    ) -> Self {
6284        match err {
6285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6288                source: err.into(),
6289            }),
6290        }
6291    }
6292}
6293impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
6294    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
6295        match err {
6296            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
6297                Error::Unhandled(inner)
6298            }
6299        }
6300    }
6301}
6302impl<R>
6303    From<
6304        ::aws_smithy_runtime_api::client::result::SdkError<
6305            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6306            R,
6307        >,
6308    > for Error
6309where
6310    R: Send + Sync + std::fmt::Debug + 'static,
6311{
6312    fn from(
6313        err: ::aws_smithy_runtime_api::client::result::SdkError<
6314            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6315            R,
6316        >,
6317    ) -> Self {
6318        match err {
6319            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6320            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6321                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6322                source: err.into(),
6323            }),
6324        }
6325    }
6326}
6327impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
6328    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
6329        match err {
6330            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
6331                Error::Unhandled(inner)
6332            }
6333        }
6334    }
6335}
6336impl<R>
6337    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, 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<
6344            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
6345            R,
6346        >,
6347    ) -> Self {
6348        match err {
6349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6352                source: err.into(),
6353            }),
6354        }
6355    }
6356}
6357impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
6358    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
6359        match err {
6360            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
6361        }
6362    }
6363}
6364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
6365    for Error
6366where
6367    R: Send + Sync + std::fmt::Debug + 'static,
6368{
6369    fn from(
6370        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
6371    ) -> Self {
6372        match err {
6373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6376                source: err.into(),
6377            }),
6378        }
6379    }
6380}
6381impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
6382    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
6383        match err {
6384            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
6385        }
6386    }
6387}
6388impl<R>
6389    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
6390    for Error
6391where
6392    R: Send + Sync + std::fmt::Debug + 'static,
6393{
6394    fn from(
6395        err: ::aws_smithy_runtime_api::client::result::SdkError<
6396            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError,
6397            R,
6398        >,
6399    ) -> Self {
6400        match err {
6401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6404                source: err.into(),
6405            }),
6406        }
6407    }
6408}
6409impl From<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
6410    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
6411        match err {
6412            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6413        }
6414    }
6415}
6416impl<R>
6417    From<
6418        ::aws_smithy_runtime_api::client::result::SdkError<
6419            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6420            R,
6421        >,
6422    > for Error
6423where
6424    R: Send + Sync + std::fmt::Debug + 'static,
6425{
6426    fn from(
6427        err: ::aws_smithy_runtime_api::client::result::SdkError<
6428            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6429            R,
6430        >,
6431    ) -> Self {
6432        match err {
6433            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6434            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6435                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6436                source: err.into(),
6437            }),
6438        }
6439    }
6440}
6441impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
6442    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
6443        match err {
6444            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
6445                Error::Unhandled(inner)
6446            }
6447        }
6448    }
6449}
6450impl<R>
6451    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
6452    for Error
6453where
6454    R: Send + Sync + std::fmt::Debug + 'static,
6455{
6456    fn from(
6457        err: ::aws_smithy_runtime_api::client::result::SdkError<
6458            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError,
6459            R,
6460        >,
6461    ) -> Self {
6462        match err {
6463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6466                source: err.into(),
6467            }),
6468        }
6469    }
6470}
6471impl From<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
6472    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
6473        match err {
6474            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
6475        }
6476    }
6477}
6478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
6479    for Error
6480where
6481    R: Send + Sync + std::fmt::Debug + 'static,
6482{
6483    fn from(
6484        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
6485    ) -> Self {
6486        match err {
6487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6490                source: err.into(),
6491            }),
6492        }
6493    }
6494}
6495impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
6496    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
6497        match err {
6498            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6499        }
6500    }
6501}
6502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
6503    for Error
6504where
6505    R: Send + Sync + std::fmt::Debug + 'static,
6506{
6507    fn from(
6508        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
6509    ) -> Self {
6510        match err {
6511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6514                source: err.into(),
6515            }),
6516        }
6517    }
6518}
6519impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
6520    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
6521        match err {
6522            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
6523        }
6524    }
6525}
6526impl<R>
6527    From<
6528        ::aws_smithy_runtime_api::client::result::SdkError<
6529            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
6530            R,
6531        >,
6532    > for Error
6533where
6534    R: Send + Sync + std::fmt::Debug + 'static,
6535{
6536    fn from(
6537        err: ::aws_smithy_runtime_api::client::result::SdkError<
6538            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
6539            R,
6540        >,
6541    ) -> Self {
6542        match err {
6543            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6544            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6545                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6546                source: err.into(),
6547            }),
6548        }
6549    }
6550}
6551impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
6552    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
6553        match err {
6554            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
6555        }
6556    }
6557}
6558impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
6559where
6560    R: Send + Sync + std::fmt::Debug + 'static,
6561{
6562    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> Self {
6563        match err {
6564            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6565            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6566                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6567                source: err.into(),
6568            }),
6569        }
6570    }
6571}
6572impl From<crate::operation::describe_coip_pools::DescribeCoipPoolsError> for Error {
6573    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
6574        match err {
6575            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
6576        }
6577    }
6578}
6579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
6580    for Error
6581where
6582    R: Send + Sync + std::fmt::Debug + 'static,
6583{
6584    fn from(
6585        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
6586    ) -> Self {
6587        match err {
6588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6591                source: err.into(),
6592            }),
6593        }
6594    }
6595}
6596impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
6597    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
6598        match err {
6599            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
6600        }
6601    }
6602}
6603impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
6604    for Error
6605where
6606    R: Send + Sync + std::fmt::Debug + 'static,
6607{
6608    fn from(
6609        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
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_customer_gateways::DescribeCustomerGatewaysError> for Error {
6621    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
6622        match err {
6623            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
6624        }
6625    }
6626}
6627impl<R>
6628    From<
6629        ::aws_smithy_runtime_api::client::result::SdkError<
6630            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
6631            R,
6632        >,
6633    > for Error
6634where
6635    R: Send + Sync + std::fmt::Debug + 'static,
6636{
6637    fn from(
6638        err: ::aws_smithy_runtime_api::client::result::SdkError<
6639            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
6640            R,
6641        >,
6642    ) -> Self {
6643        match err {
6644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6647                source: err.into(),
6648            }),
6649        }
6650    }
6651}
6652impl From<crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
6653    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
6654        match err {
6655            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
6656                Error::Unhandled(inner)
6657            }
6658        }
6659    }
6660}
6661impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
6662where
6663    R: Send + Sync + std::fmt::Debug + 'static,
6664{
6665    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> Self {
6666        match err {
6667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6670                source: err.into(),
6671            }),
6672        }
6673    }
6674}
6675impl From<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError> for Error {
6676    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
6677        match err {
6678            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
6679        }
6680    }
6681}
6682impl<R>
6683    From<
6684        ::aws_smithy_runtime_api::client::result::SdkError<
6685            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
6686            R,
6687        >,
6688    > for Error
6689where
6690    R: Send + Sync + std::fmt::Debug + 'static,
6691{
6692    fn from(
6693        err: ::aws_smithy_runtime_api::client::result::SdkError<
6694            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
6695            R,
6696        >,
6697    ) -> Self {
6698        match err {
6699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6702                source: err.into(),
6703            }),
6704        }
6705    }
6706}
6707impl From<crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
6708    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
6709        match err {
6710            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
6711                Error::Unhandled(inner)
6712            }
6713        }
6714    }
6715}
6716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
6717where
6718    R: Send + Sync + std::fmt::Debug + 'static,
6719{
6720    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
6721        match err {
6722            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6723            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6724                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6725                source: err.into(),
6726            }),
6727        }
6728    }
6729}
6730impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
6731    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
6732        match err {
6733            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
6734        }
6735    }
6736}
6737impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
6738    for Error
6739where
6740    R: Send + Sync + std::fmt::Debug + 'static,
6741{
6742    fn from(
6743        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
6744    ) -> Self {
6745        match err {
6746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6749                source: err.into(),
6750            }),
6751        }
6752    }
6753}
6754impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
6755    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
6756        match err {
6757            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
6758        }
6759    }
6760}
6761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
6762where
6763    R: Send + Sync + std::fmt::Debug + 'static,
6764{
6765    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
6766        match err {
6767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6770                source: err.into(),
6771            }),
6772        }
6773    }
6774}
6775impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
6776    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
6777        match err {
6778            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
6779        }
6780    }
6781}
6782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
6783    for Error
6784where
6785    R: Send + Sync + std::fmt::Debug + 'static,
6786{
6787    fn from(
6788        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
6789    ) -> Self {
6790        match err {
6791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6794                source: err.into(),
6795            }),
6796        }
6797    }
6798}
6799impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
6800    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
6801        match err {
6802            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
6803        }
6804    }
6805}
6806impl<R>
6807    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
6808    for Error
6809where
6810    R: Send + Sync + std::fmt::Debug + 'static,
6811{
6812    fn from(
6813        err: ::aws_smithy_runtime_api::client::result::SdkError<
6814            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
6815            R,
6816        >,
6817    ) -> Self {
6818        match err {
6819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6822                source: err.into(),
6823            }),
6824        }
6825    }
6826}
6827impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
6828    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
6829        match err {
6830            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
6831        }
6832    }
6833}
6834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
6835where
6836    R: Send + Sync + std::fmt::Debug + 'static,
6837{
6838    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
6839        match err {
6840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6843                source: err.into(),
6844            }),
6845        }
6846    }
6847}
6848impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
6849    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
6850        match err {
6851            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
6852        }
6853    }
6854}
6855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> for Error
6856where
6857    R: Send + Sync + std::fmt::Debug + 'static,
6858{
6859    fn from(
6860        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>,
6861    ) -> Self {
6862        match err {
6863            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6864            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6865                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6866                source: err.into(),
6867            }),
6868        }
6869    }
6870}
6871impl From<crate::operation::describe_fleet_instances::DescribeFleetInstancesError> for Error {
6872    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
6873        match err {
6874            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6875        }
6876    }
6877}
6878impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
6879where
6880    R: Send + Sync + std::fmt::Debug + 'static,
6881{
6882    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
6883        match err {
6884            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6885            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6886                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6887                source: err.into(),
6888            }),
6889        }
6890    }
6891}
6892impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
6893    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
6894        match err {
6895            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
6896        }
6897    }
6898}
6899impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
6900where
6901    R: Send + Sync + std::fmt::Debug + 'static,
6902{
6903    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> 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_flow_logs::DescribeFlowLogsError> for Error {
6914    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
6915        match err {
6916            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
6917        }
6918    }
6919}
6920impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
6921    for Error
6922where
6923    R: Send + Sync + std::fmt::Debug + 'static,
6924{
6925    fn from(
6926        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
6927    ) -> Self {
6928        match err {
6929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6932                source: err.into(),
6933            }),
6934        }
6935    }
6936}
6937impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
6938    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
6939        match err {
6940            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6941        }
6942    }
6943}
6944impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
6945where
6946    R: Send + Sync + std::fmt::Debug + 'static,
6947{
6948    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
6949        match err {
6950            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6951            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6952                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6953                source: err.into(),
6954            }),
6955        }
6956    }
6957}
6958impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
6959    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
6960        match err {
6961            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
6962        }
6963    }
6964}
6965impl<R>
6966    From<
6967        ::aws_smithy_runtime_api::client::result::SdkError<
6968            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
6969            R,
6970        >,
6971    > for Error
6972where
6973    R: Send + Sync + std::fmt::Debug + 'static,
6974{
6975    fn from(
6976        err: ::aws_smithy_runtime_api::client::result::SdkError<
6977            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
6978            R,
6979        >,
6980    ) -> Self {
6981        match err {
6982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6983            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6984                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6985                source: err.into(),
6986            }),
6987        }
6988    }
6989}
6990impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
6991    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
6992        match err {
6993            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
6994        }
6995    }
6996}
6997impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
6998    for Error
6999where
7000    R: Send + Sync + std::fmt::Debug + 'static,
7001{
7002    fn from(
7003        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
7004    ) -> Self {
7005        match err {
7006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7009                source: err.into(),
7010            }),
7011        }
7012    }
7013}
7014impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
7015    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
7016        match err {
7017            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7018        }
7019    }
7020}
7021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
7022where
7023    R: Send + Sync + std::fmt::Debug + 'static,
7024{
7025    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
7026        match err {
7027            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7028            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7029                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7030                source: err.into(),
7031            }),
7032        }
7033    }
7034}
7035impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
7036    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
7037        match err {
7038            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
7039        }
7040    }
7041}
7042impl<R>
7043    From<
7044        ::aws_smithy_runtime_api::client::result::SdkError<
7045            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7046            R,
7047        >,
7048    > for Error
7049where
7050    R: Send + Sync + std::fmt::Debug + 'static,
7051{
7052    fn from(
7053        err: ::aws_smithy_runtime_api::client::result::SdkError<
7054            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7055            R,
7056        >,
7057    ) -> Self {
7058        match err {
7059            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7060            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7061                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7062                source: err.into(),
7063            }),
7064        }
7065    }
7066}
7067impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
7068    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
7069        match err {
7070            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
7071                Error::Unhandled(inner)
7072            }
7073        }
7074    }
7075}
7076impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
7077    for Error
7078where
7079    R: Send + Sync + std::fmt::Debug + 'static,
7080{
7081    fn from(
7082        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
7083    ) -> Self {
7084        match err {
7085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7088                source: err.into(),
7089            }),
7090        }
7091    }
7092}
7093impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
7094    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
7095        match err {
7096            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7097        }
7098    }
7099}
7100impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
7101where
7102    R: Send + Sync + std::fmt::Debug + 'static,
7103{
7104    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
7105        match err {
7106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7109                source: err.into(),
7110            }),
7111        }
7112    }
7113}
7114impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
7115    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
7116        match err {
7117            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7118        }
7119    }
7120}
7121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
7122where
7123    R: Send + Sync + std::fmt::Debug + 'static,
7124{
7125    fn from(
7126        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
7127    ) -> Self {
7128        match err {
7129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7132                source: err.into(),
7133            }),
7134        }
7135    }
7136}
7137impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
7138    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
7139        match err {
7140            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7141        }
7142    }
7143}
7144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
7145where
7146    R: Send + Sync + std::fmt::Debug + 'static,
7147{
7148    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
7149        match err {
7150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7153                source: err.into(),
7154            }),
7155        }
7156    }
7157}
7158impl From<crate::operation::describe_images::DescribeImagesError> for Error {
7159    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
7160        match err {
7161            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
7162        }
7163    }
7164}
7165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
7166    for Error
7167where
7168    R: Send + Sync + std::fmt::Debug + 'static,
7169{
7170    fn from(
7171        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
7172    ) -> Self {
7173        match err {
7174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7177                source: err.into(),
7178            }),
7179        }
7180    }
7181}
7182impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
7183    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
7184        match err {
7185            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7186        }
7187    }
7188}
7189impl<R>
7190    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
7191    for Error
7192where
7193    R: Send + Sync + std::fmt::Debug + 'static,
7194{
7195    fn from(
7196        err: ::aws_smithy_runtime_api::client::result::SdkError<
7197            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
7198            R,
7199        >,
7200    ) -> Self {
7201        match err {
7202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7205                source: err.into(),
7206            }),
7207        }
7208    }
7209}
7210impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
7211    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
7212        match err {
7213            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
7214        }
7215    }
7216}
7217impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
7218    for Error
7219where
7220    R: Send + Sync + std::fmt::Debug + 'static,
7221{
7222    fn from(
7223        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
7224    ) -> Self {
7225        match err {
7226            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7227            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7228                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7229                source: err.into(),
7230            }),
7231        }
7232    }
7233}
7234impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
7235    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
7236        match err {
7237            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7238        }
7239    }
7240}
7241impl<R>
7242    From<
7243        ::aws_smithy_runtime_api::client::result::SdkError<
7244            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7245            R,
7246        >,
7247    > for Error
7248where
7249    R: Send + Sync + std::fmt::Debug + 'static,
7250{
7251    fn from(
7252        err: ::aws_smithy_runtime_api::client::result::SdkError<
7253            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7254            R,
7255        >,
7256    ) -> Self {
7257        match err {
7258            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7259            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7260                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7261                source: err.into(),
7262            }),
7263        }
7264    }
7265}
7266impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
7267    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
7268        match err {
7269            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7270        }
7271    }
7272}
7273impl<R>
7274    From<
7275        ::aws_smithy_runtime_api::client::result::SdkError<
7276            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7277            R,
7278        >,
7279    > for Error
7280where
7281    R: Send + Sync + std::fmt::Debug + 'static,
7282{
7283    fn from(
7284        err: ::aws_smithy_runtime_api::client::result::SdkError<
7285            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7286            R,
7287        >,
7288    ) -> Self {
7289        match err {
7290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7293                source: err.into(),
7294            }),
7295        }
7296    }
7297}
7298impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
7299    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
7300        match err {
7301            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
7302                Error::Unhandled(inner)
7303            }
7304        }
7305    }
7306}
7307impl<R>
7308    From<
7309        ::aws_smithy_runtime_api::client::result::SdkError<
7310            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7311            R,
7312        >,
7313    > for Error
7314where
7315    R: Send + Sync + std::fmt::Debug + 'static,
7316{
7317    fn from(
7318        err: ::aws_smithy_runtime_api::client::result::SdkError<
7319            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7320            R,
7321        >,
7322    ) -> Self {
7323        match err {
7324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7327                source: err.into(),
7328            }),
7329        }
7330    }
7331}
7332impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
7333    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
7334        match err {
7335            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
7336                Error::Unhandled(inner)
7337            }
7338        }
7339    }
7340}
7341impl<R>
7342    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
7343    for Error
7344where
7345    R: Send + Sync + std::fmt::Debug + 'static,
7346{
7347    fn from(
7348        err: ::aws_smithy_runtime_api::client::result::SdkError<
7349            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
7350            R,
7351        >,
7352    ) -> Self {
7353        match err {
7354            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7355            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7356                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7357                source: err.into(),
7358            }),
7359        }
7360    }
7361}
7362impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
7363    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
7364        match err {
7365            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
7366        }
7367    }
7368}
7369impl<R>
7370    From<
7371        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
7372    > for Error
7373where
7374    R: Send + Sync + std::fmt::Debug + 'static,
7375{
7376    fn from(
7377        err: ::aws_smithy_runtime_api::client::result::SdkError<
7378            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
7379            R,
7380        >,
7381    ) -> Self {
7382        match err {
7383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7386                source: err.into(),
7387            }),
7388        }
7389    }
7390}
7391impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
7392    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
7393        match err {
7394            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
7395        }
7396    }
7397}
7398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
7399where
7400    R: Send + Sync + std::fmt::Debug + 'static,
7401{
7402    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> Self {
7403        match err {
7404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7407                source: err.into(),
7408            }),
7409        }
7410    }
7411}
7412impl From<crate::operation::describe_instances::DescribeInstancesError> for Error {
7413    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
7414        match err {
7415            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7416        }
7417    }
7418}
7419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
7420where
7421    R: Send + Sync + std::fmt::Debug + 'static,
7422{
7423    fn from(
7424        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
7425    ) -> Self {
7426        match err {
7427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7430                source: err.into(),
7431            }),
7432        }
7433    }
7434}
7435impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
7436    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
7437        match err {
7438            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
7439        }
7440    }
7441}
7442impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
7443    for Error
7444where
7445    R: Send + Sync + std::fmt::Debug + 'static,
7446{
7447    fn from(
7448        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>,
7449    ) -> Self {
7450        match err {
7451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7454                source: err.into(),
7455            }),
7456        }
7457    }
7458}
7459impl From<crate::operation::describe_instance_topology::DescribeInstanceTopologyError> for Error {
7460    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
7461        match err {
7462            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
7463        }
7464    }
7465}
7466impl<R>
7467    From<
7468        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
7469    > for Error
7470where
7471    R: Send + Sync + std::fmt::Debug + 'static,
7472{
7473    fn from(
7474        err: ::aws_smithy_runtime_api::client::result::SdkError<
7475            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
7476            R,
7477        >,
7478    ) -> Self {
7479        match err {
7480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7483                source: err.into(),
7484            }),
7485        }
7486    }
7487}
7488impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
7489    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
7490        match err {
7491            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7492        }
7493    }
7494}
7495impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
7496where
7497    R: Send + Sync + std::fmt::Debug + 'static,
7498{
7499    fn from(
7500        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
7501    ) -> Self {
7502        match err {
7503            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7504            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7505                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7506                source: err.into(),
7507            }),
7508        }
7509    }
7510}
7511impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
7512    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
7513        match err {
7514            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
7515        }
7516    }
7517}
7518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
7519    for Error
7520where
7521    R: Send + Sync + std::fmt::Debug + 'static,
7522{
7523    fn from(
7524        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
7525    ) -> Self {
7526        match err {
7527            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7528            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7529                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7530                source: err.into(),
7531            }),
7532        }
7533    }
7534}
7535impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
7536    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
7537        match err {
7538            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7539        }
7540    }
7541}
7542impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
7543where
7544    R: Send + Sync + std::fmt::Debug + 'static,
7545{
7546    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
7547        match err {
7548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7551                source: err.into(),
7552            }),
7553        }
7554    }
7555}
7556impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
7557    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
7558        match err {
7559            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
7560        }
7561    }
7562}
7563impl<R>
7564    From<
7565        ::aws_smithy_runtime_api::client::result::SdkError<
7566            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
7567            R,
7568        >,
7569    > for Error
7570where
7571    R: Send + Sync + std::fmt::Debug + 'static,
7572{
7573    fn from(
7574        err: ::aws_smithy_runtime_api::client::result::SdkError<
7575            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
7576            R,
7577        >,
7578    ) -> Self {
7579        match err {
7580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7583                source: err.into(),
7584            }),
7585        }
7586    }
7587}
7588impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
7589    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
7590        match err {
7591            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
7592                inner,
7593            ) => Error::Unhandled(inner),
7594        }
7595    }
7596}
7597impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
7598where
7599    R: Send + Sync + std::fmt::Debug + 'static,
7600{
7601    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
7602        match err {
7603            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7604            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7605                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7606                source: err.into(),
7607            }),
7608        }
7609    }
7610}
7611impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
7612    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
7613        match err {
7614            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
7615        }
7616    }
7617}
7618impl<R>
7619    From<
7620        ::aws_smithy_runtime_api::client::result::SdkError<
7621            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
7622            R,
7623        >,
7624    > for Error
7625where
7626    R: Send + Sync + std::fmt::Debug + 'static,
7627{
7628    fn from(
7629        err: ::aws_smithy_runtime_api::client::result::SdkError<
7630            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
7631            R,
7632        >,
7633    ) -> Self {
7634        match err {
7635            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7636            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7637                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7638                source: err.into(),
7639            }),
7640        }
7641    }
7642}
7643impl From<crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
7644    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
7645        match err {
7646            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
7647        }
7648    }
7649}
7650impl<R>
7651    From<
7652        ::aws_smithy_runtime_api::client::result::SdkError<
7653            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
7654            R,
7655        >,
7656    > for Error
7657where
7658    R: Send + Sync + std::fmt::Debug + 'static,
7659{
7660    fn from(
7661        err: ::aws_smithy_runtime_api::client::result::SdkError<
7662            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
7663            R,
7664        >,
7665    ) -> Self {
7666        match err {
7667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7670                source: err.into(),
7671            }),
7672        }
7673    }
7674}
7675impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
7676    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
7677        match err {
7678            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
7679                Error::Unhandled(inner)
7680            }
7681        }
7682    }
7683}
7684impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
7685where
7686    R: Send + Sync + std::fmt::Debug + 'static,
7687{
7688    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
7689        match err {
7690            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7691            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7692                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7693                source: err.into(),
7694            }),
7695        }
7696    }
7697}
7698impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
7699    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
7700        match err {
7701            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
7702        }
7703    }
7704}
7705impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
7706where
7707    R: Send + Sync + std::fmt::Debug + 'static,
7708{
7709    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
7710        match err {
7711            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7712            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7713                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7714                source: err.into(),
7715            }),
7716        }
7717    }
7718}
7719impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
7720    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
7721        match err {
7722            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
7723        }
7724    }
7725}
7726impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
7727where
7728    R: Send + Sync + std::fmt::Debug + 'static,
7729{
7730    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
7731        match err {
7732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7735                source: err.into(),
7736            }),
7737        }
7738    }
7739}
7740impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
7741    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
7742        match err {
7743            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
7744        }
7745    }
7746}
7747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
7748where
7749    R: Send + Sync + std::fmt::Debug + 'static,
7750{
7751    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> Self {
7752        match err {
7753            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7754            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7755                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7756                source: err.into(),
7757            }),
7758        }
7759    }
7760}
7761impl From<crate::operation::describe_key_pairs::DescribeKeyPairsError> for Error {
7762    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
7763        match err {
7764            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
7765        }
7766    }
7767}
7768impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
7769    for Error
7770where
7771    R: Send + Sync + std::fmt::Debug + 'static,
7772{
7773    fn from(
7774        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>,
7775    ) -> Self {
7776        match err {
7777            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7778            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7779                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7780                source: err.into(),
7781            }),
7782        }
7783    }
7784}
7785impl From<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError> for Error {
7786    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
7787        match err {
7788            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
7789        }
7790    }
7791}
7792impl<R>
7793    From<
7794        ::aws_smithy_runtime_api::client::result::SdkError<
7795            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
7796            R,
7797        >,
7798    > for Error
7799where
7800    R: Send + Sync + std::fmt::Debug + 'static,
7801{
7802    fn from(
7803        err: ::aws_smithy_runtime_api::client::result::SdkError<
7804            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
7805            R,
7806        >,
7807    ) -> Self {
7808        match err {
7809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7812                source: err.into(),
7813            }),
7814        }
7815    }
7816}
7817impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
7818    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
7819        match err {
7820            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
7821        }
7822    }
7823}
7824impl<R>
7825    From<
7826        ::aws_smithy_runtime_api::client::result::SdkError<
7827            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
7828            R,
7829        >,
7830    > for Error
7831where
7832    R: Send + Sync + std::fmt::Debug + 'static,
7833{
7834    fn from(
7835        err: ::aws_smithy_runtime_api::client::result::SdkError<
7836            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
7837            R,
7838        >,
7839    ) -> 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_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
7850    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
7851        match err {
7852            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
7853        }
7854    }
7855}
7856impl<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 {
7857    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
7858        match err {
7859            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7860            _ => Error::Unhandled(
7861                                        crate::error::sealed_unhandled::Unhandled {
7862                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7863                                            source: err.into(),
7864                                        }
7865                                    ),
7866        }
7867    }
7868}
7869impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
7870    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
7871        match err {
7872            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
7873        }
7874    }
7875}
7876impl<R>
7877    From<
7878        ::aws_smithy_runtime_api::client::result::SdkError<
7879            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
7880            R,
7881        >,
7882    > for Error
7883where
7884    R: Send + Sync + std::fmt::Debug + 'static,
7885{
7886    fn from(
7887        err: ::aws_smithy_runtime_api::client::result::SdkError<
7888            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
7889            R,
7890        >,
7891    ) -> Self {
7892        match err {
7893            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7894            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7895                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7896                source: err.into(),
7897            }),
7898        }
7899    }
7900}
7901impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
7902    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
7903        match err {
7904            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
7905                inner,
7906            ) => Error::Unhandled(inner),
7907        }
7908    }
7909}
7910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
7911where
7912    R: Send + Sync + std::fmt::Debug + 'static,
7913{
7914    fn from(
7915        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
7916    ) -> Self {
7917        match err {
7918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7921                source: err.into(),
7922            }),
7923        }
7924    }
7925}
7926impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
7927    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
7928        match err {
7929            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7930        }
7931    }
7932}
7933impl<R>
7934    From<
7935        ::aws_smithy_runtime_api::client::result::SdkError<
7936            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
7937            R,
7938        >,
7939    > for Error
7940where
7941    R: Send + Sync + std::fmt::Debug + 'static,
7942{
7943    fn from(
7944        err: ::aws_smithy_runtime_api::client::result::SdkError<
7945            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
7946            R,
7947        >,
7948    ) -> Self {
7949        match err {
7950            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7951            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7952                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7953                source: err.into(),
7954            }),
7955        }
7956    }
7957}
7958impl From<crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
7959    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
7960        match err {
7961            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
7962                Error::Unhandled(inner)
7963            }
7964        }
7965    }
7966}
7967impl<R>
7968    From<
7969        ::aws_smithy_runtime_api::client::result::SdkError<
7970            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
7971            R,
7972        >,
7973    > for Error
7974where
7975    R: Send + Sync + std::fmt::Debug + 'static,
7976{
7977    fn from(
7978        err: ::aws_smithy_runtime_api::client::result::SdkError<
7979            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
7980            R,
7981        >,
7982    ) -> Self {
7983        match err {
7984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7987                source: err.into(),
7988            }),
7989        }
7990    }
7991}
7992impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
7993    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
7994        match err {
7995            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
7996                Error::Unhandled(inner)
7997            }
7998        }
7999    }
8000}
8001impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
8002    for Error
8003where
8004    R: Send + Sync + std::fmt::Debug + 'static,
8005{
8006    fn from(
8007        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
8008    ) -> Self {
8009        match err {
8010            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8011            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8012                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8013                source: err.into(),
8014            }),
8015        }
8016    }
8017}
8018impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
8019    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
8020        match err {
8021            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
8022        }
8023    }
8024}
8025impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
8026where
8027    R: Send + Sync + std::fmt::Debug + 'static,
8028{
8029    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
8030        match err {
8031            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8032            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8033                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8034                source: err.into(),
8035            }),
8036        }
8037    }
8038}
8039impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
8040    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
8041        match err {
8042            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
8043        }
8044    }
8045}
8046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
8047    for Error
8048where
8049    R: Send + Sync + std::fmt::Debug + 'static,
8050{
8051    fn from(
8052        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
8053    ) -> Self {
8054        match err {
8055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8058                source: err.into(),
8059            }),
8060        }
8061    }
8062}
8063impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
8064    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
8065        match err {
8066            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8067        }
8068    }
8069}
8070impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
8071    for Error
8072where
8073    R: Send + Sync + std::fmt::Debug + 'static,
8074{
8075    fn from(
8076        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
8077    ) -> Self {
8078        match err {
8079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8082                source: err.into(),
8083            }),
8084        }
8085    }
8086}
8087impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
8088    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
8089        match err {
8090            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
8091        }
8092    }
8093}
8094impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
8095where
8096    R: Send + Sync + std::fmt::Debug + 'static,
8097{
8098    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
8099        match err {
8100            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8101            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8102                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8103                source: err.into(),
8104            }),
8105        }
8106    }
8107}
8108impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
8109    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
8110        match err {
8111            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8112        }
8113    }
8114}
8115impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
8116where
8117    R: Send + Sync + std::fmt::Debug + 'static,
8118{
8119    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
8120        match err {
8121            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8122            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8123                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8124                source: err.into(),
8125            }),
8126        }
8127    }
8128}
8129impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
8130    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
8131        match err {
8132            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
8133        }
8134    }
8135}
8136impl<R>
8137    From<
8138        ::aws_smithy_runtime_api::client::result::SdkError<
8139            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8140            R,
8141        >,
8142    > for Error
8143where
8144    R: Send + Sync + std::fmt::Debug + 'static,
8145{
8146    fn from(
8147        err: ::aws_smithy_runtime_api::client::result::SdkError<
8148            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8149            R,
8150        >,
8151    ) -> Self {
8152        match err {
8153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8156                source: err.into(),
8157            }),
8158        }
8159    }
8160}
8161impl From<crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
8162    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
8163        match err {
8164            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
8165                Error::Unhandled(inner)
8166            }
8167        }
8168    }
8169}
8170impl<R>
8171    From<
8172        ::aws_smithy_runtime_api::client::result::SdkError<
8173            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8174            R,
8175        >,
8176    > for Error
8177where
8178    R: Send + Sync + std::fmt::Debug + 'static,
8179{
8180    fn from(
8181        err: ::aws_smithy_runtime_api::client::result::SdkError<
8182            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8183            R,
8184        >,
8185    ) -> Self {
8186        match err {
8187            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8188            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8189                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8190                source: err.into(),
8191            }),
8192        }
8193    }
8194}
8195impl From<crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
8196    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
8197        match err {
8198            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
8199                Error::Unhandled(inner)
8200            }
8201        }
8202    }
8203}
8204impl<R>
8205    From<
8206        ::aws_smithy_runtime_api::client::result::SdkError<
8207            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8208            R,
8209        >,
8210    > for Error
8211where
8212    R: Send + Sync + std::fmt::Debug + 'static,
8213{
8214    fn from(
8215        err: ::aws_smithy_runtime_api::client::result::SdkError<
8216            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8217            R,
8218        >,
8219    ) -> Self {
8220        match err {
8221            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8222            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8223                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8224                source: err.into(),
8225            }),
8226        }
8227    }
8228}
8229impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
8230    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
8231        match err {
8232            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
8233        }
8234    }
8235}
8236impl<R>
8237    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
8238    for Error
8239where
8240    R: Send + Sync + std::fmt::Debug + 'static,
8241{
8242    fn from(
8243        err: ::aws_smithy_runtime_api::client::result::SdkError<
8244            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
8245            R,
8246        >,
8247    ) -> Self {
8248        match err {
8249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8252                source: err.into(),
8253            }),
8254        }
8255    }
8256}
8257impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
8258    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
8259        match err {
8260            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
8261        }
8262    }
8263}
8264impl<R>
8265    From<
8266        ::aws_smithy_runtime_api::client::result::SdkError<
8267            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8268            R,
8269        >,
8270    > for Error
8271where
8272    R: Send + Sync + std::fmt::Debug + 'static,
8273{
8274    fn from(
8275        err: ::aws_smithy_runtime_api::client::result::SdkError<
8276            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8277            R,
8278        >,
8279    ) -> Self {
8280        match err {
8281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8284                source: err.into(),
8285            }),
8286        }
8287    }
8288}
8289impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
8290    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
8291        match err {
8292            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
8293                Error::Unhandled(inner)
8294            }
8295        }
8296    }
8297}
8298impl<R>
8299    From<
8300        ::aws_smithy_runtime_api::client::result::SdkError<
8301            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8302            R,
8303        >,
8304    > for Error
8305where
8306    R: Send + Sync + std::fmt::Debug + 'static,
8307{
8308    fn from(
8309        err: ::aws_smithy_runtime_api::client::result::SdkError<
8310            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8311            R,
8312        >,
8313    ) -> Self {
8314        match err {
8315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8318                source: err.into(),
8319            }),
8320        }
8321    }
8322}
8323impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
8324    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
8325        match err {
8326            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
8327                Error::Unhandled(inner)
8328            }
8329        }
8330    }
8331}
8332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
8333    for Error
8334where
8335    R: Send + Sync + std::fmt::Debug + 'static,
8336{
8337    fn from(
8338        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
8339    ) -> Self {
8340        match err {
8341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8342            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8343                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8344                source: err.into(),
8345            }),
8346        }
8347    }
8348}
8349impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
8350    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
8351        match err {
8352            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
8353        }
8354    }
8355}
8356impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
8357    for Error
8358where
8359    R: Send + Sync + std::fmt::Debug + 'static,
8360{
8361    fn from(
8362        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
8363    ) -> Self {
8364        match err {
8365            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8366            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8367                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8368                source: err.into(),
8369            }),
8370        }
8371    }
8372}
8373impl From<crate::operation::describe_placement_groups::DescribePlacementGroupsError> for Error {
8374    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
8375        match err {
8376            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
8377        }
8378    }
8379}
8380impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
8381where
8382    R: Send + Sync + std::fmt::Debug + 'static,
8383{
8384    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
8385        match err {
8386            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8387            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8388                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8389                source: err.into(),
8390            }),
8391        }
8392    }
8393}
8394impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
8395    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
8396        match err {
8397            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8398        }
8399    }
8400}
8401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
8402    for Error
8403where
8404    R: Send + Sync + std::fmt::Debug + 'static,
8405{
8406    fn from(
8407        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
8408    ) -> Self {
8409        match err {
8410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8413                source: err.into(),
8414            }),
8415        }
8416    }
8417}
8418impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
8419    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
8420        match err {
8421            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
8422        }
8423    }
8424}
8425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
8426    for Error
8427where
8428    R: Send + Sync + std::fmt::Debug + 'static,
8429{
8430    fn from(
8431        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
8432    ) -> Self {
8433        match err {
8434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8437                source: err.into(),
8438            }),
8439        }
8440    }
8441}
8442impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
8443    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
8444        match err {
8445            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8446        }
8447    }
8448}
8449impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
8450where
8451    R: Send + Sync + std::fmt::Debug + 'static,
8452{
8453    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
8454        match err {
8455            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8456            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8457                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8458                source: err.into(),
8459            }),
8460        }
8461    }
8462}
8463impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
8464    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
8465        match err {
8466            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
8467        }
8468    }
8469}
8470impl<R>
8471    From<
8472        ::aws_smithy_runtime_api::client::result::SdkError<
8473            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
8474            R,
8475        >,
8476    > for Error
8477where
8478    R: Send + Sync + std::fmt::Debug + 'static,
8479{
8480    fn from(
8481        err: ::aws_smithy_runtime_api::client::result::SdkError<
8482            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
8483            R,
8484        >,
8485    ) -> Self {
8486        match err {
8487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8490                source: err.into(),
8491            }),
8492        }
8493    }
8494}
8495impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
8496    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
8497        match err {
8498            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
8499        }
8500    }
8501}
8502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
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<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
8509    ) -> Self {
8510        match err {
8511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8514                source: err.into(),
8515            }),
8516        }
8517    }
8518}
8519impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
8520    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
8521        match err {
8522            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8523        }
8524    }
8525}
8526impl<R>
8527    From<
8528        ::aws_smithy_runtime_api::client::result::SdkError<
8529            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
8530            R,
8531        >,
8532    > for Error
8533where
8534    R: Send + Sync + std::fmt::Debug + 'static,
8535{
8536    fn from(
8537        err: ::aws_smithy_runtime_api::client::result::SdkError<
8538            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
8539            R,
8540        >,
8541    ) -> Self {
8542        match err {
8543            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8544            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8545                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8546                source: err.into(),
8547            }),
8548        }
8549    }
8550}
8551impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
8552    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
8553        match err {
8554            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
8555                Error::Unhandled(inner)
8556            }
8557        }
8558    }
8559}
8560impl<R>
8561    From<
8562        ::aws_smithy_runtime_api::client::result::SdkError<
8563            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
8564            R,
8565        >,
8566    > for Error
8567where
8568    R: Send + Sync + std::fmt::Debug + 'static,
8569{
8570    fn from(
8571        err: ::aws_smithy_runtime_api::client::result::SdkError<
8572            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
8573            R,
8574        >,
8575    ) -> Self {
8576        match err {
8577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8580                source: err.into(),
8581            }),
8582        }
8583    }
8584}
8585impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
8586    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
8587        match err {
8588            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
8589                Error::Unhandled(inner)
8590            }
8591        }
8592    }
8593}
8594impl<R>
8595    From<
8596        ::aws_smithy_runtime_api::client::result::SdkError<
8597            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
8598            R,
8599        >,
8600    > for Error
8601where
8602    R: Send + Sync + std::fmt::Debug + 'static,
8603{
8604    fn from(
8605        err: ::aws_smithy_runtime_api::client::result::SdkError<
8606            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
8607            R,
8608        >,
8609    ) -> Self {
8610        match err {
8611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8614                source: err.into(),
8615            }),
8616        }
8617    }
8618}
8619impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
8620    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
8621        match err {
8622            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
8623                Error::Unhandled(inner)
8624            }
8625        }
8626    }
8627}
8628impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
8629where
8630    R: Send + Sync + std::fmt::Debug + 'static,
8631{
8632    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> 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_route_tables::DescribeRouteTablesError> for Error {
8643    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
8644        match err {
8645            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
8646        }
8647    }
8648}
8649impl<R>
8650    From<
8651        ::aws_smithy_runtime_api::client::result::SdkError<
8652            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
8653            R,
8654        >,
8655    > for Error
8656where
8657    R: Send + Sync + std::fmt::Debug + 'static,
8658{
8659    fn from(
8660        err: ::aws_smithy_runtime_api::client::result::SdkError<
8661            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
8662            R,
8663        >,
8664    ) -> Self {
8665        match err {
8666            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8667            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8668                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8669                source: err.into(),
8670            }),
8671        }
8672    }
8673}
8674impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
8675    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
8676        match err {
8677            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
8678                Error::Unhandled(inner)
8679            }
8680        }
8681    }
8682}
8683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>>
8684    for Error
8685where
8686    R: Send + Sync + std::fmt::Debug + 'static,
8687{
8688    fn from(
8689        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
8690    ) -> Self {
8691        match err {
8692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8695                source: err.into(),
8696            }),
8697        }
8698    }
8699}
8700impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
8701    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
8702        match err {
8703            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8704        }
8705    }
8706}
8707impl<R>
8708    From<
8709        ::aws_smithy_runtime_api::client::result::SdkError<
8710            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
8711            R,
8712        >,
8713    > for Error
8714where
8715    R: Send + Sync + std::fmt::Debug + 'static,
8716{
8717    fn from(
8718        err: ::aws_smithy_runtime_api::client::result::SdkError<
8719            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
8720            R,
8721        >,
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_security_group_references::DescribeSecurityGroupReferencesError> for Error {
8733    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
8734        match err {
8735            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
8736        }
8737    }
8738}
8739impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, 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_security_group_rules::DescribeSecurityGroupRulesError, 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_security_group_rules::DescribeSecurityGroupRulesError> for Error {
8757    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
8758        match err {
8759            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
8760        }
8761    }
8762}
8763impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
8764where
8765    R: Send + Sync + std::fmt::Debug + 'static,
8766{
8767    fn from(
8768        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
8769    ) -> Self {
8770        match err {
8771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8774                source: err.into(),
8775            }),
8776        }
8777    }
8778}
8779impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
8780    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
8781        match err {
8782            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
8783        }
8784    }
8785}
8786impl<R>
8787    From<
8788        ::aws_smithy_runtime_api::client::result::SdkError<
8789            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
8790            R,
8791        >,
8792    > for Error
8793where
8794    R: Send + Sync + std::fmt::Debug + 'static,
8795{
8796    fn from(
8797        err: ::aws_smithy_runtime_api::client::result::SdkError<
8798            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
8799            R,
8800        >,
8801    ) -> Self {
8802        match err {
8803            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8804            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8805                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8806                source: err.into(),
8807            }),
8808        }
8809    }
8810}
8811impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
8812    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
8813        match err {
8814            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
8815                Error::Unhandled(inner)
8816            }
8817        }
8818    }
8819}
8820impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
8821    for Error
8822where
8823    R: Send + Sync + std::fmt::Debug + 'static,
8824{
8825    fn from(
8826        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
8827    ) -> Self {
8828        match err {
8829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8832                source: err.into(),
8833            }),
8834        }
8835    }
8836}
8837impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
8838    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
8839        match err {
8840            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
8841        }
8842    }
8843}
8844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
8845where
8846    R: Send + Sync + std::fmt::Debug + 'static,
8847{
8848    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> Self {
8849        match err {
8850            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8851            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8852                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8853                source: err.into(),
8854            }),
8855        }
8856    }
8857}
8858impl From<crate::operation::describe_snapshots::DescribeSnapshotsError> for Error {
8859    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
8860        match err {
8861            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
8862        }
8863    }
8864}
8865impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
8866    for Error
8867where
8868    R: Send + Sync + std::fmt::Debug + 'static,
8869{
8870    fn from(
8871        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
8872    ) -> Self {
8873        match err {
8874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8877                source: err.into(),
8878            }),
8879        }
8880    }
8881}
8882impl From<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
8883    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
8884        match err {
8885            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
8886        }
8887    }
8888}
8889impl<R>
8890    From<
8891        ::aws_smithy_runtime_api::client::result::SdkError<
8892            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
8893            R,
8894        >,
8895    > for Error
8896where
8897    R: Send + Sync + std::fmt::Debug + 'static,
8898{
8899    fn from(
8900        err: ::aws_smithy_runtime_api::client::result::SdkError<
8901            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
8902            R,
8903        >,
8904    ) -> Self {
8905        match err {
8906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8909                source: err.into(),
8910            }),
8911        }
8912    }
8913}
8914impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
8915    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
8916        match err {
8917            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
8918        }
8919    }
8920}
8921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
8922    for Error
8923where
8924    R: Send + Sync + std::fmt::Debug + 'static,
8925{
8926    fn from(
8927        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
8928    ) -> Self {
8929        match err {
8930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8933                source: err.into(),
8934            }),
8935        }
8936    }
8937}
8938impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
8939    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
8940        match err {
8941            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8942        }
8943    }
8944}
8945impl<R>
8946    From<
8947        ::aws_smithy_runtime_api::client::result::SdkError<
8948            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
8949            R,
8950        >,
8951    > for Error
8952where
8953    R: Send + Sync + std::fmt::Debug + 'static,
8954{
8955    fn from(
8956        err: ::aws_smithy_runtime_api::client::result::SdkError<
8957            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
8958            R,
8959        >,
8960    ) -> Self {
8961        match err {
8962            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8963            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8964                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8965                source: err.into(),
8966            }),
8967        }
8968    }
8969}
8970impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
8971    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
8972        match err {
8973            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
8974        }
8975    }
8976}
8977impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
8978    for Error
8979where
8980    R: Send + Sync + std::fmt::Debug + 'static,
8981{
8982    fn from(
8983        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
8984    ) -> Self {
8985        match err {
8986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8989                source: err.into(),
8990            }),
8991        }
8992    }
8993}
8994impl From<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
8995    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
8996        match err {
8997            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
8998        }
8999    }
9000}
9001impl<R>
9002    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
9003    for Error
9004where
9005    R: Send + Sync + std::fmt::Debug + 'static,
9006{
9007    fn from(
9008        err: ::aws_smithy_runtime_api::client::result::SdkError<
9009            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
9010            R,
9011        >,
9012    ) -> Self {
9013        match err {
9014            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9015            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9016                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9017                source: err.into(),
9018            }),
9019        }
9020    }
9021}
9022impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
9023    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
9024        match err {
9025            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9026        }
9027    }
9028}
9029impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
9030    for Error
9031where
9032    R: Send + Sync + std::fmt::Debug + 'static,
9033{
9034    fn from(
9035        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
9036    ) -> Self {
9037        match err {
9038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9041                source: err.into(),
9042            }),
9043        }
9044    }
9045}
9046impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
9047    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
9048        match err {
9049            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9050        }
9051    }
9052}
9053impl<R>
9054    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
9055    for Error
9056where
9057    R: Send + Sync + std::fmt::Debug + 'static,
9058{
9059    fn from(
9060        err: ::aws_smithy_runtime_api::client::result::SdkError<
9061            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
9062            R,
9063        >,
9064    ) -> Self {
9065        match err {
9066            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9067            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9068                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9069                source: err.into(),
9070            }),
9071        }
9072    }
9073}
9074impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
9075    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
9076        match err {
9077            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9078        }
9079    }
9080}
9081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
9082    for Error
9083where
9084    R: Send + Sync + std::fmt::Debug + 'static,
9085{
9086    fn from(
9087        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
9088    ) -> Self {
9089        match err {
9090            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9091            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9092                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9093                source: err.into(),
9094            }),
9095        }
9096    }
9097}
9098impl From<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError> for Error {
9099    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
9100        match err {
9101            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
9102        }
9103    }
9104}
9105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
9106where
9107    R: Send + Sync + std::fmt::Debug + 'static,
9108{
9109    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> 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_subnets::DescribeSubnetsError> for Error {
9120    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
9121        match err {
9122            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
9123        }
9124    }
9125}
9126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
9127where
9128    R: Send + Sync + std::fmt::Debug + 'static,
9129{
9130    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
9131        match err {
9132            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9133            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9134                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9135                source: err.into(),
9136            }),
9137        }
9138    }
9139}
9140impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
9141    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
9142        match err {
9143            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
9144        }
9145    }
9146}
9147impl<R>
9148    From<
9149        ::aws_smithy_runtime_api::client::result::SdkError<
9150            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9151            R,
9152        >,
9153    > for Error
9154where
9155    R: Send + Sync + std::fmt::Debug + 'static,
9156{
9157    fn from(
9158        err: ::aws_smithy_runtime_api::client::result::SdkError<
9159            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9160            R,
9161        >,
9162    ) -> Self {
9163        match err {
9164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9167                source: err.into(),
9168            }),
9169        }
9170    }
9171}
9172impl From<crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
9173    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
9174        match err {
9175            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
9176                Error::Unhandled(inner)
9177            }
9178        }
9179    }
9180}
9181impl<R>
9182    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
9183    for Error
9184where
9185    R: Send + Sync + std::fmt::Debug + 'static,
9186{
9187    fn from(
9188        err: ::aws_smithy_runtime_api::client::result::SdkError<
9189            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
9190            R,
9191        >,
9192    ) -> Self {
9193        match err {
9194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9197                source: err.into(),
9198            }),
9199        }
9200    }
9201}
9202impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
9203    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
9204        match err {
9205            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
9206        }
9207    }
9208}
9209impl<R>
9210    From<
9211        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
9212    > for Error
9213where
9214    R: Send + Sync + std::fmt::Debug + 'static,
9215{
9216    fn from(
9217        err: ::aws_smithy_runtime_api::client::result::SdkError<
9218            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
9219            R,
9220        >,
9221    ) -> Self {
9222        match err {
9223            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9224            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9225                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9226                source: err.into(),
9227            }),
9228        }
9229    }
9230}
9231impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
9232    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
9233        match err {
9234            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
9235        }
9236    }
9237}
9238impl<R>
9239    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
9240    for Error
9241where
9242    R: Send + Sync + std::fmt::Debug + 'static,
9243{
9244    fn from(
9245        err: ::aws_smithy_runtime_api::client::result::SdkError<
9246            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
9247            R,
9248        >,
9249    ) -> Self {
9250        match err {
9251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9254                source: err.into(),
9255            }),
9256        }
9257    }
9258}
9259impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
9260    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
9261        match err {
9262            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
9263        }
9264    }
9265}
9266impl<R>
9267    From<
9268        ::aws_smithy_runtime_api::client::result::SdkError<
9269            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9270            R,
9271        >,
9272    > for Error
9273where
9274    R: Send + Sync + std::fmt::Debug + 'static,
9275{
9276    fn from(
9277        err: ::aws_smithy_runtime_api::client::result::SdkError<
9278            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9279            R,
9280        >,
9281    ) -> Self {
9282        match err {
9283            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9284            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9285                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9286                source: err.into(),
9287            }),
9288        }
9289    }
9290}
9291impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
9292    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
9293        match err {
9294            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
9295                Error::Unhandled(inner)
9296            }
9297        }
9298    }
9299}
9300impl<R>
9301    From<
9302        ::aws_smithy_runtime_api::client::result::SdkError<
9303            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
9304            R,
9305        >,
9306    > for Error
9307where
9308    R: Send + Sync + std::fmt::Debug + 'static,
9309{
9310    fn from(
9311        err: ::aws_smithy_runtime_api::client::result::SdkError<
9312            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
9313            R,
9314        >,
9315    ) -> Self {
9316        match err {
9317            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9318            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9319                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9320                source: err.into(),
9321            }),
9322        }
9323    }
9324}
9325impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
9326    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
9327        match err {
9328            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
9329                Error::Unhandled(inner)
9330            }
9331        }
9332    }
9333}
9334impl<R>
9335    From<
9336        ::aws_smithy_runtime_api::client::result::SdkError<
9337            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
9338            R,
9339        >,
9340    > for Error
9341where
9342    R: Send + Sync + std::fmt::Debug + 'static,
9343{
9344    fn from(
9345        err: ::aws_smithy_runtime_api::client::result::SdkError<
9346            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
9347            R,
9348        >,
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_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
9360    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
9361        match err {
9362            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
9363        }
9364    }
9365}
9366impl<R>
9367    From<
9368        ::aws_smithy_runtime_api::client::result::SdkError<
9369            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
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_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
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_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
9392    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
9393        match err {
9394            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
9395                Error::Unhandled(inner)
9396            }
9397        }
9398    }
9399}
9400impl<R>
9401    From<
9402        ::aws_smithy_runtime_api::client::result::SdkError<
9403            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
9404            R,
9405        >,
9406    > for Error
9407where
9408    R: Send + Sync + std::fmt::Debug + 'static,
9409{
9410    fn from(
9411        err: ::aws_smithy_runtime_api::client::result::SdkError<
9412            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
9413            R,
9414        >,
9415    ) -> Self {
9416        match err {
9417            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9418            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9419                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9420                source: err.into(),
9421            }),
9422        }
9423    }
9424}
9425impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
9426    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
9427        match err {
9428            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
9429                Error::Unhandled(inner)
9430            }
9431        }
9432    }
9433}
9434impl<R>
9435    From<
9436        ::aws_smithy_runtime_api::client::result::SdkError<
9437            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
9438            R,
9439        >,
9440    > for Error
9441where
9442    R: Send + Sync + std::fmt::Debug + 'static,
9443{
9444    fn from(
9445        err: ::aws_smithy_runtime_api::client::result::SdkError<
9446            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
9447            R,
9448        >,
9449    ) -> Self {
9450        match err {
9451            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9452            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9453                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9454                source: err.into(),
9455            }),
9456        }
9457    }
9458}
9459impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
9460    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
9461        match err {
9462            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
9463                Error::Unhandled(inner)
9464            }
9465        }
9466    }
9467}
9468impl<R>
9469    From<
9470        ::aws_smithy_runtime_api::client::result::SdkError<
9471            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
9472            R,
9473        >,
9474    > for Error
9475where
9476    R: Send + Sync + std::fmt::Debug + 'static,
9477{
9478    fn from(
9479        err: ::aws_smithy_runtime_api::client::result::SdkError<
9480            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
9481            R,
9482        >,
9483    ) -> Self {
9484        match err {
9485            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9486            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9487                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9488                source: err.into(),
9489            }),
9490        }
9491    }
9492}
9493impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
9494    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
9495        match err {
9496            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
9497                inner,
9498            ) => Error::Unhandled(inner),
9499        }
9500    }
9501}
9502impl<R>
9503    From<
9504        ::aws_smithy_runtime_api::client::result::SdkError<
9505            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
9506            R,
9507        >,
9508    > for Error
9509where
9510    R: Send + Sync + std::fmt::Debug + 'static,
9511{
9512    fn from(
9513        err: ::aws_smithy_runtime_api::client::result::SdkError<
9514            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
9515            R,
9516        >,
9517    ) -> Self {
9518        match err {
9519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9522                source: err.into(),
9523            }),
9524        }
9525    }
9526}
9527impl From<crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
9528    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
9529        match err {
9530            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
9531                Error::Unhandled(inner)
9532            }
9533        }
9534    }
9535}
9536impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
9537    for Error
9538where
9539    R: Send + Sync + std::fmt::Debug + 'static,
9540{
9541    fn from(
9542        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
9543    ) -> Self {
9544        match err {
9545            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9546            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9547                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9548                source: err.into(),
9549            }),
9550        }
9551    }
9552}
9553impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
9554    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
9555        match err {
9556            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
9557        }
9558    }
9559}
9560impl<R>
9561    From<
9562        ::aws_smithy_runtime_api::client::result::SdkError<
9563            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
9564            R,
9565        >,
9566    > for Error
9567where
9568    R: Send + Sync + std::fmt::Debug + 'static,
9569{
9570    fn from(
9571        err: ::aws_smithy_runtime_api::client::result::SdkError<
9572            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
9573            R,
9574        >,
9575    ) -> Self {
9576        match err {
9577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9580                source: err.into(),
9581            }),
9582        }
9583    }
9584}
9585impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
9586    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
9587        match err {
9588            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
9589                Error::Unhandled(inner)
9590            }
9591        }
9592    }
9593}
9594impl<R>
9595    From<
9596        ::aws_smithy_runtime_api::client::result::SdkError<
9597            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
9598            R,
9599        >,
9600    > for Error
9601where
9602    R: Send + Sync + std::fmt::Debug + 'static,
9603{
9604    fn from(
9605        err: ::aws_smithy_runtime_api::client::result::SdkError<
9606            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
9607            R,
9608        >,
9609    ) -> Self {
9610        match err {
9611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9614                source: err.into(),
9615            }),
9616        }
9617    }
9618}
9619impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
9620    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
9621        match err {
9622            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
9623                Error::Unhandled(inner)
9624            }
9625        }
9626    }
9627}
9628impl<R>
9629    From<
9630        ::aws_smithy_runtime_api::client::result::SdkError<
9631            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
9632            R,
9633        >,
9634    > for Error
9635where
9636    R: Send + Sync + std::fmt::Debug + 'static,
9637{
9638    fn from(
9639        err: ::aws_smithy_runtime_api::client::result::SdkError<
9640            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
9641            R,
9642        >,
9643    ) -> Self {
9644        match err {
9645            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9646            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9647                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9648                source: err.into(),
9649            }),
9650        }
9651    }
9652}
9653impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
9654    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
9655        match err {
9656            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
9657        }
9658    }
9659}
9660impl<R>
9661    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
9662    for Error
9663where
9664    R: Send + Sync + std::fmt::Debug + 'static,
9665{
9666    fn from(
9667        err: ::aws_smithy_runtime_api::client::result::SdkError<
9668            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
9669            R,
9670        >,
9671    ) -> Self {
9672        match err {
9673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9676                source: err.into(),
9677            }),
9678        }
9679    }
9680}
9681impl From<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
9682    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
9683        match err {
9684            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9685        }
9686    }
9687}
9688impl<R>
9689    From<
9690        ::aws_smithy_runtime_api::client::result::SdkError<
9691            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
9692            R,
9693        >,
9694    > for Error
9695where
9696    R: Send + Sync + std::fmt::Debug + 'static,
9697{
9698    fn from(
9699        err: ::aws_smithy_runtime_api::client::result::SdkError<
9700            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
9701            R,
9702        >,
9703    ) -> Self {
9704        match err {
9705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9708                source: err.into(),
9709            }),
9710        }
9711    }
9712}
9713impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
9714    for Error
9715{
9716    fn from(
9717        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
9718    ) -> Self {
9719        match err {
9720            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
9721        }
9722    }
9723}
9724impl<R>
9725    From<
9726        ::aws_smithy_runtime_api::client::result::SdkError<
9727            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
9728            R,
9729        >,
9730    > for Error
9731where
9732    R: Send + Sync + std::fmt::Debug + 'static,
9733{
9734    fn from(
9735        err: ::aws_smithy_runtime_api::client::result::SdkError<
9736            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
9737            R,
9738        >,
9739    ) -> Self {
9740        match err {
9741            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9742            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9743                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9744                source: err.into(),
9745            }),
9746        }
9747    }
9748}
9749impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
9750    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
9751        match err {
9752            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9753        }
9754    }
9755}
9756impl<R>
9757    From<
9758        ::aws_smithy_runtime_api::client::result::SdkError<
9759            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
9760            R,
9761        >,
9762    > for Error
9763where
9764    R: Send + Sync + std::fmt::Debug + 'static,
9765{
9766    fn from(
9767        err: ::aws_smithy_runtime_api::client::result::SdkError<
9768            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
9769            R,
9770        >,
9771    ) -> Self {
9772        match err {
9773            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9774            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9775                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9776                source: err.into(),
9777            }),
9778        }
9779    }
9780}
9781impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
9782    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
9783        match err {
9784            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
9785                Error::Unhandled(inner)
9786            }
9787        }
9788    }
9789}
9790impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
9791    for Error
9792where
9793    R: Send + Sync + std::fmt::Debug + 'static,
9794{
9795    fn from(
9796        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
9797    ) -> Self {
9798        match err {
9799            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9800            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9801                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9802                source: err.into(),
9803            }),
9804        }
9805    }
9806}
9807impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
9808    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
9809        match err {
9810            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
9811        }
9812    }
9813}
9814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
9815where
9816    R: Send + Sync + std::fmt::Debug + 'static,
9817{
9818    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
9819        match err {
9820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9823                source: err.into(),
9824            }),
9825        }
9826    }
9827}
9828impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
9829    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
9830        match err {
9831            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
9832        }
9833    }
9834}
9835impl<R>
9836    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
9837    for Error
9838where
9839    R: Send + Sync + std::fmt::Debug + 'static,
9840{
9841    fn from(
9842        err: ::aws_smithy_runtime_api::client::result::SdkError<
9843            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
9844            R,
9845        >,
9846    ) -> Self {
9847        match err {
9848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9851                source: err.into(),
9852            }),
9853        }
9854    }
9855}
9856impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
9857    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
9858        match err {
9859            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
9860        }
9861    }
9862}
9863impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
9864where
9865    R: Send + Sync + std::fmt::Debug + 'static,
9866{
9867    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
9868        match err {
9869            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9870            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9871                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9872                source: err.into(),
9873            }),
9874        }
9875    }
9876}
9877impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
9878    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
9879        match err {
9880            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
9881        }
9882    }
9883}
9884impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
9885where
9886    R: Send + Sync + std::fmt::Debug + 'static,
9887{
9888    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
9889        match err {
9890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9893                source: err.into(),
9894            }),
9895        }
9896    }
9897}
9898impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
9899    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
9900        match err {
9901            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
9902        }
9903    }
9904}
9905impl<R>
9906    From<
9907        ::aws_smithy_runtime_api::client::result::SdkError<
9908            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
9909            R,
9910        >,
9911    > for Error
9912where
9913    R: Send + Sync + std::fmt::Debug + 'static,
9914{
9915    fn from(
9916        err: ::aws_smithy_runtime_api::client::result::SdkError<
9917            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
9918            R,
9919        >,
9920    ) -> Self {
9921        match err {
9922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9925                source: err.into(),
9926            }),
9927        }
9928    }
9929}
9930impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
9931    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
9932        match err {
9933            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
9934                Error::Unhandled(inner)
9935            }
9936        }
9937    }
9938}
9939impl<R>
9940    From<
9941        ::aws_smithy_runtime_api::client::result::SdkError<
9942            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
9943            R,
9944        >,
9945    > for Error
9946where
9947    R: Send + Sync + std::fmt::Debug + 'static,
9948{
9949    fn from(
9950        err: ::aws_smithy_runtime_api::client::result::SdkError<
9951            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
9952            R,
9953        >,
9954    ) -> Self {
9955        match err {
9956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9959                source: err.into(),
9960            }),
9961        }
9962    }
9963}
9964impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
9965    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
9966        match err {
9967            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
9968                Error::Unhandled(inner)
9969            }
9970        }
9971    }
9972}
9973impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
9974    for Error
9975where
9976    R: Send + Sync + std::fmt::Debug + 'static,
9977{
9978    fn from(
9979        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
9980    ) -> Self {
9981        match err {
9982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9983            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9984                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9985                source: err.into(),
9986            }),
9987        }
9988    }
9989}
9990impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
9991    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
9992        match err {
9993            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
9994        }
9995    }
9996}
9997impl<R>
9998    From<
9999        ::aws_smithy_runtime_api::client::result::SdkError<
10000            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10001            R,
10002        >,
10003    > for Error
10004where
10005    R: Send + Sync + std::fmt::Debug + 'static,
10006{
10007    fn from(
10008        err: ::aws_smithy_runtime_api::client::result::SdkError<
10009            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10010            R,
10011        >,
10012    ) -> Self {
10013        match err {
10014            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10015            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10016                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10017                source: err.into(),
10018            }),
10019        }
10020    }
10021}
10022impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
10023    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
10024        match err {
10025            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
10026                Error::Unhandled(inner)
10027            }
10028        }
10029    }
10030}
10031impl<R>
10032    From<
10033        ::aws_smithy_runtime_api::client::result::SdkError<
10034            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10035            R,
10036        >,
10037    > for Error
10038where
10039    R: Send + Sync + std::fmt::Debug + 'static,
10040{
10041    fn from(
10042        err: ::aws_smithy_runtime_api::client::result::SdkError<
10043            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10044            R,
10045        >,
10046    ) -> Self {
10047        match err {
10048            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10049            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10050                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10051                source: err.into(),
10052            }),
10053        }
10054    }
10055}
10056impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
10057    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
10058        match err {
10059            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
10060        }
10061    }
10062}
10063impl<R>
10064    From<
10065        ::aws_smithy_runtime_api::client::result::SdkError<
10066            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10067            R,
10068        >,
10069    > for Error
10070where
10071    R: Send + Sync + std::fmt::Debug + 'static,
10072{
10073    fn from(
10074        err: ::aws_smithy_runtime_api::client::result::SdkError<
10075            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10076            R,
10077        >,
10078    ) -> Self {
10079        match err {
10080            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10081            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10082                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10083                source: err.into(),
10084            }),
10085        }
10086    }
10087}
10088impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
10089    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
10090        match err {
10091            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
10092                Error::Unhandled(inner)
10093            }
10094        }
10095    }
10096}
10097impl<R>
10098    From<
10099        ::aws_smithy_runtime_api::client::result::SdkError<
10100            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10101            R,
10102        >,
10103    > for Error
10104where
10105    R: Send + Sync + std::fmt::Debug + 'static,
10106{
10107    fn from(
10108        err: ::aws_smithy_runtime_api::client::result::SdkError<
10109            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10110            R,
10111        >,
10112    ) -> Self {
10113        match err {
10114            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10115            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10116                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10117                source: err.into(),
10118            }),
10119        }
10120    }
10121}
10122impl From<crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
10123    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
10124        match err {
10125            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10126        }
10127    }
10128}
10129impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>> for Error
10130where
10131    R: Send + Sync + std::fmt::Debug + 'static,
10132{
10133    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>) -> Self {
10134        match err {
10135            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10136            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10137                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10138                source: err.into(),
10139            }),
10140        }
10141    }
10142}
10143impl From<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError> for Error {
10144    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
10145        match err {
10146            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10147        }
10148    }
10149}
10150impl<R>
10151    From<
10152        ::aws_smithy_runtime_api::client::result::SdkError<
10153            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10154            R,
10155        >,
10156    > for Error
10157where
10158    R: Send + Sync + std::fmt::Debug + 'static,
10159{
10160    fn from(
10161        err: ::aws_smithy_runtime_api::client::result::SdkError<
10162            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10163            R,
10164        >,
10165    ) -> Self {
10166        match err {
10167            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10168            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10169                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10170                source: err.into(),
10171            }),
10172        }
10173    }
10174}
10175impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
10176    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
10177        match err {
10178            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
10179                Error::Unhandled(inner)
10180            }
10181        }
10182    }
10183}
10184impl<R>
10185    From<
10186        ::aws_smithy_runtime_api::client::result::SdkError<
10187            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10188            R,
10189        >,
10190    > for Error
10191where
10192    R: Send + Sync + std::fmt::Debug + 'static,
10193{
10194    fn from(
10195        err: ::aws_smithy_runtime_api::client::result::SdkError<
10196            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10197            R,
10198        >,
10199    ) -> Self {
10200        match err {
10201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10204                source: err.into(),
10205            }),
10206        }
10207    }
10208}
10209impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
10210    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
10211        match err {
10212            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
10213                Error::Unhandled(inner)
10214            }
10215        }
10216    }
10217}
10218impl<R>
10219    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
10220    for Error
10221where
10222    R: Send + Sync + std::fmt::Debug + 'static,
10223{
10224    fn from(
10225        err: ::aws_smithy_runtime_api::client::result::SdkError<
10226            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
10227            R,
10228        >,
10229    ) -> Self {
10230        match err {
10231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10234                source: err.into(),
10235            }),
10236        }
10237    }
10238}
10239impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
10240    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
10241        match err {
10242            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
10243        }
10244    }
10245}
10246impl<R>
10247    From<
10248        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
10249    > for Error
10250where
10251    R: Send + Sync + std::fmt::Debug + 'static,
10252{
10253    fn from(
10254        err: ::aws_smithy_runtime_api::client::result::SdkError<
10255            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
10256            R,
10257        >,
10258    ) -> Self {
10259        match err {
10260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10263                source: err.into(),
10264            }),
10265        }
10266    }
10267}
10268impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
10269    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
10270        match err {
10271            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10272        }
10273    }
10274}
10275impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
10276where
10277    R: Send + Sync + std::fmt::Debug + 'static,
10278{
10279    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
10280        match err {
10281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10284                source: err.into(),
10285            }),
10286        }
10287    }
10288}
10289impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
10290    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
10291        match err {
10292            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
10293        }
10294    }
10295}
10296impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
10297where
10298    R: Send + Sync + std::fmt::Debug + 'static,
10299{
10300    fn from(
10301        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
10302    ) -> Self {
10303        match err {
10304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10307                source: err.into(),
10308            }),
10309        }
10310    }
10311}
10312impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
10313    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
10314        match err {
10315            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10316        }
10317    }
10318}
10319impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
10320where
10321    R: Send + Sync + std::fmt::Debug + 'static,
10322{
10323    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> Self {
10324        match err {
10325            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10326            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10327                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10328                source: err.into(),
10329            }),
10330        }
10331    }
10332}
10333impl From<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError> for Error {
10334    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
10335        match err {
10336            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10337        }
10338    }
10339}
10340impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
10341where
10342    R: Send + Sync + std::fmt::Debug + 'static,
10343{
10344    fn from(
10345        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
10346    ) -> Self {
10347        match err {
10348            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10349            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10350                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10351                source: err.into(),
10352            }),
10353        }
10354    }
10355}
10356impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
10357    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
10358        match err {
10359            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
10360        }
10361    }
10362}
10363impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
10364where
10365    R: Send + Sync + std::fmt::Debug + 'static,
10366{
10367    fn from(
10368        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
10369    ) -> Self {
10370        match err {
10371            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10372            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10373                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10374                source: err.into(),
10375            }),
10376        }
10377    }
10378}
10379impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
10380    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
10381        match err {
10382            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
10383        }
10384    }
10385}
10386impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
10387where
10388    R: Send + Sync + std::fmt::Debug + 'static,
10389{
10390    fn from(
10391        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
10392    ) -> Self {
10393        match err {
10394            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10395            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10396                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10397                source: err.into(),
10398            }),
10399        }
10400    }
10401}
10402impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
10403    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
10404        match err {
10405            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
10406        }
10407    }
10408}
10409impl<R>
10410    From<
10411        ::aws_smithy_runtime_api::client::result::SdkError<
10412            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
10413            R,
10414        >,
10415    > for Error
10416where
10417    R: Send + Sync + std::fmt::Debug + 'static,
10418{
10419    fn from(
10420        err: ::aws_smithy_runtime_api::client::result::SdkError<
10421            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
10422            R,
10423        >,
10424    ) -> Self {
10425        match err {
10426            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10427            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10428                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10429                source: err.into(),
10430            }),
10431        }
10432    }
10433}
10434impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
10435    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
10436        match err {
10437            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
10438                Error::Unhandled(inner)
10439            }
10440        }
10441    }
10442}
10443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
10444where
10445    R: Send + Sync + std::fmt::Debug + 'static,
10446{
10447    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
10448        match err {
10449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10452                source: err.into(),
10453            }),
10454        }
10455    }
10456}
10457impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
10458    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
10459        match err {
10460            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
10461        }
10462    }
10463}
10464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
10465where
10466    R: Send + Sync + std::fmt::Debug + 'static,
10467{
10468    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
10469        match err {
10470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10473                source: err.into(),
10474            }),
10475        }
10476    }
10477}
10478impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
10479    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
10480        match err {
10481            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
10482        }
10483    }
10484}
10485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
10486where
10487    R: Send + Sync + std::fmt::Debug + 'static,
10488{
10489    fn from(
10490        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
10491    ) -> Self {
10492        match err {
10493            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10494            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10495                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10496                source: err.into(),
10497            }),
10498        }
10499    }
10500}
10501impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
10502    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
10503        match err {
10504            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
10505        }
10506    }
10507}
10508impl<R>
10509    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
10510    for Error
10511where
10512    R: Send + Sync + std::fmt::Debug + 'static,
10513{
10514    fn from(
10515        err: ::aws_smithy_runtime_api::client::result::SdkError<
10516            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
10517            R,
10518        >,
10519    ) -> Self {
10520        match err {
10521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10524                source: err.into(),
10525            }),
10526        }
10527    }
10528}
10529impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
10530    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
10531        match err {
10532            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
10533        }
10534    }
10535}
10536impl<R>
10537    From<
10538        ::aws_smithy_runtime_api::client::result::SdkError<
10539            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
10540            R,
10541        >,
10542    > for Error
10543where
10544    R: Send + Sync + std::fmt::Debug + 'static,
10545{
10546    fn from(
10547        err: ::aws_smithy_runtime_api::client::result::SdkError<
10548            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
10549            R,
10550        >,
10551    ) -> Self {
10552        match err {
10553            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10554            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10555                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10556                source: err.into(),
10557            }),
10558        }
10559    }
10560}
10561impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
10562    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
10563        match err {
10564            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
10565                inner,
10566            ) => Error::Unhandled(inner),
10567        }
10568    }
10569}
10570impl<R>
10571    From<
10572        ::aws_smithy_runtime_api::client::result::SdkError<
10573            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
10574            R,
10575        >,
10576    > for Error
10577where
10578    R: Send + Sync + std::fmt::Debug + 'static,
10579{
10580    fn from(
10581        err: ::aws_smithy_runtime_api::client::result::SdkError<
10582            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
10583            R,
10584        >,
10585    ) -> Self {
10586        match err {
10587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10590                source: err.into(),
10591            }),
10592        }
10593    }
10594}
10595impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
10596    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
10597        match err {
10598            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
10599        }
10600    }
10601}
10602impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
10603where
10604    R: Send + Sync + std::fmt::Debug + 'static,
10605{
10606    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
10607        match err {
10608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10611                source: err.into(),
10612            }),
10613        }
10614    }
10615}
10616impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
10617    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
10618        match err {
10619            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
10620        }
10621    }
10622}
10623impl<R>
10624    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
10625    for Error
10626where
10627    R: Send + Sync + std::fmt::Debug + 'static,
10628{
10629    fn from(
10630        err: ::aws_smithy_runtime_api::client::result::SdkError<
10631            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
10632            R,
10633        >,
10634    ) -> Self {
10635        match err {
10636            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10637            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10638                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10639                source: err.into(),
10640            }),
10641        }
10642    }
10643}
10644impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
10645    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
10646        match err {
10647            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
10648        }
10649    }
10650}
10651impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
10652where
10653    R: Send + Sync + std::fmt::Debug + 'static,
10654{
10655    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
10656        match err {
10657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10660                source: err.into(),
10661            }),
10662        }
10663    }
10664}
10665impl From<crate::operation::disable_image::DisableImageError> for Error {
10666    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
10667        match err {
10668            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
10669        }
10670    }
10671}
10672impl<R>
10673    From<
10674        ::aws_smithy_runtime_api::client::result::SdkError<
10675            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
10676            R,
10677        >,
10678    > for Error
10679where
10680    R: Send + Sync + std::fmt::Debug + 'static,
10681{
10682    fn from(
10683        err: ::aws_smithy_runtime_api::client::result::SdkError<
10684            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
10685            R,
10686        >,
10687    ) -> Self {
10688        match err {
10689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10692                source: err.into(),
10693            }),
10694        }
10695    }
10696}
10697impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
10698    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
10699        match err {
10700            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
10701        }
10702    }
10703}
10704impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
10705    for Error
10706where
10707    R: Send + Sync + std::fmt::Debug + 'static,
10708{
10709    fn from(
10710        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
10711    ) -> Self {
10712        match err {
10713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10716                source: err.into(),
10717            }),
10718        }
10719    }
10720}
10721impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
10722    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
10723        match err {
10724            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
10725        }
10726    }
10727}
10728impl<R>
10729    From<
10730        ::aws_smithy_runtime_api::client::result::SdkError<
10731            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
10732            R,
10733        >,
10734    > for Error
10735where
10736    R: Send + Sync + std::fmt::Debug + 'static,
10737{
10738    fn from(
10739        err: ::aws_smithy_runtime_api::client::result::SdkError<
10740            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
10741            R,
10742        >,
10743    ) -> Self {
10744        match err {
10745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10748                source: err.into(),
10749            }),
10750        }
10751    }
10752}
10753impl From<crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
10754    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
10755        match err {
10756            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
10757                Error::Unhandled(inner)
10758            }
10759        }
10760    }
10761}
10762impl<R>
10763    From<
10764        ::aws_smithy_runtime_api::client::result::SdkError<
10765            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
10766            R,
10767        >,
10768    > for Error
10769where
10770    R: Send + Sync + std::fmt::Debug + 'static,
10771{
10772    fn from(
10773        err: ::aws_smithy_runtime_api::client::result::SdkError<
10774            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
10775            R,
10776        >,
10777    ) -> Self {
10778        match err {
10779            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10780            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10781                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10782                source: err.into(),
10783            }),
10784        }
10785    }
10786}
10787impl From<crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
10788    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
10789        match err {
10790            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
10791                Error::Unhandled(inner)
10792            }
10793        }
10794    }
10795}
10796impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
10797    for Error
10798where
10799    R: Send + Sync + std::fmt::Debug + 'static,
10800{
10801    fn from(
10802        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
10803    ) -> Self {
10804        match err {
10805            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10806            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10807                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10808                source: err.into(),
10809            }),
10810        }
10811    }
10812}
10813impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
10814    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
10815        match err {
10816            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
10817        }
10818    }
10819}
10820impl<R>
10821    From<
10822        ::aws_smithy_runtime_api::client::result::SdkError<
10823            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
10824            R,
10825        >,
10826    > for Error
10827where
10828    R: Send + Sync + std::fmt::Debug + 'static,
10829{
10830    fn from(
10831        err: ::aws_smithy_runtime_api::client::result::SdkError<
10832            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
10833            R,
10834        >,
10835    ) -> Self {
10836        match err {
10837            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10838            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10839                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10840                source: err.into(),
10841            }),
10842        }
10843    }
10844}
10845impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
10846    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
10847        match err {
10848            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
10849                Error::Unhandled(inner)
10850            }
10851        }
10852    }
10853}
10854impl<R>
10855    From<
10856        ::aws_smithy_runtime_api::client::result::SdkError<
10857            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
10858            R,
10859        >,
10860    > for Error
10861where
10862    R: Send + Sync + std::fmt::Debug + 'static,
10863{
10864    fn from(
10865        err: ::aws_smithy_runtime_api::client::result::SdkError<
10866            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
10867            R,
10868        >,
10869    ) -> Self {
10870        match err {
10871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10874                source: err.into(),
10875            }),
10876        }
10877    }
10878}
10879impl From<crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
10880    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
10881        match err {
10882            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
10883                Error::Unhandled(inner)
10884            }
10885        }
10886    }
10887}
10888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
10889    for Error
10890where
10891    R: Send + Sync + std::fmt::Debug + 'static,
10892{
10893    fn from(
10894        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
10895    ) -> Self {
10896        match err {
10897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10900                source: err.into(),
10901            }),
10902        }
10903    }
10904}
10905impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
10906    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
10907        match err {
10908            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
10909        }
10910    }
10911}
10912impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
10913where
10914    R: Send + Sync + std::fmt::Debug + 'static,
10915{
10916    fn from(
10917        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
10918    ) -> Self {
10919        match err {
10920            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10921            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10922                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10923                source: err.into(),
10924            }),
10925        }
10926    }
10927}
10928impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
10929    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
10930        match err {
10931            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
10932        }
10933    }
10934}
10935impl<R>
10936    From<
10937        ::aws_smithy_runtime_api::client::result::SdkError<
10938            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
10939            R,
10940        >,
10941    > for Error
10942where
10943    R: Send + Sync + std::fmt::Debug + 'static,
10944{
10945    fn from(
10946        err: ::aws_smithy_runtime_api::client::result::SdkError<
10947            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
10948            R,
10949        >,
10950    ) -> Self {
10951        match err {
10952            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10953            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10954                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10955                source: err.into(),
10956            }),
10957        }
10958    }
10959}
10960impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
10961    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
10962        match err {
10963            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
10964        }
10965    }
10966}
10967impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
10968where
10969    R: Send + Sync + std::fmt::Debug + 'static,
10970{
10971    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
10972        match err {
10973            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10974            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10975                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10976                source: err.into(),
10977            }),
10978        }
10979    }
10980}
10981impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
10982    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
10983        match err {
10984            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
10985        }
10986    }
10987}
10988impl<R>
10989    From<
10990        ::aws_smithy_runtime_api::client::result::SdkError<
10991            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
10992            R,
10993        >,
10994    > for Error
10995where
10996    R: Send + Sync + std::fmt::Debug + 'static,
10997{
10998    fn from(
10999        err: ::aws_smithy_runtime_api::client::result::SdkError<
11000            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11001            R,
11002        >,
11003    ) -> Self {
11004        match err {
11005            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11006            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11007                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11008                source: err.into(),
11009            }),
11010        }
11011    }
11012}
11013impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
11014    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
11015        match err {
11016            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
11017                Error::Unhandled(inner)
11018            }
11019        }
11020    }
11021}
11022impl<R>
11023    From<
11024        ::aws_smithy_runtime_api::client::result::SdkError<
11025            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11026            R,
11027        >,
11028    > for Error
11029where
11030    R: Send + Sync + std::fmt::Debug + 'static,
11031{
11032    fn from(
11033        err: ::aws_smithy_runtime_api::client::result::SdkError<
11034            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11035            R,
11036        >,
11037    ) -> Self {
11038        match err {
11039            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11040            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11041                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11042                source: err.into(),
11043            }),
11044        }
11045    }
11046}
11047impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
11048    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
11049        match err {
11050            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
11051                Error::Unhandled(inner)
11052            }
11053        }
11054    }
11055}
11056impl<R>
11057    From<
11058        ::aws_smithy_runtime_api::client::result::SdkError<
11059            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11060            R,
11061        >,
11062    > for Error
11063where
11064    R: Send + Sync + std::fmt::Debug + 'static,
11065{
11066    fn from(
11067        err: ::aws_smithy_runtime_api::client::result::SdkError<
11068            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11069            R,
11070        >,
11071    ) -> Self {
11072        match err {
11073            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11074            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11075                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11076                source: err.into(),
11077            }),
11078        }
11079    }
11080}
11081impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
11082    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
11083        match err {
11084            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
11085                Error::Unhandled(inner)
11086            }
11087        }
11088    }
11089}
11090impl<R>
11091    From<
11092        ::aws_smithy_runtime_api::client::result::SdkError<
11093            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11094            R,
11095        >,
11096    > for Error
11097where
11098    R: Send + Sync + std::fmt::Debug + 'static,
11099{
11100    fn from(
11101        err: ::aws_smithy_runtime_api::client::result::SdkError<
11102            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11103            R,
11104        >,
11105    ) -> Self {
11106        match err {
11107            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11108            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11109                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11110                source: err.into(),
11111            }),
11112        }
11113    }
11114}
11115impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
11116    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
11117        match err {
11118            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
11119        }
11120    }
11121}
11122impl<R>
11123    From<
11124        ::aws_smithy_runtime_api::client::result::SdkError<
11125            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11126            R,
11127        >,
11128    > for Error
11129where
11130    R: Send + Sync + std::fmt::Debug + 'static,
11131{
11132    fn from(
11133        err: ::aws_smithy_runtime_api::client::result::SdkError<
11134            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11135            R,
11136        >,
11137    ) -> Self {
11138        match err {
11139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11142                source: err.into(),
11143            }),
11144        }
11145    }
11146}
11147impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
11148    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
11149        match err {
11150            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
11151        }
11152    }
11153}
11154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> for Error
11155where
11156    R: Send + Sync + std::fmt::Debug + 'static,
11157{
11158    fn from(
11159        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>,
11160    ) -> Self {
11161        match err {
11162            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11163            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11164                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11165                source: err.into(),
11166            }),
11167        }
11168    }
11169}
11170impl From<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
11171    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
11172        match err {
11173            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
11174        }
11175    }
11176}
11177impl<R>
11178    From<
11179        ::aws_smithy_runtime_api::client::result::SdkError<
11180            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11181            R,
11182        >,
11183    > for Error
11184where
11185    R: Send + Sync + std::fmt::Debug + 'static,
11186{
11187    fn from(
11188        err: ::aws_smithy_runtime_api::client::result::SdkError<
11189            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11190            R,
11191        >,
11192    ) -> Self {
11193        match err {
11194            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11195            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11196                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11197                source: err.into(),
11198            }),
11199        }
11200    }
11201}
11202impl From<crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
11203    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
11204        match err {
11205            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
11206                Error::Unhandled(inner)
11207            }
11208        }
11209    }
11210}
11211impl<R>
11212    From<
11213        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
11214    > for Error
11215where
11216    R: Send + Sync + std::fmt::Debug + 'static,
11217{
11218    fn from(
11219        err: ::aws_smithy_runtime_api::client::result::SdkError<
11220            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
11221            R,
11222        >,
11223    ) -> Self {
11224        match err {
11225            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11226            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11227                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11228                source: err.into(),
11229            }),
11230        }
11231    }
11232}
11233impl From<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
11234    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
11235        match err {
11236            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
11237        }
11238    }
11239}
11240impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> for Error
11241where
11242    R: Send + Sync + std::fmt::Debug + 'static,
11243{
11244    fn from(
11245        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>,
11246    ) -> Self {
11247        match err {
11248            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11249            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11250                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11251                source: err.into(),
11252            }),
11253        }
11254    }
11255}
11256impl From<crate::operation::disassociate_route_table::DisassociateRouteTableError> for Error {
11257    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
11258        match err {
11259            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
11260        }
11261    }
11262}
11263impl<R>
11264    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
11265    for Error
11266where
11267    R: Send + Sync + std::fmt::Debug + 'static,
11268{
11269    fn from(
11270        err: ::aws_smithy_runtime_api::client::result::SdkError<
11271            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
11272            R,
11273        >,
11274    ) -> Self {
11275        match err {
11276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11279                source: err.into(),
11280            }),
11281        }
11282    }
11283}
11284impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
11285    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
11286        match err {
11287            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
11288        }
11289    }
11290}
11291impl<R>
11292    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
11293    for Error
11294where
11295    R: Send + Sync + std::fmt::Debug + 'static,
11296{
11297    fn from(
11298        err: ::aws_smithy_runtime_api::client::result::SdkError<
11299            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
11300            R,
11301        >,
11302    ) -> Self {
11303        match err {
11304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11307                source: err.into(),
11308            }),
11309        }
11310    }
11311}
11312impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
11313    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
11314        match err {
11315            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
11316        }
11317    }
11318}
11319impl<R>
11320    From<
11321        ::aws_smithy_runtime_api::client::result::SdkError<
11322            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
11323            R,
11324        >,
11325    > for Error
11326where
11327    R: Send + Sync + std::fmt::Debug + 'static,
11328{
11329    fn from(
11330        err: ::aws_smithy_runtime_api::client::result::SdkError<
11331            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
11332            R,
11333        >,
11334    ) -> Self {
11335        match err {
11336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11339                source: err.into(),
11340            }),
11341        }
11342    }
11343}
11344impl From<crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
11345    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
11346        match err {
11347            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
11348                Error::Unhandled(inner)
11349            }
11350        }
11351    }
11352}
11353impl<R>
11354    From<
11355        ::aws_smithy_runtime_api::client::result::SdkError<
11356            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
11357            R,
11358        >,
11359    > for Error
11360where
11361    R: Send + Sync + std::fmt::Debug + 'static,
11362{
11363    fn from(
11364        err: ::aws_smithy_runtime_api::client::result::SdkError<
11365            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
11366            R,
11367        >,
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::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
11379    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
11380        match err {
11381            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
11382                Error::Unhandled(inner)
11383            }
11384        }
11385    }
11386}
11387impl<R>
11388    From<
11389        ::aws_smithy_runtime_api::client::result::SdkError<
11390            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
11391            R,
11392        >,
11393    > for Error
11394where
11395    R: Send + Sync + std::fmt::Debug + 'static,
11396{
11397    fn from(
11398        err: ::aws_smithy_runtime_api::client::result::SdkError<
11399            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
11400            R,
11401        >,
11402    ) -> Self {
11403        match err {
11404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11407                source: err.into(),
11408            }),
11409        }
11410    }
11411}
11412impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
11413    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
11414        match err {
11415            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
11416                Error::Unhandled(inner)
11417            }
11418        }
11419    }
11420}
11421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
11422    for Error
11423where
11424    R: Send + Sync + std::fmt::Debug + 'static,
11425{
11426    fn from(
11427        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
11428    ) -> Self {
11429        match err {
11430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11433                source: err.into(),
11434            }),
11435        }
11436    }
11437}
11438impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
11439    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
11440        match err {
11441            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
11442        }
11443    }
11444}
11445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>>
11446    for Error
11447where
11448    R: Send + Sync + std::fmt::Debug + 'static,
11449{
11450    fn from(
11451        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>,
11452    ) -> Self {
11453        match err {
11454            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11455            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11456                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11457                source: err.into(),
11458            }),
11459        }
11460    }
11461}
11462impl From<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
11463    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
11464        match err {
11465            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
11466        }
11467    }
11468}
11469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
11470where
11471    R: Send + Sync + std::fmt::Debug + 'static,
11472{
11473    fn from(
11474        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
11475    ) -> Self {
11476        match err {
11477            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11478            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11479                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11480                source: err.into(),
11481            }),
11482        }
11483    }
11484}
11485impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
11486    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
11487        match err {
11488            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
11489        }
11490    }
11491}
11492impl<R>
11493    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
11494    for Error
11495where
11496    R: Send + Sync + std::fmt::Debug + 'static,
11497{
11498    fn from(
11499        err: ::aws_smithy_runtime_api::client::result::SdkError<
11500            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
11501            R,
11502        >,
11503    ) -> Self {
11504        match err {
11505            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11506            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11507                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11508                source: err.into(),
11509            }),
11510        }
11511    }
11512}
11513impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
11514    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
11515        match err {
11516            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
11517        }
11518    }
11519}
11520impl<R>
11521    From<
11522        ::aws_smithy_runtime_api::client::result::SdkError<
11523            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
11524            R,
11525        >,
11526    > for Error
11527where
11528    R: Send + Sync + std::fmt::Debug + 'static,
11529{
11530    fn from(
11531        err: ::aws_smithy_runtime_api::client::result::SdkError<
11532            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
11533            R,
11534        >,
11535    ) -> Self {
11536        match err {
11537            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11538            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11539                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11540                source: err.into(),
11541            }),
11542        }
11543    }
11544}
11545impl From<crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
11546    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
11547        match err {
11548            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
11549                inner,
11550            ) => Error::Unhandled(inner),
11551        }
11552    }
11553}
11554impl<R>
11555    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
11556    for Error
11557where
11558    R: Send + Sync + std::fmt::Debug + 'static,
11559{
11560    fn from(
11561        err: ::aws_smithy_runtime_api::client::result::SdkError<
11562            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
11563            R,
11564        >,
11565    ) -> Self {
11566        match err {
11567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11570                source: err.into(),
11571            }),
11572        }
11573    }
11574}
11575impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
11576    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
11577        match err {
11578            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
11579        }
11580    }
11581}
11582impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
11583where
11584    R: Send + Sync + std::fmt::Debug + 'static,
11585{
11586    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
11587        match err {
11588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11591                source: err.into(),
11592            }),
11593        }
11594    }
11595}
11596impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
11597    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
11598        match err {
11599            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
11600        }
11601    }
11602}
11603impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
11604    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::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, 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::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
11621    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
11622        match err {
11623            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
11624        }
11625    }
11626}
11627impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
11628where
11629    R: Send + Sync + std::fmt::Debug + 'static,
11630{
11631    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
11632        match err {
11633            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11634            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11635                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11636                source: err.into(),
11637            }),
11638        }
11639    }
11640}
11641impl From<crate::operation::enable_image::EnableImageError> for Error {
11642    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
11643        match err {
11644            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
11645        }
11646    }
11647}
11648impl<R>
11649    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
11650    for Error
11651where
11652    R: Send + Sync + std::fmt::Debug + 'static,
11653{
11654    fn from(
11655        err: ::aws_smithy_runtime_api::client::result::SdkError<
11656            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
11657            R,
11658        >,
11659    ) -> Self {
11660        match err {
11661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11664                source: err.into(),
11665            }),
11666        }
11667    }
11668}
11669impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
11670    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
11671        match err {
11672            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
11673        }
11674    }
11675}
11676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> for Error
11677where
11678    R: Send + Sync + std::fmt::Debug + 'static,
11679{
11680    fn from(
11681        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>,
11682    ) -> Self {
11683        match err {
11684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11687                source: err.into(),
11688            }),
11689        }
11690    }
11691}
11692impl From<crate::operation::enable_image_deprecation::EnableImageDeprecationError> for Error {
11693    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
11694        match err {
11695            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
11696        }
11697    }
11698}
11699impl<R>
11700    From<
11701        ::aws_smithy_runtime_api::client::result::SdkError<
11702            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
11703            R,
11704        >,
11705    > for Error
11706where
11707    R: Send + Sync + std::fmt::Debug + 'static,
11708{
11709    fn from(
11710        err: ::aws_smithy_runtime_api::client::result::SdkError<
11711            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
11712            R,
11713        >,
11714    ) -> Self {
11715        match err {
11716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11719                source: err.into(),
11720            }),
11721        }
11722    }
11723}
11724impl From<crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
11725    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
11726        match err {
11727            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::Unhandled(inner) => {
11728                Error::Unhandled(inner)
11729            }
11730        }
11731    }
11732}
11733impl<R>
11734    From<
11735        ::aws_smithy_runtime_api::client::result::SdkError<
11736            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
11737            R,
11738        >,
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::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
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::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
11759    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
11760        match err {
11761            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
11762                Error::Unhandled(inner)
11763            }
11764        }
11765    }
11766}
11767impl<R>
11768    From<
11769        ::aws_smithy_runtime_api::client::result::SdkError<
11770            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
11771            R,
11772        >,
11773    > for Error
11774where
11775    R: Send + Sync + std::fmt::Debug + 'static,
11776{
11777    fn from(
11778        err: ::aws_smithy_runtime_api::client::result::SdkError<
11779            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
11780            R,
11781        >,
11782    ) -> Self {
11783        match err {
11784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11787                source: err.into(),
11788            }),
11789        }
11790    }
11791}
11792impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
11793    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
11794        match err {
11795            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
11796                inner,
11797            ) => Error::Unhandled(inner),
11798        }
11799    }
11800}
11801impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
11802    for Error
11803where
11804    R: Send + Sync + std::fmt::Debug + 'static,
11805{
11806    fn from(
11807        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
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::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
11819    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
11820        match err {
11821            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
11822        }
11823    }
11824}
11825impl<R>
11826    From<
11827        ::aws_smithy_runtime_api::client::result::SdkError<
11828            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
11829            R,
11830        >,
11831    > for Error
11832where
11833    R: Send + Sync + std::fmt::Debug + 'static,
11834{
11835    fn from(
11836        err: ::aws_smithy_runtime_api::client::result::SdkError<
11837            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
11838            R,
11839        >,
11840    ) -> Self {
11841        match err {
11842            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11843            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11844                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11845                source: err.into(),
11846            }),
11847        }
11848    }
11849}
11850impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
11851    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
11852        match err {
11853            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
11854        }
11855    }
11856}
11857impl<R>
11858    From<
11859        ::aws_smithy_runtime_api::client::result::SdkError<
11860            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
11861            R,
11862        >,
11863    > for Error
11864where
11865    R: Send + Sync + std::fmt::Debug + 'static,
11866{
11867    fn from(
11868        err: ::aws_smithy_runtime_api::client::result::SdkError<
11869            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
11870            R,
11871        >,
11872    ) -> Self {
11873        match err {
11874            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11875            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11876                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11877                source: err.into(),
11878            }),
11879        }
11880    }
11881}
11882impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
11883    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
11884        match err {
11885            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
11886                Error::Unhandled(inner)
11887            }
11888        }
11889    }
11890}
11891impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
11892    for Error
11893where
11894    R: Send + Sync + std::fmt::Debug + 'static,
11895{
11896    fn from(
11897        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
11898    ) -> Self {
11899        match err {
11900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11903                source: err.into(),
11904            }),
11905        }
11906    }
11907}
11908impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
11909    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
11910        match err {
11911            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
11912        }
11913    }
11914}
11915impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
11916where
11917    R: Send + Sync + std::fmt::Debug + 'static,
11918{
11919    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
11920        match err {
11921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11924                source: err.into(),
11925            }),
11926        }
11927    }
11928}
11929impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
11930    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
11931        match err {
11932            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
11933        }
11934    }
11935}
11936impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
11937where
11938    R: Send + Sync + std::fmt::Debug + 'static,
11939{
11940    fn from(
11941        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
11942    ) -> Self {
11943        match err {
11944            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11945            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11946                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11947                source: err.into(),
11948            }),
11949        }
11950    }
11951}
11952impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
11953    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
11954        match err {
11955            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11956        }
11957    }
11958}
11959impl<R>
11960    From<
11961        ::aws_smithy_runtime_api::client::result::SdkError<
11962            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
11963            R,
11964        >,
11965    > for Error
11966where
11967    R: Send + Sync + std::fmt::Debug + 'static,
11968{
11969    fn from(
11970        err: ::aws_smithy_runtime_api::client::result::SdkError<
11971            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
11972            R,
11973        >,
11974    ) -> Self {
11975        match err {
11976            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11977            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11978                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11979                source: err.into(),
11980            }),
11981        }
11982    }
11983}
11984impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
11985    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
11986        match err {
11987            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
11988        }
11989    }
11990}
11991impl<R>
11992    From<
11993        ::aws_smithy_runtime_api::client::result::SdkError<
11994            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
11995            R,
11996        >,
11997    > for Error
11998where
11999    R: Send + Sync + std::fmt::Debug + 'static,
12000{
12001    fn from(
12002        err: ::aws_smithy_runtime_api::client::result::SdkError<
12003            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12004            R,
12005        >,
12006    ) -> Self {
12007        match err {
12008            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12009            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12010                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12011                source: err.into(),
12012            }),
12013        }
12014    }
12015}
12016impl From<crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
12017    fn from(
12018        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12019    ) -> Self {
12020        match err {
12021            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
12022        }
12023    }
12024}
12025impl<R>
12026    From<
12027        ::aws_smithy_runtime_api::client::result::SdkError<
12028            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12029            R,
12030        >,
12031    > for Error
12032where
12033    R: Send + Sync + std::fmt::Debug + 'static,
12034{
12035    fn from(
12036        err: ::aws_smithy_runtime_api::client::result::SdkError<
12037            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12038            R,
12039        >,
12040    ) -> Self {
12041        match err {
12042            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12043            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12044                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12045                source: err.into(),
12046            }),
12047        }
12048    }
12049}
12050impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
12051    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
12052        match err {
12053            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
12054                Error::Unhandled(inner)
12055            }
12056        }
12057    }
12058}
12059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
12060where
12061    R: Send + Sync + std::fmt::Debug + 'static,
12062{
12063    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
12064        match err {
12065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12068                source: err.into(),
12069            }),
12070        }
12071    }
12072}
12073impl From<crate::operation::export_image::ExportImageError> for Error {
12074    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
12075        match err {
12076            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
12077        }
12078    }
12079}
12080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
12081    for Error
12082where
12083    R: Send + Sync + std::fmt::Debug + 'static,
12084{
12085    fn from(
12086        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
12087    ) -> Self {
12088        match err {
12089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12092                source: err.into(),
12093            }),
12094        }
12095    }
12096}
12097impl From<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
12098    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
12099        match err {
12100            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
12101        }
12102    }
12103}
12104impl<R>
12105    From<
12106        ::aws_smithy_runtime_api::client::result::SdkError<
12107            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12108            R,
12109        >,
12110    > for Error
12111where
12112    R: Send + Sync + std::fmt::Debug + 'static,
12113{
12114    fn from(
12115        err: ::aws_smithy_runtime_api::client::result::SdkError<
12116            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12117            R,
12118        >,
12119    ) -> Self {
12120        match err {
12121            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12122            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12123                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12124                source: err.into(),
12125            }),
12126        }
12127    }
12128}
12129impl From<crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
12130    fn from(
12131        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12132    ) -> Self {
12133        match err {
12134            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
12135        }
12136    }
12137}
12138impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
12139    for Error
12140where
12141    R: Send + Sync + std::fmt::Debug + 'static,
12142{
12143    fn from(
12144        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
12145    ) -> Self {
12146        match err {
12147            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12148            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12149                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12150                source: err.into(),
12151            }),
12152        }
12153    }
12154}
12155impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
12156    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
12157        match err {
12158            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12159        }
12160    }
12161}
12162impl<R>
12163    From<
12164        ::aws_smithy_runtime_api::client::result::SdkError<
12165            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
12166            R,
12167        >,
12168    > for Error
12169where
12170    R: Send + Sync + std::fmt::Debug + 'static,
12171{
12172    fn from(
12173        err: ::aws_smithy_runtime_api::client::result::SdkError<
12174            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
12175            R,
12176        >,
12177    ) -> Self {
12178        match err {
12179            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12180            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12181                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12182                source: err.into(),
12183            }),
12184        }
12185    }
12186}
12187impl From<crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
12188    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
12189        match err {
12190            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
12191                Error::Unhandled(inner)
12192            }
12193        }
12194    }
12195}
12196impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
12197    for Error
12198where
12199    R: Send + Sync + std::fmt::Debug + 'static,
12200{
12201    fn from(
12202        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
12203    ) -> Self {
12204        match err {
12205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12208                source: err.into(),
12209            }),
12210        }
12211    }
12212}
12213impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
12214    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
12215        match err {
12216            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
12217        }
12218    }
12219}
12220impl<R>
12221    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
12222    for Error
12223where
12224    R: Send + Sync + std::fmt::Debug + 'static,
12225{
12226    fn from(
12227        err: ::aws_smithy_runtime_api::client::result::SdkError<
12228            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
12229            R,
12230        >,
12231    ) -> Self {
12232        match err {
12233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12236                source: err.into(),
12237            }),
12238        }
12239    }
12240}
12241impl From<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
12242    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
12243        match err {
12244            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
12245        }
12246    }
12247}
12248impl<R>
12249    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
12250    for Error
12251where
12252    R: Send + Sync + std::fmt::Debug + 'static,
12253{
12254    fn from(
12255        err: ::aws_smithy_runtime_api::client::result::SdkError<
12256            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
12257            R,
12258        >,
12259    ) -> Self {
12260        match err {
12261            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12262            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12263                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12264                source: err.into(),
12265            }),
12266        }
12267    }
12268}
12269impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
12270    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
12271        match err {
12272            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
12273        }
12274    }
12275}
12276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
12277where
12278    R: Send + Sync + std::fmt::Debug + 'static,
12279{
12280    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
12281        match err {
12282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12285                source: err.into(),
12286            }),
12287        }
12288    }
12289}
12290impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
12291    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
12292        match err {
12293            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
12294        }
12295    }
12296}
12297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
12298where
12299    R: Send + Sync + std::fmt::Debug + 'static,
12300{
12301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
12302        match err {
12303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12306                source: err.into(),
12307            }),
12308        }
12309    }
12310}
12311impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
12312    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
12313        match err {
12314            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
12315        }
12316    }
12317}
12318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
12319where
12320    R: Send + Sync + std::fmt::Debug + 'static,
12321{
12322    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
12323        match err {
12324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12327                source: err.into(),
12328            }),
12329        }
12330    }
12331}
12332impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
12333    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
12334        match err {
12335            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
12336        }
12337    }
12338}
12339impl<R>
12340    From<
12341        ::aws_smithy_runtime_api::client::result::SdkError<
12342            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
12343            R,
12344        >,
12345    > for Error
12346where
12347    R: Send + Sync + std::fmt::Debug + 'static,
12348{
12349    fn from(
12350        err: ::aws_smithy_runtime_api::client::result::SdkError<
12351            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
12352            R,
12353        >,
12354    ) -> Self {
12355        match err {
12356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12359                source: err.into(),
12360            }),
12361        }
12362    }
12363}
12364impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
12365    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
12366        match err {
12367            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
12368                Error::Unhandled(inner)
12369            }
12370        }
12371    }
12372}
12373impl<R>
12374    From<
12375        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
12376    > for Error
12377where
12378    R: Send + Sync + std::fmt::Debug + 'static,
12379{
12380    fn from(
12381        err: ::aws_smithy_runtime_api::client::result::SdkError<
12382            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
12383            R,
12384        >,
12385    ) -> Self {
12386        match err {
12387            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12388            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12389                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12390                source: err.into(),
12391            }),
12392        }
12393    }
12394}
12395impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
12396    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
12397        match err {
12398            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
12399        }
12400    }
12401}
12402impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
12403    for Error
12404where
12405    R: Send + Sync + std::fmt::Debug + 'static,
12406{
12407    fn from(
12408        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
12409    ) -> Self {
12410        match err {
12411            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12412            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12413                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12414                source: err.into(),
12415            }),
12416        }
12417    }
12418}
12419impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
12420    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
12421        match err {
12422            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
12423        }
12424    }
12425}
12426impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
12427    for Error
12428where
12429    R: Send + Sync + std::fmt::Debug + 'static,
12430{
12431    fn from(
12432        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
12433    ) -> Self {
12434        match err {
12435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12438                source: err.into(),
12439            }),
12440        }
12441    }
12442}
12443impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
12444    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
12445        match err {
12446            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12447        }
12448    }
12449}
12450impl<R>
12451    From<
12452        ::aws_smithy_runtime_api::client::result::SdkError<
12453            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
12454            R,
12455        >,
12456    > for Error
12457where
12458    R: Send + Sync + std::fmt::Debug + 'static,
12459{
12460    fn from(
12461        err: ::aws_smithy_runtime_api::client::result::SdkError<
12462            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
12463            R,
12464        >,
12465    ) -> Self {
12466        match err {
12467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12470                source: err.into(),
12471            }),
12472        }
12473    }
12474}
12475impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
12476    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
12477        match err {
12478            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
12479        }
12480    }
12481}
12482impl<R>
12483    From<
12484        ::aws_smithy_runtime_api::client::result::SdkError<
12485            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
12486            R,
12487        >,
12488    > for Error
12489where
12490    R: Send + Sync + std::fmt::Debug + 'static,
12491{
12492    fn from(
12493        err: ::aws_smithy_runtime_api::client::result::SdkError<
12494            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
12495            R,
12496        >,
12497    ) -> Self {
12498        match err {
12499            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12500            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12501                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12502                source: err.into(),
12503            }),
12504        }
12505    }
12506}
12507impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
12508    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
12509        match err {
12510            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
12511        }
12512    }
12513}
12514impl<R>
12515    From<
12516        ::aws_smithy_runtime_api::client::result::SdkError<
12517            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
12518            R,
12519        >,
12520    > for Error
12521where
12522    R: Send + Sync + std::fmt::Debug + 'static,
12523{
12524    fn from(
12525        err: ::aws_smithy_runtime_api::client::result::SdkError<
12526            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
12527            R,
12528        >,
12529    ) -> Self {
12530        match err {
12531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12534                source: err.into(),
12535            }),
12536        }
12537    }
12538}
12539impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
12540    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
12541        match err {
12542            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
12543                Error::Unhandled(inner)
12544            }
12545        }
12546    }
12547}
12548impl<R>
12549    From<
12550        ::aws_smithy_runtime_api::client::result::SdkError<
12551            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
12552            R,
12553        >,
12554    > for Error
12555where
12556    R: Send + Sync + std::fmt::Debug + 'static,
12557{
12558    fn from(
12559        err: ::aws_smithy_runtime_api::client::result::SdkError<
12560            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
12561            R,
12562        >,
12563    ) -> Self {
12564        match err {
12565            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12566            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12567                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12568                source: err.into(),
12569            }),
12570        }
12571    }
12572}
12573impl From<crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
12574    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
12575        match err {
12576            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
12577        }
12578    }
12579}
12580impl<R>
12581    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
12582    for Error
12583where
12584    R: Send + Sync + std::fmt::Debug + 'static,
12585{
12586    fn from(
12587        err: ::aws_smithy_runtime_api::client::result::SdkError<
12588            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
12589            R,
12590        >,
12591    ) -> Self {
12592        match err {
12593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12596                source: err.into(),
12597            }),
12598        }
12599    }
12600}
12601impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
12602    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
12603        match err {
12604            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
12605        }
12606    }
12607}
12608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
12609where
12610    R: Send + Sync + std::fmt::Debug + 'static,
12611{
12612    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> Self {
12613        match err {
12614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12617                source: err.into(),
12618            }),
12619        }
12620    }
12621}
12622impl From<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
12623    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
12624        match err {
12625            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
12626        }
12627    }
12628}
12629impl<R>
12630    From<
12631        ::aws_smithy_runtime_api::client::result::SdkError<
12632            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
12633            R,
12634        >,
12635    > for Error
12636where
12637    R: Send + Sync + std::fmt::Debug + 'static,
12638{
12639    fn from(
12640        err: ::aws_smithy_runtime_api::client::result::SdkError<
12641            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
12642            R,
12643        >,
12644    ) -> Self {
12645        match err {
12646            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12647            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12648                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12649                source: err.into(),
12650            }),
12651        }
12652    }
12653}
12654impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
12655    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
12656        match err {
12657            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
12658                Error::Unhandled(inner)
12659            }
12660        }
12661    }
12662}
12663impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
12664where
12665    R: Send + Sync + std::fmt::Debug + 'static,
12666{
12667    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
12668        match err {
12669            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12670            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12671                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12672                source: err.into(),
12673            }),
12674        }
12675    }
12676}
12677impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
12678    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
12679        match err {
12680            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
12681        }
12682    }
12683}
12684impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
12685where
12686    R: Send + Sync + std::fmt::Debug + 'static,
12687{
12688    fn from(
12689        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
12690    ) -> Self {
12691        match err {
12692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12695                source: err.into(),
12696            }),
12697        }
12698    }
12699}
12700impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
12701    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
12702        match err {
12703            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
12704        }
12705    }
12706}
12707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
12708    for Error
12709where
12710    R: Send + Sync + std::fmt::Debug + 'static,
12711{
12712    fn from(
12713        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
12714    ) -> Self {
12715        match err {
12716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12719                source: err.into(),
12720            }),
12721        }
12722    }
12723}
12724impl From<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
12725    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
12726        match err {
12727            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
12728        }
12729    }
12730}
12731impl<R>
12732    From<
12733        ::aws_smithy_runtime_api::client::result::SdkError<
12734            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
12735            R,
12736        >,
12737    > for Error
12738where
12739    R: Send + Sync + std::fmt::Debug + 'static,
12740{
12741    fn from(
12742        err: ::aws_smithy_runtime_api::client::result::SdkError<
12743            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
12744            R,
12745        >,
12746    ) -> Self {
12747        match err {
12748            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12749            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12750                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12751                source: err.into(),
12752            }),
12753        }
12754    }
12755}
12756impl From<crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
12757    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
12758        match err {
12759            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
12760                Error::Unhandled(inner)
12761            }
12762        }
12763    }
12764}
12765impl<R>
12766    From<
12767        ::aws_smithy_runtime_api::client::result::SdkError<
12768            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
12769            R,
12770        >,
12771    > for Error
12772where
12773    R: Send + Sync + std::fmt::Debug + 'static,
12774{
12775    fn from(
12776        err: ::aws_smithy_runtime_api::client::result::SdkError<
12777            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
12778            R,
12779        >,
12780    ) -> Self {
12781        match err {
12782            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12783            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12784                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12785                source: err.into(),
12786            }),
12787        }
12788    }
12789}
12790impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
12791    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
12792        match err {
12793            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
12794        }
12795    }
12796}
12797impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
12798    for Error
12799where
12800    R: Send + Sync + std::fmt::Debug + 'static,
12801{
12802    fn from(
12803        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
12804    ) -> Self {
12805        match err {
12806            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12807            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12808                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12809                source: err.into(),
12810            }),
12811        }
12812    }
12813}
12814impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
12815    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
12816        match err {
12817            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
12818        }
12819    }
12820}
12821impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
12822where
12823    R: Send + Sync + std::fmt::Debug + 'static,
12824{
12825    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
12826        match err {
12827            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12828            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12829                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12830                source: err.into(),
12831            }),
12832        }
12833    }
12834}
12835impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
12836    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
12837        match err {
12838            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
12839        }
12840    }
12841}
12842impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
12843where
12844    R: Send + Sync + std::fmt::Debug + 'static,
12845{
12846    fn from(
12847        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
12848    ) -> Self {
12849        match err {
12850            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12851            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12852                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12853                source: err.into(),
12854            }),
12855        }
12856    }
12857}
12858impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
12859    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
12860        match err {
12861            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
12862        }
12863    }
12864}
12865impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
12866where
12867    R: Send + Sync + std::fmt::Debug + 'static,
12868{
12869    fn from(
12870        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
12871    ) -> Self {
12872        match err {
12873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12876                source: err.into(),
12877            }),
12878        }
12879    }
12880}
12881impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
12882    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
12883        match err {
12884            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
12885        }
12886    }
12887}
12888impl<R>
12889    From<
12890        ::aws_smithy_runtime_api::client::result::SdkError<
12891            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
12892            R,
12893        >,
12894    > for Error
12895where
12896    R: Send + Sync + std::fmt::Debug + 'static,
12897{
12898    fn from(
12899        err: ::aws_smithy_runtime_api::client::result::SdkError<
12900            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
12901            R,
12902        >,
12903    ) -> Self {
12904        match err {
12905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12908                source: err.into(),
12909            }),
12910        }
12911    }
12912}
12913impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
12914    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
12915        match err {
12916            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
12917                Error::Unhandled(inner)
12918            }
12919        }
12920    }
12921}
12922impl<R>
12923    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
12924    for Error
12925where
12926    R: Send + Sync + std::fmt::Debug + 'static,
12927{
12928    fn from(
12929        err: ::aws_smithy_runtime_api::client::result::SdkError<
12930            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
12931            R,
12932        >,
12933    ) -> Self {
12934        match err {
12935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12938                source: err.into(),
12939            }),
12940        }
12941    }
12942}
12943impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
12944    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
12945        match err {
12946            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
12947        }
12948    }
12949}
12950impl<R>
12951    From<
12952        ::aws_smithy_runtime_api::client::result::SdkError<
12953            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
12954            R,
12955        >,
12956    > for Error
12957where
12958    R: Send + Sync + std::fmt::Debug + 'static,
12959{
12960    fn from(
12961        err: ::aws_smithy_runtime_api::client::result::SdkError<
12962            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
12963            R,
12964        >,
12965    ) -> Self {
12966        match err {
12967            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12968            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12969                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12970                source: err.into(),
12971            }),
12972        }
12973    }
12974}
12975impl From<crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
12976    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
12977        match err {
12978            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
12979                inner,
12980            ) => Error::Unhandled(inner),
12981        }
12982    }
12983}
12984impl<R>
12985    From<
12986        ::aws_smithy_runtime_api::client::result::SdkError<
12987            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
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_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
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_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
13010    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
13011        match err {
13012            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
13013                Error::Unhandled(inner)
13014            }
13015        }
13016    }
13017}
13018impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
13019where
13020    R: Send + Sync + std::fmt::Debug + 'static,
13021{
13022    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
13023        match err {
13024            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13025            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13026                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13027                source: err.into(),
13028            }),
13029        }
13030    }
13031}
13032impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
13033    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
13034        match err {
13035            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
13036        }
13037    }
13038}
13039impl<R>
13040    From<
13041        ::aws_smithy_runtime_api::client::result::SdkError<
13042            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13043            R,
13044        >,
13045    > for Error
13046where
13047    R: Send + Sync + std::fmt::Debug + 'static,
13048{
13049    fn from(
13050        err: ::aws_smithy_runtime_api::client::result::SdkError<
13051            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13052            R,
13053        >,
13054    ) -> Self {
13055        match err {
13056            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13057            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13058                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13059                source: err.into(),
13060            }),
13061        }
13062    }
13063}
13064impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
13065    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
13066        match err {
13067            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
13068                Error::Unhandled(inner)
13069            }
13070        }
13071    }
13072}
13073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
13074    for Error
13075where
13076    R: Send + Sync + std::fmt::Debug + 'static,
13077{
13078    fn from(
13079        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
13080    ) -> Self {
13081        match err {
13082            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13083            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13084                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13085                source: err.into(),
13086            }),
13087        }
13088    }
13089}
13090impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
13091    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
13092        match err {
13093            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
13094        }
13095    }
13096}
13097impl<R>
13098    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
13099    for Error
13100where
13101    R: Send + Sync + std::fmt::Debug + 'static,
13102{
13103    fn from(
13104        err: ::aws_smithy_runtime_api::client::result::SdkError<
13105            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
13106            R,
13107        >,
13108    ) -> Self {
13109        match err {
13110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13113                source: err.into(),
13114            }),
13115        }
13116    }
13117}
13118impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
13119    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
13120        match err {
13121            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
13122        }
13123    }
13124}
13125impl<R>
13126    From<
13127        ::aws_smithy_runtime_api::client::result::SdkError<
13128            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
13129            R,
13130        >,
13131    > for Error
13132where
13133    R: Send + Sync + std::fmt::Debug + 'static,
13134{
13135    fn from(
13136        err: ::aws_smithy_runtime_api::client::result::SdkError<
13137            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
13138            R,
13139        >,
13140    ) -> Self {
13141        match err {
13142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13145                source: err.into(),
13146            }),
13147        }
13148    }
13149}
13150impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
13151    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
13152        match err {
13153            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
13154                Error::Unhandled(inner)
13155            }
13156        }
13157    }
13158}
13159impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
13160    for Error
13161where
13162    R: Send + Sync + std::fmt::Debug + 'static,
13163{
13164    fn from(
13165        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
13166    ) -> Self {
13167        match err {
13168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13171                source: err.into(),
13172            }),
13173        }
13174    }
13175}
13176impl From<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError> for Error {
13177    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
13178        match err {
13179            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
13180        }
13181    }
13182}
13183impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
13184    for Error
13185where
13186    R: Send + Sync + std::fmt::Debug + 'static,
13187{
13188    fn from(
13189        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
13190    ) -> Self {
13191        match err {
13192            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13193            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13194                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13195                source: err.into(),
13196            }),
13197        }
13198    }
13199}
13200impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
13201    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
13202        match err {
13203            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
13204        }
13205    }
13206}
13207impl<R>
13208    From<
13209        ::aws_smithy_runtime_api::client::result::SdkError<
13210            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
13211            R,
13212        >,
13213    > for Error
13214where
13215    R: Send + Sync + std::fmt::Debug + 'static,
13216{
13217    fn from(
13218        err: ::aws_smithy_runtime_api::client::result::SdkError<
13219            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
13220            R,
13221        >,
13222    ) -> Self {
13223        match err {
13224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13227                source: err.into(),
13228            }),
13229        }
13230    }
13231}
13232impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
13233    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
13234        match err {
13235            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
13236                Error::Unhandled(inner)
13237            }
13238        }
13239    }
13240}
13241impl<R>
13242    From<
13243        ::aws_smithy_runtime_api::client::result::SdkError<
13244            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
13245            R,
13246        >,
13247    > for Error
13248where
13249    R: Send + Sync + std::fmt::Debug + 'static,
13250{
13251    fn from(
13252        err: ::aws_smithy_runtime_api::client::result::SdkError<
13253            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
13254            R,
13255        >,
13256    ) -> Self {
13257        match err {
13258            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13259            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13260                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13261                source: err.into(),
13262            }),
13263        }
13264    }
13265}
13266impl From<crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
13267    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
13268        match err {
13269            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
13270                inner,
13271            ) => Error::Unhandled(inner),
13272        }
13273    }
13274}
13275impl<R>
13276    From<
13277        ::aws_smithy_runtime_api::client::result::SdkError<
13278            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
13279            R,
13280        >,
13281    > for Error
13282where
13283    R: Send + Sync + std::fmt::Debug + 'static,
13284{
13285    fn from(
13286        err: ::aws_smithy_runtime_api::client::result::SdkError<
13287            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
13288            R,
13289        >,
13290    ) -> Self {
13291        match err {
13292            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13293            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13294                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13295                source: err.into(),
13296            }),
13297        }
13298    }
13299}
13300impl From<crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
13301    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
13302        match err {
13303            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
13304                Error::Unhandled(inner)
13305            }
13306        }
13307    }
13308}
13309impl<R>
13310    From<
13311        ::aws_smithy_runtime_api::client::result::SdkError<
13312            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
13313            R,
13314        >,
13315    > for Error
13316where
13317    R: Send + Sync + std::fmt::Debug + 'static,
13318{
13319    fn from(
13320        err: ::aws_smithy_runtime_api::client::result::SdkError<
13321            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
13322            R,
13323        >,
13324    ) -> Self {
13325        match err {
13326            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13327            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13328                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13329                source: err.into(),
13330            }),
13331        }
13332    }
13333}
13334impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
13335    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
13336        match err {
13337            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
13338                Error::Unhandled(inner)
13339            }
13340        }
13341    }
13342}
13343impl<R>
13344    From<
13345        ::aws_smithy_runtime_api::client::result::SdkError<
13346            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
13347            R,
13348        >,
13349    > for Error
13350where
13351    R: Send + Sync + std::fmt::Debug + 'static,
13352{
13353    fn from(
13354        err: ::aws_smithy_runtime_api::client::result::SdkError<
13355            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
13356            R,
13357        >,
13358    ) -> Self {
13359        match err {
13360            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13361            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13362                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13363                source: err.into(),
13364            }),
13365        }
13366    }
13367}
13368impl From<crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
13369    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
13370        match err {
13371            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
13372                Error::Unhandled(inner)
13373            }
13374        }
13375    }
13376}
13377impl<R>
13378    From<
13379        ::aws_smithy_runtime_api::client::result::SdkError<
13380            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
13381            R,
13382        >,
13383    > for Error
13384where
13385    R: Send + Sync + std::fmt::Debug + 'static,
13386{
13387    fn from(
13388        err: ::aws_smithy_runtime_api::client::result::SdkError<
13389            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
13390            R,
13391        >,
13392    ) -> Self {
13393        match err {
13394            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13395            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13396                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13397                source: err.into(),
13398            }),
13399        }
13400    }
13401}
13402impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
13403    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
13404        match err {
13405            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
13406                Error::Unhandled(inner)
13407            }
13408        }
13409    }
13410}
13411impl<R>
13412    From<
13413        ::aws_smithy_runtime_api::client::result::SdkError<
13414            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
13415            R,
13416        >,
13417    > for Error
13418where
13419    R: Send + Sync + std::fmt::Debug + 'static,
13420{
13421    fn from(
13422        err: ::aws_smithy_runtime_api::client::result::SdkError<
13423            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
13424            R,
13425        >,
13426    ) -> Self {
13427        match err {
13428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13431                source: err.into(),
13432            }),
13433        }
13434    }
13435}
13436impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
13437    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
13438        match err {
13439            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
13440                Error::Unhandled(inner)
13441            }
13442        }
13443    }
13444}
13445impl<R>
13446    From<
13447        ::aws_smithy_runtime_api::client::result::SdkError<
13448            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
13449            R,
13450        >,
13451    > for Error
13452where
13453    R: Send + Sync + std::fmt::Debug + 'static,
13454{
13455    fn from(
13456        err: ::aws_smithy_runtime_api::client::result::SdkError<
13457            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
13458            R,
13459        >,
13460    ) -> Self {
13461        match err {
13462            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13463            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13464                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13465                source: err.into(),
13466            }),
13467        }
13468    }
13469}
13470impl From<crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
13471    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
13472        match err {
13473            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
13474        }
13475    }
13476}
13477impl<R>
13478    From<
13479        ::aws_smithy_runtime_api::client::result::SdkError<
13480            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
13481            R,
13482        >,
13483    > for Error
13484where
13485    R: Send + Sync + std::fmt::Debug + 'static,
13486{
13487    fn from(
13488        err: ::aws_smithy_runtime_api::client::result::SdkError<
13489            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
13490            R,
13491        >,
13492    ) -> Self {
13493        match err {
13494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13497                source: err.into(),
13498            }),
13499        }
13500    }
13501}
13502impl From<crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
13503    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
13504        match err {
13505            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
13506                Error::Unhandled(inner)
13507            }
13508        }
13509    }
13510}
13511impl<R>
13512    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
13513    for Error
13514where
13515    R: Send + Sync + std::fmt::Debug + 'static,
13516{
13517    fn from(
13518        err: ::aws_smithy_runtime_api::client::result::SdkError<
13519            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
13520            R,
13521        >,
13522    ) -> Self {
13523        match err {
13524            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13525            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13526                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13527                source: err.into(),
13528            }),
13529        }
13530    }
13531}
13532impl From<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
13533    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
13534        match err {
13535            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
13536        }
13537    }
13538}
13539impl<R>
13540    From<
13541        ::aws_smithy_runtime_api::client::result::SdkError<
13542            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
13543            R,
13544        >,
13545    > for Error
13546where
13547    R: Send + Sync + std::fmt::Debug + 'static,
13548{
13549    fn from(
13550        err: ::aws_smithy_runtime_api::client::result::SdkError<
13551            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
13552            R,
13553        >,
13554    ) -> Self {
13555        match err {
13556            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13557            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13558                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13559                source: err.into(),
13560            }),
13561        }
13562    }
13563}
13564impl From<crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
13565    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
13566        match err {
13567            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
13568                Error::Unhandled(inner)
13569            }
13570        }
13571    }
13572}
13573impl<R>
13574    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
13575    for Error
13576where
13577    R: Send + Sync + std::fmt::Debug + 'static,
13578{
13579    fn from(
13580        err: ::aws_smithy_runtime_api::client::result::SdkError<
13581            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
13582            R,
13583        >,
13584    ) -> Self {
13585        match err {
13586            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13587            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13588                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13589                source: err.into(),
13590            }),
13591        }
13592    }
13593}
13594impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
13595    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
13596        match err {
13597            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
13598        }
13599    }
13600}
13601impl<R>
13602    From<
13603        ::aws_smithy_runtime_api::client::result::SdkError<
13604            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
13605            R,
13606        >,
13607    > for Error
13608where
13609    R: Send + Sync + std::fmt::Debug + 'static,
13610{
13611    fn from(
13612        err: ::aws_smithy_runtime_api::client::result::SdkError<
13613            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
13614            R,
13615        >,
13616    ) -> Self {
13617        match err {
13618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13621                source: err.into(),
13622            }),
13623        }
13624    }
13625}
13626impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
13627    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
13628        match err {
13629            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
13630        }
13631    }
13632}
13633impl<R>
13634    From<
13635        ::aws_smithy_runtime_api::client::result::SdkError<
13636            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
13637            R,
13638        >,
13639    > for Error
13640where
13641    R: Send + Sync + std::fmt::Debug + 'static,
13642{
13643    fn from(
13644        err: ::aws_smithy_runtime_api::client::result::SdkError<
13645            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
13646            R,
13647        >,
13648    ) -> Self {
13649        match err {
13650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13653                source: err.into(),
13654            }),
13655        }
13656    }
13657}
13658impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
13659    fn from(
13660        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
13661    ) -> Self {
13662        match err {
13663            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
13664        }
13665    }
13666}
13667impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
13668where
13669    R: Send + Sync + std::fmt::Debug + 'static,
13670{
13671    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
13672        match err {
13673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13676                source: err.into(),
13677            }),
13678        }
13679    }
13680}
13681impl From<crate::operation::import_image::ImportImageError> for Error {
13682    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
13683        match err {
13684            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
13685        }
13686    }
13687}
13688impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
13689where
13690    R: Send + Sync + std::fmt::Debug + 'static,
13691{
13692    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
13693        match err {
13694            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13695            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13696                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13697                source: err.into(),
13698            }),
13699        }
13700    }
13701}
13702impl From<crate::operation::import_instance::ImportInstanceError> for Error {
13703    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
13704        match err {
13705            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
13706        }
13707    }
13708}
13709impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
13710where
13711    R: Send + Sync + std::fmt::Debug + 'static,
13712{
13713    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
13714        match err {
13715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13718                source: err.into(),
13719            }),
13720        }
13721    }
13722}
13723impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
13724    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
13725        match err {
13726            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
13727        }
13728    }
13729}
13730impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
13731where
13732    R: Send + Sync + std::fmt::Debug + 'static,
13733{
13734    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
13735        match err {
13736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13739                source: err.into(),
13740            }),
13741        }
13742    }
13743}
13744impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
13745    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
13746        match err {
13747            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
13748        }
13749    }
13750}
13751impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
13752where
13753    R: Send + Sync + std::fmt::Debug + 'static,
13754{
13755    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
13756        match err {
13757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13760                source: err.into(),
13761            }),
13762        }
13763    }
13764}
13765impl From<crate::operation::import_volume::ImportVolumeError> for Error {
13766    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
13767        match err {
13768            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
13769        }
13770    }
13771}
13772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
13773    for Error
13774where
13775    R: Send + Sync + std::fmt::Debug + 'static,
13776{
13777    fn from(
13778        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
13779    ) -> Self {
13780        match err {
13781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13784                source: err.into(),
13785            }),
13786        }
13787    }
13788}
13789impl From<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
13790    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
13791        match err {
13792            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
13793        }
13794    }
13795}
13796impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
13797    for Error
13798where
13799    R: Send + Sync + std::fmt::Debug + 'static,
13800{
13801    fn from(
13802        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
13803    ) -> Self {
13804        match err {
13805            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13806            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13807                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13808                source: err.into(),
13809            }),
13810        }
13811    }
13812}
13813impl From<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
13814    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
13815        match err {
13816            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
13817        }
13818    }
13819}
13820impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
13821where
13822    R: Send + Sync + std::fmt::Debug + 'static,
13823{
13824    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
13825        match err {
13826            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13827            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13828                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13829                source: err.into(),
13830            }),
13831        }
13832    }
13833}
13834impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
13835    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
13836        match err {
13837            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
13838        }
13839    }
13840}
13841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> for Error
13842where
13843    R: Send + Sync + std::fmt::Debug + 'static,
13844{
13845    fn from(
13846        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>,
13847    ) -> Self {
13848        match err {
13849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13852                source: err.into(),
13853            }),
13854        }
13855    }
13856}
13857impl From<crate::operation::modify_address_attribute::ModifyAddressAttributeError> for Error {
13858    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
13859        match err {
13860            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
13861        }
13862    }
13863}
13864impl<R>
13865    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
13866    for Error
13867where
13868    R: Send + Sync + std::fmt::Debug + 'static,
13869{
13870    fn from(
13871        err: ::aws_smithy_runtime_api::client::result::SdkError<
13872            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
13873            R,
13874        >,
13875    ) -> Self {
13876        match err {
13877            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13878            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13879                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13880                source: err.into(),
13881            }),
13882        }
13883    }
13884}
13885impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
13886    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
13887        match err {
13888            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
13889        }
13890    }
13891}
13892impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
13893    for Error
13894where
13895    R: Send + Sync + std::fmt::Debug + 'static,
13896{
13897    fn from(
13898        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
13899    ) -> Self {
13900        match err {
13901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13904                source: err.into(),
13905            }),
13906        }
13907    }
13908}
13909impl From<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
13910    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
13911        match err {
13912            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
13913        }
13914    }
13915}
13916impl<R>
13917    From<
13918        ::aws_smithy_runtime_api::client::result::SdkError<
13919            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
13920            R,
13921        >,
13922    > for Error
13923where
13924    R: Send + Sync + std::fmt::Debug + 'static,
13925{
13926    fn from(
13927        err: ::aws_smithy_runtime_api::client::result::SdkError<
13928            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
13929            R,
13930        >,
13931    ) -> Self {
13932        match err {
13933            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13934            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13935                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13936                source: err.into(),
13937            }),
13938        }
13939    }
13940}
13941impl From<crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
13942    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
13943        match err {
13944            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
13945        }
13946    }
13947}
13948impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
13949    for Error
13950where
13951    R: Send + Sync + std::fmt::Debug + 'static,
13952{
13953    fn from(
13954        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
13955    ) -> Self {
13956        match err {
13957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13960                source: err.into(),
13961            }),
13962        }
13963    }
13964}
13965impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
13966    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
13967        match err {
13968            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
13969        }
13970    }
13971}
13972impl<R>
13973    From<
13974        ::aws_smithy_runtime_api::client::result::SdkError<
13975            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
13976            R,
13977        >,
13978    > for Error
13979where
13980    R: Send + Sync + std::fmt::Debug + 'static,
13981{
13982    fn from(
13983        err: ::aws_smithy_runtime_api::client::result::SdkError<
13984            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
13985            R,
13986        >,
13987    ) -> Self {
13988        match err {
13989            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13990            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13991                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13992                source: err.into(),
13993            }),
13994        }
13995    }
13996}
13997impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
13998    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
13999        match err {
14000            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
14001        }
14002    }
14003}
14004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
14005    for Error
14006where
14007    R: Send + Sync + std::fmt::Debug + 'static,
14008{
14009    fn from(
14010        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>,
14011    ) -> Self {
14012        match err {
14013            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14014            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14015                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14016                source: err.into(),
14017            }),
14018        }
14019    }
14020}
14021impl From<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
14022    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
14023        match err {
14024            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
14025        }
14026    }
14027}
14028impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
14029where
14030    R: Send + Sync + std::fmt::Debug + 'static,
14031{
14032    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
14033        match err {
14034            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14035            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14036                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14037                source: err.into(),
14038            }),
14039        }
14040    }
14041}
14042impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
14043    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
14044        match err {
14045            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
14046        }
14047    }
14048}
14049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
14050    for Error
14051where
14052    R: Send + Sync + std::fmt::Debug + 'static,
14053{
14054    fn from(
14055        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
14056    ) -> Self {
14057        match err {
14058            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14059            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14060                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14061                source: err.into(),
14062            }),
14063        }
14064    }
14065}
14066impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
14067    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
14068        match err {
14069            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14070        }
14071    }
14072}
14073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
14074where
14075    R: Send + Sync + std::fmt::Debug + 'static,
14076{
14077    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
14078        match err {
14079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14082                source: err.into(),
14083            }),
14084        }
14085    }
14086}
14087impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
14088    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
14089        match err {
14090            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
14091        }
14092    }
14093}
14094impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, 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<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
14101    ) -> Self {
14102        match err {
14103            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14104            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14105                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14106                source: err.into(),
14107            }),
14108        }
14109    }
14110}
14111impl From<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
14112    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
14113        match err {
14114            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
14115        }
14116    }
14117}
14118impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
14119where
14120    R: Send + Sync + std::fmt::Debug + 'static,
14121{
14122    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
14123        match err {
14124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14127                source: err.into(),
14128            }),
14129        }
14130    }
14131}
14132impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
14133    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
14134        match err {
14135            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
14136        }
14137    }
14138}
14139impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
14140where
14141    R: Send + Sync + std::fmt::Debug + 'static,
14142{
14143    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
14144        match err {
14145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14148                source: err.into(),
14149            }),
14150        }
14151    }
14152}
14153impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
14154    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
14155        match err {
14156            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14157        }
14158    }
14159}
14160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>>
14161    for Error
14162where
14163    R: Send + Sync + std::fmt::Debug + 'static,
14164{
14165    fn from(
14166        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
14167    ) -> Self {
14168        match err {
14169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14172                source: err.into(),
14173            }),
14174        }
14175    }
14176}
14177impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
14178    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
14179        match err {
14180            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14181        }
14182    }
14183}
14184impl<R>
14185    From<
14186        ::aws_smithy_runtime_api::client::result::SdkError<
14187            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
14188            R,
14189        >,
14190    > for Error
14191where
14192    R: Send + Sync + std::fmt::Debug + 'static,
14193{
14194    fn from(
14195        err: ::aws_smithy_runtime_api::client::result::SdkError<
14196            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
14197            R,
14198        >,
14199    ) -> Self {
14200        match err {
14201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14204                source: err.into(),
14205            }),
14206        }
14207    }
14208}
14209impl From<crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
14210    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
14211        match err {
14212            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
14213                Error::Unhandled(inner)
14214            }
14215        }
14216    }
14217}
14218impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
14219    for Error
14220where
14221    R: Send + Sync + std::fmt::Debug + 'static,
14222{
14223    fn from(
14224        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
14225    ) -> Self {
14226        match err {
14227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14230                source: err.into(),
14231            }),
14232        }
14233    }
14234}
14235impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
14236    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
14237        match err {
14238            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
14239        }
14240    }
14241}
14242impl<R>
14243    From<
14244        ::aws_smithy_runtime_api::client::result::SdkError<
14245            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
14246            R,
14247        >,
14248    > for Error
14249where
14250    R: Send + Sync + std::fmt::Debug + 'static,
14251{
14252    fn from(
14253        err: ::aws_smithy_runtime_api::client::result::SdkError<
14254            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
14255            R,
14256        >,
14257    ) -> Self {
14258        match err {
14259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14262                source: err.into(),
14263            }),
14264        }
14265    }
14266}
14267impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
14268    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
14269        match err {
14270            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
14271                Error::Unhandled(inner)
14272            }
14273        }
14274    }
14275}
14276impl<R>
14277    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
14278    for Error
14279where
14280    R: Send + Sync + std::fmt::Debug + 'static,
14281{
14282    fn from(
14283        err: ::aws_smithy_runtime_api::client::result::SdkError<
14284            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
14285            R,
14286        >,
14287    ) -> Self {
14288        match err {
14289            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14290            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14291                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14292                source: err.into(),
14293            }),
14294        }
14295    }
14296}
14297impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
14298    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
14299        match err {
14300            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
14301        }
14302    }
14303}
14304impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
14305    for Error
14306where
14307    R: Send + Sync + std::fmt::Debug + 'static,
14308{
14309    fn from(
14310        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
14311    ) -> Self {
14312        match err {
14313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14316                source: err.into(),
14317            }),
14318        }
14319    }
14320}
14321impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
14322    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
14323        match err {
14324            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
14325        }
14326    }
14327}
14328impl<R>
14329    From<
14330        ::aws_smithy_runtime_api::client::result::SdkError<
14331            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
14332            R,
14333        >,
14334    > for Error
14335where
14336    R: Send + Sync + std::fmt::Debug + 'static,
14337{
14338    fn from(
14339        err: ::aws_smithy_runtime_api::client::result::SdkError<
14340            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
14341            R,
14342        >,
14343    ) -> Self {
14344        match err {
14345            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14346            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14347                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14348                source: err.into(),
14349            }),
14350        }
14351    }
14352}
14353impl From<crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
14354    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
14355        match err {
14356            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
14357        }
14358    }
14359}
14360impl<R>
14361    From<
14362        ::aws_smithy_runtime_api::client::result::SdkError<
14363            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
14364            R,
14365        >,
14366    > for Error
14367where
14368    R: Send + Sync + std::fmt::Debug + 'static,
14369{
14370    fn from(
14371        err: ::aws_smithy_runtime_api::client::result::SdkError<
14372            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
14373            R,
14374        >,
14375    ) -> Self {
14376        match err {
14377            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14378            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14379                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14380                source: err.into(),
14381            }),
14382        }
14383    }
14384}
14385impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
14386    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
14387        match err {
14388            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
14389        }
14390    }
14391}
14392impl<R>
14393    From<
14394        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
14395    > for Error
14396where
14397    R: Send + Sync + std::fmt::Debug + 'static,
14398{
14399    fn from(
14400        err: ::aws_smithy_runtime_api::client::result::SdkError<
14401            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
14402            R,
14403        >,
14404    ) -> Self {
14405        match err {
14406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14409                source: err.into(),
14410            }),
14411        }
14412    }
14413}
14414impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
14415    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
14416        match err {
14417            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
14418        }
14419    }
14420}
14421impl<R>
14422    From<
14423        ::aws_smithy_runtime_api::client::result::SdkError<
14424            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
14425            R,
14426        >,
14427    > for Error
14428where
14429    R: Send + Sync + std::fmt::Debug + 'static,
14430{
14431    fn from(
14432        err: ::aws_smithy_runtime_api::client::result::SdkError<
14433            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
14434            R,
14435        >,
14436    ) -> Self {
14437        match err {
14438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14441                source: err.into(),
14442            }),
14443        }
14444    }
14445}
14446impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
14447    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
14448        match err {
14449            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
14450                Error::Unhandled(inner)
14451            }
14452        }
14453    }
14454}
14455impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>>
14456    for Error
14457where
14458    R: Send + Sync + std::fmt::Debug + 'static,
14459{
14460    fn from(
14461        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
14462    ) -> Self {
14463        match err {
14464            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14465            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14466                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14467                source: err.into(),
14468            }),
14469        }
14470    }
14471}
14472impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
14473    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
14474        match err {
14475            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
14476        }
14477    }
14478}
14479impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
14480where
14481    R: Send + Sync + std::fmt::Debug + 'static,
14482{
14483    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
14484        match err {
14485            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14486            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14487                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14488                source: err.into(),
14489            }),
14490        }
14491    }
14492}
14493impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
14494    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
14495        match err {
14496            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
14497        }
14498    }
14499}
14500impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
14501where
14502    R: Send + Sync + std::fmt::Debug + 'static,
14503{
14504    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
14505        match err {
14506            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14507            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14508                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14509                source: err.into(),
14510            }),
14511        }
14512    }
14513}
14514impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
14515    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
14516        match err {
14517            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
14518        }
14519    }
14520}
14521impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
14522    for Error
14523where
14524    R: Send + Sync + std::fmt::Debug + 'static,
14525{
14526    fn from(
14527        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
14528    ) -> Self {
14529        match err {
14530            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14531            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14532                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14533                source: err.into(),
14534            }),
14535        }
14536    }
14537}
14538impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
14539    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
14540        match err {
14541            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
14542        }
14543    }
14544}
14545impl<R>
14546    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
14547    for Error
14548where
14549    R: Send + Sync + std::fmt::Debug + 'static,
14550{
14551    fn from(
14552        err: ::aws_smithy_runtime_api::client::result::SdkError<
14553            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
14554            R,
14555        >,
14556    ) -> Self {
14557        match err {
14558            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14559            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14560                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14561                source: err.into(),
14562            }),
14563        }
14564    }
14565}
14566impl From<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
14567    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
14568        match err {
14569            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
14570        }
14571    }
14572}
14573impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
14574where
14575    R: Send + Sync + std::fmt::Debug + 'static,
14576{
14577    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> Self {
14578        match err {
14579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14582                source: err.into(),
14583            }),
14584        }
14585    }
14586}
14587impl From<crate::operation::modify_ipam_scope::ModifyIpamScopeError> for Error {
14588    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
14589        match err {
14590            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
14591        }
14592    }
14593}
14594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
14595where
14596    R: Send + Sync + std::fmt::Debug + 'static,
14597{
14598    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
14599        match err {
14600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14603                source: err.into(),
14604            }),
14605        }
14606    }
14607}
14608impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
14609    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
14610        match err {
14611            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
14612        }
14613    }
14614}
14615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
14616    for Error
14617where
14618    R: Send + Sync + std::fmt::Debug + 'static,
14619{
14620    fn from(
14621        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
14622    ) -> Self {
14623        match err {
14624            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14625            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14626                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14627                source: err.into(),
14628            }),
14629        }
14630    }
14631}
14632impl From<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
14633    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
14634        match err {
14635            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
14636        }
14637    }
14638}
14639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>>
14640    for Error
14641where
14642    R: Send + Sync + std::fmt::Debug + 'static,
14643{
14644    fn from(
14645        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>,
14646    ) -> Self {
14647        match err {
14648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14651                source: err.into(),
14652            }),
14653        }
14654    }
14655}
14656impl From<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError> for Error {
14657    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
14658        match err {
14659            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
14660        }
14661    }
14662}
14663impl<R>
14664    From<
14665        ::aws_smithy_runtime_api::client::result::SdkError<
14666            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
14667            R,
14668        >,
14669    > for Error
14670where
14671    R: Send + Sync + std::fmt::Debug + 'static,
14672{
14673    fn from(
14674        err: ::aws_smithy_runtime_api::client::result::SdkError<
14675            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
14676            R,
14677        >,
14678    ) -> Self {
14679        match err {
14680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14683                source: err.into(),
14684            }),
14685        }
14686    }
14687}
14688impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
14689    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
14690        match err {
14691            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14692        }
14693    }
14694}
14695impl<R>
14696    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
14697    for Error
14698where
14699    R: Send + Sync + std::fmt::Debug + 'static,
14700{
14701    fn from(
14702        err: ::aws_smithy_runtime_api::client::result::SdkError<
14703            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
14704            R,
14705        >,
14706    ) -> Self {
14707        match err {
14708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14711                source: err.into(),
14712            }),
14713        }
14714    }
14715}
14716impl From<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
14717    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
14718        match err {
14719            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
14720        }
14721    }
14722}
14723impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
14724    for Error
14725where
14726    R: Send + Sync + std::fmt::Debug + 'static,
14727{
14728    fn from(
14729        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
14730    ) -> Self {
14731        match err {
14732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14735                source: err.into(),
14736            }),
14737        }
14738    }
14739}
14740impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
14741    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
14742        match err {
14743            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
14744        }
14745    }
14746}
14747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
14748    for Error
14749where
14750    R: Send + Sync + std::fmt::Debug + 'static,
14751{
14752    fn from(
14753        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
14754    ) -> Self {
14755        match err {
14756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14759                source: err.into(),
14760            }),
14761        }
14762    }
14763}
14764impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
14765    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
14766        match err {
14767            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
14768        }
14769    }
14770}
14771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
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<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
14778    ) -> Self {
14779        match err {
14780            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14781            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14782                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14783                source: err.into(),
14784            }),
14785        }
14786    }
14787}
14788impl From<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
14789    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
14790        match err {
14791            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14792        }
14793    }
14794}
14795impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
14796where
14797    R: Send + Sync + std::fmt::Debug + 'static,
14798{
14799    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> Self {
14800        match err {
14801            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14802            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14803                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14804                source: err.into(),
14805            }),
14806        }
14807    }
14808}
14809impl From<crate::operation::modify_snapshot_tier::ModifySnapshotTierError> for Error {
14810    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
14811        match err {
14812            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
14813        }
14814    }
14815}
14816impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>>
14817    for Error
14818where
14819    R: Send + Sync + std::fmt::Debug + 'static,
14820{
14821    fn from(
14822        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>,
14823    ) -> Self {
14824        match err {
14825            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14826            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14827                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14828                source: err.into(),
14829            }),
14830        }
14831    }
14832}
14833impl From<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError> for Error {
14834    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
14835        match err {
14836            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
14837        }
14838    }
14839}
14840impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
14841where
14842    R: Send + Sync + std::fmt::Debug + 'static,
14843{
14844    fn from(
14845        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
14846    ) -> Self {
14847        match err {
14848            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14849            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14850                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14851                source: err.into(),
14852            }),
14853        }
14854    }
14855}
14856impl From<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError> for Error {
14857    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
14858        match err {
14859            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14860        }
14861    }
14862}
14863impl<R>
14864    From<
14865        ::aws_smithy_runtime_api::client::result::SdkError<
14866            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
14867            R,
14868        >,
14869    > for Error
14870where
14871    R: Send + Sync + std::fmt::Debug + 'static,
14872{
14873    fn from(
14874        err: ::aws_smithy_runtime_api::client::result::SdkError<
14875            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
14876            R,
14877        >,
14878    ) -> Self {
14879        match err {
14880            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14881            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14882                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14883                source: err.into(),
14884            }),
14885        }
14886    }
14887}
14888impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
14889    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
14890        match err {
14891            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
14892                Error::Unhandled(inner)
14893            }
14894        }
14895    }
14896}
14897impl<R>
14898    From<
14899        ::aws_smithy_runtime_api::client::result::SdkError<
14900            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
14901            R,
14902        >,
14903    > for Error
14904where
14905    R: Send + Sync + std::fmt::Debug + 'static,
14906{
14907    fn from(
14908        err: ::aws_smithy_runtime_api::client::result::SdkError<
14909            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
14910            R,
14911        >,
14912    ) -> Self {
14913        match err {
14914            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14915            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14916                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14917                source: err.into(),
14918            }),
14919        }
14920    }
14921}
14922impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
14923    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
14924        match err {
14925            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
14926        }
14927    }
14928}
14929impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
14930    for Error
14931where
14932    R: Send + Sync + std::fmt::Debug + 'static,
14933{
14934    fn from(
14935        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
14936    ) -> Self {
14937        match err {
14938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14941                source: err.into(),
14942            }),
14943        }
14944    }
14945}
14946impl From<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
14947    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
14948        match err {
14949            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
14950        }
14951    }
14952}
14953impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
14954where
14955    R: Send + Sync + std::fmt::Debug + 'static,
14956{
14957    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> 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_transit_gateway::ModifyTransitGatewayError> for Error {
14968    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
14969        match err {
14970            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
14971        }
14972    }
14973}
14974impl<R>
14975    From<
14976        ::aws_smithy_runtime_api::client::result::SdkError<
14977            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
14978            R,
14979        >,
14980    > for Error
14981where
14982    R: Send + Sync + std::fmt::Debug + 'static,
14983{
14984    fn from(
14985        err: ::aws_smithy_runtime_api::client::result::SdkError<
14986            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
14987            R,
14988        >,
14989    ) -> Self {
14990        match err {
14991            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14992            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14993                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14994                source: err.into(),
14995            }),
14996        }
14997    }
14998}
14999impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
15000    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
15001        match err {
15002            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
15003                Error::Unhandled(inner)
15004            }
15005        }
15006    }
15007}
15008impl<R>
15009    From<
15010        ::aws_smithy_runtime_api::client::result::SdkError<
15011            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15012            R,
15013        >,
15014    > for Error
15015where
15016    R: Send + Sync + std::fmt::Debug + 'static,
15017{
15018    fn from(
15019        err: ::aws_smithy_runtime_api::client::result::SdkError<
15020            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15021            R,
15022        >,
15023    ) -> Self {
15024        match err {
15025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15028                source: err.into(),
15029            }),
15030        }
15031    }
15032}
15033impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
15034    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
15035        match err {
15036            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
15037                Error::Unhandled(inner)
15038            }
15039        }
15040    }
15041}
15042impl<R>
15043    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
15044    for Error
15045where
15046    R: Send + Sync + std::fmt::Debug + 'static,
15047{
15048    fn from(
15049        err: ::aws_smithy_runtime_api::client::result::SdkError<
15050            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
15051            R,
15052        >,
15053    ) -> Self {
15054        match err {
15055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15058                source: err.into(),
15059            }),
15060        }
15061    }
15062}
15063impl From<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
15064    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
15065        match err {
15066            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15067        }
15068    }
15069}
15070impl<R>
15071    From<
15072        ::aws_smithy_runtime_api::client::result::SdkError<
15073            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
15074            R,
15075        >,
15076    > for Error
15077where
15078    R: Send + Sync + std::fmt::Debug + 'static,
15079{
15080    fn from(
15081        err: ::aws_smithy_runtime_api::client::result::SdkError<
15082            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
15083            R,
15084        >,
15085    ) -> Self {
15086        match err {
15087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15090                source: err.into(),
15091            }),
15092        }
15093    }
15094}
15095impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
15096    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
15097        match err {
15098            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
15099                Error::Unhandled(inner)
15100            }
15101        }
15102    }
15103}
15104impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
15105    for Error
15106where
15107    R: Send + Sync + std::fmt::Debug + 'static,
15108{
15109    fn from(
15110        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
15111    ) -> Self {
15112        match err {
15113            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15114            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15115                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15116                source: err.into(),
15117            }),
15118        }
15119    }
15120}
15121impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
15122    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
15123        match err {
15124            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
15125        }
15126    }
15127}
15128impl<R>
15129    From<
15130        ::aws_smithy_runtime_api::client::result::SdkError<
15131            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
15132            R,
15133        >,
15134    > for Error
15135where
15136    R: Send + Sync + std::fmt::Debug + 'static,
15137{
15138    fn from(
15139        err: ::aws_smithy_runtime_api::client::result::SdkError<
15140            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
15141            R,
15142        >,
15143    ) -> Self {
15144        match err {
15145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15148                source: err.into(),
15149            }),
15150        }
15151    }
15152}
15153impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
15154    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
15155        match err {
15156            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15157        }
15158    }
15159}
15160impl<R>
15161    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
15162    for Error
15163where
15164    R: Send + Sync + std::fmt::Debug + 'static,
15165{
15166    fn from(
15167        err: ::aws_smithy_runtime_api::client::result::SdkError<
15168            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
15169            R,
15170        >,
15171    ) -> Self {
15172        match err {
15173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15176                source: err.into(),
15177            }),
15178        }
15179    }
15180}
15181impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
15182    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
15183        match err {
15184            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
15185        }
15186    }
15187}
15188impl<R>
15189    From<
15190        ::aws_smithy_runtime_api::client::result::SdkError<
15191            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15192            R,
15193        >,
15194    > for Error
15195where
15196    R: Send + Sync + std::fmt::Debug + 'static,
15197{
15198    fn from(
15199        err: ::aws_smithy_runtime_api::client::result::SdkError<
15200            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15201            R,
15202        >,
15203    ) -> Self {
15204        match err {
15205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15208                source: err.into(),
15209            }),
15210        }
15211    }
15212}
15213impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
15214    fn from(
15215        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
15216    ) -> Self {
15217        match err {
15218            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
15219        }
15220    }
15221}
15222impl<R>
15223    From<
15224        ::aws_smithy_runtime_api::client::result::SdkError<
15225            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
15226            R,
15227        >,
15228    > for Error
15229where
15230    R: Send + Sync + std::fmt::Debug + 'static,
15231{
15232    fn from(
15233        err: ::aws_smithy_runtime_api::client::result::SdkError<
15234            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
15235            R,
15236        >,
15237    ) -> Self {
15238        match err {
15239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15242                source: err.into(),
15243            }),
15244        }
15245    }
15246}
15247impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
15248    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
15249        match err {
15250            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
15251                Error::Unhandled(inner)
15252            }
15253        }
15254    }
15255}
15256impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
15257where
15258    R: Send + Sync + std::fmt::Debug + 'static,
15259{
15260    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> 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_volume::ModifyVolumeError> for Error {
15271    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
15272        match err {
15273            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
15274        }
15275    }
15276}
15277impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
15278where
15279    R: Send + Sync + std::fmt::Debug + 'static,
15280{
15281    fn from(
15282        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
15283    ) -> Self {
15284        match err {
15285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15288                source: err.into(),
15289            }),
15290        }
15291    }
15292}
15293impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
15294    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
15295        match err {
15296            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15297        }
15298    }
15299}
15300impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
15301where
15302    R: Send + Sync + std::fmt::Debug + 'static,
15303{
15304    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> Self {
15305        match err {
15306            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15307            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15308                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15309                source: err.into(),
15310            }),
15311        }
15312    }
15313}
15314impl From<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError> for Error {
15315    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
15316        match err {
15317            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15318        }
15319    }
15320}
15321impl<R>
15322    From<
15323        ::aws_smithy_runtime_api::client::result::SdkError<
15324            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
15325            R,
15326        >,
15327    > for Error
15328where
15329    R: Send + Sync + std::fmt::Debug + 'static,
15330{
15331    fn from(
15332        err: ::aws_smithy_runtime_api::client::result::SdkError<
15333            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
15334            R,
15335        >,
15336    ) -> Self {
15337        match err {
15338            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15339            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15340                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15341                source: err.into(),
15342            }),
15343        }
15344    }
15345}
15346impl From<crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
15347    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
15348        match err {
15349            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
15350                Error::Unhandled(inner)
15351            }
15352        }
15353    }
15354}
15355impl<R>
15356    From<
15357        ::aws_smithy_runtime_api::client::result::SdkError<
15358            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
15359            R,
15360        >,
15361    > for Error
15362where
15363    R: Send + Sync + std::fmt::Debug + 'static,
15364{
15365    fn from(
15366        err: ::aws_smithy_runtime_api::client::result::SdkError<
15367            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
15368            R,
15369        >,
15370    ) -> Self {
15371        match err {
15372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15375                source: err.into(),
15376            }),
15377        }
15378    }
15379}
15380impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
15381    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
15382        match err {
15383            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
15384                Error::Unhandled(inner)
15385            }
15386        }
15387    }
15388}
15389impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
15390where
15391    R: Send + Sync + std::fmt::Debug + 'static,
15392{
15393    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
15394        match err {
15395            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15396            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15397                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15398                source: err.into(),
15399            }),
15400        }
15401    }
15402}
15403impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
15404    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
15405        match err {
15406            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15407        }
15408    }
15409}
15410impl<R>
15411    From<
15412        ::aws_smithy_runtime_api::client::result::SdkError<
15413            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
15414            R,
15415        >,
15416    > for Error
15417where
15418    R: Send + Sync + std::fmt::Debug + 'static,
15419{
15420    fn from(
15421        err: ::aws_smithy_runtime_api::client::result::SdkError<
15422            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
15423            R,
15424        >,
15425    ) -> Self {
15426        match err {
15427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15430                source: err.into(),
15431            }),
15432        }
15433    }
15434}
15435impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
15436    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
15437        match err {
15438            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
15439                Error::Unhandled(inner)
15440            }
15441        }
15442    }
15443}
15444impl<R>
15445    From<
15446        ::aws_smithy_runtime_api::client::result::SdkError<
15447            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
15448            R,
15449        >,
15450    > for Error
15451where
15452    R: Send + Sync + std::fmt::Debug + 'static,
15453{
15454    fn from(
15455        err: ::aws_smithy_runtime_api::client::result::SdkError<
15456            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
15457            R,
15458        >,
15459    ) -> Self {
15460        match err {
15461            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15462            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15463                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15464                source: err.into(),
15465            }),
15466        }
15467    }
15468}
15469impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
15470    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
15471        match err {
15472            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
15473                Error::Unhandled(inner)
15474            }
15475        }
15476    }
15477}
15478impl<R>
15479    From<
15480        ::aws_smithy_runtime_api::client::result::SdkError<
15481            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
15482            R,
15483        >,
15484    > for Error
15485where
15486    R: Send + Sync + std::fmt::Debug + 'static,
15487{
15488    fn from(
15489        err: ::aws_smithy_runtime_api::client::result::SdkError<
15490            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
15491            R,
15492        >,
15493    ) -> Self {
15494        match err {
15495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15498                source: err.into(),
15499            }),
15500        }
15501    }
15502}
15503impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
15504    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
15505        match err {
15506            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
15507                inner,
15508            ) => Error::Unhandled(inner),
15509        }
15510    }
15511}
15512impl<R>
15513    From<
15514        ::aws_smithy_runtime_api::client::result::SdkError<
15515            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
15516            R,
15517        >,
15518    > for Error
15519where
15520    R: Send + Sync + std::fmt::Debug + 'static,
15521{
15522    fn from(
15523        err: ::aws_smithy_runtime_api::client::result::SdkError<
15524            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
15525            R,
15526        >,
15527    ) -> Self {
15528        match err {
15529            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15530            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15531                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15532                source: err.into(),
15533            }),
15534        }
15535    }
15536}
15537impl From<crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
15538    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
15539        match err {
15540            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
15541                Error::Unhandled(inner)
15542            }
15543        }
15544    }
15545}
15546impl<R>
15547    From<
15548        ::aws_smithy_runtime_api::client::result::SdkError<
15549            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
15550            R,
15551        >,
15552    > for Error
15553where
15554    R: Send + Sync + std::fmt::Debug + 'static,
15555{
15556    fn from(
15557        err: ::aws_smithy_runtime_api::client::result::SdkError<
15558            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
15559            R,
15560        >,
15561    ) -> Self {
15562        match err {
15563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15566                source: err.into(),
15567            }),
15568        }
15569    }
15570}
15571impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
15572    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
15573        match err {
15574            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
15575                Error::Unhandled(inner)
15576            }
15577        }
15578    }
15579}
15580impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
15581where
15582    R: Send + Sync + std::fmt::Debug + 'static,
15583{
15584    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> Self {
15585        match err {
15586            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15587            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15588                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15589                source: err.into(),
15590            }),
15591        }
15592    }
15593}
15594impl From<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError> for Error {
15595    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
15596        match err {
15597            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
15598        }
15599    }
15600}
15601impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>> for Error
15602where
15603    R: Send + Sync + std::fmt::Debug + 'static,
15604{
15605    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>) -> Self {
15606        match err {
15607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15610                source: err.into(),
15611            }),
15612        }
15613    }
15614}
15615impl From<crate::operation::modify_vpn_connection::ModifyVpnConnectionError> for Error {
15616    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
15617        match err {
15618            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
15619        }
15620    }
15621}
15622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
15623    for Error
15624where
15625    R: Send + Sync + std::fmt::Debug + 'static,
15626{
15627    fn from(
15628        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
15629    ) -> Self {
15630        match err {
15631            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15632            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15633                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15634                source: err.into(),
15635            }),
15636        }
15637    }
15638}
15639impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
15640    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
15641        match err {
15642            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15643        }
15644    }
15645}
15646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, 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<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
15653    ) -> Self {
15654        match err {
15655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15658                source: err.into(),
15659            }),
15660        }
15661    }
15662}
15663impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
15664    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
15665        match err {
15666            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
15667        }
15668    }
15669}
15670impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
15671    for Error
15672where
15673    R: Send + Sync + std::fmt::Debug + 'static,
15674{
15675    fn from(
15676        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
15677    ) -> Self {
15678        match err {
15679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15682                source: err.into(),
15683            }),
15684        }
15685    }
15686}
15687impl From<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
15688    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
15689        match err {
15690            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15691        }
15692    }
15693}
15694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
15695where
15696    R: Send + Sync + std::fmt::Debug + 'static,
15697{
15698    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
15699        match err {
15700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15703                source: err.into(),
15704            }),
15705        }
15706    }
15707}
15708impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
15709    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
15710        match err {
15711            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
15712        }
15713    }
15714}
15715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
15716where
15717    R: Send + Sync + std::fmt::Debug + 'static,
15718{
15719    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
15720        match err {
15721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15724                source: err.into(),
15725            }),
15726        }
15727    }
15728}
15729impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
15730    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
15731        match err {
15732            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
15733        }
15734    }
15735}
15736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
15737where
15738    R: Send + Sync + std::fmt::Debug + 'static,
15739{
15740    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
15741        match err {
15742            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15743            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15744                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15745                source: err.into(),
15746            }),
15747        }
15748    }
15749}
15750impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
15751    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
15752        match err {
15753            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
15754        }
15755    }
15756}
15757impl<R>
15758    From<
15759        ::aws_smithy_runtime_api::client::result::SdkError<
15760            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
15761            R,
15762        >,
15763    > for Error
15764where
15765    R: Send + Sync + std::fmt::Debug + 'static,
15766{
15767    fn from(
15768        err: ::aws_smithy_runtime_api::client::result::SdkError<
15769            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
15770            R,
15771        >,
15772    ) -> Self {
15773        match err {
15774            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15775            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15776                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15777                source: err.into(),
15778            }),
15779        }
15780    }
15781}
15782impl From<crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
15783    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
15784        match err {
15785            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
15786        }
15787    }
15788}
15789impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
15790where
15791    R: Send + Sync + std::fmt::Debug + 'static,
15792{
15793    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
15794        match err {
15795            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15796            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15797                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15798                source: err.into(),
15799            }),
15800        }
15801    }
15802}
15803impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
15804    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
15805        match err {
15806            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
15807        }
15808    }
15809}
15810impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
15811where
15812    R: Send + Sync + std::fmt::Debug + 'static,
15813{
15814    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
15815        match err {
15816            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15817            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15818                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15819                source: err.into(),
15820            }),
15821        }
15822    }
15823}
15824impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
15825    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
15826        match err {
15827            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
15828        }
15829    }
15830}
15831impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
15832where
15833    R: Send + Sync + std::fmt::Debug + 'static,
15834{
15835    fn from(
15836        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
15837    ) -> Self {
15838        match err {
15839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15842                source: err.into(),
15843            }),
15844        }
15845    }
15846}
15847impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
15848    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
15849        match err {
15850            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
15851        }
15852    }
15853}
15854impl<R>
15855    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
15856    for Error
15857where
15858    R: Send + Sync + std::fmt::Debug + 'static,
15859{
15860    fn from(
15861        err: ::aws_smithy_runtime_api::client::result::SdkError<
15862            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
15863            R,
15864        >,
15865    ) -> Self {
15866        match err {
15867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15870                source: err.into(),
15871            }),
15872        }
15873    }
15874}
15875impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
15876    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
15877        match err {
15878            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
15879        }
15880    }
15881}
15882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
15883where
15884    R: Send + Sync + std::fmt::Debug + 'static,
15885{
15886    fn from(
15887        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
15888    ) -> Self {
15889        match err {
15890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15893                source: err.into(),
15894            }),
15895        }
15896    }
15897}
15898impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
15899    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
15900        match err {
15901            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
15902        }
15903    }
15904}
15905impl<R>
15906    From<
15907        ::aws_smithy_runtime_api::client::result::SdkError<
15908            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
15909            R,
15910        >,
15911    > for Error
15912where
15913    R: Send + Sync + std::fmt::Debug + 'static,
15914{
15915    fn from(
15916        err: ::aws_smithy_runtime_api::client::result::SdkError<
15917            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
15918            R,
15919        >,
15920    ) -> Self {
15921        match err {
15922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15925                source: err.into(),
15926            }),
15927        }
15928    }
15929}
15930impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
15931    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
15932        match err {
15933            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
15934        }
15935    }
15936}
15937impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
15938    for Error
15939where
15940    R: Send + Sync + std::fmt::Debug + 'static,
15941{
15942    fn from(
15943        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
15944    ) -> Self {
15945        match err {
15946            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15947            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15948                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15949                source: err.into(),
15950            }),
15951        }
15952    }
15953}
15954impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
15955    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
15956        match err {
15957            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
15958        }
15959    }
15960}
15961impl<R>
15962    From<
15963        ::aws_smithy_runtime_api::client::result::SdkError<
15964            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
15965            R,
15966        >,
15967    > for Error
15968where
15969    R: Send + Sync + std::fmt::Debug + 'static,
15970{
15971    fn from(
15972        err: ::aws_smithy_runtime_api::client::result::SdkError<
15973            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
15974            R,
15975        >,
15976    ) -> Self {
15977        match err {
15978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15981                source: err.into(),
15982            }),
15983        }
15984    }
15985}
15986impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
15987    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
15988        match err {
15989            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
15990                Error::Unhandled(inner)
15991            }
15992        }
15993    }
15994}
15995impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
15996    for Error
15997where
15998    R: Send + Sync + std::fmt::Debug + 'static,
15999{
16000    fn from(
16001        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
16002    ) -> Self {
16003        match err {
16004            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16005            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16006                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16007                source: err.into(),
16008            }),
16009        }
16010    }
16011}
16012impl From<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
16013    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
16014        match err {
16015            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16016        }
16017    }
16018}
16019impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
16020where
16021    R: Send + Sync + std::fmt::Debug + 'static,
16022{
16023    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> Self {
16024        match err {
16025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16028                source: err.into(),
16029            }),
16030        }
16031    }
16032}
16033impl From<crate::operation::reboot_instances::RebootInstancesError> for Error {
16034    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
16035        match err {
16036            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16037        }
16038    }
16039}
16040impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
16041where
16042    R: Send + Sync + std::fmt::Debug + 'static,
16043{
16044    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
16045        match err {
16046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16049                source: err.into(),
16050            }),
16051        }
16052    }
16053}
16054impl From<crate::operation::register_image::RegisterImageError> for Error {
16055    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
16056        match err {
16057            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
16058        }
16059    }
16060}
16061impl<R>
16062    From<
16063        ::aws_smithy_runtime_api::client::result::SdkError<
16064            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
16065            R,
16066        >,
16067    > for Error
16068where
16069    R: Send + Sync + std::fmt::Debug + 'static,
16070{
16071    fn from(
16072        err: ::aws_smithy_runtime_api::client::result::SdkError<
16073            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
16074            R,
16075        >,
16076    ) -> Self {
16077        match err {
16078            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16079            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16080                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16081                source: err.into(),
16082            }),
16083        }
16084    }
16085}
16086impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
16087    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
16088        match err {
16089            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
16090                Error::Unhandled(inner)
16091            }
16092        }
16093    }
16094}
16095impl<R>
16096    From<
16097        ::aws_smithy_runtime_api::client::result::SdkError<
16098            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
16099            R,
16100        >,
16101    > for Error
16102where
16103    R: Send + Sync + std::fmt::Debug + 'static,
16104{
16105    fn from(
16106        err: ::aws_smithy_runtime_api::client::result::SdkError<
16107            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
16108            R,
16109        >,
16110    ) -> Self {
16111        match err {
16112            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16113            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16114                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16115                source: err.into(),
16116            }),
16117        }
16118    }
16119}
16120impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
16121    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
16122        match err {
16123            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
16124                inner,
16125            ) => Error::Unhandled(inner),
16126        }
16127    }
16128}
16129impl<R>
16130    From<
16131        ::aws_smithy_runtime_api::client::result::SdkError<
16132            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
16133            R,
16134        >,
16135    > for Error
16136where
16137    R: Send + Sync + std::fmt::Debug + 'static,
16138{
16139    fn from(
16140        err: ::aws_smithy_runtime_api::client::result::SdkError<
16141            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
16142            R,
16143        >,
16144    ) -> Self {
16145        match err {
16146            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16147            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16148                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16149                source: err.into(),
16150            }),
16151        }
16152    }
16153}
16154impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
16155    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
16156        match err {
16157            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
16158                inner,
16159            ) => Error::Unhandled(inner),
16160        }
16161    }
16162}
16163impl<R>
16164    From<
16165        ::aws_smithy_runtime_api::client::result::SdkError<
16166            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
16167            R,
16168        >,
16169    > for Error
16170where
16171    R: Send + Sync + std::fmt::Debug + 'static,
16172{
16173    fn from(
16174        err: ::aws_smithy_runtime_api::client::result::SdkError<
16175            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
16176            R,
16177        >,
16178    ) -> Self {
16179        match err {
16180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16183                source: err.into(),
16184            }),
16185        }
16186    }
16187}
16188impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
16189    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
16190        match err {
16191            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
16192                Error::Unhandled(inner)
16193            }
16194        }
16195    }
16196}
16197impl<R>
16198    From<
16199        ::aws_smithy_runtime_api::client::result::SdkError<
16200            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
16201            R,
16202        >,
16203    > for Error
16204where
16205    R: Send + Sync + std::fmt::Debug + 'static,
16206{
16207    fn from(
16208        err: ::aws_smithy_runtime_api::client::result::SdkError<
16209            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
16210            R,
16211        >,
16212    ) -> Self {
16213        match err {
16214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16217                source: err.into(),
16218            }),
16219        }
16220    }
16221}
16222impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
16223    fn from(
16224        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
16225    ) -> Self {
16226        match err {
16227            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
16228        }
16229    }
16230}
16231impl<R>
16232    From<
16233        ::aws_smithy_runtime_api::client::result::SdkError<
16234            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
16235            R,
16236        >,
16237    > for Error
16238where
16239    R: Send + Sync + std::fmt::Debug + 'static,
16240{
16241    fn from(
16242        err: ::aws_smithy_runtime_api::client::result::SdkError<
16243            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
16244            R,
16245        >,
16246    ) -> Self {
16247        match err {
16248            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16249            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16250                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16251                source: err.into(),
16252            }),
16253        }
16254    }
16255}
16256impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
16257    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
16258        match err {
16259            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
16260                Error::Unhandled(inner)
16261            }
16262        }
16263    }
16264}
16265impl<R>
16266    From<
16267        ::aws_smithy_runtime_api::client::result::SdkError<
16268            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
16269            R,
16270        >,
16271    > for Error
16272where
16273    R: Send + Sync + std::fmt::Debug + 'static,
16274{
16275    fn from(
16276        err: ::aws_smithy_runtime_api::client::result::SdkError<
16277            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
16278            R,
16279        >,
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::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
16291    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
16292        match err {
16293            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
16294                Error::Unhandled(inner)
16295            }
16296        }
16297    }
16298}
16299impl<R>
16300    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
16301    for Error
16302where
16303    R: Send + Sync + std::fmt::Debug + 'static,
16304{
16305    fn from(
16306        err: ::aws_smithy_runtime_api::client::result::SdkError<
16307            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
16308            R,
16309        >,
16310    ) -> Self {
16311        match err {
16312            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16313            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16314                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16315                source: err.into(),
16316            }),
16317        }
16318    }
16319}
16320impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
16321    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
16322        match err {
16323            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
16324        }
16325    }
16326}
16327impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
16328    for Error
16329where
16330    R: Send + Sync + std::fmt::Debug + 'static,
16331{
16332    fn from(
16333        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
16334    ) -> Self {
16335        match err {
16336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16339                source: err.into(),
16340            }),
16341        }
16342    }
16343}
16344impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
16345    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
16346        match err {
16347            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
16348        }
16349    }
16350}
16351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
16352where
16353    R: Send + Sync + std::fmt::Debug + 'static,
16354{
16355    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> Self {
16356        match err {
16357            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16358            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16359                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16360                source: err.into(),
16361            }),
16362        }
16363    }
16364}
16365impl From<crate::operation::release_address::ReleaseAddressError> for Error {
16366    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
16367        match err {
16368            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
16369        }
16370    }
16371}
16372impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
16373where
16374    R: Send + Sync + std::fmt::Debug + 'static,
16375{
16376    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
16377        match err {
16378            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16379            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16380                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16381                source: err.into(),
16382            }),
16383        }
16384    }
16385}
16386impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
16387    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
16388        match err {
16389            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
16390        }
16391    }
16392}
16393impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
16394    for Error
16395where
16396    R: Send + Sync + std::fmt::Debug + 'static,
16397{
16398    fn from(
16399        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
16400    ) -> Self {
16401        match err {
16402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16405                source: err.into(),
16406            }),
16407        }
16408    }
16409}
16410impl From<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
16411    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
16412        match err {
16413            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
16414        }
16415    }
16416}
16417impl<R>
16418    From<
16419        ::aws_smithy_runtime_api::client::result::SdkError<
16420            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
16421            R,
16422        >,
16423    > for Error
16424where
16425    R: Send + Sync + std::fmt::Debug + 'static,
16426{
16427    fn from(
16428        err: ::aws_smithy_runtime_api::client::result::SdkError<
16429            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
16430            R,
16431        >,
16432    ) -> Self {
16433        match err {
16434            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16435            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16436                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16437                source: err.into(),
16438            }),
16439        }
16440    }
16441}
16442impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
16443    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
16444        match err {
16445            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
16446                Error::Unhandled(inner)
16447            }
16448        }
16449    }
16450}
16451impl<R>
16452    From<
16453        ::aws_smithy_runtime_api::client::result::SdkError<
16454            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
16455            R,
16456        >,
16457    > for Error
16458where
16459    R: Send + Sync + std::fmt::Debug + 'static,
16460{
16461    fn from(
16462        err: ::aws_smithy_runtime_api::client::result::SdkError<
16463            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
16464            R,
16465        >,
16466    ) -> Self {
16467        match err {
16468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16471                source: err.into(),
16472            }),
16473        }
16474    }
16475}
16476impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
16477    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
16478        match err {
16479            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
16480                inner,
16481            ) => Error::Unhandled(inner),
16482        }
16483    }
16484}
16485impl<R>
16486    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
16487    for Error
16488where
16489    R: Send + Sync + std::fmt::Debug + 'static,
16490{
16491    fn from(
16492        err: ::aws_smithy_runtime_api::client::result::SdkError<
16493            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
16494            R,
16495        >,
16496    ) -> Self {
16497        match err {
16498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16501                source: err.into(),
16502            }),
16503        }
16504    }
16505}
16506impl From<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
16507    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
16508        match err {
16509            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
16510        }
16511    }
16512}
16513impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>>
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<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>,
16520    ) -> Self {
16521        match err {
16522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16525                source: err.into(),
16526            }),
16527        }
16528    }
16529}
16530impl From<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
16531    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
16532        match err {
16533            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
16534        }
16535    }
16536}
16537impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
16538where
16539    R: Send + Sync + std::fmt::Debug + 'static,
16540{
16541    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> Self {
16542        match err {
16543            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16544            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16545                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16546                source: err.into(),
16547            }),
16548        }
16549    }
16550}
16551impl From<crate::operation::replace_route::ReplaceRouteError> for Error {
16552    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
16553        match err {
16554            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
16555        }
16556    }
16557}
16558impl<R>
16559    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
16560    for Error
16561where
16562    R: Send + Sync + std::fmt::Debug + 'static,
16563{
16564    fn from(
16565        err: ::aws_smithy_runtime_api::client::result::SdkError<
16566            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
16567            R,
16568        >,
16569    ) -> Self {
16570        match err {
16571            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16572            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16573                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16574                source: err.into(),
16575            }),
16576        }
16577    }
16578}
16579impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
16580    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
16581        match err {
16582            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
16583        }
16584    }
16585}
16586impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
16587    for Error
16588where
16589    R: Send + Sync + std::fmt::Debug + 'static,
16590{
16591    fn from(
16592        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
16593    ) -> Self {
16594        match err {
16595            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16596            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16597                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16598                source: err.into(),
16599            }),
16600        }
16601    }
16602}
16603impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
16604    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
16605        match err {
16606            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
16607        }
16608    }
16609}
16610impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
16611where
16612    R: Send + Sync + std::fmt::Debug + 'static,
16613{
16614    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
16615        match err {
16616            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16617            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16618                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16619                source: err.into(),
16620            }),
16621        }
16622    }
16623}
16624impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
16625    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
16626        match err {
16627            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
16628        }
16629    }
16630}
16631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
16632where
16633    R: Send + Sync + std::fmt::Debug + 'static,
16634{
16635    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
16636        match err {
16637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16640                source: err.into(),
16641            }),
16642        }
16643    }
16644}
16645impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
16646    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
16647        match err {
16648            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
16649        }
16650    }
16651}
16652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
16653where
16654    R: Send + Sync + std::fmt::Debug + 'static,
16655{
16656    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> Self {
16657        match err {
16658            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16659            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16660                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16661                source: err.into(),
16662            }),
16663        }
16664    }
16665}
16666impl From<crate::operation::request_spot_fleet::RequestSpotFleetError> for Error {
16667    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
16668        match err {
16669            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
16670        }
16671    }
16672}
16673impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
16674where
16675    R: Send + Sync + std::fmt::Debug + 'static,
16676{
16677    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> Self {
16678        match err {
16679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16682                source: err.into(),
16683            }),
16684        }
16685    }
16686}
16687impl From<crate::operation::request_spot_instances::RequestSpotInstancesError> for Error {
16688    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
16689        match err {
16690            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16691        }
16692    }
16693}
16694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
16695where
16696    R: Send + Sync + std::fmt::Debug + 'static,
16697{
16698    fn from(
16699        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
16700    ) -> Self {
16701        match err {
16702            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16703            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16704                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16705                source: err.into(),
16706            }),
16707        }
16708    }
16709}
16710impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
16711    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
16712        match err {
16713            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16714        }
16715    }
16716}
16717impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
16718    for Error
16719where
16720    R: Send + Sync + std::fmt::Debug + 'static,
16721{
16722    fn from(
16723        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
16724    ) -> Self {
16725        match err {
16726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16729                source: err.into(),
16730            }),
16731        }
16732    }
16733}
16734impl From<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
16735    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
16736        match err {
16737            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
16738        }
16739    }
16740}
16741impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
16742    for Error
16743where
16744    R: Send + Sync + std::fmt::Debug + 'static,
16745{
16746    fn from(
16747        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
16748    ) -> Self {
16749        match err {
16750            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16751            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16752                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16753                source: err.into(),
16754            }),
16755        }
16756    }
16757}
16758impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
16759    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
16760        match err {
16761            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16762        }
16763    }
16764}
16765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
16766where
16767    R: Send + Sync + std::fmt::Debug + 'static,
16768{
16769    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
16770        match err {
16771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16774                source: err.into(),
16775            }),
16776        }
16777    }
16778}
16779impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
16780    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
16781        match err {
16782            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16783        }
16784    }
16785}
16786impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
16787where
16788    R: Send + Sync + std::fmt::Debug + 'static,
16789{
16790    fn from(
16791        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
16792    ) -> Self {
16793        match err {
16794            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16795            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16796                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16797                source: err.into(),
16798            }),
16799        }
16800    }
16801}
16802impl From<crate::operation::reset_instance_attribute::ResetInstanceAttributeError> for Error {
16803    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
16804        match err {
16805            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16806        }
16807    }
16808}
16809impl<R>
16810    From<
16811        ::aws_smithy_runtime_api::client::result::SdkError<
16812            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
16813            R,
16814        >,
16815    > for Error
16816where
16817    R: Send + Sync + std::fmt::Debug + 'static,
16818{
16819    fn from(
16820        err: ::aws_smithy_runtime_api::client::result::SdkError<
16821            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
16822            R,
16823        >,
16824    ) -> Self {
16825        match err {
16826            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16827            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16828                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16829                source: err.into(),
16830            }),
16831        }
16832    }
16833}
16834impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
16835    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
16836        match err {
16837            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16838        }
16839    }
16840}
16841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
16842where
16843    R: Send + Sync + std::fmt::Debug + 'static,
16844{
16845    fn from(
16846        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
16847    ) -> Self {
16848        match err {
16849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16852                source: err.into(),
16853            }),
16854        }
16855    }
16856}
16857impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
16858    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
16859        match err {
16860            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16861        }
16862    }
16863}
16864impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
16865    for Error
16866where
16867    R: Send + Sync + std::fmt::Debug + 'static,
16868{
16869    fn from(
16870        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
16871    ) -> Self {
16872        match err {
16873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16876                source: err.into(),
16877            }),
16878        }
16879    }
16880}
16881impl From<crate::operation::restore_address_to_classic::RestoreAddressToClassicError> for Error {
16882    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
16883        match err {
16884            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
16885        }
16886    }
16887}
16888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
16889    for Error
16890where
16891    R: Send + Sync + std::fmt::Debug + 'static,
16892{
16893    fn from(
16894        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
16895    ) -> Self {
16896        match err {
16897            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16898            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16899                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16900                source: err.into(),
16901            }),
16902        }
16903    }
16904}
16905impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
16906    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
16907        match err {
16908            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
16909        }
16910    }
16911}
16912impl<R>
16913    From<
16914        ::aws_smithy_runtime_api::client::result::SdkError<
16915            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
16916            R,
16917        >,
16918    > for Error
16919where
16920    R: Send + Sync + std::fmt::Debug + 'static,
16921{
16922    fn from(
16923        err: ::aws_smithy_runtime_api::client::result::SdkError<
16924            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
16925            R,
16926        >,
16927    ) -> Self {
16928        match err {
16929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16932                source: err.into(),
16933            }),
16934        }
16935    }
16936}
16937impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
16938    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
16939        match err {
16940            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
16941        }
16942    }
16943}
16944impl<R>
16945    From<
16946        ::aws_smithy_runtime_api::client::result::SdkError<
16947            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
16948            R,
16949        >,
16950    > for Error
16951where
16952    R: Send + Sync + std::fmt::Debug + 'static,
16953{
16954    fn from(
16955        err: ::aws_smithy_runtime_api::client::result::SdkError<
16956            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
16957            R,
16958        >,
16959    ) -> Self {
16960        match err {
16961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16964                source: err.into(),
16965            }),
16966        }
16967    }
16968}
16969impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
16970    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
16971        match err {
16972            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
16973        }
16974    }
16975}
16976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
16977where
16978    R: Send + Sync + std::fmt::Debug + 'static,
16979{
16980    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
16981        match err {
16982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16983            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16984                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16985                source: err.into(),
16986            }),
16987        }
16988    }
16989}
16990impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
16991    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
16992        match err {
16993            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
16994        }
16995    }
16996}
16997impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
16998    for Error
16999where
17000    R: Send + Sync + std::fmt::Debug + 'static,
17001{
17002    fn from(
17003        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
17004    ) -> Self {
17005        match err {
17006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17009                source: err.into(),
17010            }),
17011        }
17012    }
17013}
17014impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
17015    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
17016        match err {
17017            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
17018        }
17019    }
17020}
17021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
17022    for Error
17023where
17024    R: Send + Sync + std::fmt::Debug + 'static,
17025{
17026    fn from(
17027        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
17028    ) -> Self {
17029        match err {
17030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17033                source: err.into(),
17034            }),
17035        }
17036    }
17037}
17038impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
17039    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
17040        match err {
17041            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
17042        }
17043    }
17044}
17045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
17046    for Error
17047where
17048    R: Send + Sync + std::fmt::Debug + 'static,
17049{
17050    fn from(
17051        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
17052    ) -> Self {
17053        match err {
17054            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17055            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17056                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17057                source: err.into(),
17058            }),
17059        }
17060    }
17061}
17062impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
17063    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
17064        match err {
17065            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
17066        }
17067    }
17068}
17069impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
17070where
17071    R: Send + Sync + std::fmt::Debug + 'static,
17072{
17073    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
17074        match err {
17075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17078                source: err.into(),
17079            }),
17080        }
17081    }
17082}
17083impl From<crate::operation::run_instances::RunInstancesError> for Error {
17084    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
17085        match err {
17086            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17087        }
17088    }
17089}
17090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
17091where
17092    R: Send + Sync + std::fmt::Debug + 'static,
17093{
17094    fn from(
17095        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
17096    ) -> Self {
17097        match err {
17098            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17099            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17100                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17101                source: err.into(),
17102            }),
17103        }
17104    }
17105}
17106impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
17107    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
17108        match err {
17109            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17110        }
17111    }
17112}
17113impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
17114    for Error
17115where
17116    R: Send + Sync + std::fmt::Debug + 'static,
17117{
17118    fn from(
17119        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
17120    ) -> Self {
17121        match err {
17122            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17123            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17124                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17125                source: err.into(),
17126            }),
17127        }
17128    }
17129}
17130impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
17131    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
17132        match err {
17133            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
17134        }
17135    }
17136}
17137impl<R>
17138    From<
17139        ::aws_smithy_runtime_api::client::result::SdkError<
17140            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
17141            R,
17142        >,
17143    > for Error
17144where
17145    R: Send + Sync + std::fmt::Debug + 'static,
17146{
17147    fn from(
17148        err: ::aws_smithy_runtime_api::client::result::SdkError<
17149            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
17150            R,
17151        >,
17152    ) -> Self {
17153        match err {
17154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17157                source: err.into(),
17158            }),
17159        }
17160    }
17161}
17162impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
17163    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
17164        match err {
17165            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
17166                Error::Unhandled(inner)
17167            }
17168        }
17169    }
17170}
17171impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
17172    for Error
17173where
17174    R: Send + Sync + std::fmt::Debug + 'static,
17175{
17176    fn from(
17177        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
17178    ) -> Self {
17179        match err {
17180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17183                source: err.into(),
17184            }),
17185        }
17186    }
17187}
17188impl From<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
17189    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
17190        match err {
17191            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
17192        }
17193    }
17194}
17195impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
17196    for Error
17197where
17198    R: Send + Sync + std::fmt::Debug + 'static,
17199{
17200    fn from(
17201        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
17202    ) -> Self {
17203        match err {
17204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17207                source: err.into(),
17208            }),
17209        }
17210    }
17211}
17212impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
17213    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
17214        match err {
17215            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
17216        }
17217    }
17218}
17219impl<R>
17220    From<
17221        ::aws_smithy_runtime_api::client::result::SdkError<
17222            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
17223            R,
17224        >,
17225    > for Error
17226where
17227    R: Send + Sync + std::fmt::Debug + 'static,
17228{
17229    fn from(
17230        err: ::aws_smithy_runtime_api::client::result::SdkError<
17231            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
17232            R,
17233        >,
17234    ) -> Self {
17235        match err {
17236            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17237            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17238                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17239                source: err.into(),
17240            }),
17241        }
17242    }
17243}
17244impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
17245    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
17246        match err {
17247            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
17248        }
17249    }
17250}
17251impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
17252where
17253    R: Send + Sync + std::fmt::Debug + 'static,
17254{
17255    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
17256        match err {
17257            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17258            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17259                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17260                source: err.into(),
17261            }),
17262        }
17263    }
17264}
17265impl From<crate::operation::start_instances::StartInstancesError> for Error {
17266    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
17267        match err {
17268            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17269        }
17270    }
17271}
17272impl<R>
17273    From<
17274        ::aws_smithy_runtime_api::client::result::SdkError<
17275            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
17276            R,
17277        >,
17278    > for Error
17279where
17280    R: Send + Sync + std::fmt::Debug + 'static,
17281{
17282    fn from(
17283        err: ::aws_smithy_runtime_api::client::result::SdkError<
17284            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
17285            R,
17286        >,
17287    ) -> Self {
17288        match err {
17289            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17290            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17291                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17292                source: err.into(),
17293            }),
17294        }
17295    }
17296}
17297impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
17298    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
17299        match err {
17300            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
17301                Error::Unhandled(inner)
17302            }
17303        }
17304    }
17305}
17306impl<R>
17307    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
17308    for Error
17309where
17310    R: Send + Sync + std::fmt::Debug + 'static,
17311{
17312    fn from(
17313        err: ::aws_smithy_runtime_api::client::result::SdkError<
17314            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
17315            R,
17316        >,
17317    ) -> Self {
17318        match err {
17319            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17320            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17321                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17322                source: err.into(),
17323            }),
17324        }
17325    }
17326}
17327impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
17328    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
17329        match err {
17330            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
17331        }
17332    }
17333}
17334impl<R>
17335    From<
17336        ::aws_smithy_runtime_api::client::result::SdkError<
17337            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
17338            R,
17339        >,
17340    > for Error
17341where
17342    R: Send + Sync + std::fmt::Debug + 'static,
17343{
17344    fn from(
17345        err: ::aws_smithy_runtime_api::client::result::SdkError<
17346            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
17347            R,
17348        >,
17349    ) -> Self {
17350        match err {
17351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17354                source: err.into(),
17355            }),
17356        }
17357    }
17358}
17359impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
17360    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
17361        match err {
17362            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
17363                inner,
17364            ) => Error::Unhandled(inner),
17365        }
17366    }
17367}
17368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, 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::stop_instances::StopInstancesError, 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::stop_instances::StopInstancesError> for Error {
17383    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
17384        match err {
17385            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17386        }
17387    }
17388}
17389impl<R>
17390    From<
17391        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
17392    > for Error
17393where
17394    R: Send + Sync + std::fmt::Debug + 'static,
17395{
17396    fn from(
17397        err: ::aws_smithy_runtime_api::client::result::SdkError<
17398            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
17399            R,
17400        >,
17401    ) -> Self {
17402        match err {
17403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17406                source: err.into(),
17407            }),
17408        }
17409    }
17410}
17411impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
17412    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
17413        match err {
17414            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
17415        }
17416    }
17417}
17418impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
17419where
17420    R: Send + Sync + std::fmt::Debug + 'static,
17421{
17422    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
17423        match err {
17424            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17425            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17426                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17427                source: err.into(),
17428            }),
17429        }
17430    }
17431}
17432impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
17433    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
17434        match err {
17435            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17436        }
17437    }
17438}
17439impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
17440where
17441    R: Send + Sync + std::fmt::Debug + 'static,
17442{
17443    fn from(
17444        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
17445    ) -> Self {
17446        match err {
17447            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17448            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17449                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17450                source: err.into(),
17451            }),
17452        }
17453    }
17454}
17455impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
17456    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
17457        match err {
17458            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
17459        }
17460    }
17461}
17462impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
17463    for Error
17464where
17465    R: Send + Sync + std::fmt::Debug + 'static,
17466{
17467    fn from(
17468        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
17469    ) -> Self {
17470        match err {
17471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17474                source: err.into(),
17475            }),
17476        }
17477    }
17478}
17479impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
17480    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
17481        match err {
17482            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
17483        }
17484    }
17485}
17486impl<R>
17487    From<
17488        ::aws_smithy_runtime_api::client::result::SdkError<
17489            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
17490            R,
17491        >,
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<
17498            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
17499            R,
17500        >,
17501    ) -> Self {
17502        match err {
17503            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17504            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17505                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17506                source: err.into(),
17507            }),
17508        }
17509    }
17510}
17511impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
17512    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
17513        match err {
17514            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
17515                Error::Unhandled(inner)
17516            }
17517        }
17518    }
17519}
17520impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
17521where
17522    R: Send + Sync + std::fmt::Debug + 'static,
17523{
17524    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
17525        match err {
17526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17529                source: err.into(),
17530            }),
17531        }
17532    }
17533}
17534impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
17535    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
17536        match err {
17537            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
17538        }
17539    }
17540}
17541impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
17542where
17543    R: Send + Sync + std::fmt::Debug + 'static,
17544{
17545    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> Self {
17546        match err {
17547            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17548            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17549                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17550                source: err.into(),
17551            }),
17552        }
17553    }
17554}
17555impl From<crate::operation::unmonitor_instances::UnmonitorInstancesError> for Error {
17556    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
17557        match err {
17558            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17559        }
17560    }
17561}
17562impl<R>
17563    From<
17564        ::aws_smithy_runtime_api::client::result::SdkError<
17565            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
17566            R,
17567        >,
17568    > for Error
17569where
17570    R: Send + Sync + std::fmt::Debug + 'static,
17571{
17572    fn from(
17573        err: ::aws_smithy_runtime_api::client::result::SdkError<
17574            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
17575            R,
17576        >,
17577    ) -> Self {
17578        match err {
17579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17582                source: err.into(),
17583            }),
17584        }
17585    }
17586}
17587impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
17588    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
17589        match err {
17590            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
17591                Error::Unhandled(inner)
17592            }
17593        }
17594    }
17595}
17596impl<R>
17597    From<
17598        ::aws_smithy_runtime_api::client::result::SdkError<
17599            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
17600            R,
17601        >,
17602    > for Error
17603where
17604    R: Send + Sync + std::fmt::Debug + 'static,
17605{
17606    fn from(
17607        err: ::aws_smithy_runtime_api::client::result::SdkError<
17608            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
17609            R,
17610        >,
17611    ) -> Self {
17612        match err {
17613            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17614            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17615                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17616                source: err.into(),
17617            }),
17618        }
17619    }
17620}
17621impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
17622    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
17623        match err {
17624            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
17625                Error::Unhandled(inner)
17626            }
17627        }
17628    }
17629}
17630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
17631where
17632    R: Send + Sync + std::fmt::Debug + 'static,
17633{
17634    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
17635        match err {
17636            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17637            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17638                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17639                source: err.into(),
17640            }),
17641        }
17642    }
17643}
17644impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
17645    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
17646        match err {
17647            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
17648        }
17649    }
17650}
17651impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
17652where
17653    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
17654    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
17655{
17656    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
17657        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17658            meta: ::std::default::Default::default(),
17659            source: err.into(),
17660        })
17661    }
17662}
17663impl ::std::error::Error for Error {
17664    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
17665        match self {
17666            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
17667        }
17668    }
17669}
17670impl ::aws_types::request_id::RequestId for Error {
17671    fn request_id(&self) -> Option<&str> {
17672        match self {
17673            Self::Unhandled(e) => e.meta.request_id(),
17674        }
17675    }
17676}