aws_sdk_ec2/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
7    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
8    variable wildcard pattern and check `.code()`:
9     \
10       `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
11     \
12    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
13    Unhandled(crate::error::sealed_unhandled::Unhandled),
14}
15impl ::std::fmt::Display for Error {
16    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
17        match self {
18            Error::Unhandled(_) => {
19                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
20                    write!(f, "unhandled error ({code})")
21                } else {
22                    f.write_str("unhandled error")
23                }
24            }
25        }
26    }
27}
28impl From<::aws_smithy_types::error::operation::BuildError> for Error {
29    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
30        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
31            source: value.into(),
32            meta: ::std::default::Default::default(),
33        })
34    }
35}
36impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
37    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
38        match self {
39            Self::Unhandled(inner) => &inner.meta,
40        }
41    }
42}
43impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>> for Error
44where
45    R: Send + Sync + std::fmt::Debug + 'static,
46{
47    fn from(
48        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>,
49    ) -> Self {
50        match err {
51            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
52            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
53                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
54                source: err.into(),
55            }),
56        }
57    }
58}
59impl From<crate::operation::accept_address_transfer::AcceptAddressTransferError> for Error {
60    fn from(err: crate::operation::accept_address_transfer::AcceptAddressTransferError) -> Self {
61        match err {
62            crate::operation::accept_address_transfer::AcceptAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
63        }
64    }
65}
66impl<R>
67    From<
68        ::aws_smithy_runtime_api::client::result::SdkError<
69            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
70            R,
71        >,
72    > for Error
73where
74    R: Send + Sync + std::fmt::Debug + 'static,
75{
76    fn from(
77        err: ::aws_smithy_runtime_api::client::result::SdkError<
78            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
79            R,
80        >,
81    ) -> Self {
82        match err {
83            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
84            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
85                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
86                source: err.into(),
87            }),
88        }
89    }
90}
91impl From<crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError> for Error {
92    fn from(err: crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError) -> Self {
93        match err {
94            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError::Unhandled(inner) => {
95                Error::Unhandled(inner)
96            }
97        }
98    }
99}
100impl<R>
101    From<
102        ::aws_smithy_runtime_api::client::result::SdkError<
103            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
104            R,
105        >,
106    > for Error
107where
108    R: Send + Sync + std::fmt::Debug + 'static,
109{
110    fn from(
111        err: ::aws_smithy_runtime_api::client::result::SdkError<
112            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
113            R,
114        >,
115    ) -> Self {
116        match err {
117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
120                source: err.into(),
121            }),
122        }
123    }
124}
125impl From<crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError> for Error {
126    fn from(err: crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError) -> Self {
127        match err {
128            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError::Unhandled(inner) => {
129                Error::Unhandled(inner)
130            }
131        }
132    }
133}
134impl<R>
135    From<
136        ::aws_smithy_runtime_api::client::result::SdkError<
137            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
138            R,
139        >,
140    > for Error
141where
142    R: Send + Sync + std::fmt::Debug + 'static,
143{
144    fn from(
145        err: ::aws_smithy_runtime_api::client::result::SdkError<
146            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
147            R,
148        >,
149    ) -> Self {
150        match err {
151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
154                source: err.into(),
155            }),
156        }
157    }
158}
159impl From<crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError> for Error {
160    fn from(
161        err: crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
162    ) -> Self {
163        match err {
164            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
165        }
166    }
167}
168impl<R>
169    From<
170        ::aws_smithy_runtime_api::client::result::SdkError<
171            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
172            R,
173        >,
174    > for Error
175where
176    R: Send + Sync + std::fmt::Debug + 'static,
177{
178    fn from(
179        err: ::aws_smithy_runtime_api::client::result::SdkError<
180            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
181            R,
182        >,
183    ) -> Self {
184        match err {
185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
188                source: err.into(),
189            }),
190        }
191    }
192}
193impl From<crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError> for Error {
194    fn from(err: crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError) -> Self {
195        match err {
196            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
197                Error::Unhandled(inner)
198            }
199        }
200    }
201}
202impl<R>
203    From<
204        ::aws_smithy_runtime_api::client::result::SdkError<
205            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
206            R,
207        >,
208    > for Error
209where
210    R: Send + Sync + std::fmt::Debug + 'static,
211{
212    fn from(
213        err: ::aws_smithy_runtime_api::client::result::SdkError<
214            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
215            R,
216        >,
217    ) -> Self {
218        match err {
219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
222                source: err.into(),
223            }),
224        }
225    }
226}
227impl From<crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError> for Error {
228    fn from(err: crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError) -> Self {
229        match err {
230            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError::Unhandled(inner) => {
231                Error::Unhandled(inner)
232            }
233        }
234    }
235}
236impl<R>
237    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError, R>>
238    for Error
239where
240    R: Send + Sync + std::fmt::Debug + 'static,
241{
242    fn from(
243        err: ::aws_smithy_runtime_api::client::result::SdkError<
244            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError,
245            R,
246        >,
247    ) -> Self {
248        match err {
249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
252                source: err.into(),
253            }),
254        }
255    }
256}
257impl From<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError> for Error {
258    fn from(err: crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError) -> Self {
259        match err {
260            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
261        }
262    }
263}
264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>>
265    for Error
266where
267    R: Send + Sync + std::fmt::Debug + 'static,
268{
269    fn from(
270        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>,
271    ) -> Self {
272        match err {
273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
276                source: err.into(),
277            }),
278        }
279    }
280}
281impl From<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError> for Error {
282    fn from(err: crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError) -> Self {
283        match err {
284            crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
285        }
286    }
287}
288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>> for Error
289where
290    R: Send + Sync + std::fmt::Debug + 'static,
291{
292    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>) -> Self {
293        match err {
294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
297                source: err.into(),
298            }),
299        }
300    }
301}
302impl From<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError> for Error {
303    fn from(err: crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError) -> Self {
304        match err {
305            crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
306        }
307    }
308}
309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>> for Error
310where
311    R: Send + Sync + std::fmt::Debug + 'static,
312{
313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>) -> Self {
314        match err {
315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
318                source: err.into(),
319            }),
320        }
321    }
322}
323impl From<crate::operation::allocate_address::AllocateAddressError> for Error {
324    fn from(err: crate::operation::allocate_address::AllocateAddressError) -> Self {
325        match err {
326            crate::operation::allocate_address::AllocateAddressError::Unhandled(inner) => Error::Unhandled(inner),
327        }
328    }
329}
330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>> for Error
331where
332    R: Send + Sync + std::fmt::Debug + 'static,
333{
334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>) -> Self {
335        match err {
336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
339                source: err.into(),
340            }),
341        }
342    }
343}
344impl From<crate::operation::allocate_hosts::AllocateHostsError> for Error {
345    fn from(err: crate::operation::allocate_hosts::AllocateHostsError) -> Self {
346        match err {
347            crate::operation::allocate_hosts::AllocateHostsError::Unhandled(inner) => Error::Unhandled(inner),
348        }
349    }
350}
351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>> for Error
352where
353    R: Send + Sync + std::fmt::Debug + 'static,
354{
355    fn from(
356        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>,
357    ) -> Self {
358        match err {
359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
362                source: err.into(),
363            }),
364        }
365    }
366}
367impl From<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError> for Error {
368    fn from(err: crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError) -> Self {
369        match err {
370            crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
371        }
372    }
373}
374impl<R>
375    From<
376        ::aws_smithy_runtime_api::client::result::SdkError<
377            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
378            R,
379        >,
380    > for Error
381where
382    R: Send + Sync + std::fmt::Debug + 'static,
383{
384    fn from(
385        err: ::aws_smithy_runtime_api::client::result::SdkError<
386            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
387            R,
388        >,
389    ) -> Self {
390        match err {
391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
394                source: err.into(),
395            }),
396        }
397    }
398}
399impl From<crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError> for Error {
400    fn from(err: crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError) -> Self {
401        match err {
402            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError::Unhandled(
403                inner,
404            ) => Error::Unhandled(inner),
405        }
406    }
407}
408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>> for Error
409where
410    R: Send + Sync + std::fmt::Debug + 'static,
411{
412    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>) -> Self {
413        match err {
414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
417                source: err.into(),
418            }),
419        }
420    }
421}
422impl From<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError> for Error {
423    fn from(err: crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError) -> Self {
424        match err {
425            crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
426        }
427    }
428}
429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>>
430    for Error
431where
432    R: Send + Sync + std::fmt::Debug + 'static,
433{
434    fn from(
435        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>,
436    ) -> Self {
437        match err {
438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
441                source: err.into(),
442            }),
443        }
444    }
445}
446impl From<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError> for Error {
447    fn from(err: crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError) -> Self {
448        match err {
449            crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
450        }
451    }
452}
453impl<R>
454    From<
455        ::aws_smithy_runtime_api::client::result::SdkError<
456            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
457            R,
458        >,
459    > for Error
460where
461    R: Send + Sync + std::fmt::Debug + 'static,
462{
463    fn from(
464        err: ::aws_smithy_runtime_api::client::result::SdkError<
465            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
466            R,
467        >,
468    ) -> Self {
469        match err {
470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
473                source: err.into(),
474            }),
475        }
476    }
477}
478impl From<crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError> for Error {
479    fn from(err: crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError) -> Self {
480        match err {
481            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
482        }
483    }
484}
485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>> for Error
486where
487    R: Send + Sync + std::fmt::Debug + 'static,
488{
489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>) -> Self {
490        match err {
491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
494                source: err.into(),
495            }),
496        }
497    }
498}
499impl From<crate::operation::associate_address::AssociateAddressError> for Error {
500    fn from(err: crate::operation::associate_address::AssociateAddressError) -> Self {
501        match err {
502            crate::operation::associate_address::AssociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
503        }
504    }
505}
506impl<R>
507    From<
508        ::aws_smithy_runtime_api::client::result::SdkError<
509            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
510            R,
511        >,
512    > for Error
513where
514    R: Send + Sync + std::fmt::Debug + 'static,
515{
516    fn from(
517        err: ::aws_smithy_runtime_api::client::result::SdkError<
518            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
519            R,
520        >,
521    ) -> Self {
522        match err {
523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
526                source: err.into(),
527            }),
528        }
529    }
530}
531impl From<crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError> for Error {
532    fn from(err: crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError) -> Self {
533        match err {
534            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
535                Error::Unhandled(inner)
536            }
537        }
538    }
539}
540impl<R>
541    From<
542        ::aws_smithy_runtime_api::client::result::SdkError<
543            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
544            R,
545        >,
546    > for Error
547where
548    R: Send + Sync + std::fmt::Debug + 'static,
549{
550    fn from(
551        err: ::aws_smithy_runtime_api::client::result::SdkError<
552            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
553            R,
554        >,
555    ) -> Self {
556        match err {
557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
560                source: err.into(),
561            }),
562        }
563    }
564}
565impl From<crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError> for Error {
566    fn from(err: crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError) -> Self {
567        match err {
568            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError::Unhandled(inner) => Error::Unhandled(inner),
569        }
570    }
571}
572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>> for Error
573where
574    R: Send + Sync + std::fmt::Debug + 'static,
575{
576    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>) -> Self {
577        match err {
578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
581                source: err.into(),
582            }),
583        }
584    }
585}
586impl From<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError> for Error {
587    fn from(err: crate::operation::associate_dhcp_options::AssociateDhcpOptionsError) -> Self {
588        match err {
589            crate::operation::associate_dhcp_options::AssociateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
590        }
591    }
592}
593impl<R>
594    From<
595        ::aws_smithy_runtime_api::client::result::SdkError<
596            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
597            R,
598        >,
599    > for Error
600where
601    R: Send + Sync + std::fmt::Debug + 'static,
602{
603    fn from(
604        err: ::aws_smithy_runtime_api::client::result::SdkError<
605            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
606            R,
607        >,
608    ) -> Self {
609        match err {
610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
613                source: err.into(),
614            }),
615        }
616    }
617}
618impl From<crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError> for Error {
619    fn from(err: crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError) -> Self {
620        match err {
621            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
622                Error::Unhandled(inner)
623            }
624        }
625    }
626}
627impl<R>
628    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError, R>>
629    for Error
630where
631    R: Send + Sync + std::fmt::Debug + 'static,
632{
633    fn from(
634        err: ::aws_smithy_runtime_api::client::result::SdkError<
635            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError,
636            R,
637        >,
638    ) -> Self {
639        match err {
640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
643                source: err.into(),
644            }),
645        }
646    }
647}
648impl From<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError> for Error {
649    fn from(err: crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError) -> Self {
650        match err {
651            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
652        }
653    }
654}
655impl<R>
656    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError, R>>
657    for Error
658where
659    R: Send + Sync + std::fmt::Debug + 'static,
660{
661    fn from(
662        err: ::aws_smithy_runtime_api::client::result::SdkError<
663            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError,
664            R,
665        >,
666    ) -> Self {
667        match err {
668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
671                source: err.into(),
672            }),
673        }
674    }
675}
676impl From<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError> for Error {
677    fn from(err: crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError) -> Self {
678        match err {
679            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
680        }
681    }
682}
683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>> for Error
684where
685    R: Send + Sync + std::fmt::Debug + 'static,
686{
687    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>) -> Self {
688        match err {
689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
692                source: err.into(),
693            }),
694        }
695    }
696}
697impl From<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError> for Error {
698    fn from(err: crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError) -> Self {
699        match err {
700            crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
701        }
702    }
703}
704impl<R>
705    From<
706        ::aws_smithy_runtime_api::client::result::SdkError<
707            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
708            R,
709        >,
710    > for Error
711where
712    R: Send + Sync + std::fmt::Debug + 'static,
713{
714    fn from(
715        err: ::aws_smithy_runtime_api::client::result::SdkError<
716            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
717            R,
718        >,
719    ) -> Self {
720        match err {
721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
724                source: err.into(),
725            }),
726        }
727    }
728}
729impl From<crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError> for Error {
730    fn from(err: crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError) -> Self {
731        match err {
732            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
733        }
734    }
735}
736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>>
737    for Error
738where
739    R: Send + Sync + std::fmt::Debug + 'static,
740{
741    fn from(
742        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>,
743    ) -> Self {
744        match err {
745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
748                source: err.into(),
749            }),
750        }
751    }
752}
753impl From<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError> for Error {
754    fn from(err: crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError) -> Self {
755        match err {
756            crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
757        }
758    }
759}
760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>> for Error
761where
762    R: Send + Sync + std::fmt::Debug + 'static,
763{
764    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>) -> Self {
765        match err {
766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
769                source: err.into(),
770            }),
771        }
772    }
773}
774impl From<crate::operation::associate_route_server::AssociateRouteServerError> for Error {
775    fn from(err: crate::operation::associate_route_server::AssociateRouteServerError) -> Self {
776        match err {
777            crate::operation::associate_route_server::AssociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
778        }
779    }
780}
781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>> for Error
782where
783    R: Send + Sync + std::fmt::Debug + 'static,
784{
785    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>) -> Self {
786        match err {
787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
790                source: err.into(),
791            }),
792        }
793    }
794}
795impl From<crate::operation::associate_route_table::AssociateRouteTableError> for Error {
796    fn from(err: crate::operation::associate_route_table::AssociateRouteTableError) -> Self {
797        match err {
798            crate::operation::associate_route_table::AssociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
799        }
800    }
801}
802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>>
803    for Error
804where
805    R: Send + Sync + std::fmt::Debug + 'static,
806{
807    fn from(
808        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>,
809    ) -> Self {
810        match err {
811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
814                source: err.into(),
815            }),
816        }
817    }
818}
819impl From<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError> for Error {
820    fn from(err: crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError) -> Self {
821        match err {
822            crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
823        }
824    }
825}
826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>>
827    for Error
828where
829    R: Send + Sync + std::fmt::Debug + 'static,
830{
831    fn from(
832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>,
833    ) -> Self {
834        match err {
835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
838                source: err.into(),
839            }),
840        }
841    }
842}
843impl From<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError> for Error {
844    fn from(err: crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError) -> Self {
845        match err {
846            crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
847        }
848    }
849}
850impl<R>
851    From<
852        ::aws_smithy_runtime_api::client::result::SdkError<
853            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
854            R,
855        >,
856    > for Error
857where
858    R: Send + Sync + std::fmt::Debug + 'static,
859{
860    fn from(
861        err: ::aws_smithy_runtime_api::client::result::SdkError<
862            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
863            R,
864        >,
865    ) -> Self {
866        match err {
867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
870                source: err.into(),
871            }),
872        }
873    }
874}
875impl From<crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError> for Error {
876    fn from(err: crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError) -> Self {
877        match err {
878            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
879                Error::Unhandled(inner)
880            }
881        }
882    }
883}
884impl<R>
885    From<
886        ::aws_smithy_runtime_api::client::result::SdkError<
887            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
888            R,
889        >,
890    > for Error
891where
892    R: Send + Sync + std::fmt::Debug + 'static,
893{
894    fn from(
895        err: ::aws_smithy_runtime_api::client::result::SdkError<
896            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
897            R,
898        >,
899    ) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError> for Error {
910    fn from(err: crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError) -> Self {
911        match err {
912            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError::Unhandled(inner) => {
913                Error::Unhandled(inner)
914            }
915        }
916    }
917}
918impl<R>
919    From<
920        ::aws_smithy_runtime_api::client::result::SdkError<
921            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
922            R,
923        >,
924    > for Error
925where
926    R: Send + Sync + std::fmt::Debug + 'static,
927{
928    fn from(
929        err: ::aws_smithy_runtime_api::client::result::SdkError<
930            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
931            R,
932        >,
933    ) -> Self {
934        match err {
935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
938                source: err.into(),
939            }),
940        }
941    }
942}
943impl From<crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError> for Error {
944    fn from(err: crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError) -> Self {
945        match err {
946            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError::Unhandled(inner) => {
947                Error::Unhandled(inner)
948            }
949        }
950    }
951}
952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>>
953    for Error
954where
955    R: Send + Sync + std::fmt::Debug + 'static,
956{
957    fn from(
958        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>,
959    ) -> Self {
960        match err {
961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
964                source: err.into(),
965            }),
966        }
967    }
968}
969impl From<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError> for Error {
970    fn from(err: crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError) -> Self {
971        match err {
972            crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
973        }
974    }
975}
976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>> for Error
977where
978    R: Send + Sync + std::fmt::Debug + 'static,
979{
980    fn from(
981        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>,
982    ) -> Self {
983        match err {
984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
987                source: err.into(),
988            }),
989        }
990    }
991}
992impl From<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError> for Error {
993    fn from(err: crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError) -> Self {
994        match err {
995            crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
996        }
997    }
998}
999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>> for Error
1000where
1001    R: Send + Sync + std::fmt::Debug + 'static,
1002{
1003    fn from(
1004        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>,
1005    ) -> Self {
1006        match err {
1007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1010                source: err.into(),
1011            }),
1012        }
1013    }
1014}
1015impl From<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError> for Error {
1016    fn from(err: crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError) -> Self {
1017        match err {
1018            crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
1019        }
1020    }
1021}
1022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>> for Error
1023where
1024    R: Send + Sync + std::fmt::Debug + 'static,
1025{
1026    fn from(
1027        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>,
1028    ) -> Self {
1029        match err {
1030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1033                source: err.into(),
1034            }),
1035        }
1036    }
1037}
1038impl From<crate::operation::attach_internet_gateway::AttachInternetGatewayError> for Error {
1039    fn from(err: crate::operation::attach_internet_gateway::AttachInternetGatewayError) -> Self {
1040        match err {
1041            crate::operation::attach_internet_gateway::AttachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1042        }
1043    }
1044}
1045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>> for Error
1046where
1047    R: Send + Sync + std::fmt::Debug + 'static,
1048{
1049    fn from(
1050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>,
1051    ) -> Self {
1052        match err {
1053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1056                source: err.into(),
1057            }),
1058        }
1059    }
1060}
1061impl From<crate::operation::attach_network_interface::AttachNetworkInterfaceError> for Error {
1062    fn from(err: crate::operation::attach_network_interface::AttachNetworkInterfaceError) -> Self {
1063        match err {
1064            crate::operation::attach_network_interface::AttachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
1065        }
1066    }
1067}
1068impl<R>
1069    From<
1070        ::aws_smithy_runtime_api::client::result::SdkError<
1071            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1072            R,
1073        >,
1074    > for Error
1075where
1076    R: Send + Sync + std::fmt::Debug + 'static,
1077{
1078    fn from(
1079        err: ::aws_smithy_runtime_api::client::result::SdkError<
1080            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1081            R,
1082        >,
1083    ) -> Self {
1084        match err {
1085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1088                source: err.into(),
1089            }),
1090        }
1091    }
1092}
1093impl From<crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError> for Error {
1094    fn from(err: crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError) -> Self {
1095        match err {
1096            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError::Unhandled(inner) => {
1097                Error::Unhandled(inner)
1098            }
1099        }
1100    }
1101}
1102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>> for Error
1103where
1104    R: Send + Sync + std::fmt::Debug + 'static,
1105{
1106    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>) -> Self {
1107        match err {
1108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1111                source: err.into(),
1112            }),
1113        }
1114    }
1115}
1116impl From<crate::operation::attach_volume::AttachVolumeError> for Error {
1117    fn from(err: crate::operation::attach_volume::AttachVolumeError) -> Self {
1118        match err {
1119            crate::operation::attach_volume::AttachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
1120        }
1121    }
1122}
1123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>> for Error
1124where
1125    R: Send + Sync + std::fmt::Debug + 'static,
1126{
1127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>) -> Self {
1128        match err {
1129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1132                source: err.into(),
1133            }),
1134        }
1135    }
1136}
1137impl From<crate::operation::attach_vpn_gateway::AttachVpnGatewayError> for Error {
1138    fn from(err: crate::operation::attach_vpn_gateway::AttachVpnGatewayError) -> Self {
1139        match err {
1140            crate::operation::attach_vpn_gateway::AttachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1141        }
1142    }
1143}
1144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>>
1145    for Error
1146where
1147    R: Send + Sync + std::fmt::Debug + 'static,
1148{
1149    fn from(
1150        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>,
1151    ) -> Self {
1152        match err {
1153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1156                source: err.into(),
1157            }),
1158        }
1159    }
1160}
1161impl From<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError> for Error {
1162    fn from(err: crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError) -> Self {
1163        match err {
1164            crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
1165        }
1166    }
1167}
1168impl<R>
1169    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError, R>>
1170    for Error
1171where
1172    R: Send + Sync + std::fmt::Debug + 'static,
1173{
1174    fn from(
1175        err: ::aws_smithy_runtime_api::client::result::SdkError<
1176            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError,
1177            R,
1178        >,
1179    ) -> Self {
1180        match err {
1181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1184                source: err.into(),
1185            }),
1186        }
1187    }
1188}
1189impl From<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError> for Error {
1190    fn from(err: crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError) -> Self {
1191        match err {
1192            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
1193        }
1194    }
1195}
1196impl<R>
1197    From<
1198        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError, R>,
1199    > for Error
1200where
1201    R: Send + Sync + std::fmt::Debug + 'static,
1202{
1203    fn from(
1204        err: ::aws_smithy_runtime_api::client::result::SdkError<
1205            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError,
1206            R,
1207        >,
1208    ) -> Self {
1209        match err {
1210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1213                source: err.into(),
1214            }),
1215        }
1216    }
1217}
1218impl From<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError> for Error {
1219    fn from(err: crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError) -> Self {
1220        match err {
1221            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
1222        }
1223    }
1224}
1225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>> for Error
1226where
1227    R: Send + Sync + std::fmt::Debug + 'static,
1228{
1229    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>) -> Self {
1230        match err {
1231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1234                source: err.into(),
1235            }),
1236        }
1237    }
1238}
1239impl From<crate::operation::bundle_instance::BundleInstanceError> for Error {
1240    fn from(err: crate::operation::bundle_instance::BundleInstanceError) -> Self {
1241        match err {
1242            crate::operation::bundle_instance::BundleInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1243        }
1244    }
1245}
1246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>> for Error
1247where
1248    R: Send + Sync + std::fmt::Debug + 'static,
1249{
1250    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>) -> Self {
1251        match err {
1252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1255                source: err.into(),
1256            }),
1257        }
1258    }
1259}
1260impl From<crate::operation::cancel_bundle_task::CancelBundleTaskError> for Error {
1261    fn from(err: crate::operation::cancel_bundle_task::CancelBundleTaskError) -> Self {
1262        match err {
1263            crate::operation::cancel_bundle_task::CancelBundleTaskError::Unhandled(inner) => Error::Unhandled(inner),
1264        }
1265    }
1266}
1267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>>
1268    for Error
1269where
1270    R: Send + Sync + std::fmt::Debug + 'static,
1271{
1272    fn from(
1273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>,
1274    ) -> Self {
1275        match err {
1276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1279                source: err.into(),
1280            }),
1281        }
1282    }
1283}
1284impl From<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError> for Error {
1285    fn from(err: crate::operation::cancel_capacity_reservation::CancelCapacityReservationError) -> Self {
1286        match err {
1287            crate::operation::cancel_capacity_reservation::CancelCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1288        }
1289    }
1290}
1291impl<R>
1292    From<
1293        ::aws_smithy_runtime_api::client::result::SdkError<
1294            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1295            R,
1296        >,
1297    > for Error
1298where
1299    R: Send + Sync + std::fmt::Debug + 'static,
1300{
1301    fn from(
1302        err: ::aws_smithy_runtime_api::client::result::SdkError<
1303            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1304            R,
1305        >,
1306    ) -> Self {
1307        match err {
1308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1311                source: err.into(),
1312            }),
1313        }
1314    }
1315}
1316impl From<crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError> for Error {
1317    fn from(err: crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError) -> Self {
1318        match err {
1319            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError::Unhandled(inner) => Error::Unhandled(inner),
1320        }
1321    }
1322}
1323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>> for Error
1324where
1325    R: Send + Sync + std::fmt::Debug + 'static,
1326{
1327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>) -> Self {
1328        match err {
1329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1332                source: err.into(),
1333            }),
1334        }
1335    }
1336}
1337impl From<crate::operation::cancel_conversion_task::CancelConversionTaskError> for Error {
1338    fn from(err: crate::operation::cancel_conversion_task::CancelConversionTaskError) -> Self {
1339        match err {
1340            crate::operation::cancel_conversion_task::CancelConversionTaskError::Unhandled(inner) => Error::Unhandled(inner),
1341        }
1342    }
1343}
1344impl<R>
1345    From<
1346        ::aws_smithy_runtime_api::client::result::SdkError<
1347            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1348            R,
1349        >,
1350    > for Error
1351where
1352    R: Send + Sync + std::fmt::Debug + 'static,
1353{
1354    fn from(
1355        err: ::aws_smithy_runtime_api::client::result::SdkError<
1356            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1357            R,
1358        >,
1359    ) -> Self {
1360        match err {
1361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1364                source: err.into(),
1365            }),
1366        }
1367    }
1368}
1369impl From<crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError> for Error {
1370    fn from(err: crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError) -> Self {
1371        match err {
1372            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
1373        }
1374    }
1375}
1376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>> for Error
1377where
1378    R: Send + Sync + std::fmt::Debug + 'static,
1379{
1380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>) -> Self {
1381        match err {
1382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1385                source: err.into(),
1386            }),
1387        }
1388    }
1389}
1390impl From<crate::operation::cancel_export_task::CancelExportTaskError> for Error {
1391    fn from(err: crate::operation::cancel_export_task::CancelExportTaskError) -> Self {
1392        match err {
1393            crate::operation::cancel_export_task::CancelExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1394        }
1395    }
1396}
1397impl<R>
1398    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError, R>>
1399    for Error
1400where
1401    R: Send + Sync + std::fmt::Debug + 'static,
1402{
1403    fn from(
1404        err: ::aws_smithy_runtime_api::client::result::SdkError<
1405            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError,
1406            R,
1407        >,
1408    ) -> Self {
1409        match err {
1410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1413                source: err.into(),
1414            }),
1415        }
1416    }
1417}
1418impl From<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError> for Error {
1419    fn from(err: crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError) -> Self {
1420        match err {
1421            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError::Unhandled(inner) => Error::Unhandled(inner),
1422        }
1423    }
1424}
1425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>> for Error
1426where
1427    R: Send + Sync + std::fmt::Debug + 'static,
1428{
1429    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>) -> Self {
1430        match err {
1431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1434                source: err.into(),
1435            }),
1436        }
1437    }
1438}
1439impl From<crate::operation::cancel_import_task::CancelImportTaskError> for Error {
1440    fn from(err: crate::operation::cancel_import_task::CancelImportTaskError) -> Self {
1441        match err {
1442            crate::operation::cancel_import_task::CancelImportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1443        }
1444    }
1445}
1446impl<R>
1447    From<
1448        ::aws_smithy_runtime_api::client::result::SdkError<
1449            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1450            R,
1451        >,
1452    > for Error
1453where
1454    R: Send + Sync + std::fmt::Debug + 'static,
1455{
1456    fn from(
1457        err: ::aws_smithy_runtime_api::client::result::SdkError<
1458            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1459            R,
1460        >,
1461    ) -> Self {
1462        match err {
1463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1466                source: err.into(),
1467            }),
1468        }
1469    }
1470}
1471impl From<crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError> for Error {
1472    fn from(err: crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError) -> Self {
1473        match err {
1474            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
1475        }
1476    }
1477}
1478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>>
1479    for Error
1480where
1481    R: Send + Sync + std::fmt::Debug + 'static,
1482{
1483    fn from(
1484        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>,
1485    ) -> Self {
1486        match err {
1487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1490                source: err.into(),
1491            }),
1492        }
1493    }
1494}
1495impl From<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError> for Error {
1496    fn from(err: crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError) -> Self {
1497        match err {
1498            crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1499        }
1500    }
1501}
1502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>>
1503    for Error
1504where
1505    R: Send + Sync + std::fmt::Debug + 'static,
1506{
1507    fn from(
1508        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>,
1509    ) -> Self {
1510        match err {
1511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1514                source: err.into(),
1515            }),
1516        }
1517    }
1518}
1519impl From<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError> for Error {
1520    fn from(err: crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError) -> Self {
1521        match err {
1522            crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1523        }
1524    }
1525}
1526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>> for Error
1527where
1528    R: Send + Sync + std::fmt::Debug + 'static,
1529{
1530    fn from(
1531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>,
1532    ) -> Self {
1533        match err {
1534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1537                source: err.into(),
1538            }),
1539        }
1540    }
1541}
1542impl From<crate::operation::confirm_product_instance::ConfirmProductInstanceError> for Error {
1543    fn from(err: crate::operation::confirm_product_instance::ConfirmProductInstanceError) -> Self {
1544        match err {
1545            crate::operation::confirm_product_instance::ConfirmProductInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1546        }
1547    }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>> for Error
1550where
1551    R: Send + Sync + std::fmt::Debug + 'static,
1552{
1553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>) -> Self {
1554        match err {
1555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1558                source: err.into(),
1559            }),
1560        }
1561    }
1562}
1563impl From<crate::operation::copy_fpga_image::CopyFpgaImageError> for Error {
1564    fn from(err: crate::operation::copy_fpga_image::CopyFpgaImageError) -> Self {
1565        match err {
1566            crate::operation::copy_fpga_image::CopyFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
1567        }
1568    }
1569}
1570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>> for Error
1571where
1572    R: Send + Sync + std::fmt::Debug + 'static,
1573{
1574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>) -> Self {
1575        match err {
1576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1579                source: err.into(),
1580            }),
1581        }
1582    }
1583}
1584impl From<crate::operation::copy_image::CopyImageError> for Error {
1585    fn from(err: crate::operation::copy_image::CopyImageError) -> Self {
1586        match err {
1587            crate::operation::copy_image::CopyImageError::Unhandled(inner) => Error::Unhandled(inner),
1588        }
1589    }
1590}
1591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>> for Error
1592where
1593    R: Send + Sync + std::fmt::Debug + 'static,
1594{
1595    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>) -> Self {
1596        match err {
1597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1600                source: err.into(),
1601            }),
1602        }
1603    }
1604}
1605impl From<crate::operation::copy_snapshot::CopySnapshotError> for Error {
1606    fn from(err: crate::operation::copy_snapshot::CopySnapshotError) -> Self {
1607        match err {
1608            crate::operation::copy_snapshot::CopySnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1609        }
1610    }
1611}
1612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>>
1613    for Error
1614where
1615    R: Send + Sync + std::fmt::Debug + 'static,
1616{
1617    fn from(
1618        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>,
1619    ) -> Self {
1620        match err {
1621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1624                source: err.into(),
1625            }),
1626        }
1627    }
1628}
1629impl From<crate::operation::create_capacity_reservation::CreateCapacityReservationError> for Error {
1630    fn from(err: crate::operation::create_capacity_reservation::CreateCapacityReservationError) -> Self {
1631        match err {
1632            crate::operation::create_capacity_reservation::CreateCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1633        }
1634    }
1635}
1636impl<R>
1637    From<
1638        ::aws_smithy_runtime_api::client::result::SdkError<
1639            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1640            R,
1641        >,
1642    > for Error
1643where
1644    R: Send + Sync + std::fmt::Debug + 'static,
1645{
1646    fn from(
1647        err: ::aws_smithy_runtime_api::client::result::SdkError<
1648            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1649            R,
1650        >,
1651    ) -> Self {
1652        match err {
1653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1656                source: err.into(),
1657            }),
1658        }
1659    }
1660}
1661impl From<crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError> for Error {
1662    fn from(err: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError) -> Self {
1663        match err {
1664            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError::Unhandled(inner) => {
1665                Error::Unhandled(inner)
1666            }
1667        }
1668    }
1669}
1670impl<R>
1671    From<
1672        ::aws_smithy_runtime_api::client::result::SdkError<
1673            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1674            R,
1675        >,
1676    > for Error
1677where
1678    R: Send + Sync + std::fmt::Debug + 'static,
1679{
1680    fn from(
1681        err: ::aws_smithy_runtime_api::client::result::SdkError<
1682            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1683            R,
1684        >,
1685    ) -> Self {
1686        match err {
1687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1690                source: err.into(),
1691            }),
1692        }
1693    }
1694}
1695impl From<crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError> for Error {
1696    fn from(err: crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError) -> Self {
1697        match err {
1698            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
1699        }
1700    }
1701}
1702impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>> for Error
1703where
1704    R: Send + Sync + std::fmt::Debug + 'static,
1705{
1706    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>) -> Self {
1707        match err {
1708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1711                source: err.into(),
1712            }),
1713        }
1714    }
1715}
1716impl From<crate::operation::create_carrier_gateway::CreateCarrierGatewayError> for Error {
1717    fn from(err: crate::operation::create_carrier_gateway::CreateCarrierGatewayError) -> Self {
1718        match err {
1719            crate::operation::create_carrier_gateway::CreateCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1720        }
1721    }
1722}
1723impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>>
1724    for Error
1725where
1726    R: Send + Sync + std::fmt::Debug + 'static,
1727{
1728    fn from(
1729        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>,
1730    ) -> Self {
1731        match err {
1732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1735                source: err.into(),
1736            }),
1737        }
1738    }
1739}
1740impl From<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError> for Error {
1741    fn from(err: crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError) -> Self {
1742        match err {
1743            crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1744        }
1745    }
1746}
1747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>> for Error
1748where
1749    R: Send + Sync + std::fmt::Debug + 'static,
1750{
1751    fn from(
1752        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>,
1753    ) -> Self {
1754        match err {
1755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1758                source: err.into(),
1759            }),
1760        }
1761    }
1762}
1763impl From<crate::operation::create_client_vpn_route::CreateClientVpnRouteError> for Error {
1764    fn from(err: crate::operation::create_client_vpn_route::CreateClientVpnRouteError) -> Self {
1765        match err {
1766            crate::operation::create_client_vpn_route::CreateClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
1767        }
1768    }
1769}
1770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>> for Error
1771where
1772    R: Send + Sync + std::fmt::Debug + 'static,
1773{
1774    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>) -> Self {
1775        match err {
1776            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1777            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1778                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1779                source: err.into(),
1780            }),
1781        }
1782    }
1783}
1784impl From<crate::operation::create_coip_cidr::CreateCoipCidrError> for Error {
1785    fn from(err: crate::operation::create_coip_cidr::CreateCoipCidrError) -> Self {
1786        match err {
1787            crate::operation::create_coip_cidr::CreateCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
1788        }
1789    }
1790}
1791impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>> for Error
1792where
1793    R: Send + Sync + std::fmt::Debug + 'static,
1794{
1795    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>) -> Self {
1796        match err {
1797            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1798            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1799                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1800                source: err.into(),
1801            }),
1802        }
1803    }
1804}
1805impl From<crate::operation::create_coip_pool::CreateCoipPoolError> for Error {
1806    fn from(err: crate::operation::create_coip_pool::CreateCoipPoolError) -> Self {
1807        match err {
1808            crate::operation::create_coip_pool::CreateCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
1809        }
1810    }
1811}
1812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>> for Error
1813where
1814    R: Send + Sync + std::fmt::Debug + 'static,
1815{
1816    fn from(
1817        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>,
1818    ) -> Self {
1819        match err {
1820            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1821            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1822                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1823                source: err.into(),
1824            }),
1825        }
1826    }
1827}
1828impl From<crate::operation::create_customer_gateway::CreateCustomerGatewayError> for Error {
1829    fn from(err: crate::operation::create_customer_gateway::CreateCustomerGatewayError) -> Self {
1830        match err {
1831            crate::operation::create_customer_gateway::CreateCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1832        }
1833    }
1834}
1835impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>> for Error
1836where
1837    R: Send + Sync + std::fmt::Debug + 'static,
1838{
1839    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>) -> Self {
1840        match err {
1841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1844                source: err.into(),
1845            }),
1846        }
1847    }
1848}
1849impl From<crate::operation::create_default_subnet::CreateDefaultSubnetError> for Error {
1850    fn from(err: crate::operation::create_default_subnet::CreateDefaultSubnetError) -> Self {
1851        match err {
1852            crate::operation::create_default_subnet::CreateDefaultSubnetError::Unhandled(inner) => Error::Unhandled(inner),
1853        }
1854    }
1855}
1856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>> for Error
1857where
1858    R: Send + Sync + std::fmt::Debug + 'static,
1859{
1860    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>) -> Self {
1861        match err {
1862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1865                source: err.into(),
1866            }),
1867        }
1868    }
1869}
1870impl From<crate::operation::create_default_vpc::CreateDefaultVpcError> for Error {
1871    fn from(err: crate::operation::create_default_vpc::CreateDefaultVpcError) -> Self {
1872        match err {
1873            crate::operation::create_default_vpc::CreateDefaultVpcError::Unhandled(inner) => Error::Unhandled(inner),
1874        }
1875    }
1876}
1877impl<R>
1878    From<
1879        ::aws_smithy_runtime_api::client::result::SdkError<
1880            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
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_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
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_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError> for Error {
1903    fn from(err: crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError) -> Self {
1904        match err {
1905            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError::Unhandled(inner) => {
1906                Error::Unhandled(inner)
1907            }
1908        }
1909    }
1910}
1911impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>> for Error
1912where
1913    R: Send + Sync + std::fmt::Debug + 'static,
1914{
1915    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>) -> Self {
1916        match err {
1917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1920                source: err.into(),
1921            }),
1922        }
1923    }
1924}
1925impl From<crate::operation::create_dhcp_options::CreateDhcpOptionsError> for Error {
1926    fn from(err: crate::operation::create_dhcp_options::CreateDhcpOptionsError) -> Self {
1927        match err {
1928            crate::operation::create_dhcp_options::CreateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
1929        }
1930    }
1931}
1932impl<R>
1933    From<
1934        ::aws_smithy_runtime_api::client::result::SdkError<
1935            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1936            R,
1937        >,
1938    > for Error
1939where
1940    R: Send + Sync + std::fmt::Debug + 'static,
1941{
1942    fn from(
1943        err: ::aws_smithy_runtime_api::client::result::SdkError<
1944            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1945            R,
1946        >,
1947    ) -> Self {
1948        match err {
1949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1952                source: err.into(),
1953            }),
1954        }
1955    }
1956}
1957impl From<crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError> for Error {
1958    fn from(err: crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError) -> Self {
1959        match err {
1960            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1961        }
1962    }
1963}
1964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>> for Error
1965where
1966    R: Send + Sync + std::fmt::Debug + 'static,
1967{
1968    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>) -> Self {
1969        match err {
1970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1973                source: err.into(),
1974            }),
1975        }
1976    }
1977}
1978impl From<crate::operation::create_fleet::CreateFleetError> for Error {
1979    fn from(err: crate::operation::create_fleet::CreateFleetError) -> Self {
1980        match err {
1981            crate::operation::create_fleet::CreateFleetError::Unhandled(inner) => Error::Unhandled(inner),
1982        }
1983    }
1984}
1985impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>> for Error
1986where
1987    R: Send + Sync + std::fmt::Debug + 'static,
1988{
1989    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>) -> Self {
1990        match err {
1991            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1992            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1993                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1994                source: err.into(),
1995            }),
1996        }
1997    }
1998}
1999impl From<crate::operation::create_flow_logs::CreateFlowLogsError> for Error {
2000    fn from(err: crate::operation::create_flow_logs::CreateFlowLogsError) -> Self {
2001        match err {
2002            crate::operation::create_flow_logs::CreateFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
2003        }
2004    }
2005}
2006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>> for Error
2007where
2008    R: Send + Sync + std::fmt::Debug + 'static,
2009{
2010    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>) -> Self {
2011        match err {
2012            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2013            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2014                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2015                source: err.into(),
2016            }),
2017        }
2018    }
2019}
2020impl From<crate::operation::create_fpga_image::CreateFpgaImageError> for Error {
2021    fn from(err: crate::operation::create_fpga_image::CreateFpgaImageError) -> Self {
2022        match err {
2023            crate::operation::create_fpga_image::CreateFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
2024        }
2025    }
2026}
2027impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
2028where
2029    R: Send + Sync + std::fmt::Debug + 'static,
2030{
2031    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> Self {
2032        match err {
2033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2036                source: err.into(),
2037            }),
2038        }
2039    }
2040}
2041impl From<crate::operation::create_image::CreateImageError> for Error {
2042    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
2043        match err {
2044            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
2045        }
2046    }
2047}
2048impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_usage_report::CreateImageUsageReportError, R>>
2049    for Error
2050where
2051    R: Send + Sync + std::fmt::Debug + 'static,
2052{
2053    fn from(
2054        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_usage_report::CreateImageUsageReportError, R>,
2055    ) -> Self {
2056        match err {
2057            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2058            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2059                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2060                source: err.into(),
2061            }),
2062        }
2063    }
2064}
2065impl From<crate::operation::create_image_usage_report::CreateImageUsageReportError> for Error {
2066    fn from(err: crate::operation::create_image_usage_report::CreateImageUsageReportError) -> Self {
2067        match err {
2068            crate::operation::create_image_usage_report::CreateImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
2069        }
2070    }
2071}
2072impl<R>
2073    From<
2074        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError, R>,
2075    > for Error
2076where
2077    R: Send + Sync + std::fmt::Debug + 'static,
2078{
2079    fn from(
2080        err: ::aws_smithy_runtime_api::client::result::SdkError<
2081            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError,
2082            R,
2083        >,
2084    ) -> Self {
2085        match err {
2086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2089                source: err.into(),
2090            }),
2091        }
2092    }
2093}
2094impl From<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError> for Error {
2095    fn from(err: crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError) -> Self {
2096        match err {
2097            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2098        }
2099    }
2100}
2101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>>
2102    for Error
2103where
2104    R: Send + Sync + std::fmt::Debug + 'static,
2105{
2106    fn from(
2107        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>,
2108    ) -> Self {
2109        match err {
2110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2113                source: err.into(),
2114            }),
2115        }
2116    }
2117}
2118impl From<crate::operation::create_instance_event_window::CreateInstanceEventWindowError> for Error {
2119    fn from(err: crate::operation::create_instance_event_window::CreateInstanceEventWindowError) -> Self {
2120        match err {
2121            crate::operation::create_instance_event_window::CreateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
2122        }
2123    }
2124}
2125impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>>
2126    for Error
2127where
2128    R: Send + Sync + std::fmt::Debug + 'static,
2129{
2130    fn from(
2131        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>,
2132    ) -> Self {
2133        match err {
2134            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2135            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2136                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2137                source: err.into(),
2138            }),
2139        }
2140    }
2141}
2142impl From<crate::operation::create_instance_export_task::CreateInstanceExportTaskError> for Error {
2143    fn from(err: crate::operation::create_instance_export_task::CreateInstanceExportTaskError) -> Self {
2144        match err {
2145            crate::operation::create_instance_export_task::CreateInstanceExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
2146        }
2147    }
2148}
2149impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>> for Error
2150where
2151    R: Send + Sync + std::fmt::Debug + 'static,
2152{
2153    fn from(
2154        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>,
2155    ) -> Self {
2156        match err {
2157            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2158            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2159                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2160                source: err.into(),
2161            }),
2162        }
2163    }
2164}
2165impl From<crate::operation::create_internet_gateway::CreateInternetGatewayError> for Error {
2166    fn from(err: crate::operation::create_internet_gateway::CreateInternetGatewayError) -> Self {
2167        match err {
2168            crate::operation::create_internet_gateway::CreateInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2169        }
2170    }
2171}
2172impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>> for Error
2173where
2174    R: Send + Sync + std::fmt::Debug + 'static,
2175{
2176    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>) -> Self {
2177        match err {
2178            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2179            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2180                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2181                source: err.into(),
2182            }),
2183        }
2184    }
2185}
2186impl From<crate::operation::create_ipam::CreateIpamError> for Error {
2187    fn from(err: crate::operation::create_ipam::CreateIpamError) -> Self {
2188        match err {
2189            crate::operation::create_ipam::CreateIpamError::Unhandled(inner) => Error::Unhandled(inner),
2190        }
2191    }
2192}
2193impl<R>
2194    From<
2195        ::aws_smithy_runtime_api::client::result::SdkError<
2196            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2197            R,
2198        >,
2199    > for Error
2200where
2201    R: Send + Sync + std::fmt::Debug + 'static,
2202{
2203    fn from(
2204        err: ::aws_smithy_runtime_api::client::result::SdkError<
2205            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2206            R,
2207        >,
2208    ) -> Self {
2209        match err {
2210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2213                source: err.into(),
2214            }),
2215        }
2216    }
2217}
2218impl From<crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError> for Error {
2219    fn from(err: crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError) -> Self {
2220        match err {
2221            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError::Unhandled(
2222                inner,
2223            ) => Error::Unhandled(inner),
2224        }
2225    }
2226}
2227impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>> for Error
2228where
2229    R: Send + Sync + std::fmt::Debug + 'static,
2230{
2231    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>) -> Self {
2232        match err {
2233            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2234            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2235                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2236                source: err.into(),
2237            }),
2238        }
2239    }
2240}
2241impl From<crate::operation::create_ipam_pool::CreateIpamPoolError> for Error {
2242    fn from(err: crate::operation::create_ipam_pool::CreateIpamPoolError) -> Self {
2243        match err {
2244            crate::operation::create_ipam_pool::CreateIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
2245        }
2246    }
2247}
2248impl<R>
2249    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, R>>
2250    for Error
2251where
2252    R: Send + Sync + std::fmt::Debug + 'static,
2253{
2254    fn from(
2255        err: ::aws_smithy_runtime_api::client::result::SdkError<
2256            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError,
2257            R,
2258        >,
2259    ) -> Self {
2260        match err {
2261            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2262            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2263                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2264                source: err.into(),
2265            }),
2266        }
2267    }
2268}
2269impl From<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError> for Error {
2270    fn from(err: crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError) -> Self {
2271        match err {
2272            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2273        }
2274    }
2275}
2276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>> for Error
2277where
2278    R: Send + Sync + std::fmt::Debug + 'static,
2279{
2280    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>) -> Self {
2281        match err {
2282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2285                source: err.into(),
2286            }),
2287        }
2288    }
2289}
2290impl From<crate::operation::create_ipam_scope::CreateIpamScopeError> for Error {
2291    fn from(err: crate::operation::create_ipam_scope::CreateIpamScopeError) -> Self {
2292        match err {
2293            crate::operation::create_ipam_scope::CreateIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
2294        }
2295    }
2296}
2297impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>> for Error
2298where
2299    R: Send + Sync + std::fmt::Debug + 'static,
2300{
2301    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>) -> Self {
2302        match err {
2303            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2304            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2305                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2306                source: err.into(),
2307            }),
2308        }
2309    }
2310}
2311impl From<crate::operation::create_key_pair::CreateKeyPairError> for Error {
2312    fn from(err: crate::operation::create_key_pair::CreateKeyPairError) -> Self {
2313        match err {
2314            crate::operation::create_key_pair::CreateKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
2315        }
2316    }
2317}
2318impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>> for Error
2319where
2320    R: Send + Sync + std::fmt::Debug + 'static,
2321{
2322    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>) -> Self {
2323        match err {
2324            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2325            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2326                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2327                source: err.into(),
2328            }),
2329        }
2330    }
2331}
2332impl From<crate::operation::create_launch_template::CreateLaunchTemplateError> for Error {
2333    fn from(err: crate::operation::create_launch_template::CreateLaunchTemplateError) -> Self {
2334        match err {
2335            crate::operation::create_launch_template::CreateLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2336        }
2337    }
2338}
2339impl<R>
2340    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, R>>
2341    for Error
2342where
2343    R: Send + Sync + std::fmt::Debug + 'static,
2344{
2345    fn from(
2346        err: ::aws_smithy_runtime_api::client::result::SdkError<
2347            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError,
2348            R,
2349        >,
2350    ) -> Self {
2351        match err {
2352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2355                source: err.into(),
2356            }),
2357        }
2358    }
2359}
2360impl From<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError> for Error {
2361    fn from(err: crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError) -> Self {
2362        match err {
2363            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError::Unhandled(inner) => Error::Unhandled(inner),
2364        }
2365    }
2366}
2367impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>>
2368    for Error
2369where
2370    R: Send + Sync + std::fmt::Debug + 'static,
2371{
2372    fn from(
2373        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>,
2374    ) -> Self {
2375        match err {
2376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2379                source: err.into(),
2380            }),
2381        }
2382    }
2383}
2384impl From<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError> for Error {
2385    fn from(err: crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError) -> Self {
2386        match err {
2387            crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
2388        }
2389    }
2390}
2391impl<R>
2392    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, R>>
2393    for Error
2394where
2395    R: Send + Sync + std::fmt::Debug + 'static,
2396{
2397    fn from(
2398        err: ::aws_smithy_runtime_api::client::result::SdkError<
2399            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError,
2400            R,
2401        >,
2402    ) -> Self {
2403        match err {
2404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2407                source: err.into(),
2408            }),
2409        }
2410    }
2411}
2412impl From<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError> for Error {
2413    fn from(err: crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError) -> Self {
2414        match err {
2415            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2416        }
2417    }
2418}
2419impl<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 {
2420    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
2421        match err {
2422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2423            _ => Error::Unhandled(
2424                                        crate::error::sealed_unhandled::Unhandled {
2425                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2426                                            source: err.into(),
2427                                        }
2428                                    ),
2429        }
2430    }
2431}
2432impl From<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
2433    fn from(err: crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
2434        match err {
2435            crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2436        }
2437    }
2438}
2439impl<R>
2440    From<
2441        ::aws_smithy_runtime_api::client::result::SdkError<
2442            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2443            R,
2444        >,
2445    > for Error
2446where
2447    R: Send + Sync + std::fmt::Debug + 'static,
2448{
2449    fn from(
2450        err: ::aws_smithy_runtime_api::client::result::SdkError<
2451            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2452            R,
2453        >,
2454    ) -> Self {
2455        match err {
2456            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2457            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2458                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2459                source: err.into(),
2460            }),
2461        }
2462    }
2463}
2464impl From<crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError> for Error {
2465    fn from(err: crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError) -> Self {
2466        match err {
2467            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
2468                Error::Unhandled(inner)
2469            }
2470        }
2471    }
2472}
2473impl<R>
2474    From<
2475        ::aws_smithy_runtime_api::client::result::SdkError<
2476            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2477            R,
2478        >,
2479    > for Error
2480where
2481    R: Send + Sync + std::fmt::Debug + 'static,
2482{
2483    fn from(
2484        err: ::aws_smithy_runtime_api::client::result::SdkError<
2485            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2486            R,
2487        >,
2488    ) -> Self {
2489        match err {
2490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2493                source: err.into(),
2494            }),
2495        }
2496    }
2497}
2498impl From<crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError> for Error {
2499    fn from(err: crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError) -> Self {
2500        match err {
2501            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
2502                Error::Unhandled(inner)
2503            }
2504        }
2505    }
2506}
2507impl<R>
2508    From<
2509        ::aws_smithy_runtime_api::client::result::SdkError<
2510            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2511            R,
2512        >,
2513    > for Error
2514where
2515    R: Send + Sync + std::fmt::Debug + 'static,
2516{
2517    fn from(
2518        err: ::aws_smithy_runtime_api::client::result::SdkError<
2519            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2520            R,
2521        >,
2522    ) -> Self {
2523        match err {
2524            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2525            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2526                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2527                source: err.into(),
2528            }),
2529        }
2530    }
2531}
2532impl From<crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError> for Error {
2533    fn from(err: crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError) -> Self {
2534        match err {
2535            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
2536                Error::Unhandled(inner)
2537            }
2538        }
2539    }
2540}
2541impl<R>
2542    From<
2543        ::aws_smithy_runtime_api::client::result::SdkError<
2544            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2545            R,
2546        >,
2547    > for Error
2548where
2549    R: Send + Sync + std::fmt::Debug + 'static,
2550{
2551    fn from(
2552        err: ::aws_smithy_runtime_api::client::result::SdkError<
2553            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2554            R,
2555        >,
2556    ) -> Self {
2557        match err {
2558            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2559            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2560                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2561                source: err.into(),
2562            }),
2563        }
2564    }
2565}
2566impl From<crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError>
2567    for Error
2568{
2569    fn from(
2570        err: crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2571    ) -> Self {
2572        match err {
2573            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError::Unhandled(inner) => Error::Unhandled(inner),
2574        }
2575    }
2576}
2577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>>
2578    for Error
2579where
2580    R: Send + Sync + std::fmt::Debug + 'static,
2581{
2582    fn from(
2583        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>,
2584    ) -> Self {
2585        match err {
2586            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2587            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2588                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2589                source: err.into(),
2590            }),
2591        }
2592    }
2593}
2594impl From<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError> for Error {
2595    fn from(err: crate::operation::create_managed_prefix_list::CreateManagedPrefixListError) -> Self {
2596        match err {
2597            crate::operation::create_managed_prefix_list::CreateManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
2598        }
2599    }
2600}
2601impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>> for Error
2602where
2603    R: Send + Sync + std::fmt::Debug + 'static,
2604{
2605    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>) -> Self {
2606        match err {
2607            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2608            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2609                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2610                source: err.into(),
2611            }),
2612        }
2613    }
2614}
2615impl From<crate::operation::create_nat_gateway::CreateNatGatewayError> for Error {
2616    fn from(err: crate::operation::create_nat_gateway::CreateNatGatewayError) -> Self {
2617        match err {
2618            crate::operation::create_nat_gateway::CreateNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2619        }
2620    }
2621}
2622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>> for Error
2623where
2624    R: Send + Sync + std::fmt::Debug + 'static,
2625{
2626    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>) -> Self {
2627        match err {
2628            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2629            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2630                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2631                source: err.into(),
2632            }),
2633        }
2634    }
2635}
2636impl From<crate::operation::create_network_acl::CreateNetworkAclError> for Error {
2637    fn from(err: crate::operation::create_network_acl::CreateNetworkAclError) -> Self {
2638        match err {
2639            crate::operation::create_network_acl::CreateNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
2640        }
2641    }
2642}
2643impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>> for Error
2644where
2645    R: Send + Sync + std::fmt::Debug + 'static,
2646{
2647    fn from(
2648        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>,
2649    ) -> Self {
2650        match err {
2651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2654                source: err.into(),
2655            }),
2656        }
2657    }
2658}
2659impl From<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError> for Error {
2660    fn from(err: crate::operation::create_network_acl_entry::CreateNetworkAclEntryError) -> Self {
2661        match err {
2662            crate::operation::create_network_acl_entry::CreateNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
2663        }
2664    }
2665}
2666impl<R>
2667    From<
2668        ::aws_smithy_runtime_api::client::result::SdkError<
2669            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2670            R,
2671        >,
2672    > for Error
2673where
2674    R: Send + Sync + std::fmt::Debug + 'static,
2675{
2676    fn from(
2677        err: ::aws_smithy_runtime_api::client::result::SdkError<
2678            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2679            R,
2680        >,
2681    ) -> Self {
2682        match err {
2683            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2684            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2685                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2686                source: err.into(),
2687            }),
2688        }
2689    }
2690}
2691impl From<crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError> for Error {
2692    fn from(err: crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError) -> Self {
2693        match err {
2694            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError::Unhandled(inner) => {
2695                Error::Unhandled(inner)
2696            }
2697        }
2698    }
2699}
2700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, 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_network_insights_path::CreateNetworkInsightsPathError, 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_network_insights_path::CreateNetworkInsightsPathError> for Error {
2718    fn from(err: crate::operation::create_network_insights_path::CreateNetworkInsightsPathError) -> Self {
2719        match err {
2720            crate::operation::create_network_insights_path::CreateNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
2721        }
2722    }
2723}
2724impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>> for Error
2725where
2726    R: Send + Sync + std::fmt::Debug + 'static,
2727{
2728    fn from(
2729        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>,
2730    ) -> Self {
2731        match err {
2732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2735                source: err.into(),
2736            }),
2737        }
2738    }
2739}
2740impl From<crate::operation::create_network_interface::CreateNetworkInterfaceError> for Error {
2741    fn from(err: crate::operation::create_network_interface::CreateNetworkInterfaceError) -> Self {
2742        match err {
2743            crate::operation::create_network_interface::CreateNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2744        }
2745    }
2746}
2747impl<R>
2748    From<
2749        ::aws_smithy_runtime_api::client::result::SdkError<
2750            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2751            R,
2752        >,
2753    > for Error
2754where
2755    R: Send + Sync + std::fmt::Debug + 'static,
2756{
2757    fn from(
2758        err: ::aws_smithy_runtime_api::client::result::SdkError<
2759            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2760            R,
2761        >,
2762    ) -> Self {
2763        match err {
2764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2767                source: err.into(),
2768            }),
2769        }
2770    }
2771}
2772impl From<crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError> for Error {
2773    fn from(err: crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError) -> Self {
2774        match err {
2775            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
2776        }
2777    }
2778}
2779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>> for Error
2780where
2781    R: Send + Sync + std::fmt::Debug + 'static,
2782{
2783    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>) -> Self {
2784        match err {
2785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2788                source: err.into(),
2789            }),
2790        }
2791    }
2792}
2793impl From<crate::operation::create_placement_group::CreatePlacementGroupError> for Error {
2794    fn from(err: crate::operation::create_placement_group::CreatePlacementGroupError) -> Self {
2795        match err {
2796            crate::operation::create_placement_group::CreatePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
2797        }
2798    }
2799}
2800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>> for Error
2801where
2802    R: Send + Sync + std::fmt::Debug + 'static,
2803{
2804    fn from(
2805        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>,
2806    ) -> Self {
2807        match err {
2808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2811                source: err.into(),
2812            }),
2813        }
2814    }
2815}
2816impl From<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError> for Error {
2817    fn from(err: crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError) -> Self {
2818        match err {
2819            crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
2820        }
2821    }
2822}
2823impl<R>
2824    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, R>>
2825    for Error
2826where
2827    R: Send + Sync + std::fmt::Debug + 'static,
2828{
2829    fn from(
2830        err: ::aws_smithy_runtime_api::client::result::SdkError<
2831            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError,
2832            R,
2833        >,
2834    ) -> Self {
2835        match err {
2836            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2837            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2838                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2839                source: err.into(),
2840            }),
2841        }
2842    }
2843}
2844impl From<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError> for Error {
2845    fn from(err: crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError) -> Self {
2846        match err {
2847            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError::Unhandled(inner) => Error::Unhandled(inner),
2848        }
2849    }
2850}
2851impl<R>
2852    From<
2853        ::aws_smithy_runtime_api::client::result::SdkError<
2854            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2855            R,
2856        >,
2857    > for Error
2858where
2859    R: Send + Sync + std::fmt::Debug + 'static,
2860{
2861    fn from(
2862        err: ::aws_smithy_runtime_api::client::result::SdkError<
2863            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
2864            R,
2865        >,
2866    ) -> Self {
2867        match err {
2868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2871                source: err.into(),
2872            }),
2873        }
2874    }
2875}
2876impl From<crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError> for Error {
2877    fn from(err: crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError) -> Self {
2878        match err {
2879            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
2880        }
2881    }
2882}
2883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>>
2884    for Error
2885where
2886    R: Send + Sync + std::fmt::Debug + 'static,
2887{
2888    fn from(
2889        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>,
2890    ) -> Self {
2891        match err {
2892            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2893            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2894                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2895                source: err.into(),
2896            }),
2897        }
2898    }
2899}
2900impl From<crate::operation::create_restore_image_task::CreateRestoreImageTaskError> for Error {
2901    fn from(err: crate::operation::create_restore_image_task::CreateRestoreImageTaskError) -> Self {
2902        match err {
2903            crate::operation::create_restore_image_task::CreateRestoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
2904        }
2905    }
2906}
2907impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>> for Error
2908where
2909    R: Send + Sync + std::fmt::Debug + 'static,
2910{
2911    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>) -> Self {
2912        match err {
2913            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2914            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2915                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2916                source: err.into(),
2917            }),
2918        }
2919    }
2920}
2921impl From<crate::operation::create_route::CreateRouteError> for Error {
2922    fn from(err: crate::operation::create_route::CreateRouteError) -> Self {
2923        match err {
2924            crate::operation::create_route::CreateRouteError::Unhandled(inner) => Error::Unhandled(inner),
2925        }
2926    }
2927}
2928impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>> for Error
2929where
2930    R: Send + Sync + std::fmt::Debug + 'static,
2931{
2932    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>) -> Self {
2933        match err {
2934            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2935            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2936                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2937                source: err.into(),
2938            }),
2939        }
2940    }
2941}
2942impl From<crate::operation::create_route_server::CreateRouteServerError> for Error {
2943    fn from(err: crate::operation::create_route_server::CreateRouteServerError) -> Self {
2944        match err {
2945            crate::operation::create_route_server::CreateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
2946        }
2947    }
2948}
2949impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>>
2950    for Error
2951where
2952    R: Send + Sync + std::fmt::Debug + 'static,
2953{
2954    fn from(
2955        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>,
2956    ) -> Self {
2957        match err {
2958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2961                source: err.into(),
2962            }),
2963        }
2964    }
2965}
2966impl From<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError> for Error {
2967    fn from(err: crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError) -> Self {
2968        match err {
2969            crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2970        }
2971    }
2972}
2973impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>> for Error
2974where
2975    R: Send + Sync + std::fmt::Debug + 'static,
2976{
2977    fn from(
2978        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>,
2979    ) -> Self {
2980        match err {
2981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2984                source: err.into(),
2985            }),
2986        }
2987    }
2988}
2989impl From<crate::operation::create_route_server_peer::CreateRouteServerPeerError> for Error {
2990    fn from(err: crate::operation::create_route_server_peer::CreateRouteServerPeerError) -> Self {
2991        match err {
2992            crate::operation::create_route_server_peer::CreateRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
2993        }
2994    }
2995}
2996impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>> for Error
2997where
2998    R: Send + Sync + std::fmt::Debug + 'static,
2999{
3000    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>) -> Self {
3001        match err {
3002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3005                source: err.into(),
3006            }),
3007        }
3008    }
3009}
3010impl From<crate::operation::create_route_table::CreateRouteTableError> for Error {
3011    fn from(err: crate::operation::create_route_table::CreateRouteTableError) -> Self {
3012        match err {
3013            crate::operation::create_route_table::CreateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3014        }
3015    }
3016}
3017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>> for Error
3018where
3019    R: Send + Sync + std::fmt::Debug + 'static,
3020{
3021    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>) -> Self {
3022        match err {
3023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3026                source: err.into(),
3027            }),
3028        }
3029    }
3030}
3031impl From<crate::operation::create_security_group::CreateSecurityGroupError> for Error {
3032    fn from(err: crate::operation::create_security_group::CreateSecurityGroupError) -> Self {
3033        match err {
3034            crate::operation::create_security_group::CreateSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
3035        }
3036    }
3037}
3038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>> for Error
3039where
3040    R: Send + Sync + std::fmt::Debug + 'static,
3041{
3042    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>) -> Self {
3043        match err {
3044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3047                source: err.into(),
3048            }),
3049        }
3050    }
3051}
3052impl From<crate::operation::create_snapshot::CreateSnapshotError> for Error {
3053    fn from(err: crate::operation::create_snapshot::CreateSnapshotError) -> Self {
3054        match err {
3055            crate::operation::create_snapshot::CreateSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
3056        }
3057    }
3058}
3059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>> for Error
3060where
3061    R: Send + Sync + std::fmt::Debug + 'static,
3062{
3063    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>) -> Self {
3064        match err {
3065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3068                source: err.into(),
3069            }),
3070        }
3071    }
3072}
3073impl From<crate::operation::create_snapshots::CreateSnapshotsError> for Error {
3074    fn from(err: crate::operation::create_snapshots::CreateSnapshotsError) -> Self {
3075        match err {
3076            crate::operation::create_snapshots::CreateSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
3077        }
3078    }
3079}
3080impl<R>
3081    From<
3082        ::aws_smithy_runtime_api::client::result::SdkError<
3083            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3084            R,
3085        >,
3086    > for Error
3087where
3088    R: Send + Sync + std::fmt::Debug + 'static,
3089{
3090    fn from(
3091        err: ::aws_smithy_runtime_api::client::result::SdkError<
3092            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3093            R,
3094        >,
3095    ) -> Self {
3096        match err {
3097            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3098            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3099                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3100                source: err.into(),
3101            }),
3102        }
3103    }
3104}
3105impl From<crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError> for Error {
3106    fn from(err: crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError) -> Self {
3107        match err {
3108            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
3109        }
3110    }
3111}
3112impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>> for Error
3113where
3114    R: Send + Sync + std::fmt::Debug + 'static,
3115{
3116    fn from(
3117        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>,
3118    ) -> Self {
3119        match err {
3120            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3121            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3122                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3123                source: err.into(),
3124            }),
3125        }
3126    }
3127}
3128impl From<crate::operation::create_store_image_task::CreateStoreImageTaskError> for Error {
3129    fn from(err: crate::operation::create_store_image_task::CreateStoreImageTaskError) -> Self {
3130        match err {
3131            crate::operation::create_store_image_task::CreateStoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3132        }
3133    }
3134}
3135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>> for Error
3136where
3137    R: Send + Sync + std::fmt::Debug + 'static,
3138{
3139    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>) -> Self {
3140        match err {
3141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3144                source: err.into(),
3145            }),
3146        }
3147    }
3148}
3149impl From<crate::operation::create_subnet::CreateSubnetError> for Error {
3150    fn from(err: crate::operation::create_subnet::CreateSubnetError) -> Self {
3151        match err {
3152            crate::operation::create_subnet::CreateSubnetError::Unhandled(inner) => Error::Unhandled(inner),
3153        }
3154    }
3155}
3156impl<R>
3157    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, R>>
3158    for Error
3159where
3160    R: Send + Sync + std::fmt::Debug + 'static,
3161{
3162    fn from(
3163        err: ::aws_smithy_runtime_api::client::result::SdkError<
3164            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError,
3165            R,
3166        >,
3167    ) -> Self {
3168        match err {
3169            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3170            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3171                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3172                source: err.into(),
3173            }),
3174        }
3175    }
3176}
3177impl From<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError> for Error {
3178    fn from(err: crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError) -> Self {
3179        match err {
3180            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
3181        }
3182    }
3183}
3184impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
3185where
3186    R: Send + Sync + std::fmt::Debug + 'static,
3187{
3188    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> 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_tags::CreateTagsError> for Error {
3199    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
3200        match err {
3201            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
3202        }
3203    }
3204}
3205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>>
3206    for Error
3207where
3208    R: Send + Sync + std::fmt::Debug + 'static,
3209{
3210    fn from(
3211        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>,
3212    ) -> Self {
3213        match err {
3214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3217                source: err.into(),
3218            }),
3219        }
3220    }
3221}
3222impl From<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError> for Error {
3223    fn from(err: crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError) -> Self {
3224        match err {
3225            crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
3226        }
3227    }
3228}
3229impl<R>
3230    From<
3231        ::aws_smithy_runtime_api::client::result::SdkError<
3232            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3233            R,
3234        >,
3235    > for Error
3236where
3237    R: Send + Sync + std::fmt::Debug + 'static,
3238{
3239    fn from(
3240        err: ::aws_smithy_runtime_api::client::result::SdkError<
3241            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3242            R,
3243        >,
3244    ) -> Self {
3245        match err {
3246            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3247            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3248                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3249                source: err.into(),
3250            }),
3251        }
3252    }
3253}
3254impl From<crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError> for Error {
3255    fn from(err: crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError) -> Self {
3256        match err {
3257            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
3258        }
3259    }
3260}
3261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>>
3262    for Error
3263where
3264    R: Send + Sync + std::fmt::Debug + 'static,
3265{
3266    fn from(
3267        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>,
3268    ) -> Self {
3269        match err {
3270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3273                source: err.into(),
3274            }),
3275        }
3276    }
3277}
3278impl From<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError> for Error {
3279    fn from(err: crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError) -> Self {
3280        match err {
3281            crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
3282        }
3283    }
3284}
3285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>>
3286    for Error
3287where
3288    R: Send + Sync + std::fmt::Debug + 'static,
3289{
3290    fn from(
3291        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>,
3292    ) -> Self {
3293        match err {
3294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3297                source: err.into(),
3298            }),
3299        }
3300    }
3301}
3302impl From<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError> for Error {
3303    fn from(err: crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError) -> Self {
3304        match err {
3305            crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
3306        }
3307    }
3308}
3309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>> for Error
3310where
3311    R: Send + Sync + std::fmt::Debug + 'static,
3312{
3313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>) -> Self {
3314        match err {
3315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3318                source: err.into(),
3319            }),
3320        }
3321    }
3322}
3323impl From<crate::operation::create_transit_gateway::CreateTransitGatewayError> for Error {
3324    fn from(err: crate::operation::create_transit_gateway::CreateTransitGatewayError) -> Self {
3325        match err {
3326            crate::operation::create_transit_gateway::CreateTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3327        }
3328    }
3329}
3330impl<R>
3331    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, R>>
3332    for Error
3333where
3334    R: Send + Sync + std::fmt::Debug + 'static,
3335{
3336    fn from(
3337        err: ::aws_smithy_runtime_api::client::result::SdkError<
3338            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError,
3339            R,
3340        >,
3341    ) -> Self {
3342        match err {
3343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3346                source: err.into(),
3347            }),
3348        }
3349    }
3350}
3351impl From<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError> for Error {
3352    fn from(err: crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError) -> Self {
3353        match err {
3354            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
3355        }
3356    }
3357}
3358impl<R>
3359    From<
3360        ::aws_smithy_runtime_api::client::result::SdkError<
3361            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3362            R,
3363        >,
3364    > for Error
3365where
3366    R: Send + Sync + std::fmt::Debug + 'static,
3367{
3368    fn from(
3369        err: ::aws_smithy_runtime_api::client::result::SdkError<
3370            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3371            R,
3372        >,
3373    ) -> Self {
3374        match err {
3375            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3376            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3377                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3378                source: err.into(),
3379            }),
3380        }
3381    }
3382}
3383impl From<crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError> for Error {
3384    fn from(err: crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError) -> Self {
3385        match err {
3386            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
3387        }
3388    }
3389}
3390impl<R>
3391    From<
3392        ::aws_smithy_runtime_api::client::result::SdkError<
3393            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3394            R,
3395        >,
3396    > for Error
3397where
3398    R: Send + Sync + std::fmt::Debug + 'static,
3399{
3400    fn from(
3401        err: ::aws_smithy_runtime_api::client::result::SdkError<
3402            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3403            R,
3404        >,
3405    ) -> Self {
3406        match err {
3407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3410                source: err.into(),
3411            }),
3412        }
3413    }
3414}
3415impl From<crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3416    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3417        match err {
3418            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::Unhandled(inner) => {
3419                Error::Unhandled(inner)
3420            }
3421        }
3422    }
3423}
3424impl<R>
3425    From<
3426        ::aws_smithy_runtime_api::client::result::SdkError<
3427            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3428            R,
3429        >,
3430    > for Error
3431where
3432    R: Send + Sync + std::fmt::Debug + 'static,
3433{
3434    fn from(
3435        err: ::aws_smithy_runtime_api::client::result::SdkError<
3436            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3437            R,
3438        >,
3439    ) -> Self {
3440        match err {
3441            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3442            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3443                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3444                source: err.into(),
3445            }),
3446        }
3447    }
3448}
3449impl From<crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3450    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3451        match err {
3452            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
3453                Error::Unhandled(inner)
3454            }
3455        }
3456    }
3457}
3458impl<R>
3459    From<
3460        ::aws_smithy_runtime_api::client::result::SdkError<
3461            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3462            R,
3463        >,
3464    > for Error
3465where
3466    R: Send + Sync + std::fmt::Debug + 'static,
3467{
3468    fn from(
3469        err: ::aws_smithy_runtime_api::client::result::SdkError<
3470            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3471            R,
3472        >,
3473    ) -> Self {
3474        match err {
3475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3478                source: err.into(),
3479            }),
3480        }
3481    }
3482}
3483impl From<crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3484    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3485        match err {
3486            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3487        }
3488    }
3489}
3490impl<R>
3491    From<
3492        ::aws_smithy_runtime_api::client::result::SdkError<
3493            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3494            R,
3495        >,
3496    > for Error
3497where
3498    R: Send + Sync + std::fmt::Debug + 'static,
3499{
3500    fn from(
3501        err: ::aws_smithy_runtime_api::client::result::SdkError<
3502            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3503            R,
3504        >,
3505    ) -> Self {
3506        match err {
3507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3510                source: err.into(),
3511            }),
3512        }
3513    }
3514}
3515impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3516    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3517        match err {
3518            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3519                Error::Unhandled(inner)
3520            }
3521        }
3522    }
3523}
3524impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3525    for Error
3526where
3527    R: Send + Sync + std::fmt::Debug + 'static,
3528{
3529    fn from(
3530        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3531    ) -> Self {
3532        match err {
3533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3536                source: err.into(),
3537            }),
3538        }
3539    }
3540}
3541impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3542    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3543        match err {
3544            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3545        }
3546    }
3547}
3548impl<R>
3549    From<
3550        ::aws_smithy_runtime_api::client::result::SdkError<
3551            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3552            R,
3553        >,
3554    > for Error
3555where
3556    R: Send + Sync + std::fmt::Debug + 'static,
3557{
3558    fn from(
3559        err: ::aws_smithy_runtime_api::client::result::SdkError<
3560            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3561            R,
3562        >,
3563    ) -> Self {
3564        match err {
3565            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3566            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3567                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3568                source: err.into(),
3569            }),
3570        }
3571    }
3572}
3573impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3574    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3575        match err {
3576            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3577        }
3578    }
3579}
3580impl<R>
3581    From<
3582        ::aws_smithy_runtime_api::client::result::SdkError<
3583            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3584            R,
3585        >,
3586    > for Error
3587where
3588    R: Send + Sync + std::fmt::Debug + 'static,
3589{
3590    fn from(
3591        err: ::aws_smithy_runtime_api::client::result::SdkError<
3592            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3593            R,
3594        >,
3595    ) -> Self {
3596        match err {
3597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3600                source: err.into(),
3601            }),
3602        }
3603    }
3604}
3605impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3606    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3607        match err {
3608            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3609                Error::Unhandled(inner)
3610            }
3611        }
3612    }
3613}
3614impl<R>
3615    From<
3616        ::aws_smithy_runtime_api::client::result::SdkError<
3617            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3618            R,
3619        >,
3620    > for Error
3621where
3622    R: Send + Sync + std::fmt::Debug + 'static,
3623{
3624    fn from(
3625        err: ::aws_smithy_runtime_api::client::result::SdkError<
3626            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3627            R,
3628        >,
3629    ) -> Self {
3630        match err {
3631            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3632            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3633                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3634                source: err.into(),
3635            }),
3636        }
3637    }
3638}
3639impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3640    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3641        match err {
3642            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3643                Error::Unhandled(inner)
3644            }
3645        }
3646    }
3647}
3648impl<R>
3649    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3650    for Error
3651where
3652    R: Send + Sync + std::fmt::Debug + 'static,
3653{
3654    fn from(
3655        err: ::aws_smithy_runtime_api::client::result::SdkError<
3656            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3657            R,
3658        >,
3659    ) -> Self {
3660        match err {
3661            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3662            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3663                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3664                source: err.into(),
3665            }),
3666        }
3667    }
3668}
3669impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3670    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3671        match err {
3672            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3673        }
3674    }
3675}
3676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, 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_verified_access_group::CreateVerifiedAccessGroupError, 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_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3694    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3695        match err {
3696            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3697        }
3698    }
3699}
3700impl<R>
3701    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3702    for Error
3703where
3704    R: Send + Sync + std::fmt::Debug + 'static,
3705{
3706    fn from(
3707        err: ::aws_smithy_runtime_api::client::result::SdkError<
3708            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3709            R,
3710        >,
3711    ) -> Self {
3712        match err {
3713            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3714            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3715                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3716                source: err.into(),
3717            }),
3718        }
3719    }
3720}
3721impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
3722    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
3723        match err {
3724            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
3725        }
3726    }
3727}
3728impl<R>
3729    From<
3730        ::aws_smithy_runtime_api::client::result::SdkError<
3731            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3732            R,
3733        >,
3734    > for Error
3735where
3736    R: Send + Sync + std::fmt::Debug + 'static,
3737{
3738    fn from(
3739        err: ::aws_smithy_runtime_api::client::result::SdkError<
3740            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
3741            R,
3742        >,
3743    ) -> Self {
3744        match err {
3745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3748                source: err.into(),
3749            }),
3750        }
3751    }
3752}
3753impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
3754    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
3755        match err {
3756            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
3757                Error::Unhandled(inner)
3758            }
3759        }
3760    }
3761}
3762impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
3763where
3764    R: Send + Sync + std::fmt::Debug + 'static,
3765{
3766    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> Self {
3767        match err {
3768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3771                source: err.into(),
3772            }),
3773        }
3774    }
3775}
3776impl From<crate::operation::create_volume::CreateVolumeError> for Error {
3777    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
3778        match err {
3779            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
3780        }
3781    }
3782}
3783impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
3784where
3785    R: Send + Sync + std::fmt::Debug + 'static,
3786{
3787    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
3788        match err {
3789            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3790            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3791                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3792                source: err.into(),
3793            }),
3794        }
3795    }
3796}
3797impl From<crate::operation::create_vpc::CreateVpcError> for Error {
3798    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
3799        match err {
3800            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
3801        }
3802    }
3803}
3804impl<R>
3805    From<
3806        ::aws_smithy_runtime_api::client::result::SdkError<
3807            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3808            R,
3809        >,
3810    > for Error
3811where
3812    R: Send + Sync + std::fmt::Debug + 'static,
3813{
3814    fn from(
3815        err: ::aws_smithy_runtime_api::client::result::SdkError<
3816            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
3817            R,
3818        >,
3819    ) -> Self {
3820        match err {
3821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3824                source: err.into(),
3825            }),
3826        }
3827    }
3828}
3829impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
3830    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
3831        match err {
3832            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
3833                Error::Unhandled(inner)
3834            }
3835        }
3836    }
3837}
3838impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
3839where
3840    R: Send + Sync + std::fmt::Debug + 'static,
3841{
3842    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
3843        match err {
3844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3847                source: err.into(),
3848            }),
3849        }
3850    }
3851}
3852impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
3853    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
3854        match err {
3855            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3856        }
3857    }
3858}
3859impl<R>
3860    From<
3861        ::aws_smithy_runtime_api::client::result::SdkError<
3862            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3863            R,
3864        >,
3865    > for Error
3866where
3867    R: Send + Sync + std::fmt::Debug + 'static,
3868{
3869    fn from(
3870        err: ::aws_smithy_runtime_api::client::result::SdkError<
3871            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
3872            R,
3873        >,
3874    ) -> Self {
3875        match err {
3876            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3877            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3878                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3879                source: err.into(),
3880            }),
3881        }
3882    }
3883}
3884impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
3885    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
3886        match err {
3887            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
3888                Error::Unhandled(inner)
3889            }
3890        }
3891    }
3892}
3893impl<R>
3894    From<
3895        ::aws_smithy_runtime_api::client::result::SdkError<
3896            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3897            R,
3898        >,
3899    > for Error
3900where
3901    R: Send + Sync + std::fmt::Debug + 'static,
3902{
3903    fn from(
3904        err: ::aws_smithy_runtime_api::client::result::SdkError<
3905            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
3906            R,
3907        >,
3908    ) -> Self {
3909        match err {
3910            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3911            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3912                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3913                source: err.into(),
3914            }),
3915        }
3916    }
3917}
3918impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
3919    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
3920        match err {
3921            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
3922                Error::Unhandled(inner)
3923            }
3924        }
3925    }
3926}
3927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
3928    for Error
3929where
3930    R: Send + Sync + std::fmt::Debug + 'static,
3931{
3932    fn from(
3933        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
3934    ) -> Self {
3935        match err {
3936            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3937            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3938                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3939                source: err.into(),
3940            }),
3941        }
3942    }
3943}
3944impl From<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError> for Error {
3945    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
3946        match err {
3947            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3948        }
3949    }
3950}
3951impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
3952where
3953    R: Send + Sync + std::fmt::Debug + 'static,
3954{
3955    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
3956        match err {
3957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3960                source: err.into(),
3961            }),
3962        }
3963    }
3964}
3965impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
3966    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
3967        match err {
3968            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3969        }
3970    }
3971}
3972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
3973    for Error
3974where
3975    R: Send + Sync + std::fmt::Debug + 'static,
3976{
3977    fn from(
3978        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
3979    ) -> Self {
3980        match err {
3981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3984                source: err.into(),
3985            }),
3986        }
3987    }
3988}
3989impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
3990    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
3991        match err {
3992            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
3993        }
3994    }
3995}
3996impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
3997where
3998    R: Send + Sync + std::fmt::Debug + 'static,
3999{
4000    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
4001        match err {
4002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4005                source: err.into(),
4006            }),
4007        }
4008    }
4009}
4010impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
4011    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
4012        match err {
4013            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4014        }
4015    }
4016}
4017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
4018where
4019    R: Send + Sync + std::fmt::Debug + 'static,
4020{
4021    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> Self {
4022        match err {
4023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4026                source: err.into(),
4027            }),
4028        }
4029    }
4030}
4031impl From<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
4032    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
4033        match err {
4034            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4035        }
4036    }
4037}
4038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
4039    for Error
4040where
4041    R: Send + Sync + std::fmt::Debug + 'static,
4042{
4043    fn from(
4044        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
4045    ) -> Self {
4046        match err {
4047            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4048            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4049                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4050                source: err.into(),
4051            }),
4052        }
4053    }
4054}
4055impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
4056    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
4057        match err {
4058            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4059        }
4060    }
4061}
4062impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
4063where
4064    R: Send + Sync + std::fmt::Debug + 'static,
4065{
4066    fn from(
4067        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
4068    ) -> Self {
4069        match err {
4070            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4071            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4072                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4073                source: err.into(),
4074            }),
4075        }
4076    }
4077}
4078impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
4079    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
4080        match err {
4081            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
4082        }
4083    }
4084}
4085impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
4086where
4087    R: Send + Sync + std::fmt::Debug + 'static,
4088{
4089    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
4090        match err {
4091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4094                source: err.into(),
4095            }),
4096        }
4097    }
4098}
4099impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
4100    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
4101        match err {
4102            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
4103        }
4104    }
4105}
4106impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
4107where
4108    R: Send + Sync + std::fmt::Debug + 'static,
4109{
4110    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
4111        match err {
4112            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4113            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4114                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4115                source: err.into(),
4116            }),
4117        }
4118    }
4119}
4120impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
4121    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
4122        match err {
4123            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
4124        }
4125    }
4126}
4127impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
4128where
4129    R: Send + Sync + std::fmt::Debug + 'static,
4130{
4131    fn from(
4132        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
4133    ) -> Self {
4134        match err {
4135            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4136            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4137                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4138                source: err.into(),
4139            }),
4140        }
4141    }
4142}
4143impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
4144    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
4145        match err {
4146            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4147        }
4148    }
4149}
4150impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
4151where
4152    R: Send + Sync + std::fmt::Debug + 'static,
4153{
4154    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> Self {
4155        match err {
4156            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4157            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4158                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4159                source: err.into(),
4160            }),
4161        }
4162    }
4163}
4164impl From<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError> for Error {
4165    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
4166        match err {
4167            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
4168        }
4169    }
4170}
4171impl<R>
4172    From<
4173        ::aws_smithy_runtime_api::client::result::SdkError<
4174            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4175            R,
4176        >,
4177    > for Error
4178where
4179    R: Send + Sync + std::fmt::Debug + 'static,
4180{
4181    fn from(
4182        err: ::aws_smithy_runtime_api::client::result::SdkError<
4183            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4184            R,
4185        >,
4186    ) -> Self {
4187        match err {
4188            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4189            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4190                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4191                source: err.into(),
4192            }),
4193        }
4194    }
4195}
4196impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
4197    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
4198        match err {
4199            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4200        }
4201    }
4202}
4203impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
4204where
4205    R: Send + Sync + std::fmt::Debug + 'static,
4206{
4207    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> Self {
4208        match err {
4209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4212                source: err.into(),
4213            }),
4214        }
4215    }
4216}
4217impl From<crate::operation::delete_fleets::DeleteFleetsError> for Error {
4218    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
4219        match err {
4220            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
4221        }
4222    }
4223}
4224impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
4225where
4226    R: Send + Sync + std::fmt::Debug + 'static,
4227{
4228    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
4229        match err {
4230            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4231            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4232                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4233                source: err.into(),
4234            }),
4235        }
4236    }
4237}
4238impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
4239    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
4240        match err {
4241            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
4242        }
4243    }
4244}
4245impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
4246where
4247    R: Send + Sync + std::fmt::Debug + 'static,
4248{
4249    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
4250        match err {
4251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4254                source: err.into(),
4255            }),
4256        }
4257    }
4258}
4259impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4260    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4261        match err {
4262            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4263        }
4264    }
4265}
4266impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>>
4267    for Error
4268where
4269    R: Send + Sync + std::fmt::Debug + 'static,
4270{
4271    fn from(
4272        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>,
4273    ) -> Self {
4274        match err {
4275            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4276            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4277                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4278                source: err.into(),
4279            }),
4280        }
4281    }
4282}
4283impl From<crate::operation::delete_image_usage_report::DeleteImageUsageReportError> for Error {
4284    fn from(err: crate::operation::delete_image_usage_report::DeleteImageUsageReportError) -> Self {
4285        match err {
4286            crate::operation::delete_image_usage_report::DeleteImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
4287        }
4288    }
4289}
4290impl<R>
4291    From<
4292        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4293    > for Error
4294where
4295    R: Send + Sync + std::fmt::Debug + 'static,
4296{
4297    fn from(
4298        err: ::aws_smithy_runtime_api::client::result::SdkError<
4299            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4300            R,
4301        >,
4302    ) -> Self {
4303        match err {
4304            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4305            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4306                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4307                source: err.into(),
4308            }),
4309        }
4310    }
4311}
4312impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4313    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4314        match err {
4315            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4316        }
4317    }
4318}
4319impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4320    for Error
4321where
4322    R: Send + Sync + std::fmt::Debug + 'static,
4323{
4324    fn from(
4325        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4326    ) -> Self {
4327        match err {
4328            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4329            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4330                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4331                source: err.into(),
4332            }),
4333        }
4334    }
4335}
4336impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4337    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4338        match err {
4339            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4340        }
4341    }
4342}
4343impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4344where
4345    R: Send + Sync + std::fmt::Debug + 'static,
4346{
4347    fn from(
4348        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4349    ) -> Self {
4350        match err {
4351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4354                source: err.into(),
4355            }),
4356        }
4357    }
4358}
4359impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4360    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4361        match err {
4362            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4363        }
4364    }
4365}
4366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4367where
4368    R: Send + Sync + std::fmt::Debug + 'static,
4369{
4370    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4371        match err {
4372            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4373            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4374                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4375                source: err.into(),
4376            }),
4377        }
4378    }
4379}
4380impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4381    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4382        match err {
4383            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4384        }
4385    }
4386}
4387impl<R>
4388    From<
4389        ::aws_smithy_runtime_api::client::result::SdkError<
4390            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4391            R,
4392        >,
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<
4399            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4400            R,
4401        >,
4402    ) -> Self {
4403        match err {
4404            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4405            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4406                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4407                source: err.into(),
4408            }),
4409        }
4410    }
4411}
4412impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4413    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4414        match err {
4415            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4416                inner,
4417            ) => Error::Unhandled(inner),
4418        }
4419    }
4420}
4421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4422where
4423    R: Send + Sync + std::fmt::Debug + 'static,
4424{
4425    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4426        match err {
4427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4430                source: err.into(),
4431            }),
4432        }
4433    }
4434}
4435impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4436    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4437        match err {
4438            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4439        }
4440    }
4441}
4442impl<R>
4443    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4444    for Error
4445where
4446    R: Send + Sync + std::fmt::Debug + 'static,
4447{
4448    fn from(
4449        err: ::aws_smithy_runtime_api::client::result::SdkError<
4450            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4451            R,
4452        >,
4453    ) -> Self {
4454        match err {
4455            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4456            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4457                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4458                source: err.into(),
4459            }),
4460        }
4461    }
4462}
4463impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4464    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4465        match err {
4466            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4467        }
4468    }
4469}
4470impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4471where
4472    R: Send + Sync + std::fmt::Debug + 'static,
4473{
4474    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4475        match err {
4476            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4477            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4478                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4479                source: err.into(),
4480            }),
4481        }
4482    }
4483}
4484impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4485    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4486        match err {
4487            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4488        }
4489    }
4490}
4491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4492where
4493    R: Send + Sync + std::fmt::Debug + 'static,
4494{
4495    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4496        match err {
4497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4500                source: err.into(),
4501            }),
4502        }
4503    }
4504}
4505impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4506    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4507        match err {
4508            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4509        }
4510    }
4511}
4512impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4513where
4514    R: Send + Sync + std::fmt::Debug + 'static,
4515{
4516    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4517        match err {
4518            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4519            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4520                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4521                source: err.into(),
4522            }),
4523        }
4524    }
4525}
4526impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4527    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4528        match err {
4529            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4530        }
4531    }
4532}
4533impl<R>
4534    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4535    for Error
4536where
4537    R: Send + Sync + std::fmt::Debug + 'static,
4538{
4539    fn from(
4540        err: ::aws_smithy_runtime_api::client::result::SdkError<
4541            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4542            R,
4543        >,
4544    ) -> Self {
4545        match err {
4546            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4547            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4548                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4549                source: err.into(),
4550            }),
4551        }
4552    }
4553}
4554impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
4555    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
4556        match err {
4557            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
4558        }
4559    }
4560}
4561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
4562    for Error
4563where
4564    R: Send + Sync + std::fmt::Debug + 'static,
4565{
4566    fn from(
4567        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
4568    ) -> Self {
4569        match err {
4570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4573                source: err.into(),
4574            }),
4575        }
4576    }
4577}
4578impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
4579    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
4580        match err {
4581            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
4582        }
4583    }
4584}
4585impl<R>
4586    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
4587    for Error
4588where
4589    R: Send + Sync + std::fmt::Debug + 'static,
4590{
4591    fn from(
4592        err: ::aws_smithy_runtime_api::client::result::SdkError<
4593            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
4594            R,
4595        >,
4596    ) -> Self {
4597        match err {
4598            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4599            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4600                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4601                source: err.into(),
4602            }),
4603        }
4604    }
4605}
4606impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
4607    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
4608        match err {
4609            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
4610        }
4611    }
4612}
4613impl<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 {
4614    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
4615        match err {
4616            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4617            _ => Error::Unhandled(
4618                                        crate::error::sealed_unhandled::Unhandled {
4619                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4620                                            source: err.into(),
4621                                        }
4622                                    ),
4623        }
4624    }
4625}
4626impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
4627    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
4628        match err {
4629            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
4630        }
4631    }
4632}
4633impl<R>
4634    From<
4635        ::aws_smithy_runtime_api::client::result::SdkError<
4636            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4637            R,
4638        >,
4639    > for Error
4640where
4641    R: Send + Sync + std::fmt::Debug + 'static,
4642{
4643    fn from(
4644        err: ::aws_smithy_runtime_api::client::result::SdkError<
4645            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
4646            R,
4647        >,
4648    ) -> Self {
4649        match err {
4650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4653                source: err.into(),
4654            }),
4655        }
4656    }
4657}
4658impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
4659    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
4660        match err {
4661            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
4662                Error::Unhandled(inner)
4663            }
4664        }
4665    }
4666}
4667impl<R>
4668    From<
4669        ::aws_smithy_runtime_api::client::result::SdkError<
4670            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4671            R,
4672        >,
4673    > for Error
4674where
4675    R: Send + Sync + std::fmt::Debug + 'static,
4676{
4677    fn from(
4678        err: ::aws_smithy_runtime_api::client::result::SdkError<
4679            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
4680            R,
4681        >,
4682    ) -> Self {
4683        match err {
4684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4687                source: err.into(),
4688            }),
4689        }
4690    }
4691}
4692impl From<crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError> for Error {
4693    fn from(err: crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError) -> Self {
4694        match err {
4695            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
4696                Error::Unhandled(inner)
4697            }
4698        }
4699    }
4700}
4701impl<R>
4702    From<
4703        ::aws_smithy_runtime_api::client::result::SdkError<
4704            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4705            R,
4706        >,
4707    > for Error
4708where
4709    R: Send + Sync + std::fmt::Debug + 'static,
4710{
4711    fn from(
4712        err: ::aws_smithy_runtime_api::client::result::SdkError<
4713            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
4714            R,
4715        >,
4716    ) -> Self {
4717        match err {
4718            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4719            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4720                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4721                source: err.into(),
4722            }),
4723        }
4724    }
4725}
4726impl From<crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError> for Error {
4727    fn from(err: crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError) -> Self {
4728        match err {
4729            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
4730                Error::Unhandled(inner)
4731            }
4732        }
4733    }
4734}
4735impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
4736    for Error
4737where
4738    R: Send + Sync + std::fmt::Debug + 'static,
4739{
4740    fn from(
4741        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
4742    ) -> Self {
4743        match err {
4744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4747                source: err.into(),
4748            }),
4749        }
4750    }
4751}
4752impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
4753    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
4754        match err {
4755            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
4756        }
4757    }
4758}
4759impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
4760where
4761    R: Send + Sync + std::fmt::Debug + 'static,
4762{
4763    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
4764        match err {
4765            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4766            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4767                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4768                source: err.into(),
4769            }),
4770        }
4771    }
4772}
4773impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
4774    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
4775        match err {
4776            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4777        }
4778    }
4779}
4780impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
4781where
4782    R: Send + Sync + std::fmt::Debug + 'static,
4783{
4784    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
4785        match err {
4786            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4787            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4788                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4789                source: err.into(),
4790            }),
4791        }
4792    }
4793}
4794impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
4795    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
4796        match err {
4797            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
4798        }
4799    }
4800}
4801impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
4802where
4803    R: Send + Sync + std::fmt::Debug + 'static,
4804{
4805    fn from(
4806        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
4807    ) -> Self {
4808        match err {
4809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4812                source: err.into(),
4813            }),
4814        }
4815    }
4816}
4817impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
4818    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
4819        match err {
4820            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
4821        }
4822    }
4823}
4824impl<R>
4825    From<
4826        ::aws_smithy_runtime_api::client::result::SdkError<
4827            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4828            R,
4829        >,
4830    > for Error
4831where
4832    R: Send + Sync + std::fmt::Debug + 'static,
4833{
4834    fn from(
4835        err: ::aws_smithy_runtime_api::client::result::SdkError<
4836            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
4837            R,
4838        >,
4839    ) -> Self {
4840        match err {
4841            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4842            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4843                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4844                source: err.into(),
4845            }),
4846        }
4847    }
4848}
4849impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
4850    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
4851        match err {
4852            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
4853                Error::Unhandled(inner)
4854            }
4855        }
4856    }
4857}
4858impl<R>
4859    From<
4860        ::aws_smithy_runtime_api::client::result::SdkError<
4861            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4862            R,
4863        >,
4864    > for Error
4865where
4866    R: Send + Sync + std::fmt::Debug + 'static,
4867{
4868    fn from(
4869        err: ::aws_smithy_runtime_api::client::result::SdkError<
4870            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
4871            R,
4872        >,
4873    ) -> Self {
4874        match err {
4875            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4876            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4877                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4878                source: err.into(),
4879            }),
4880        }
4881    }
4882}
4883impl From<crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
4884    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
4885        match err {
4886            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
4887                Error::Unhandled(inner)
4888            }
4889        }
4890    }
4891}
4892impl<R>
4893    From<
4894        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
4895    > for Error
4896where
4897    R: Send + Sync + std::fmt::Debug + 'static,
4898{
4899    fn from(
4900        err: ::aws_smithy_runtime_api::client::result::SdkError<
4901            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
4902            R,
4903        >,
4904    ) -> Self {
4905        match err {
4906            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4907            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4908                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4909                source: err.into(),
4910            }),
4911        }
4912    }
4913}
4914impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
4915    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
4916        match err {
4917            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
4918        }
4919    }
4920}
4921impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
4922    for Error
4923where
4924    R: Send + Sync + std::fmt::Debug + 'static,
4925{
4926    fn from(
4927        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
4928    ) -> Self {
4929        match err {
4930            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4931            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4932                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4933                source: err.into(),
4934            }),
4935        }
4936    }
4937}
4938impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
4939    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
4940        match err {
4941            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
4942        }
4943    }
4944}
4945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
4946where
4947    R: Send + Sync + std::fmt::Debug + 'static,
4948{
4949    fn from(
4950        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
4951    ) -> Self {
4952        match err {
4953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4956                source: err.into(),
4957            }),
4958        }
4959    }
4960}
4961impl From<crate::operation::delete_network_interface::DeleteNetworkInterfaceError> for Error {
4962    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
4963        match err {
4964            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
4965        }
4966    }
4967}
4968impl<R>
4969    From<
4970        ::aws_smithy_runtime_api::client::result::SdkError<
4971            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4972            R,
4973        >,
4974    > for Error
4975where
4976    R: Send + Sync + std::fmt::Debug + 'static,
4977{
4978    fn from(
4979        err: ::aws_smithy_runtime_api::client::result::SdkError<
4980            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
4981            R,
4982        >,
4983    ) -> Self {
4984        match err {
4985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4988                source: err.into(),
4989            }),
4990        }
4991    }
4992}
4993impl From<crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
4994    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
4995        match err {
4996            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
4997        }
4998    }
4999}
5000impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>> for Error
5001where
5002    R: Send + Sync + std::fmt::Debug + 'static,
5003{
5004    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>) -> Self {
5005        match err {
5006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5009                source: err.into(),
5010            }),
5011        }
5012    }
5013}
5014impl From<crate::operation::delete_placement_group::DeletePlacementGroupError> for Error {
5015    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
5016        match err {
5017            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
5018        }
5019    }
5020}
5021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
5022where
5023    R: Send + Sync + std::fmt::Debug + 'static,
5024{
5025    fn from(
5026        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
5027    ) -> Self {
5028        match err {
5029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5032                source: err.into(),
5033            }),
5034        }
5035    }
5036}
5037impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
5038    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
5039        match err {
5040            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
5041        }
5042    }
5043}
5044impl<R>
5045    From<
5046        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
5047    > for Error
5048where
5049    R: Send + Sync + std::fmt::Debug + 'static,
5050{
5051    fn from(
5052        err: ::aws_smithy_runtime_api::client::result::SdkError<
5053            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
5054            R,
5055        >,
5056    ) -> Self {
5057        match err {
5058            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5059            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5060                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5061                source: err.into(),
5062            }),
5063        }
5064    }
5065}
5066impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
5067    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
5068        match err {
5069            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
5070        }
5071    }
5072}
5073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
5074where
5075    R: Send + Sync + std::fmt::Debug + 'static,
5076{
5077    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> Self {
5078        match err {
5079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5082                source: err.into(),
5083            }),
5084        }
5085    }
5086}
5087impl From<crate::operation::delete_route::DeleteRouteError> for Error {
5088    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
5089        match err {
5090            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
5091        }
5092    }
5093}
5094impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>> for Error
5095where
5096    R: Send + Sync + std::fmt::Debug + 'static,
5097{
5098    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>) -> Self {
5099        match err {
5100            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5101            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5102                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5103                source: err.into(),
5104            }),
5105        }
5106    }
5107}
5108impl From<crate::operation::delete_route_server::DeleteRouteServerError> for Error {
5109    fn from(err: crate::operation::delete_route_server::DeleteRouteServerError) -> Self {
5110        match err {
5111            crate::operation::delete_route_server::DeleteRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
5112        }
5113    }
5114}
5115impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>>
5116    for Error
5117where
5118    R: Send + Sync + std::fmt::Debug + 'static,
5119{
5120    fn from(
5121        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>,
5122    ) -> Self {
5123        match err {
5124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5127                source: err.into(),
5128            }),
5129        }
5130    }
5131}
5132impl From<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError> for Error {
5133    fn from(err: crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError) -> Self {
5134        match err {
5135            crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5136        }
5137    }
5138}
5139impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>> for Error
5140where
5141    R: Send + Sync + std::fmt::Debug + 'static,
5142{
5143    fn from(
5144        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>,
5145    ) -> Self {
5146        match err {
5147            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5148            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5149                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5150                source: err.into(),
5151            }),
5152        }
5153    }
5154}
5155impl From<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError> for Error {
5156    fn from(err: crate::operation::delete_route_server_peer::DeleteRouteServerPeerError) -> Self {
5157        match err {
5158            crate::operation::delete_route_server_peer::DeleteRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
5159        }
5160    }
5161}
5162impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
5163where
5164    R: Send + Sync + std::fmt::Debug + 'static,
5165{
5166    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> Self {
5167        match err {
5168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5171                source: err.into(),
5172            }),
5173        }
5174    }
5175}
5176impl From<crate::operation::delete_route_table::DeleteRouteTableError> for Error {
5177    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
5178        match err {
5179            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5180        }
5181    }
5182}
5183impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
5184where
5185    R: Send + Sync + std::fmt::Debug + 'static,
5186{
5187    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
5188        match err {
5189            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5190            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5191                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5192                source: err.into(),
5193            }),
5194        }
5195    }
5196}
5197impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
5198    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
5199        match err {
5200            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
5201        }
5202    }
5203}
5204impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
5205where
5206    R: Send + Sync + std::fmt::Debug + 'static,
5207{
5208    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
5209        match err {
5210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5213                source: err.into(),
5214            }),
5215        }
5216    }
5217}
5218impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
5219    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
5220        match err {
5221            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5222        }
5223    }
5224}
5225impl<R>
5226    From<
5227        ::aws_smithy_runtime_api::client::result::SdkError<
5228            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5229            R,
5230        >,
5231    > for Error
5232where
5233    R: Send + Sync + std::fmt::Debug + 'static,
5234{
5235    fn from(
5236        err: ::aws_smithy_runtime_api::client::result::SdkError<
5237            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5238            R,
5239        >,
5240    ) -> Self {
5241        match err {
5242            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5243            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5244                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5245                source: err.into(),
5246            }),
5247        }
5248    }
5249}
5250impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
5251    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
5252        match err {
5253            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5254        }
5255    }
5256}
5257impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
5258where
5259    R: Send + Sync + std::fmt::Debug + 'static,
5260{
5261    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
5262        match err {
5263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5266                source: err.into(),
5267            }),
5268        }
5269    }
5270}
5271impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
5272    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
5273        match err {
5274            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
5275        }
5276    }
5277}
5278impl<R>
5279    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, R>>
5280    for Error
5281where
5282    R: Send + Sync + std::fmt::Debug + 'static,
5283{
5284    fn from(
5285        err: ::aws_smithy_runtime_api::client::result::SdkError<
5286            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
5287            R,
5288        >,
5289    ) -> Self {
5290        match err {
5291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5294                source: err.into(),
5295            }),
5296        }
5297    }
5298}
5299impl From<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
5300    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
5301        match err {
5302            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
5303        }
5304    }
5305}
5306impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
5307where
5308    R: Send + Sync + std::fmt::Debug + 'static,
5309{
5310    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
5311        match err {
5312            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5313            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5314                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5315                source: err.into(),
5316            }),
5317        }
5318    }
5319}
5320impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
5321    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
5322        match err {
5323            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
5324        }
5325    }
5326}
5327impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
5328    for Error
5329where
5330    R: Send + Sync + std::fmt::Debug + 'static,
5331{
5332    fn from(
5333        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>,
5334    ) -> Self {
5335        match err {
5336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5339                source: err.into(),
5340            }),
5341        }
5342    }
5343}
5344impl From<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
5345    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
5346        match err {
5347            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
5348        }
5349    }
5350}
5351impl<R>
5352    From<
5353        ::aws_smithy_runtime_api::client::result::SdkError<
5354            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5355            R,
5356        >,
5357    > for Error
5358where
5359    R: Send + Sync + std::fmt::Debug + 'static,
5360{
5361    fn from(
5362        err: ::aws_smithy_runtime_api::client::result::SdkError<
5363            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5364            R,
5365        >,
5366    ) -> Self {
5367        match err {
5368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5371                source: err.into(),
5372            }),
5373        }
5374    }
5375}
5376impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
5377    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
5378        match err {
5379            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
5380        }
5381    }
5382}
5383impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
5384    for Error
5385where
5386    R: Send + Sync + std::fmt::Debug + 'static,
5387{
5388    fn from(
5389        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
5390    ) -> Self {
5391        match err {
5392            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5393            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5394                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5395                source: err.into(),
5396            }),
5397        }
5398    }
5399}
5400impl From<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
5401    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
5402        match err {
5403            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
5404        }
5405    }
5406}
5407impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
5408    for Error
5409where
5410    R: Send + Sync + std::fmt::Debug + 'static,
5411{
5412    fn from(
5413        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5414    ) -> Self {
5415        match err {
5416            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5417            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5418                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5419                source: err.into(),
5420            }),
5421        }
5422    }
5423}
5424impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5425    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5426        match err {
5427            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5428        }
5429    }
5430}
5431impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5432where
5433    R: Send + Sync + std::fmt::Debug + 'static,
5434{
5435    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5436        match err {
5437            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5438            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5439                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5440                source: err.into(),
5441            }),
5442        }
5443    }
5444}
5445impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5446    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5447        match err {
5448            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5449        }
5450    }
5451}
5452impl<R>
5453    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5454    for Error
5455where
5456    R: Send + Sync + std::fmt::Debug + 'static,
5457{
5458    fn from(
5459        err: ::aws_smithy_runtime_api::client::result::SdkError<
5460            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5461            R,
5462        >,
5463    ) -> Self {
5464        match err {
5465            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5466            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5467                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5468                source: err.into(),
5469            }),
5470        }
5471    }
5472}
5473impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5474    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5475        match err {
5476            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5477        }
5478    }
5479}
5480impl<R>
5481    From<
5482        ::aws_smithy_runtime_api::client::result::SdkError<
5483            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5484            R,
5485        >,
5486    > for Error
5487where
5488    R: Send + Sync + std::fmt::Debug + 'static,
5489{
5490    fn from(
5491        err: ::aws_smithy_runtime_api::client::result::SdkError<
5492            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5493            R,
5494        >,
5495    ) -> Self {
5496        match err {
5497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5500                source: err.into(),
5501            }),
5502        }
5503    }
5504}
5505impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5506    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5507        match err {
5508            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
5509        }
5510    }
5511}
5512impl<R>
5513    From<
5514        ::aws_smithy_runtime_api::client::result::SdkError<
5515            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5516            R,
5517        >,
5518    > for Error
5519where
5520    R: Send + Sync + std::fmt::Debug + 'static,
5521{
5522    fn from(
5523        err: ::aws_smithy_runtime_api::client::result::SdkError<
5524            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
5525            R,
5526        >,
5527    ) -> Self {
5528        match err {
5529            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5530            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5531                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5532                source: err.into(),
5533            }),
5534        }
5535    }
5536}
5537impl From<crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
5538    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
5539        match err {
5540            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
5541                Error::Unhandled(inner)
5542            }
5543        }
5544    }
5545}
5546impl<R>
5547    From<
5548        ::aws_smithy_runtime_api::client::result::SdkError<
5549            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5550            R,
5551        >,
5552    > for Error
5553where
5554    R: Send + Sync + std::fmt::Debug + 'static,
5555{
5556    fn from(
5557        err: ::aws_smithy_runtime_api::client::result::SdkError<
5558            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
5559            R,
5560        >,
5561    ) -> Self {
5562        match err {
5563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5566                source: err.into(),
5567            }),
5568        }
5569    }
5570}
5571impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
5572    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
5573        match err {
5574            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
5575                Error::Unhandled(inner)
5576            }
5577        }
5578    }
5579}
5580impl<R>
5581    From<
5582        ::aws_smithy_runtime_api::client::result::SdkError<
5583            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5584            R,
5585        >,
5586    > for Error
5587where
5588    R: Send + Sync + std::fmt::Debug + 'static,
5589{
5590    fn from(
5591        err: ::aws_smithy_runtime_api::client::result::SdkError<
5592            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
5593            R,
5594        >,
5595    ) -> Self {
5596        match err {
5597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5600                source: err.into(),
5601            }),
5602        }
5603    }
5604}
5605impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
5606    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
5607        match err {
5608            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
5609        }
5610    }
5611}
5612impl<R>
5613    From<
5614        ::aws_smithy_runtime_api::client::result::SdkError<
5615            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5616            R,
5617        >,
5618    > for Error
5619where
5620    R: Send + Sync + std::fmt::Debug + 'static,
5621{
5622    fn from(
5623        err: ::aws_smithy_runtime_api::client::result::SdkError<
5624            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
5625            R,
5626        >,
5627    ) -> Self {
5628        match err {
5629            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5630            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5631                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5632                source: err.into(),
5633            }),
5634        }
5635    }
5636}
5637impl From<crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
5638    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
5639        match err {
5640            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
5641                Error::Unhandled(inner)
5642            }
5643        }
5644    }
5645}
5646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
5647    for Error
5648where
5649    R: Send + Sync + std::fmt::Debug + 'static,
5650{
5651    fn from(
5652        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
5653    ) -> Self {
5654        match err {
5655            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5656            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5657                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5658                source: err.into(),
5659            }),
5660        }
5661    }
5662}
5663impl From<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError> for Error {
5664    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
5665        match err {
5666            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
5667        }
5668    }
5669}
5670impl<R>
5671    From<
5672        ::aws_smithy_runtime_api::client::result::SdkError<
5673            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5674            R,
5675        >,
5676    > for Error
5677where
5678    R: Send + Sync + std::fmt::Debug + 'static,
5679{
5680    fn from(
5681        err: ::aws_smithy_runtime_api::client::result::SdkError<
5682            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
5683            R,
5684        >,
5685    ) -> Self {
5686        match err {
5687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5690                source: err.into(),
5691            }),
5692        }
5693    }
5694}
5695impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
5696    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
5697        match err {
5698            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5699        }
5700    }
5701}
5702impl<R>
5703    From<
5704        ::aws_smithy_runtime_api::client::result::SdkError<
5705            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5706            R,
5707        >,
5708    > for Error
5709where
5710    R: Send + Sync + std::fmt::Debug + 'static,
5711{
5712    fn from(
5713        err: ::aws_smithy_runtime_api::client::result::SdkError<
5714            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
5715            R,
5716        >,
5717    ) -> Self {
5718        match err {
5719            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5720            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5721                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5722                source: err.into(),
5723            }),
5724        }
5725    }
5726}
5727impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
5728    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
5729        match err {
5730            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
5731                Error::Unhandled(inner)
5732            }
5733        }
5734    }
5735}
5736impl<R>
5737    From<
5738        ::aws_smithy_runtime_api::client::result::SdkError<
5739            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5740            R,
5741        >,
5742    > for Error
5743where
5744    R: Send + Sync + std::fmt::Debug + 'static,
5745{
5746    fn from(
5747        err: ::aws_smithy_runtime_api::client::result::SdkError<
5748            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
5749            R,
5750        >,
5751    ) -> Self {
5752        match err {
5753            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5754            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5755                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5756                source: err.into(),
5757            }),
5758        }
5759    }
5760}
5761impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
5762    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
5763        match err {
5764            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
5765                Error::Unhandled(inner)
5766            }
5767        }
5768    }
5769}
5770impl<R>
5771    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
5772    for Error
5773where
5774    R: Send + Sync + std::fmt::Debug + 'static,
5775{
5776    fn from(
5777        err: ::aws_smithy_runtime_api::client::result::SdkError<
5778            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
5779            R,
5780        >,
5781    ) -> Self {
5782        match err {
5783            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5784            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5785                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5786                source: err.into(),
5787            }),
5788        }
5789    }
5790}
5791impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
5792    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
5793        match err {
5794            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5795        }
5796    }
5797}
5798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
5799    for Error
5800where
5801    R: Send + Sync + std::fmt::Debug + 'static,
5802{
5803    fn from(
5804        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
5805    ) -> Self {
5806        match err {
5807            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5808            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5809                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5810                source: err.into(),
5811            }),
5812        }
5813    }
5814}
5815impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
5816    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
5817        match err {
5818            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
5819        }
5820    }
5821}
5822impl<R>
5823    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
5824    for Error
5825where
5826    R: Send + Sync + std::fmt::Debug + 'static,
5827{
5828    fn from(
5829        err: ::aws_smithy_runtime_api::client::result::SdkError<
5830            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
5831            R,
5832        >,
5833    ) -> Self {
5834        match err {
5835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5838                source: err.into(),
5839            }),
5840        }
5841    }
5842}
5843impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
5844    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
5845        match err {
5846            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
5847        }
5848    }
5849}
5850impl<R>
5851    From<
5852        ::aws_smithy_runtime_api::client::result::SdkError<
5853            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5854            R,
5855        >,
5856    > for Error
5857where
5858    R: Send + Sync + std::fmt::Debug + 'static,
5859{
5860    fn from(
5861        err: ::aws_smithy_runtime_api::client::result::SdkError<
5862            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
5863            R,
5864        >,
5865    ) -> Self {
5866        match err {
5867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5870                source: err.into(),
5871            }),
5872        }
5873    }
5874}
5875impl From<crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
5876    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
5877        match err {
5878            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
5879                Error::Unhandled(inner)
5880            }
5881        }
5882    }
5883}
5884impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
5885where
5886    R: Send + Sync + std::fmt::Debug + 'static,
5887{
5888    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> Self {
5889        match err {
5890            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5891            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5892                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5893                source: err.into(),
5894            }),
5895        }
5896    }
5897}
5898impl From<crate::operation::delete_volume::DeleteVolumeError> for Error {
5899    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
5900        match err {
5901            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
5902        }
5903    }
5904}
5905impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
5906where
5907    R: Send + Sync + std::fmt::Debug + 'static,
5908{
5909    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> Self {
5910        match err {
5911            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5912            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5913                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5914                source: err.into(),
5915            }),
5916        }
5917    }
5918}
5919impl From<crate::operation::delete_vpc::DeleteVpcError> for Error {
5920    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
5921        match err {
5922            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
5923        }
5924    }
5925}
5926impl<R>
5927    From<
5928        ::aws_smithy_runtime_api::client::result::SdkError<
5929            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5930            R,
5931        >,
5932    > for Error
5933where
5934    R: Send + Sync + std::fmt::Debug + 'static,
5935{
5936    fn from(
5937        err: ::aws_smithy_runtime_api::client::result::SdkError<
5938            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
5939            R,
5940        >,
5941    ) -> Self {
5942        match err {
5943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5946                source: err.into(),
5947            }),
5948        }
5949    }
5950}
5951impl From<crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
5952    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
5953        match err {
5954            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
5955                Error::Unhandled(inner)
5956            }
5957        }
5958    }
5959}
5960impl<R>
5961    From<
5962        ::aws_smithy_runtime_api::client::result::SdkError<
5963            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5964            R,
5965        >,
5966    > for Error
5967where
5968    R: Send + Sync + std::fmt::Debug + 'static,
5969{
5970    fn from(
5971        err: ::aws_smithy_runtime_api::client::result::SdkError<
5972            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
5973            R,
5974        >,
5975    ) -> Self {
5976        match err {
5977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5980                source: err.into(),
5981            }),
5982        }
5983    }
5984}
5985impl From<crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
5986    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
5987        match err {
5988            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
5989                Error::Unhandled(inner)
5990            }
5991        }
5992    }
5993}
5994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
5995where
5996    R: Send + Sync + std::fmt::Debug + 'static,
5997{
5998    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
5999        match err {
6000            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6001            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6002                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6003                source: err.into(),
6004            }),
6005        }
6006    }
6007}
6008impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
6009    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
6010        match err {
6011            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6012        }
6013    }
6014}
6015impl<R>
6016    From<
6017        ::aws_smithy_runtime_api::client::result::SdkError<
6018            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6019            R,
6020        >,
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<
6027            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6028            R,
6029        >,
6030    ) -> Self {
6031        match err {
6032            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6033            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6034                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6035                source: err.into(),
6036            }),
6037        }
6038    }
6039}
6040impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
6041    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
6042        match err {
6043            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
6044                Error::Unhandled(inner)
6045            }
6046        }
6047    }
6048}
6049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
6050    for Error
6051where
6052    R: Send + Sync + std::fmt::Debug + 'static,
6053{
6054    fn from(
6055        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
6056    ) -> Self {
6057        match err {
6058            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6059            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6060                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6061                source: err.into(),
6062            }),
6063        }
6064    }
6065}
6066impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
6067    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
6068        match err {
6069            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6070        }
6071    }
6072}
6073impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>> for Error
6074where
6075    R: Send + Sync + std::fmt::Debug + 'static,
6076{
6077    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>) -> Self {
6078        match err {
6079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6082                source: err.into(),
6083            }),
6084        }
6085    }
6086}
6087impl From<crate::operation::delete_vpn_connection::DeleteVpnConnectionError> for Error {
6088    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
6089        match err {
6090            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6091        }
6092    }
6093}
6094impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
6095    for Error
6096where
6097    R: Send + Sync + std::fmt::Debug + 'static,
6098{
6099    fn from(
6100        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
6101    ) -> Self {
6102        match err {
6103            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6104            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6105                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6106                source: err.into(),
6107            }),
6108        }
6109    }
6110}
6111impl From<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
6112    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
6113        match err {
6114            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
6115        }
6116    }
6117}
6118impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
6119where
6120    R: Send + Sync + std::fmt::Debug + 'static,
6121{
6122    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
6123        match err {
6124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6127                source: err.into(),
6128            }),
6129        }
6130    }
6131}
6132impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
6133    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
6134        match err {
6135            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
6136        }
6137    }
6138}
6139impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
6140where
6141    R: Send + Sync + std::fmt::Debug + 'static,
6142{
6143    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
6144        match err {
6145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6148                source: err.into(),
6149            }),
6150        }
6151    }
6152}
6153impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
6154    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
6155        match err {
6156            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
6157        }
6158    }
6159}
6160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
6161where
6162    R: Send + Sync + std::fmt::Debug + 'static,
6163{
6164    fn from(
6165        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
6166    ) -> Self {
6167        match err {
6168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6171                source: err.into(),
6172            }),
6173        }
6174    }
6175}
6176impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
6177    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
6178        match err {
6179            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
6180        }
6181    }
6182}
6183impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
6184    for Error
6185where
6186    R: Send + Sync + std::fmt::Debug + 'static,
6187{
6188    fn from(
6189        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
6190    ) -> Self {
6191        match err {
6192            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6193            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6194                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6195                source: err.into(),
6196            }),
6197        }
6198    }
6199}
6200impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
6201    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
6202        match err {
6203            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6204        }
6205    }
6206}
6207impl<R>
6208    From<
6209        ::aws_smithy_runtime_api::client::result::SdkError<
6210            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6211            R,
6212        >,
6213    > for Error
6214where
6215    R: Send + Sync + std::fmt::Debug + 'static,
6216{
6217    fn from(
6218        err: ::aws_smithy_runtime_api::client::result::SdkError<
6219            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6220            R,
6221        >,
6222    ) -> Self {
6223        match err {
6224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6227                source: err.into(),
6228            }),
6229        }
6230    }
6231}
6232impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
6233    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
6234        match err {
6235            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6236        }
6237    }
6238}
6239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
6240where
6241    R: Send + Sync + std::fmt::Debug + 'static,
6242{
6243    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
6244        match err {
6245            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6246            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6247                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6248                source: err.into(),
6249            }),
6250        }
6251    }
6252}
6253impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
6254    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
6255        match err {
6256            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
6257        }
6258    }
6259}
6260impl<R>
6261    From<
6262        ::aws_smithy_runtime_api::client::result::SdkError<
6263            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6264            R,
6265        >,
6266    > for Error
6267where
6268    R: Send + Sync + std::fmt::Debug + 'static,
6269{
6270    fn from(
6271        err: ::aws_smithy_runtime_api::client::result::SdkError<
6272            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6273            R,
6274        >,
6275    ) -> Self {
6276        match err {
6277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6280                source: err.into(),
6281            }),
6282        }
6283    }
6284}
6285impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
6286    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
6287        match err {
6288            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
6289                inner,
6290            ) => Error::Unhandled(inner),
6291        }
6292    }
6293}
6294impl<R>
6295    From<
6296        ::aws_smithy_runtime_api::client::result::SdkError<
6297            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6298            R,
6299        >,
6300    > for Error
6301where
6302    R: Send + Sync + std::fmt::Debug + 'static,
6303{
6304    fn from(
6305        err: ::aws_smithy_runtime_api::client::result::SdkError<
6306            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6307            R,
6308        >,
6309    ) -> Self {
6310        match err {
6311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6314                source: err.into(),
6315            }),
6316        }
6317    }
6318}
6319impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
6320    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
6321        match err {
6322            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
6323                inner,
6324            ) => Error::Unhandled(inner),
6325        }
6326    }
6327}
6328impl<R>
6329    From<
6330        ::aws_smithy_runtime_api::client::result::SdkError<
6331            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6332            R,
6333        >,
6334    > for Error
6335where
6336    R: Send + Sync + std::fmt::Debug + 'static,
6337{
6338    fn from(
6339        err: ::aws_smithy_runtime_api::client::result::SdkError<
6340            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6341            R,
6342        >,
6343    ) -> Self {
6344        match err {
6345            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6346            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6347                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6348                source: err.into(),
6349            }),
6350        }
6351    }
6352}
6353impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
6354    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
6355        match err {
6356            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
6357                inner,
6358            ) => Error::Unhandled(inner),
6359        }
6360    }
6361}
6362impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
6363    for Error
6364where
6365    R: Send + Sync + std::fmt::Debug + 'static,
6366{
6367    fn from(
6368        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
6369    ) -> Self {
6370        match err {
6371            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6372            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6373                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6374                source: err.into(),
6375            }),
6376        }
6377    }
6378}
6379impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
6380    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
6381        match err {
6382            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
6383        }
6384    }
6385}
6386impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
6387where
6388    R: Send + Sync + std::fmt::Debug + 'static,
6389{
6390    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
6391        match err {
6392            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6393            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6394                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6395                source: err.into(),
6396            }),
6397        }
6398    }
6399}
6400impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
6401    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
6402        match err {
6403            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
6404        }
6405    }
6406}
6407impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
6408    for Error
6409where
6410    R: Send + Sync + std::fmt::Debug + 'static,
6411{
6412    fn from(
6413        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
6414    ) -> Self {
6415        match err {
6416            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6417            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6418                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6419                source: err.into(),
6420            }),
6421        }
6422    }
6423}
6424impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
6425    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
6426        match err {
6427            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
6428        }
6429    }
6430}
6431impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>>
6432    for Error
6433where
6434    R: Send + Sync + std::fmt::Debug + 'static,
6435{
6436    fn from(
6437        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
6438    ) -> Self {
6439        match err {
6440            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6441            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6442                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6443                source: err.into(),
6444            }),
6445        }
6446    }
6447}
6448impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
6449    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
6450        match err {
6451            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
6452        }
6453    }
6454}
6455impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
6456    for Error
6457where
6458    R: Send + Sync + std::fmt::Debug + 'static,
6459{
6460    fn from(
6461        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
6462    ) -> Self {
6463        match err {
6464            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6465            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6466                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6467                source: err.into(),
6468            }),
6469        }
6470    }
6471}
6472impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
6473    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
6474        match err {
6475            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
6476        }
6477    }
6478}
6479impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
6480    for Error
6481where
6482    R: Send + Sync + std::fmt::Debug + 'static,
6483{
6484    fn from(
6485        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
6486    ) -> Self {
6487        match err {
6488            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6489            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6490                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6491                source: err.into(),
6492            }),
6493        }
6494    }
6495}
6496impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
6497    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
6498        match err {
6499            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
6500        }
6501    }
6502}
6503impl<R>
6504    From<
6505        ::aws_smithy_runtime_api::client::result::SdkError<
6506            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6507            R,
6508        >,
6509    > for Error
6510where
6511    R: Send + Sync + std::fmt::Debug + 'static,
6512{
6513    fn from(
6514        err: ::aws_smithy_runtime_api::client::result::SdkError<
6515            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6516            R,
6517        >,
6518    ) -> Self {
6519        match err {
6520            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6521            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6522                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6523                source: err.into(),
6524            }),
6525        }
6526    }
6527}
6528impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
6529    fn from(
6530        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
6531    ) -> Self {
6532        match err {
6533            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
6534        }
6535    }
6536}
6537impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
6538where
6539    R: Send + Sync + std::fmt::Debug + 'static,
6540{
6541    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> 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_bundle_tasks::DescribeBundleTasksError> for Error {
6552    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
6553        match err {
6554            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
6555        }
6556    }
6557}
6558impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, 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_byoip_cidrs::DescribeByoipCidrsError, 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_byoip_cidrs::DescribeByoipCidrsError> for Error {
6573    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
6574        match err {
6575            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
6576        }
6577    }
6578}
6579impl<R>
6580    From<
6581        ::aws_smithy_runtime_api::client::result::SdkError<
6582            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6583            R,
6584        >,
6585    > for Error
6586where
6587    R: Send + Sync + std::fmt::Debug + 'static,
6588{
6589    fn from(
6590        err: ::aws_smithy_runtime_api::client::result::SdkError<
6591            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
6592            R,
6593        >,
6594    ) -> Self {
6595        match err {
6596            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6597            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6598                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6599                source: err.into(),
6600            }),
6601        }
6602    }
6603}
6604impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
6605    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
6606        match err {
6607            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
6608                Error::Unhandled(inner)
6609            }
6610        }
6611    }
6612}
6613impl<R>
6614    From<
6615        ::aws_smithy_runtime_api::client::result::SdkError<
6616            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6617            R,
6618        >,
6619    > for Error
6620where
6621    R: Send + Sync + std::fmt::Debug + 'static,
6622{
6623    fn from(
6624        err: ::aws_smithy_runtime_api::client::result::SdkError<
6625            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
6626            R,
6627        >,
6628    ) -> Self {
6629        match err {
6630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6633                source: err.into(),
6634            }),
6635        }
6636    }
6637}
6638impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
6639    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
6640        match err {
6641            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
6642                Error::Unhandled(inner)
6643            }
6644        }
6645    }
6646}
6647impl<R>
6648    From<
6649        ::aws_smithy_runtime_api::client::result::SdkError<
6650            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6651            R,
6652        >,
6653    > for Error
6654where
6655    R: Send + Sync + std::fmt::Debug + 'static,
6656{
6657    fn from(
6658        err: ::aws_smithy_runtime_api::client::result::SdkError<
6659            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
6660            R,
6661        >,
6662    ) -> Self {
6663        match err {
6664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6667                source: err.into(),
6668            }),
6669        }
6670    }
6671}
6672impl From<crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
6673    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
6674        match err {
6675            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
6676        }
6677    }
6678}
6679impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>> for Error
6680where
6681    R: Send + Sync + std::fmt::Debug + 'static,
6682{
6683    fn from(
6684        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>,
6685    ) -> Self {
6686        match err {
6687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6690                source: err.into(),
6691            }),
6692        }
6693    }
6694}
6695impl From<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError> for Error {
6696    fn from(err: crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError) -> Self {
6697        match err {
6698            crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError::Unhandled(inner) => Error::Unhandled(inner),
6699        }
6700    }
6701}
6702impl<R>
6703    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError, R>>
6704    for Error
6705where
6706    R: Send + Sync + std::fmt::Debug + 'static,
6707{
6708    fn from(
6709        err: ::aws_smithy_runtime_api::client::result::SdkError<
6710            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError,
6711            R,
6712        >,
6713    ) -> Self {
6714        match err {
6715            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6716            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6717                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6718                source: err.into(),
6719            }),
6720        }
6721    }
6722}
6723impl From<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError> for Error {
6724    fn from(err: crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError) -> Self {
6725        match err {
6726            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError::Unhandled(inner) => Error::Unhandled(inner),
6727        }
6728    }
6729}
6730impl<R>
6731    From<
6732        ::aws_smithy_runtime_api::client::result::SdkError<
6733            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6734            R,
6735        >,
6736    > for Error
6737where
6738    R: Send + Sync + std::fmt::Debug + 'static,
6739{
6740    fn from(
6741        err: ::aws_smithy_runtime_api::client::result::SdkError<
6742            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
6743            R,
6744        >,
6745    ) -> Self {
6746        match err {
6747            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6748            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6749                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6750                source: err.into(),
6751            }),
6752        }
6753    }
6754}
6755impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
6756    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
6757        match err {
6758            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
6759                Error::Unhandled(inner)
6760            }
6761        }
6762    }
6763}
6764impl<R>
6765    From<
6766        ::aws_smithy_runtime_api::client::result::SdkError<
6767            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6768            R,
6769        >,
6770    > for Error
6771where
6772    R: Send + Sync + std::fmt::Debug + 'static,
6773{
6774    fn from(
6775        err: ::aws_smithy_runtime_api::client::result::SdkError<
6776            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
6777            R,
6778        >,
6779    ) -> Self {
6780        match err {
6781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6784                source: err.into(),
6785            }),
6786        }
6787    }
6788}
6789impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
6790    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
6791        match err {
6792            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
6793                Error::Unhandled(inner)
6794            }
6795        }
6796    }
6797}
6798impl<R>
6799    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, R>>
6800    for Error
6801where
6802    R: Send + Sync + std::fmt::Debug + 'static,
6803{
6804    fn from(
6805        err: ::aws_smithy_runtime_api::client::result::SdkError<
6806            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
6807            R,
6808        >,
6809    ) -> Self {
6810        match err {
6811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6814                source: err.into(),
6815            }),
6816        }
6817    }
6818}
6819impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
6820    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
6821        match err {
6822            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
6823        }
6824    }
6825}
6826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
6827    for Error
6828where
6829    R: Send + Sync + std::fmt::Debug + 'static,
6830{
6831    fn from(
6832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
6833    ) -> Self {
6834        match err {
6835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6838                source: err.into(),
6839            }),
6840        }
6841    }
6842}
6843impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
6844    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
6845        match err {
6846            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
6847        }
6848    }
6849}
6850impl<R>
6851    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
6852    for Error
6853where
6854    R: Send + Sync + std::fmt::Debug + 'static,
6855{
6856    fn from(
6857        err: ::aws_smithy_runtime_api::client::result::SdkError<
6858            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError,
6859            R,
6860        >,
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_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
6872    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
6873        match err {
6874            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
6875        }
6876    }
6877}
6878impl<R>
6879    From<
6880        ::aws_smithy_runtime_api::client::result::SdkError<
6881            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6882            R,
6883        >,
6884    > for Error
6885where
6886    R: Send + Sync + std::fmt::Debug + 'static,
6887{
6888    fn from(
6889        err: ::aws_smithy_runtime_api::client::result::SdkError<
6890            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
6891            R,
6892        >,
6893    ) -> Self {
6894        match err {
6895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6898                source: err.into(),
6899            }),
6900        }
6901    }
6902}
6903impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
6904    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
6905        match err {
6906            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
6907                Error::Unhandled(inner)
6908            }
6909        }
6910    }
6911}
6912impl<R>
6913    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
6914    for Error
6915where
6916    R: Send + Sync + std::fmt::Debug + 'static,
6917{
6918    fn from(
6919        err: ::aws_smithy_runtime_api::client::result::SdkError<
6920            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError,
6921            R,
6922        >,
6923    ) -> Self {
6924        match err {
6925            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6926            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6927                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6928                source: err.into(),
6929            }),
6930        }
6931    }
6932}
6933impl From<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
6934    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
6935        match err {
6936            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
6937        }
6938    }
6939}
6940impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
6941    for Error
6942where
6943    R: Send + Sync + std::fmt::Debug + 'static,
6944{
6945    fn from(
6946        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
6947    ) -> Self {
6948        match err {
6949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6952                source: err.into(),
6953            }),
6954        }
6955    }
6956}
6957impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
6958    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
6959        match err {
6960            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6961        }
6962    }
6963}
6964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
6965    for Error
6966where
6967    R: Send + Sync + std::fmt::Debug + 'static,
6968{
6969    fn from(
6970        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
6971    ) -> Self {
6972        match err {
6973            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6974            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6975                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6976                source: err.into(),
6977            }),
6978        }
6979    }
6980}
6981impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
6982    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
6983        match err {
6984            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
6985        }
6986    }
6987}
6988impl<R>
6989    From<
6990        ::aws_smithy_runtime_api::client::result::SdkError<
6991            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
6992            R,
6993        >,
6994    > for Error
6995where
6996    R: Send + Sync + std::fmt::Debug + 'static,
6997{
6998    fn from(
6999        err: ::aws_smithy_runtime_api::client::result::SdkError<
7000            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7001            R,
7002        >,
7003    ) -> Self {
7004        match err {
7005            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7006            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7007                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7008                source: err.into(),
7009            }),
7010        }
7011    }
7012}
7013impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
7014    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
7015        match err {
7016            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
7017        }
7018    }
7019}
7020impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
7021where
7022    R: Send + Sync + std::fmt::Debug + 'static,
7023{
7024    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> Self {
7025        match err {
7026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7029                source: err.into(),
7030            }),
7031        }
7032    }
7033}
7034impl From<crate::operation::describe_coip_pools::DescribeCoipPoolsError> for Error {
7035    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
7036        match err {
7037            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
7038        }
7039    }
7040}
7041impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
7042    for Error
7043where
7044    R: Send + Sync + std::fmt::Debug + 'static,
7045{
7046    fn from(
7047        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
7048    ) -> Self {
7049        match err {
7050            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7051            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7052                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7053                source: err.into(),
7054            }),
7055        }
7056    }
7057}
7058impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
7059    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
7060        match err {
7061            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
7062        }
7063    }
7064}
7065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
7066    for Error
7067where
7068    R: Send + Sync + std::fmt::Debug + 'static,
7069{
7070    fn from(
7071        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
7072    ) -> Self {
7073        match err {
7074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7077                source: err.into(),
7078            }),
7079        }
7080    }
7081}
7082impl From<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError> for Error {
7083    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
7084        match err {
7085            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7086        }
7087    }
7088}
7089impl<R>
7090    From<
7091        ::aws_smithy_runtime_api::client::result::SdkError<
7092            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7093            R,
7094        >,
7095    > for Error
7096where
7097    R: Send + Sync + std::fmt::Debug + 'static,
7098{
7099    fn from(
7100        err: ::aws_smithy_runtime_api::client::result::SdkError<
7101            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7102            R,
7103        >,
7104    ) -> 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_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
7115    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
7116        match err {
7117            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
7118                Error::Unhandled(inner)
7119            }
7120        }
7121    }
7122}
7123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
7124where
7125    R: Send + Sync + std::fmt::Debug + 'static,
7126{
7127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> 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_dhcp_options::DescribeDhcpOptionsError> for Error {
7138    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
7139        match err {
7140            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
7141        }
7142    }
7143}
7144impl<R>
7145    From<
7146        ::aws_smithy_runtime_api::client::result::SdkError<
7147            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7148            R,
7149        >,
7150    > for Error
7151where
7152    R: Send + Sync + std::fmt::Debug + 'static,
7153{
7154    fn from(
7155        err: ::aws_smithy_runtime_api::client::result::SdkError<
7156            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7157            R,
7158        >,
7159    ) -> Self {
7160        match err {
7161            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7162            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7163                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7164                source: err.into(),
7165            }),
7166        }
7167    }
7168}
7169impl From<crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
7170    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
7171        match err {
7172            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
7173                Error::Unhandled(inner)
7174            }
7175        }
7176    }
7177}
7178impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
7179where
7180    R: Send + Sync + std::fmt::Debug + 'static,
7181{
7182    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
7183        match err {
7184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7187                source: err.into(),
7188            }),
7189        }
7190    }
7191}
7192impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
7193    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
7194        match err {
7195            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
7196        }
7197    }
7198}
7199impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
7200    for Error
7201where
7202    R: Send + Sync + std::fmt::Debug + 'static,
7203{
7204    fn from(
7205        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
7206    ) -> Self {
7207        match err {
7208            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7209            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7210                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7211                source: err.into(),
7212            }),
7213        }
7214    }
7215}
7216impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
7217    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
7218        match err {
7219            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7220        }
7221    }
7222}
7223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
7224where
7225    R: Send + Sync + std::fmt::Debug + 'static,
7226{
7227    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
7228        match err {
7229            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7230            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7231                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7232                source: err.into(),
7233            }),
7234        }
7235    }
7236}
7237impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
7238    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
7239        match err {
7240            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
7241        }
7242    }
7243}
7244impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
7245    for Error
7246where
7247    R: Send + Sync + std::fmt::Debug + 'static,
7248{
7249    fn from(
7250        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
7251    ) -> Self {
7252        match err {
7253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7256                source: err.into(),
7257            }),
7258        }
7259    }
7260}
7261impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
7262    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
7263        match err {
7264            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
7265        }
7266    }
7267}
7268impl<R>
7269    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
7270    for Error
7271where
7272    R: Send + Sync + std::fmt::Debug + 'static,
7273{
7274    fn from(
7275        err: ::aws_smithy_runtime_api::client::result::SdkError<
7276            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
7277            R,
7278        >,
7279    ) -> Self {
7280        match err {
7281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7284                source: err.into(),
7285            }),
7286        }
7287    }
7288}
7289impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
7290    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
7291        match err {
7292            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
7293        }
7294    }
7295}
7296impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
7297where
7298    R: Send + Sync + std::fmt::Debug + 'static,
7299{
7300    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
7301        match err {
7302            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7303            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7304                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7305                source: err.into(),
7306            }),
7307        }
7308    }
7309}
7310impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
7311    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
7312        match err {
7313            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
7314        }
7315    }
7316}
7317impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> for Error
7318where
7319    R: Send + Sync + std::fmt::Debug + 'static,
7320{
7321    fn from(
7322        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>,
7323    ) -> Self {
7324        match err {
7325            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7326            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7327                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7328                source: err.into(),
7329            }),
7330        }
7331    }
7332}
7333impl From<crate::operation::describe_fleet_instances::DescribeFleetInstancesError> for Error {
7334    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
7335        match err {
7336            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7337        }
7338    }
7339}
7340impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
7341where
7342    R: Send + Sync + std::fmt::Debug + 'static,
7343{
7344    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
7345        match err {
7346            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7347            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7348                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7349                source: err.into(),
7350            }),
7351        }
7352    }
7353}
7354impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
7355    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
7356        match err {
7357            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
7358        }
7359    }
7360}
7361impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
7362where
7363    R: Send + Sync + std::fmt::Debug + 'static,
7364{
7365    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> Self {
7366        match err {
7367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7370                source: err.into(),
7371            }),
7372        }
7373    }
7374}
7375impl From<crate::operation::describe_flow_logs::DescribeFlowLogsError> for Error {
7376    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
7377        match err {
7378            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
7379        }
7380    }
7381}
7382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
7383    for Error
7384where
7385    R: Send + Sync + std::fmt::Debug + 'static,
7386{
7387    fn from(
7388        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
7389    ) -> Self {
7390        match err {
7391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7394                source: err.into(),
7395            }),
7396        }
7397    }
7398}
7399impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
7400    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
7401        match err {
7402            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7403        }
7404    }
7405}
7406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
7407where
7408    R: Send + Sync + std::fmt::Debug + 'static,
7409{
7410    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
7411        match err {
7412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7415                source: err.into(),
7416            }),
7417        }
7418    }
7419}
7420impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
7421    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
7422        match err {
7423            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
7424        }
7425    }
7426}
7427impl<R>
7428    From<
7429        ::aws_smithy_runtime_api::client::result::SdkError<
7430            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7431            R,
7432        >,
7433    > for Error
7434where
7435    R: Send + Sync + std::fmt::Debug + 'static,
7436{
7437    fn from(
7438        err: ::aws_smithy_runtime_api::client::result::SdkError<
7439            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
7440            R,
7441        >,
7442    ) -> Self {
7443        match err {
7444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7447                source: err.into(),
7448            }),
7449        }
7450    }
7451}
7452impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
7453    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
7454        match err {
7455            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7456        }
7457    }
7458}
7459impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
7460    for Error
7461where
7462    R: Send + Sync + std::fmt::Debug + 'static,
7463{
7464    fn from(
7465        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
7466    ) -> Self {
7467        match err {
7468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7471                source: err.into(),
7472            }),
7473        }
7474    }
7475}
7476impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
7477    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
7478        match err {
7479            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7480        }
7481    }
7482}
7483impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
7484where
7485    R: Send + Sync + std::fmt::Debug + 'static,
7486{
7487    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
7488        match err {
7489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7492                source: err.into(),
7493            }),
7494        }
7495    }
7496}
7497impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
7498    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
7499        match err {
7500            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
7501        }
7502    }
7503}
7504impl<R>
7505    From<
7506        ::aws_smithy_runtime_api::client::result::SdkError<
7507            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7508            R,
7509        >,
7510    > for Error
7511where
7512    R: Send + Sync + std::fmt::Debug + 'static,
7513{
7514    fn from(
7515        err: ::aws_smithy_runtime_api::client::result::SdkError<
7516            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
7517            R,
7518        >,
7519    ) -> Self {
7520        match err {
7521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7524                source: err.into(),
7525            }),
7526        }
7527    }
7528}
7529impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
7530    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
7531        match err {
7532            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
7533                Error::Unhandled(inner)
7534            }
7535        }
7536    }
7537}
7538impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
7539    for Error
7540where
7541    R: Send + Sync + std::fmt::Debug + 'static,
7542{
7543    fn from(
7544        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
7545    ) -> Self {
7546        match err {
7547            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7548            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7549                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7550                source: err.into(),
7551            }),
7552        }
7553    }
7554}
7555impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
7556    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
7557        match err {
7558            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7559        }
7560    }
7561}
7562impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
7563where
7564    R: Send + Sync + std::fmt::Debug + 'static,
7565{
7566    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
7567        match err {
7568            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7569            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7570                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7571                source: err.into(),
7572            }),
7573        }
7574    }
7575}
7576impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
7577    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
7578        match err {
7579            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7580        }
7581    }
7582}
7583impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
7584where
7585    R: Send + Sync + std::fmt::Debug + 'static,
7586{
7587    fn from(
7588        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
7589    ) -> Self {
7590        match err {
7591            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7592            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7593                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7594                source: err.into(),
7595            }),
7596        }
7597    }
7598}
7599impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
7600    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
7601        match err {
7602            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7603        }
7604    }
7605}
7606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>>
7607    for Error
7608where
7609    R: Send + Sync + std::fmt::Debug + 'static,
7610{
7611    fn from(
7612        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>,
7613    ) -> Self {
7614        match err {
7615            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7616            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7617                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7618                source: err.into(),
7619            }),
7620        }
7621    }
7622}
7623impl From<crate::operation::describe_image_references::DescribeImageReferencesError> for Error {
7624    fn from(err: crate::operation::describe_image_references::DescribeImageReferencesError) -> Self {
7625        match err {
7626            crate::operation::describe_image_references::DescribeImageReferencesError::Unhandled(inner) => Error::Unhandled(inner),
7627        }
7628    }
7629}
7630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
7631where
7632    R: Send + Sync + std::fmt::Debug + 'static,
7633{
7634    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
7635        match err {
7636            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7637            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7638                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7639                source: err.into(),
7640            }),
7641        }
7642    }
7643}
7644impl From<crate::operation::describe_images::DescribeImagesError> for Error {
7645    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
7646        match err {
7647            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
7648        }
7649    }
7650}
7651impl<R>
7652    From<
7653        ::aws_smithy_runtime_api::client::result::SdkError<
7654            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
7655            R,
7656        >,
7657    > for Error
7658where
7659    R: Send + Sync + std::fmt::Debug + 'static,
7660{
7661    fn from(
7662        err: ::aws_smithy_runtime_api::client::result::SdkError<
7663            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
7664            R,
7665        >,
7666    ) -> Self {
7667        match err {
7668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7671                source: err.into(),
7672            }),
7673        }
7674    }
7675}
7676impl From<crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError> for Error {
7677    fn from(err: crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError) -> Self {
7678        match err {
7679            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError::Unhandled(inner) => Error::Unhandled(inner),
7680        }
7681    }
7682}
7683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>>
7684    for Error
7685where
7686    R: Send + Sync + std::fmt::Debug + 'static,
7687{
7688    fn from(
7689        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>,
7690    ) -> Self {
7691        match err {
7692            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7693            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7694                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7695                source: err.into(),
7696            }),
7697        }
7698    }
7699}
7700impl From<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError> for Error {
7701    fn from(err: crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError) -> Self {
7702        match err {
7703            crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError::Unhandled(inner) => Error::Unhandled(inner),
7704        }
7705    }
7706}
7707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
7708    for Error
7709where
7710    R: Send + Sync + std::fmt::Debug + 'static,
7711{
7712    fn from(
7713        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
7714    ) -> Self {
7715        match err {
7716            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7717            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7718                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7719                source: err.into(),
7720            }),
7721        }
7722    }
7723}
7724impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
7725    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
7726        match err {
7727            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7728        }
7729    }
7730}
7731impl<R>
7732    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
7733    for Error
7734where
7735    R: Send + Sync + std::fmt::Debug + 'static,
7736{
7737    fn from(
7738        err: ::aws_smithy_runtime_api::client::result::SdkError<
7739            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
7740            R,
7741        >,
7742    ) -> Self {
7743        match err {
7744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7747                source: err.into(),
7748            }),
7749        }
7750    }
7751}
7752impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
7753    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
7754        match err {
7755            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
7756        }
7757    }
7758}
7759impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
7760    for Error
7761where
7762    R: Send + Sync + std::fmt::Debug + 'static,
7763{
7764    fn from(
7765        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
7766    ) -> Self {
7767        match err {
7768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7771                source: err.into(),
7772            }),
7773        }
7774    }
7775}
7776impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
7777    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
7778        match err {
7779            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7780        }
7781    }
7782}
7783impl<R>
7784    From<
7785        ::aws_smithy_runtime_api::client::result::SdkError<
7786            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7787            R,
7788        >,
7789    > for Error
7790where
7791    R: Send + Sync + std::fmt::Debug + 'static,
7792{
7793    fn from(
7794        err: ::aws_smithy_runtime_api::client::result::SdkError<
7795            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
7796            R,
7797        >,
7798    ) -> Self {
7799        match err {
7800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7803                source: err.into(),
7804            }),
7805        }
7806    }
7807}
7808impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
7809    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
7810        match err {
7811            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7812        }
7813    }
7814}
7815impl<R>
7816    From<
7817        ::aws_smithy_runtime_api::client::result::SdkError<
7818            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7819            R,
7820        >,
7821    > for Error
7822where
7823    R: Send + Sync + std::fmt::Debug + 'static,
7824{
7825    fn from(
7826        err: ::aws_smithy_runtime_api::client::result::SdkError<
7827            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
7828            R,
7829        >,
7830    ) -> Self {
7831        match err {
7832            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7833            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7834                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7835                source: err.into(),
7836            }),
7837        }
7838    }
7839}
7840impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
7841    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
7842        match err {
7843            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
7844                Error::Unhandled(inner)
7845            }
7846        }
7847    }
7848}
7849impl<R>
7850    From<
7851        ::aws_smithy_runtime_api::client::result::SdkError<
7852            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7853            R,
7854        >,
7855    > for Error
7856where
7857    R: Send + Sync + std::fmt::Debug + 'static,
7858{
7859    fn from(
7860        err: ::aws_smithy_runtime_api::client::result::SdkError<
7861            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
7862            R,
7863        >,
7864    ) -> Self {
7865        match err {
7866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7869                source: err.into(),
7870            }),
7871        }
7872    }
7873}
7874impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
7875    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
7876        match err {
7877            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
7878                Error::Unhandled(inner)
7879            }
7880        }
7881    }
7882}
7883impl<R>
7884    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
7885    for Error
7886where
7887    R: Send + Sync + std::fmt::Debug + 'static,
7888{
7889    fn from(
7890        err: ::aws_smithy_runtime_api::client::result::SdkError<
7891            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
7892            R,
7893        >,
7894    ) -> Self {
7895        match err {
7896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7899                source: err.into(),
7900            }),
7901        }
7902    }
7903}
7904impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
7905    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
7906        match err {
7907            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
7908        }
7909    }
7910}
7911impl<R>
7912    From<
7913        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
7914    > for Error
7915where
7916    R: Send + Sync + std::fmt::Debug + 'static,
7917{
7918    fn from(
7919        err: ::aws_smithy_runtime_api::client::result::SdkError<
7920            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
7921            R,
7922        >,
7923    ) -> Self {
7924        match err {
7925            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7926            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7927                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7928                source: err.into(),
7929            }),
7930        }
7931    }
7932}
7933impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
7934    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
7935        match err {
7936            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
7937        }
7938    }
7939}
7940impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
7941where
7942    R: Send + Sync + std::fmt::Debug + 'static,
7943{
7944    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> Self {
7945        match err {
7946            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7947            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7948                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7949                source: err.into(),
7950            }),
7951        }
7952    }
7953}
7954impl From<crate::operation::describe_instances::DescribeInstancesError> for Error {
7955    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
7956        match err {
7957            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7958        }
7959    }
7960}
7961impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
7962where
7963    R: Send + Sync + std::fmt::Debug + 'static,
7964{
7965    fn from(
7966        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
7967    ) -> Self {
7968        match err {
7969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7972                source: err.into(),
7973            }),
7974        }
7975    }
7976}
7977impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
7978    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
7979        match err {
7980            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
7981        }
7982    }
7983}
7984impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
7985    for Error
7986where
7987    R: Send + Sync + std::fmt::Debug + 'static,
7988{
7989    fn from(
7990        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>,
7991    ) -> Self {
7992        match err {
7993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7996                source: err.into(),
7997            }),
7998        }
7999    }
8000}
8001impl From<crate::operation::describe_instance_topology::DescribeInstanceTopologyError> for Error {
8002    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
8003        match err {
8004            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
8005        }
8006    }
8007}
8008impl<R>
8009    From<
8010        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
8011    > for Error
8012where
8013    R: Send + Sync + std::fmt::Debug + 'static,
8014{
8015    fn from(
8016        err: ::aws_smithy_runtime_api::client::result::SdkError<
8017            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
8018            R,
8019        >,
8020    ) -> Self {
8021        match err {
8022            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8023            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8024                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8025                source: err.into(),
8026            }),
8027        }
8028    }
8029}
8030impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
8031    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
8032        match err {
8033            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
8034        }
8035    }
8036}
8037impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
8038where
8039    R: Send + Sync + std::fmt::Debug + 'static,
8040{
8041    fn from(
8042        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
8043    ) -> Self {
8044        match err {
8045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8048                source: err.into(),
8049            }),
8050        }
8051    }
8052}
8053impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
8054    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
8055        match err {
8056            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
8057        }
8058    }
8059}
8060impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
8061    for Error
8062where
8063    R: Send + Sync + std::fmt::Debug + 'static,
8064{
8065    fn from(
8066        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
8067    ) -> Self {
8068        match err {
8069            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8070            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8071                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8072                source: err.into(),
8073            }),
8074        }
8075    }
8076}
8077impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
8078    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
8079        match err {
8080            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8081        }
8082    }
8083}
8084impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
8085where
8086    R: Send + Sync + std::fmt::Debug + 'static,
8087{
8088    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
8089        match err {
8090            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8091            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8092                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8093                source: err.into(),
8094            }),
8095        }
8096    }
8097}
8098impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
8099    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
8100        match err {
8101            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
8102        }
8103    }
8104}
8105impl<R>
8106    From<
8107        ::aws_smithy_runtime_api::client::result::SdkError<
8108            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8109            R,
8110        >,
8111    > for Error
8112where
8113    R: Send + Sync + std::fmt::Debug + 'static,
8114{
8115    fn from(
8116        err: ::aws_smithy_runtime_api::client::result::SdkError<
8117            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8118            R,
8119        >,
8120    ) -> Self {
8121        match err {
8122            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8123            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8124                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8125                source: err.into(),
8126            }),
8127        }
8128    }
8129}
8130impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
8131    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
8132        match err {
8133            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
8134                inner,
8135            ) => Error::Unhandled(inner),
8136        }
8137    }
8138}
8139impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
8140where
8141    R: Send + Sync + std::fmt::Debug + 'static,
8142{
8143    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
8144        match err {
8145            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8146            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8147                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8148                source: err.into(),
8149            }),
8150        }
8151    }
8152}
8153impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
8154    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
8155        match err {
8156            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
8157        }
8158    }
8159}
8160impl<R>
8161    From<
8162        ::aws_smithy_runtime_api::client::result::SdkError<
8163            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8164            R,
8165        >,
8166    > for Error
8167where
8168    R: Send + Sync + std::fmt::Debug + 'static,
8169{
8170    fn from(
8171        err: ::aws_smithy_runtime_api::client::result::SdkError<
8172            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8173            R,
8174        >,
8175    ) -> Self {
8176        match err {
8177            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8178            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8179                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8180                source: err.into(),
8181            }),
8182        }
8183    }
8184}
8185impl From<crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
8186    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
8187        match err {
8188            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
8189        }
8190    }
8191}
8192impl<R>
8193    From<
8194        ::aws_smithy_runtime_api::client::result::SdkError<
8195            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8196            R,
8197        >,
8198    > for Error
8199where
8200    R: Send + Sync + std::fmt::Debug + 'static,
8201{
8202    fn from(
8203        err: ::aws_smithy_runtime_api::client::result::SdkError<
8204            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
8205            R,
8206        >,
8207    ) -> Self {
8208        match err {
8209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8212                source: err.into(),
8213            }),
8214        }
8215    }
8216}
8217impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
8218    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
8219        match err {
8220            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
8221                Error::Unhandled(inner)
8222            }
8223        }
8224    }
8225}
8226impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
8227where
8228    R: Send + Sync + std::fmt::Debug + 'static,
8229{
8230    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
8231        match err {
8232            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8233            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8234                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8235                source: err.into(),
8236            }),
8237        }
8238    }
8239}
8240impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
8241    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
8242        match err {
8243            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
8244        }
8245    }
8246}
8247impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
8248where
8249    R: Send + Sync + std::fmt::Debug + 'static,
8250{
8251    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
8252        match err {
8253            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8254            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8255                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8256                source: err.into(),
8257            }),
8258        }
8259    }
8260}
8261impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
8262    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
8263        match err {
8264            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
8265        }
8266    }
8267}
8268impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
8269where
8270    R: Send + Sync + std::fmt::Debug + 'static,
8271{
8272    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
8273        match err {
8274            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8275            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8276                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8277                source: err.into(),
8278            }),
8279        }
8280    }
8281}
8282impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
8283    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
8284        match err {
8285            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
8286        }
8287    }
8288}
8289impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
8290where
8291    R: Send + Sync + std::fmt::Debug + 'static,
8292{
8293    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> Self {
8294        match err {
8295            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8296            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8297                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8298                source: err.into(),
8299            }),
8300        }
8301    }
8302}
8303impl From<crate::operation::describe_key_pairs::DescribeKeyPairsError> for Error {
8304    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
8305        match err {
8306            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
8307        }
8308    }
8309}
8310impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
8311    for Error
8312where
8313    R: Send + Sync + std::fmt::Debug + 'static,
8314{
8315    fn from(
8316        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>,
8317    ) -> Self {
8318        match err {
8319            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8320            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8321                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8322                source: err.into(),
8323            }),
8324        }
8325    }
8326}
8327impl From<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError> for Error {
8328    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
8329        match err {
8330            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
8331        }
8332    }
8333}
8334impl<R>
8335    From<
8336        ::aws_smithy_runtime_api::client::result::SdkError<
8337            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8338            R,
8339        >,
8340    > for Error
8341where
8342    R: Send + Sync + std::fmt::Debug + 'static,
8343{
8344    fn from(
8345        err: ::aws_smithy_runtime_api::client::result::SdkError<
8346            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
8347            R,
8348        >,
8349    ) -> Self {
8350        match err {
8351            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8352            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8353                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8354                source: err.into(),
8355            }),
8356        }
8357    }
8358}
8359impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
8360    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
8361        match err {
8362            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
8363        }
8364    }
8365}
8366impl<R>
8367    From<
8368        ::aws_smithy_runtime_api::client::result::SdkError<
8369            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8370            R,
8371        >,
8372    > for Error
8373where
8374    R: Send + Sync + std::fmt::Debug + 'static,
8375{
8376    fn from(
8377        err: ::aws_smithy_runtime_api::client::result::SdkError<
8378            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
8379            R,
8380        >,
8381    ) -> Self {
8382        match err {
8383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8386                source: err.into(),
8387            }),
8388        }
8389    }
8390}
8391impl From<crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
8392    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
8393        match err {
8394            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
8395        }
8396    }
8397}
8398impl<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 {
8399    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
8400        match err {
8401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8402            _ => Error::Unhandled(
8403                                        crate::error::sealed_unhandled::Unhandled {
8404                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8405                                            source: err.into(),
8406                                        }
8407                                    ),
8408        }
8409    }
8410}
8411impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
8412    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
8413        match err {
8414            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
8415        }
8416    }
8417}
8418impl<R>
8419    From<
8420        ::aws_smithy_runtime_api::client::result::SdkError<
8421            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8422            R,
8423        >,
8424    > for Error
8425where
8426    R: Send + Sync + std::fmt::Debug + 'static,
8427{
8428    fn from(
8429        err: ::aws_smithy_runtime_api::client::result::SdkError<
8430            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
8431            R,
8432        >,
8433    ) -> Self {
8434        match err {
8435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8438                source: err.into(),
8439            }),
8440        }
8441    }
8442}
8443impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
8444    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
8445        match err {
8446            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
8447                inner,
8448            ) => Error::Unhandled(inner),
8449        }
8450    }
8451}
8452impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
8453where
8454    R: Send + Sync + std::fmt::Debug + 'static,
8455{
8456    fn from(
8457        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
8458    ) -> Self {
8459        match err {
8460            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8461            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8462                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8463                source: err.into(),
8464            }),
8465        }
8466    }
8467}
8468impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
8469    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
8470        match err {
8471            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8472        }
8473    }
8474}
8475impl<R>
8476    From<
8477        ::aws_smithy_runtime_api::client::result::SdkError<
8478            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8479            R,
8480        >,
8481    > for Error
8482where
8483    R: Send + Sync + std::fmt::Debug + 'static,
8484{
8485    fn from(
8486        err: ::aws_smithy_runtime_api::client::result::SdkError<
8487            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
8488            R,
8489        >,
8490    ) -> Self {
8491        match err {
8492            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8493            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8494                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8495                source: err.into(),
8496            }),
8497        }
8498    }
8499}
8500impl From<crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
8501    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
8502        match err {
8503            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
8504                Error::Unhandled(inner)
8505            }
8506        }
8507    }
8508}
8509impl<R>
8510    From<
8511        ::aws_smithy_runtime_api::client::result::SdkError<
8512            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8513            R,
8514        >,
8515    > for Error
8516where
8517    R: Send + Sync + std::fmt::Debug + 'static,
8518{
8519    fn from(
8520        err: ::aws_smithy_runtime_api::client::result::SdkError<
8521            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
8522            R,
8523        >,
8524    ) -> Self {
8525        match err {
8526            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8527            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8528                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8529                source: err.into(),
8530            }),
8531        }
8532    }
8533}
8534impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
8535    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
8536        match err {
8537            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
8538                Error::Unhandled(inner)
8539            }
8540        }
8541    }
8542}
8543impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
8544    for Error
8545where
8546    R: Send + Sync + std::fmt::Debug + 'static,
8547{
8548    fn from(
8549        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
8550    ) -> Self {
8551        match err {
8552            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8553            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8554                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8555                source: err.into(),
8556            }),
8557        }
8558    }
8559}
8560impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
8561    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
8562        match err {
8563            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
8564        }
8565    }
8566}
8567impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
8568where
8569    R: Send + Sync + std::fmt::Debug + 'static,
8570{
8571    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
8572        match err {
8573            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8574            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8575                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8576                source: err.into(),
8577            }),
8578        }
8579    }
8580}
8581impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
8582    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
8583        match err {
8584            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
8585        }
8586    }
8587}
8588impl<R>
8589    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError, R>>
8590    for Error
8591where
8592    R: Send + Sync + std::fmt::Debug + 'static,
8593{
8594    fn from(
8595        err: ::aws_smithy_runtime_api::client::result::SdkError<
8596            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError,
8597            R,
8598        >,
8599    ) -> Self {
8600        match err {
8601            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8602            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8603                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8604                source: err.into(),
8605            }),
8606        }
8607    }
8608}
8609impl From<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError> for Error {
8610    fn from(err: crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError) -> Self {
8611        match err {
8612            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError::Unhandled(inner) => Error::Unhandled(inner),
8613        }
8614    }
8615}
8616impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
8617    for Error
8618where
8619    R: Send + Sync + std::fmt::Debug + 'static,
8620{
8621    fn from(
8622        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
8623    ) -> Self {
8624        match err {
8625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8628                source: err.into(),
8629            }),
8630        }
8631    }
8632}
8633impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
8634    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
8635        match err {
8636            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8637        }
8638    }
8639}
8640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
8641    for Error
8642where
8643    R: Send + Sync + std::fmt::Debug + 'static,
8644{
8645    fn from(
8646        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
8647    ) -> Self {
8648        match err {
8649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8652                source: err.into(),
8653            }),
8654        }
8655    }
8656}
8657impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
8658    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
8659        match err {
8660            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
8661        }
8662    }
8663}
8664impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
8665where
8666    R: Send + Sync + std::fmt::Debug + 'static,
8667{
8668    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
8669        match err {
8670            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8671            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8672                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8673                source: err.into(),
8674            }),
8675        }
8676    }
8677}
8678impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
8679    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
8680        match err {
8681            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8682        }
8683    }
8684}
8685impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
8686where
8687    R: Send + Sync + std::fmt::Debug + 'static,
8688{
8689    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
8690        match err {
8691            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8692            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8693                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8694                source: err.into(),
8695            }),
8696        }
8697    }
8698}
8699impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
8700    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
8701        match err {
8702            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
8703        }
8704    }
8705}
8706impl<R>
8707    From<
8708        ::aws_smithy_runtime_api::client::result::SdkError<
8709            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8710            R,
8711        >,
8712    > for Error
8713where
8714    R: Send + Sync + std::fmt::Debug + 'static,
8715{
8716    fn from(
8717        err: ::aws_smithy_runtime_api::client::result::SdkError<
8718            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
8719            R,
8720        >,
8721    ) -> Self {
8722        match err {
8723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8726                source: err.into(),
8727            }),
8728        }
8729    }
8730}
8731impl From<crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
8732    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
8733        match err {
8734            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
8735                Error::Unhandled(inner)
8736            }
8737        }
8738    }
8739}
8740impl<R>
8741    From<
8742        ::aws_smithy_runtime_api::client::result::SdkError<
8743            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8744            R,
8745        >,
8746    > for Error
8747where
8748    R: Send + Sync + std::fmt::Debug + 'static,
8749{
8750    fn from(
8751        err: ::aws_smithy_runtime_api::client::result::SdkError<
8752            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
8753            R,
8754        >,
8755    ) -> Self {
8756        match err {
8757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8760                source: err.into(),
8761            }),
8762        }
8763    }
8764}
8765impl From<crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
8766    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
8767        match err {
8768            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
8769                Error::Unhandled(inner)
8770            }
8771        }
8772    }
8773}
8774impl<R>
8775    From<
8776        ::aws_smithy_runtime_api::client::result::SdkError<
8777            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8778            R,
8779        >,
8780    > for Error
8781where
8782    R: Send + Sync + std::fmt::Debug + 'static,
8783{
8784    fn from(
8785        err: ::aws_smithy_runtime_api::client::result::SdkError<
8786            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
8787            R,
8788        >,
8789    ) -> Self {
8790        match err {
8791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8794                source: err.into(),
8795            }),
8796        }
8797    }
8798}
8799impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
8800    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
8801        match err {
8802            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
8803        }
8804    }
8805}
8806impl<R>
8807    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
8808    for Error
8809where
8810    R: Send + Sync + std::fmt::Debug + 'static,
8811{
8812    fn from(
8813        err: ::aws_smithy_runtime_api::client::result::SdkError<
8814            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
8815            R,
8816        >,
8817    ) -> Self {
8818        match err {
8819            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8820            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8821                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8822                source: err.into(),
8823            }),
8824        }
8825    }
8826}
8827impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
8828    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
8829        match err {
8830            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
8831        }
8832    }
8833}
8834impl<R>
8835    From<
8836        ::aws_smithy_runtime_api::client::result::SdkError<
8837            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8838            R,
8839        >,
8840    > for Error
8841where
8842    R: Send + Sync + std::fmt::Debug + 'static,
8843{
8844    fn from(
8845        err: ::aws_smithy_runtime_api::client::result::SdkError<
8846            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
8847            R,
8848        >,
8849    ) -> Self {
8850        match err {
8851            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8852            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8853                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8854                source: err.into(),
8855            }),
8856        }
8857    }
8858}
8859impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
8860    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
8861        match err {
8862            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
8863                Error::Unhandled(inner)
8864            }
8865        }
8866    }
8867}
8868impl<R>
8869    From<
8870        ::aws_smithy_runtime_api::client::result::SdkError<
8871            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8872            R,
8873        >,
8874    > for Error
8875where
8876    R: Send + Sync + std::fmt::Debug + 'static,
8877{
8878    fn from(
8879        err: ::aws_smithy_runtime_api::client::result::SdkError<
8880            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
8881            R,
8882        >,
8883    ) -> Self {
8884        match err {
8885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8888                source: err.into(),
8889            }),
8890        }
8891    }
8892}
8893impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
8894    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
8895        match err {
8896            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
8897                Error::Unhandled(inner)
8898            }
8899        }
8900    }
8901}
8902impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
8903    for Error
8904where
8905    R: Send + Sync + std::fmt::Debug + 'static,
8906{
8907    fn from(
8908        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
8909    ) -> Self {
8910        match err {
8911            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8912            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8913                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8914                source: err.into(),
8915            }),
8916        }
8917    }
8918}
8919impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
8920    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
8921        match err {
8922            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
8923        }
8924    }
8925}
8926impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>> for Error
8927where
8928    R: Send + Sync + std::fmt::Debug + 'static,
8929{
8930    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>) -> Self {
8931        match err {
8932            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8933            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8934                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8935                source: err.into(),
8936            }),
8937        }
8938    }
8939}
8940impl From<crate::operation::describe_outpost_lags::DescribeOutpostLagsError> for Error {
8941    fn from(err: crate::operation::describe_outpost_lags::DescribeOutpostLagsError) -> Self {
8942        match err {
8943            crate::operation::describe_outpost_lags::DescribeOutpostLagsError::Unhandled(inner) => Error::Unhandled(inner),
8944        }
8945    }
8946}
8947impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
8948    for Error
8949where
8950    R: Send + Sync + std::fmt::Debug + 'static,
8951{
8952    fn from(
8953        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
8954    ) -> Self {
8955        match err {
8956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8959                source: err.into(),
8960            }),
8961        }
8962    }
8963}
8964impl From<crate::operation::describe_placement_groups::DescribePlacementGroupsError> for Error {
8965    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
8966        match err {
8967            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
8968        }
8969    }
8970}
8971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
8972where
8973    R: Send + Sync + std::fmt::Debug + 'static,
8974{
8975    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
8976        match err {
8977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8980                source: err.into(),
8981            }),
8982        }
8983    }
8984}
8985impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
8986    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
8987        match err {
8988            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
8989        }
8990    }
8991}
8992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
8993    for Error
8994where
8995    R: Send + Sync + std::fmt::Debug + 'static,
8996{
8997    fn from(
8998        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
8999    ) -> Self {
9000        match err {
9001            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9002            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9003                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9004                source: err.into(),
9005            }),
9006        }
9007    }
9008}
9009impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
9010    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
9011        match err {
9012            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
9013        }
9014    }
9015}
9016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
9017    for Error
9018where
9019    R: Send + Sync + std::fmt::Debug + 'static,
9020{
9021    fn from(
9022        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
9023    ) -> Self {
9024        match err {
9025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9028                source: err.into(),
9029            }),
9030        }
9031    }
9032}
9033impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
9034    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
9035        match err {
9036            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
9037        }
9038    }
9039}
9040impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
9041where
9042    R: Send + Sync + std::fmt::Debug + 'static,
9043{
9044    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
9045        match err {
9046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9049                source: err.into(),
9050            }),
9051        }
9052    }
9053}
9054impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
9055    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
9056        match err {
9057            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
9058        }
9059    }
9060}
9061impl<R>
9062    From<
9063        ::aws_smithy_runtime_api::client::result::SdkError<
9064            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9065            R,
9066        >,
9067    > for Error
9068where
9069    R: Send + Sync + std::fmt::Debug + 'static,
9070{
9071    fn from(
9072        err: ::aws_smithy_runtime_api::client::result::SdkError<
9073            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9074            R,
9075        >,
9076    ) -> Self {
9077        match err {
9078            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9079            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9080                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9081                source: err.into(),
9082            }),
9083        }
9084    }
9085}
9086impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
9087    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
9088        match err {
9089            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
9090        }
9091    }
9092}
9093impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
9094    for Error
9095where
9096    R: Send + Sync + std::fmt::Debug + 'static,
9097{
9098    fn from(
9099        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
9100    ) -> Self {
9101        match err {
9102            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9103            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9104                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9105                source: err.into(),
9106            }),
9107        }
9108    }
9109}
9110impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
9111    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
9112        match err {
9113            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9114        }
9115    }
9116}
9117impl<R>
9118    From<
9119        ::aws_smithy_runtime_api::client::result::SdkError<
9120            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9121            R,
9122        >,
9123    > for Error
9124where
9125    R: Send + Sync + std::fmt::Debug + 'static,
9126{
9127    fn from(
9128        err: ::aws_smithy_runtime_api::client::result::SdkError<
9129            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9130            R,
9131        >,
9132    ) -> Self {
9133        match err {
9134            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9135            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9136                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9137                source: err.into(),
9138            }),
9139        }
9140    }
9141}
9142impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
9143    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
9144        match err {
9145            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
9146                Error::Unhandled(inner)
9147            }
9148        }
9149    }
9150}
9151impl<R>
9152    From<
9153        ::aws_smithy_runtime_api::client::result::SdkError<
9154            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9155            R,
9156        >,
9157    > for Error
9158where
9159    R: Send + Sync + std::fmt::Debug + 'static,
9160{
9161    fn from(
9162        err: ::aws_smithy_runtime_api::client::result::SdkError<
9163            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9164            R,
9165        >,
9166    ) -> Self {
9167        match err {
9168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9171                source: err.into(),
9172            }),
9173        }
9174    }
9175}
9176impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
9177    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
9178        match err {
9179            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
9180                Error::Unhandled(inner)
9181            }
9182        }
9183    }
9184}
9185impl<R>
9186    From<
9187        ::aws_smithy_runtime_api::client::result::SdkError<
9188            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9189            R,
9190        >,
9191    > for Error
9192where
9193    R: Send + Sync + std::fmt::Debug + 'static,
9194{
9195    fn from(
9196        err: ::aws_smithy_runtime_api::client::result::SdkError<
9197            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
9198            R,
9199        >,
9200    ) -> Self {
9201        match err {
9202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9205                source: err.into(),
9206            }),
9207        }
9208    }
9209}
9210impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
9211    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
9212        match err {
9213            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
9214                Error::Unhandled(inner)
9215            }
9216        }
9217    }
9218}
9219impl<R>
9220    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError, R>>
9221    for Error
9222where
9223    R: Send + Sync + std::fmt::Debug + 'static,
9224{
9225    fn from(
9226        err: ::aws_smithy_runtime_api::client::result::SdkError<
9227            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError,
9228            R,
9229        >,
9230    ) -> Self {
9231        match err {
9232            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9233            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9234                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9235                source: err.into(),
9236            }),
9237        }
9238    }
9239}
9240impl From<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError> for Error {
9241    fn from(err: crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError) -> Self {
9242        match err {
9243            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
9244        }
9245    }
9246}
9247impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>>
9248    for Error
9249where
9250    R: Send + Sync + std::fmt::Debug + 'static,
9251{
9252    fn from(
9253        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>,
9254    ) -> Self {
9255        match err {
9256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9259                source: err.into(),
9260            }),
9261        }
9262    }
9263}
9264impl From<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError> for Error {
9265    fn from(err: crate::operation::describe_route_server_peers::DescribeRouteServerPeersError) -> Self {
9266        match err {
9267            crate::operation::describe_route_server_peers::DescribeRouteServerPeersError::Unhandled(inner) => Error::Unhandled(inner),
9268        }
9269    }
9270}
9271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>> for Error
9272where
9273    R: Send + Sync + std::fmt::Debug + 'static,
9274{
9275    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>) -> Self {
9276        match err {
9277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9280                source: err.into(),
9281            }),
9282        }
9283    }
9284}
9285impl From<crate::operation::describe_route_servers::DescribeRouteServersError> for Error {
9286    fn from(err: crate::operation::describe_route_servers::DescribeRouteServersError) -> Self {
9287        match err {
9288            crate::operation::describe_route_servers::DescribeRouteServersError::Unhandled(inner) => Error::Unhandled(inner),
9289        }
9290    }
9291}
9292impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
9293where
9294    R: Send + Sync + std::fmt::Debug + 'static,
9295{
9296    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> Self {
9297        match err {
9298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9301                source: err.into(),
9302            }),
9303        }
9304    }
9305}
9306impl From<crate::operation::describe_route_tables::DescribeRouteTablesError> for Error {
9307    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
9308        match err {
9309            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
9310        }
9311    }
9312}
9313impl<R>
9314    From<
9315        ::aws_smithy_runtime_api::client::result::SdkError<
9316            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9317            R,
9318        >,
9319    > for Error
9320where
9321    R: Send + Sync + std::fmt::Debug + 'static,
9322{
9323    fn from(
9324        err: ::aws_smithy_runtime_api::client::result::SdkError<
9325            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
9326            R,
9327        >,
9328    ) -> Self {
9329        match err {
9330            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9331            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9332                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9333                source: err.into(),
9334            }),
9335        }
9336    }
9337}
9338impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
9339    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
9340        match err {
9341            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
9342                Error::Unhandled(inner)
9343            }
9344        }
9345    }
9346}
9347impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>>
9348    for Error
9349where
9350    R: Send + Sync + std::fmt::Debug + 'static,
9351{
9352    fn from(
9353        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
9354    ) -> Self {
9355        match err {
9356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9359                source: err.into(),
9360            }),
9361        }
9362    }
9363}
9364impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
9365    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
9366        match err {
9367            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9368        }
9369    }
9370}
9371impl<R>
9372    From<
9373        ::aws_smithy_runtime_api::client::result::SdkError<
9374            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9375            R,
9376        >,
9377    > for Error
9378where
9379    R: Send + Sync + std::fmt::Debug + 'static,
9380{
9381    fn from(
9382        err: ::aws_smithy_runtime_api::client::result::SdkError<
9383            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
9384            R,
9385        >,
9386    ) -> Self {
9387        match err {
9388            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9389            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9390                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9391                source: err.into(),
9392            }),
9393        }
9394    }
9395}
9396impl From<crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError> for Error {
9397    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
9398        match err {
9399            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
9400        }
9401    }
9402}
9403impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>>
9404    for Error
9405where
9406    R: Send + Sync + std::fmt::Debug + 'static,
9407{
9408    fn from(
9409        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>,
9410    ) -> Self {
9411        match err {
9412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9415                source: err.into(),
9416            }),
9417        }
9418    }
9419}
9420impl From<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError> for Error {
9421    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
9422        match err {
9423            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
9424        }
9425    }
9426}
9427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
9428where
9429    R: Send + Sync + std::fmt::Debug + 'static,
9430{
9431    fn from(
9432        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
9433    ) -> Self {
9434        match err {
9435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9438                source: err.into(),
9439            }),
9440        }
9441    }
9442}
9443impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
9444    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
9445        match err {
9446            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9447        }
9448    }
9449}
9450impl<R>
9451    From<
9452        ::aws_smithy_runtime_api::client::result::SdkError<
9453            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9454            R,
9455        >,
9456    > for Error
9457where
9458    R: Send + Sync + std::fmt::Debug + 'static,
9459{
9460    fn from(
9461        err: ::aws_smithy_runtime_api::client::result::SdkError<
9462            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
9463            R,
9464        >,
9465    ) -> Self {
9466        match err {
9467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9470                source: err.into(),
9471            }),
9472        }
9473    }
9474}
9475impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
9476    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
9477        match err {
9478            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
9479                Error::Unhandled(inner)
9480            }
9481        }
9482    }
9483}
9484impl<R>
9485    From<
9486        ::aws_smithy_runtime_api::client::result::SdkError<
9487            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9488            R,
9489        >,
9490    > for Error
9491where
9492    R: Send + Sync + std::fmt::Debug + 'static,
9493{
9494    fn from(
9495        err: ::aws_smithy_runtime_api::client::result::SdkError<
9496            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
9497            R,
9498        >,
9499    ) -> Self {
9500        match err {
9501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9504                source: err.into(),
9505            }),
9506        }
9507    }
9508}
9509impl From<crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError> for Error {
9510    fn from(err: crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError) -> Self {
9511        match err {
9512            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError::Unhandled(inner) => {
9513                Error::Unhandled(inner)
9514            }
9515        }
9516    }
9517}
9518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
9519    for Error
9520where
9521    R: Send + Sync + std::fmt::Debug + 'static,
9522{
9523    fn from(
9524        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
9525    ) -> Self {
9526        match err {
9527            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9528            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9529                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9530                source: err.into(),
9531            }),
9532        }
9533    }
9534}
9535impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
9536    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
9537        match err {
9538            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
9539        }
9540    }
9541}
9542impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
9543where
9544    R: Send + Sync + std::fmt::Debug + 'static,
9545{
9546    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> Self {
9547        match err {
9548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9551                source: err.into(),
9552            }),
9553        }
9554    }
9555}
9556impl From<crate::operation::describe_snapshots::DescribeSnapshotsError> for Error {
9557    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
9558        match err {
9559            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
9560        }
9561    }
9562}
9563impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
9564    for Error
9565where
9566    R: Send + Sync + std::fmt::Debug + 'static,
9567{
9568    fn from(
9569        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
9570    ) -> Self {
9571        match err {
9572            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9573            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9574                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9575                source: err.into(),
9576            }),
9577        }
9578    }
9579}
9580impl From<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
9581    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
9582        match err {
9583            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
9584        }
9585    }
9586}
9587impl<R>
9588    From<
9589        ::aws_smithy_runtime_api::client::result::SdkError<
9590            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9591            R,
9592        >,
9593    > for Error
9594where
9595    R: Send + Sync + std::fmt::Debug + 'static,
9596{
9597    fn from(
9598        err: ::aws_smithy_runtime_api::client::result::SdkError<
9599            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
9600            R,
9601        >,
9602    ) -> Self {
9603        match err {
9604            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9605            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9606                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9607                source: err.into(),
9608            }),
9609        }
9610    }
9611}
9612impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
9613    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
9614        match err {
9615            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
9616        }
9617    }
9618}
9619impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
9620    for Error
9621where
9622    R: Send + Sync + std::fmt::Debug + 'static,
9623{
9624    fn from(
9625        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
9626    ) -> Self {
9627        match err {
9628            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9629            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9630                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9631                source: err.into(),
9632            }),
9633        }
9634    }
9635}
9636impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
9637    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
9638        match err {
9639            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9640        }
9641    }
9642}
9643impl<R>
9644    From<
9645        ::aws_smithy_runtime_api::client::result::SdkError<
9646            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9647            R,
9648        >,
9649    > for Error
9650where
9651    R: Send + Sync + std::fmt::Debug + 'static,
9652{
9653    fn from(
9654        err: ::aws_smithy_runtime_api::client::result::SdkError<
9655            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
9656            R,
9657        >,
9658    ) -> Self {
9659        match err {
9660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9663                source: err.into(),
9664            }),
9665        }
9666    }
9667}
9668impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
9669    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
9670        match err {
9671            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9672        }
9673    }
9674}
9675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
9676    for Error
9677where
9678    R: Send + Sync + std::fmt::Debug + 'static,
9679{
9680    fn from(
9681        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
9682    ) -> Self {
9683        match err {
9684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9687                source: err.into(),
9688            }),
9689        }
9690    }
9691}
9692impl From<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
9693    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
9694        match err {
9695            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9696        }
9697    }
9698}
9699impl<R>
9700    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
9701    for Error
9702where
9703    R: Send + Sync + std::fmt::Debug + 'static,
9704{
9705    fn from(
9706        err: ::aws_smithy_runtime_api::client::result::SdkError<
9707            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
9708            R,
9709        >,
9710    ) -> Self {
9711        match err {
9712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9715                source: err.into(),
9716            }),
9717        }
9718    }
9719}
9720impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
9721    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
9722        match err {
9723            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
9724        }
9725    }
9726}
9727impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
9728    for Error
9729where
9730    R: Send + Sync + std::fmt::Debug + 'static,
9731{
9732    fn from(
9733        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
9734    ) -> Self {
9735        match err {
9736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9739                source: err.into(),
9740            }),
9741        }
9742    }
9743}
9744impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
9745    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
9746        match err {
9747            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
9748        }
9749    }
9750}
9751impl<R>
9752    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
9753    for Error
9754where
9755    R: Send + Sync + std::fmt::Debug + 'static,
9756{
9757    fn from(
9758        err: ::aws_smithy_runtime_api::client::result::SdkError<
9759            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
9760            R,
9761        >,
9762    ) -> Self {
9763        match err {
9764            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9765            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9766                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9767                source: err.into(),
9768            }),
9769        }
9770    }
9771}
9772impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
9773    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
9774        match err {
9775            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9776        }
9777    }
9778}
9779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
9780    for Error
9781where
9782    R: Send + Sync + std::fmt::Debug + 'static,
9783{
9784    fn from(
9785        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
9786    ) -> Self {
9787        match err {
9788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9791                source: err.into(),
9792            }),
9793        }
9794    }
9795}
9796impl From<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError> for Error {
9797    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
9798        match err {
9799            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
9800        }
9801    }
9802}
9803impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
9804where
9805    R: Send + Sync + std::fmt::Debug + 'static,
9806{
9807    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> Self {
9808        match err {
9809            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9810            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9811                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9812                source: err.into(),
9813            }),
9814        }
9815    }
9816}
9817impl From<crate::operation::describe_subnets::DescribeSubnetsError> for Error {
9818    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
9819        match err {
9820            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
9821        }
9822    }
9823}
9824impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
9825where
9826    R: Send + Sync + std::fmt::Debug + 'static,
9827{
9828    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
9829        match err {
9830            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9831            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9832                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9833                source: err.into(),
9834            }),
9835        }
9836    }
9837}
9838impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
9839    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
9840        match err {
9841            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
9842        }
9843    }
9844}
9845impl<R>
9846    From<
9847        ::aws_smithy_runtime_api::client::result::SdkError<
9848            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9849            R,
9850        >,
9851    > for Error
9852where
9853    R: Send + Sync + std::fmt::Debug + 'static,
9854{
9855    fn from(
9856        err: ::aws_smithy_runtime_api::client::result::SdkError<
9857            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
9858            R,
9859        >,
9860    ) -> Self {
9861        match err {
9862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9865                source: err.into(),
9866            }),
9867        }
9868    }
9869}
9870impl From<crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
9871    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
9872        match err {
9873            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
9874                Error::Unhandled(inner)
9875            }
9876        }
9877    }
9878}
9879impl<R>
9880    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
9881    for Error
9882where
9883    R: Send + Sync + std::fmt::Debug + 'static,
9884{
9885    fn from(
9886        err: ::aws_smithy_runtime_api::client::result::SdkError<
9887            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
9888            R,
9889        >,
9890    ) -> Self {
9891        match err {
9892            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9893            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9894                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9895                source: err.into(),
9896            }),
9897        }
9898    }
9899}
9900impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
9901    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
9902        match err {
9903            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
9904        }
9905    }
9906}
9907impl<R>
9908    From<
9909        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
9910    > for Error
9911where
9912    R: Send + Sync + std::fmt::Debug + 'static,
9913{
9914    fn from(
9915        err: ::aws_smithy_runtime_api::client::result::SdkError<
9916            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
9917            R,
9918        >,
9919    ) -> Self {
9920        match err {
9921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9924                source: err.into(),
9925            }),
9926        }
9927    }
9928}
9929impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
9930    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
9931        match err {
9932            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
9933        }
9934    }
9935}
9936impl<R>
9937    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
9938    for Error
9939where
9940    R: Send + Sync + std::fmt::Debug + 'static,
9941{
9942    fn from(
9943        err: ::aws_smithy_runtime_api::client::result::SdkError<
9944            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
9945            R,
9946        >,
9947    ) -> Self {
9948        match err {
9949            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9950            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9951                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9952                source: err.into(),
9953            }),
9954        }
9955    }
9956}
9957impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
9958    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
9959        match err {
9960            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
9961        }
9962    }
9963}
9964impl<R>
9965    From<
9966        ::aws_smithy_runtime_api::client::result::SdkError<
9967            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9968            R,
9969        >,
9970    > for Error
9971where
9972    R: Send + Sync + std::fmt::Debug + 'static,
9973{
9974    fn from(
9975        err: ::aws_smithy_runtime_api::client::result::SdkError<
9976            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
9977            R,
9978        >,
9979    ) -> Self {
9980        match err {
9981            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9982            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9983                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9984                source: err.into(),
9985            }),
9986        }
9987    }
9988}
9989impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
9990    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
9991        match err {
9992            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
9993                Error::Unhandled(inner)
9994            }
9995        }
9996    }
9997}
9998impl<R>
9999    From<
10000        ::aws_smithy_runtime_api::client::result::SdkError<
10001            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10002            R,
10003        >,
10004    > for Error
10005where
10006    R: Send + Sync + std::fmt::Debug + 'static,
10007{
10008    fn from(
10009        err: ::aws_smithy_runtime_api::client::result::SdkError<
10010            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10011            R,
10012        >,
10013    ) -> Self {
10014        match err {
10015            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10016            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10017                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10018                source: err.into(),
10019            }),
10020        }
10021    }
10022}
10023impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
10024    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
10025        match err {
10026            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
10027                Error::Unhandled(inner)
10028            }
10029        }
10030    }
10031}
10032impl<R>
10033    From<
10034        ::aws_smithy_runtime_api::client::result::SdkError<
10035            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10036            R,
10037        >,
10038    > for Error
10039where
10040    R: Send + Sync + std::fmt::Debug + 'static,
10041{
10042    fn from(
10043        err: ::aws_smithy_runtime_api::client::result::SdkError<
10044            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10045            R,
10046        >,
10047    ) -> Self {
10048        match err {
10049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10052                source: err.into(),
10053            }),
10054        }
10055    }
10056}
10057impl From<crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
10058    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
10059        match err {
10060            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
10061        }
10062    }
10063}
10064impl<R>
10065    From<
10066        ::aws_smithy_runtime_api::client::result::SdkError<
10067            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10068            R,
10069        >,
10070    > for Error
10071where
10072    R: Send + Sync + std::fmt::Debug + 'static,
10073{
10074    fn from(
10075        err: ::aws_smithy_runtime_api::client::result::SdkError<
10076            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10077            R,
10078        >,
10079    ) -> Self {
10080        match err {
10081            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10082            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10083                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10084                source: err.into(),
10085            }),
10086        }
10087    }
10088}
10089impl From<crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
10090    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
10091        match err {
10092            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
10093                Error::Unhandled(inner)
10094            }
10095        }
10096    }
10097}
10098impl<R>
10099    From<
10100        ::aws_smithy_runtime_api::client::result::SdkError<
10101            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10102            R,
10103        >,
10104    > for Error
10105where
10106    R: Send + Sync + std::fmt::Debug + 'static,
10107{
10108    fn from(
10109        err: ::aws_smithy_runtime_api::client::result::SdkError<
10110            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
10111            R,
10112        >,
10113    ) -> Self {
10114        match err {
10115            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10116            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10117                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10118                source: err.into(),
10119            }),
10120        }
10121    }
10122}
10123impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
10124    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
10125        match err {
10126            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
10127                Error::Unhandled(inner)
10128            }
10129        }
10130    }
10131}
10132impl<R>
10133    From<
10134        ::aws_smithy_runtime_api::client::result::SdkError<
10135            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10136            R,
10137        >,
10138    > for Error
10139where
10140    R: Send + Sync + std::fmt::Debug + 'static,
10141{
10142    fn from(
10143        err: ::aws_smithy_runtime_api::client::result::SdkError<
10144            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
10145            R,
10146        >,
10147    ) -> Self {
10148        match err {
10149            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10150            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10151                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10152                source: err.into(),
10153            }),
10154        }
10155    }
10156}
10157impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
10158    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
10159        match err {
10160            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
10161                Error::Unhandled(inner)
10162            }
10163        }
10164    }
10165}
10166impl<R>
10167    From<
10168        ::aws_smithy_runtime_api::client::result::SdkError<
10169            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10170            R,
10171        >,
10172    > for Error
10173where
10174    R: Send + Sync + std::fmt::Debug + 'static,
10175{
10176    fn from(
10177        err: ::aws_smithy_runtime_api::client::result::SdkError<
10178            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
10179            R,
10180        >,
10181    ) -> Self {
10182        match err {
10183            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10184            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10185                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10186                source: err.into(),
10187            }),
10188        }
10189    }
10190}
10191impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
10192    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
10193        match err {
10194            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
10195                inner,
10196            ) => Error::Unhandled(inner),
10197        }
10198    }
10199}
10200impl<R>
10201    From<
10202        ::aws_smithy_runtime_api::client::result::SdkError<
10203            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10204            R,
10205        >,
10206    > for Error
10207where
10208    R: Send + Sync + std::fmt::Debug + 'static,
10209{
10210    fn from(
10211        err: ::aws_smithy_runtime_api::client::result::SdkError<
10212            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
10213            R,
10214        >,
10215    ) -> Self {
10216        match err {
10217            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10218            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10219                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10220                source: err.into(),
10221            }),
10222        }
10223    }
10224}
10225impl From<crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
10226    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
10227        match err {
10228            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
10229                Error::Unhandled(inner)
10230            }
10231        }
10232    }
10233}
10234impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
10235    for Error
10236where
10237    R: Send + Sync + std::fmt::Debug + 'static,
10238{
10239    fn from(
10240        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
10241    ) -> Self {
10242        match err {
10243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10246                source: err.into(),
10247            }),
10248        }
10249    }
10250}
10251impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
10252    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
10253        match err {
10254            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
10255        }
10256    }
10257}
10258impl<R>
10259    From<
10260        ::aws_smithy_runtime_api::client::result::SdkError<
10261            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10262            R,
10263        >,
10264    > for Error
10265where
10266    R: Send + Sync + std::fmt::Debug + 'static,
10267{
10268    fn from(
10269        err: ::aws_smithy_runtime_api::client::result::SdkError<
10270            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
10271            R,
10272        >,
10273    ) -> Self {
10274        match err {
10275            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10276            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10277                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10278                source: err.into(),
10279            }),
10280        }
10281    }
10282}
10283impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
10284    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
10285        match err {
10286            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
10287                Error::Unhandled(inner)
10288            }
10289        }
10290    }
10291}
10292impl<R>
10293    From<
10294        ::aws_smithy_runtime_api::client::result::SdkError<
10295            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10296            R,
10297        >,
10298    > for Error
10299where
10300    R: Send + Sync + std::fmt::Debug + 'static,
10301{
10302    fn from(
10303        err: ::aws_smithy_runtime_api::client::result::SdkError<
10304            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
10305            R,
10306        >,
10307    ) -> Self {
10308        match err {
10309            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10310            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10311                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10312                source: err.into(),
10313            }),
10314        }
10315    }
10316}
10317impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
10318    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
10319        match err {
10320            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
10321                Error::Unhandled(inner)
10322            }
10323        }
10324    }
10325}
10326impl<R>
10327    From<
10328        ::aws_smithy_runtime_api::client::result::SdkError<
10329            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10330            R,
10331        >,
10332    > for Error
10333where
10334    R: Send + Sync + std::fmt::Debug + 'static,
10335{
10336    fn from(
10337        err: ::aws_smithy_runtime_api::client::result::SdkError<
10338            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
10339            R,
10340        >,
10341    ) -> Self {
10342        match err {
10343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10346                source: err.into(),
10347            }),
10348        }
10349    }
10350}
10351impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
10352    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
10353        match err {
10354            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10355        }
10356    }
10357}
10358impl<R>
10359    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
10360    for Error
10361where
10362    R: Send + Sync + std::fmt::Debug + 'static,
10363{
10364    fn from(
10365        err: ::aws_smithy_runtime_api::client::result::SdkError<
10366            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
10367            R,
10368        >,
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::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
10380    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
10381        match err {
10382            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10383        }
10384    }
10385}
10386impl<R>
10387    From<
10388        ::aws_smithy_runtime_api::client::result::SdkError<
10389            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10390            R,
10391        >,
10392    > for Error
10393where
10394    R: Send + Sync + std::fmt::Debug + 'static,
10395{
10396    fn from(
10397        err: ::aws_smithy_runtime_api::client::result::SdkError<
10398            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10399            R,
10400        >,
10401    ) -> Self {
10402        match err {
10403            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10404            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10405                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10406                source: err.into(),
10407            }),
10408        }
10409    }
10410}
10411impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
10412    for Error
10413{
10414    fn from(
10415        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
10416    ) -> Self {
10417        match err {
10418            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
10419        }
10420    }
10421}
10422impl<R>
10423    From<
10424        ::aws_smithy_runtime_api::client::result::SdkError<
10425            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10426            R,
10427        >,
10428    > for Error
10429where
10430    R: Send + Sync + std::fmt::Debug + 'static,
10431{
10432    fn from(
10433        err: ::aws_smithy_runtime_api::client::result::SdkError<
10434            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
10435            R,
10436        >,
10437    ) -> Self {
10438        match err {
10439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10442                source: err.into(),
10443            }),
10444        }
10445    }
10446}
10447impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
10448    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
10449        match err {
10450            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10451        }
10452    }
10453}
10454impl<R>
10455    From<
10456        ::aws_smithy_runtime_api::client::result::SdkError<
10457            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10458            R,
10459        >,
10460    > for Error
10461where
10462    R: Send + Sync + std::fmt::Debug + 'static,
10463{
10464    fn from(
10465        err: ::aws_smithy_runtime_api::client::result::SdkError<
10466            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
10467            R,
10468        >,
10469    ) -> Self {
10470        match err {
10471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10474                source: err.into(),
10475            }),
10476        }
10477    }
10478}
10479impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
10480    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
10481        match err {
10482            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
10483                Error::Unhandled(inner)
10484            }
10485        }
10486    }
10487}
10488impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
10489    for Error
10490where
10491    R: Send + Sync + std::fmt::Debug + 'static,
10492{
10493    fn from(
10494        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
10495    ) -> Self {
10496        match err {
10497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10500                source: err.into(),
10501            }),
10502        }
10503    }
10504}
10505impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
10506    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
10507        match err {
10508            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10509        }
10510    }
10511}
10512impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
10513where
10514    R: Send + Sync + std::fmt::Debug + 'static,
10515{
10516    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
10517        match err {
10518            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10519            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10520                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10521                source: err.into(),
10522            }),
10523        }
10524    }
10525}
10526impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
10527    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
10528        match err {
10529            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
10530        }
10531    }
10532}
10533impl<R>
10534    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
10535    for Error
10536where
10537    R: Send + Sync + std::fmt::Debug + 'static,
10538{
10539    fn from(
10540        err: ::aws_smithy_runtime_api::client::result::SdkError<
10541            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
10542            R,
10543        >,
10544    ) -> Self {
10545        match err {
10546            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10547            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10548                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10549                source: err.into(),
10550            }),
10551        }
10552    }
10553}
10554impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
10555    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
10556        match err {
10557            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
10558        }
10559    }
10560}
10561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
10562where
10563    R: Send + Sync + std::fmt::Debug + 'static,
10564{
10565    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
10566        match err {
10567            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10568            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10569                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10570                source: err.into(),
10571            }),
10572        }
10573    }
10574}
10575impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
10576    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
10577        match err {
10578            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
10579        }
10580    }
10581}
10582impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
10583where
10584    R: Send + Sync + std::fmt::Debug + 'static,
10585{
10586    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
10587        match err {
10588            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10589            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10590                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10591                source: err.into(),
10592            }),
10593        }
10594    }
10595}
10596impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
10597    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
10598        match err {
10599            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10600        }
10601    }
10602}
10603impl<R>
10604    From<
10605        ::aws_smithy_runtime_api::client::result::SdkError<
10606            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10607            R,
10608        >,
10609    > for Error
10610where
10611    R: Send + Sync + std::fmt::Debug + 'static,
10612{
10613    fn from(
10614        err: ::aws_smithy_runtime_api::client::result::SdkError<
10615            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
10616            R,
10617        >,
10618    ) -> Self {
10619        match err {
10620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10623                source: err.into(),
10624            }),
10625        }
10626    }
10627}
10628impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
10629    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
10630        match err {
10631            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
10632                Error::Unhandled(inner)
10633            }
10634        }
10635    }
10636}
10637impl<R>
10638    From<
10639        ::aws_smithy_runtime_api::client::result::SdkError<
10640            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10641            R,
10642        >,
10643    > for Error
10644where
10645    R: Send + Sync + std::fmt::Debug + 'static,
10646{
10647    fn from(
10648        err: ::aws_smithy_runtime_api::client::result::SdkError<
10649            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
10650            R,
10651        >,
10652    ) -> Self {
10653        match err {
10654            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10655            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10656                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10657                source: err.into(),
10658            }),
10659        }
10660    }
10661}
10662impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
10663    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
10664        match err {
10665            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
10666                Error::Unhandled(inner)
10667            }
10668        }
10669    }
10670}
10671impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
10672    for Error
10673where
10674    R: Send + Sync + std::fmt::Debug + 'static,
10675{
10676    fn from(
10677        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
10678    ) -> Self {
10679        match err {
10680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10683                source: err.into(),
10684            }),
10685        }
10686    }
10687}
10688impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
10689    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
10690        match err {
10691            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
10692        }
10693    }
10694}
10695impl<R>
10696    From<
10697        ::aws_smithy_runtime_api::client::result::SdkError<
10698            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10699            R,
10700        >,
10701    > for Error
10702where
10703    R: Send + Sync + std::fmt::Debug + 'static,
10704{
10705    fn from(
10706        err: ::aws_smithy_runtime_api::client::result::SdkError<
10707            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
10708            R,
10709        >,
10710    ) -> Self {
10711        match err {
10712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10715                source: err.into(),
10716            }),
10717        }
10718    }
10719}
10720impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
10721    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
10722        match err {
10723            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
10724                Error::Unhandled(inner)
10725            }
10726        }
10727    }
10728}
10729impl<R>
10730    From<
10731        ::aws_smithy_runtime_api::client::result::SdkError<
10732            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10733            R,
10734        >,
10735    > for Error
10736where
10737    R: Send + Sync + std::fmt::Debug + 'static,
10738{
10739    fn from(
10740        err: ::aws_smithy_runtime_api::client::result::SdkError<
10741            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
10742            R,
10743        >,
10744    ) -> Self {
10745        match err {
10746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10749                source: err.into(),
10750            }),
10751        }
10752    }
10753}
10754impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
10755    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
10756        match err {
10757            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
10758        }
10759    }
10760}
10761impl<R>
10762    From<
10763        ::aws_smithy_runtime_api::client::result::SdkError<
10764            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10765            R,
10766        >,
10767    > for Error
10768where
10769    R: Send + Sync + std::fmt::Debug + 'static,
10770{
10771    fn from(
10772        err: ::aws_smithy_runtime_api::client::result::SdkError<
10773            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
10774            R,
10775        >,
10776    ) -> Self {
10777        match err {
10778            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10779            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10780                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10781                source: err.into(),
10782            }),
10783        }
10784    }
10785}
10786impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
10787    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
10788        match err {
10789            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
10790                Error::Unhandled(inner)
10791            }
10792        }
10793    }
10794}
10795impl<R>
10796    From<
10797        ::aws_smithy_runtime_api::client::result::SdkError<
10798            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10799            R,
10800        >,
10801    > for Error
10802where
10803    R: Send + Sync + std::fmt::Debug + 'static,
10804{
10805    fn from(
10806        err: ::aws_smithy_runtime_api::client::result::SdkError<
10807            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
10808            R,
10809        >,
10810    ) -> Self {
10811        match err {
10812            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10813            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10814                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10815                source: err.into(),
10816            }),
10817        }
10818    }
10819}
10820impl From<crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
10821    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
10822        match err {
10823            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10824        }
10825    }
10826}
10827impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>> for Error
10828where
10829    R: Send + Sync + std::fmt::Debug + 'static,
10830{
10831    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>) -> Self {
10832        match err {
10833            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10834            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10835                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10836                source: err.into(),
10837            }),
10838        }
10839    }
10840}
10841impl From<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError> for Error {
10842    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
10843        match err {
10844            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10845        }
10846    }
10847}
10848impl<R>
10849    From<
10850        ::aws_smithy_runtime_api::client::result::SdkError<
10851            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10852            R,
10853        >,
10854    > for Error
10855where
10856    R: Send + Sync + std::fmt::Debug + 'static,
10857{
10858    fn from(
10859        err: ::aws_smithy_runtime_api::client::result::SdkError<
10860            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
10861            R,
10862        >,
10863    ) -> Self {
10864        match err {
10865            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10866            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10867                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10868                source: err.into(),
10869            }),
10870        }
10871    }
10872}
10873impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
10874    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
10875        match err {
10876            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
10877                Error::Unhandled(inner)
10878            }
10879        }
10880    }
10881}
10882impl<R>
10883    From<
10884        ::aws_smithy_runtime_api::client::result::SdkError<
10885            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10886            R,
10887        >,
10888    > for Error
10889where
10890    R: Send + Sync + std::fmt::Debug + 'static,
10891{
10892    fn from(
10893        err: ::aws_smithy_runtime_api::client::result::SdkError<
10894            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
10895            R,
10896        >,
10897    ) -> Self {
10898        match err {
10899            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10900            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10901                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10902                source: err.into(),
10903            }),
10904        }
10905    }
10906}
10907impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
10908    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
10909        match err {
10910            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
10911                Error::Unhandled(inner)
10912            }
10913        }
10914    }
10915}
10916impl<R>
10917    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
10918    for Error
10919where
10920    R: Send + Sync + std::fmt::Debug + 'static,
10921{
10922    fn from(
10923        err: ::aws_smithy_runtime_api::client::result::SdkError<
10924            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
10925            R,
10926        >,
10927    ) -> Self {
10928        match err {
10929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10932                source: err.into(),
10933            }),
10934        }
10935    }
10936}
10937impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
10938    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
10939        match err {
10940            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
10941        }
10942    }
10943}
10944impl<R>
10945    From<
10946        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
10947    > for Error
10948where
10949    R: Send + Sync + std::fmt::Debug + 'static,
10950{
10951    fn from(
10952        err: ::aws_smithy_runtime_api::client::result::SdkError<
10953            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
10954            R,
10955        >,
10956    ) -> Self {
10957        match err {
10958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10961                source: err.into(),
10962            }),
10963        }
10964    }
10965}
10966impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
10967    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
10968        match err {
10969            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
10970        }
10971    }
10972}
10973impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
10974where
10975    R: Send + Sync + std::fmt::Debug + 'static,
10976{
10977    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
10978        match err {
10979            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10980            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10981                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10982                source: err.into(),
10983            }),
10984        }
10985    }
10986}
10987impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
10988    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
10989        match err {
10990            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
10991        }
10992    }
10993}
10994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
10995where
10996    R: Send + Sync + std::fmt::Debug + 'static,
10997{
10998    fn from(
10999        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
11000    ) -> Self {
11001        match err {
11002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11005                source: err.into(),
11006            }),
11007        }
11008    }
11009}
11010impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
11011    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
11012        match err {
11013            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11014        }
11015    }
11016}
11017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
11018where
11019    R: Send + Sync + std::fmt::Debug + 'static,
11020{
11021    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> Self {
11022        match err {
11023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11026                source: err.into(),
11027            }),
11028        }
11029    }
11030}
11031impl From<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError> for Error {
11032    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
11033        match err {
11034            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
11035        }
11036    }
11037}
11038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
11039where
11040    R: Send + Sync + std::fmt::Debug + 'static,
11041{
11042    fn from(
11043        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
11044    ) -> Self {
11045        match err {
11046            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11047            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11048                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11049                source: err.into(),
11050            }),
11051        }
11052    }
11053}
11054impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
11055    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
11056        match err {
11057            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
11058        }
11059    }
11060}
11061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
11062where
11063    R: Send + Sync + std::fmt::Debug + 'static,
11064{
11065    fn from(
11066        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
11067    ) -> Self {
11068        match err {
11069            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11070            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11071                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11072                source: err.into(),
11073            }),
11074        }
11075    }
11076}
11077impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
11078    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
11079        match err {
11080            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11081        }
11082    }
11083}
11084impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
11085where
11086    R: Send + Sync + std::fmt::Debug + 'static,
11087{
11088    fn from(
11089        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
11090    ) -> Self {
11091        match err {
11092            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11093            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11094                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11095                source: err.into(),
11096            }),
11097        }
11098    }
11099}
11100impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
11101    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
11102        match err {
11103            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
11104        }
11105    }
11106}
11107impl<R>
11108    From<
11109        ::aws_smithy_runtime_api::client::result::SdkError<
11110            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11111            R,
11112        >,
11113    > for Error
11114where
11115    R: Send + Sync + std::fmt::Debug + 'static,
11116{
11117    fn from(
11118        err: ::aws_smithy_runtime_api::client::result::SdkError<
11119            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
11120            R,
11121        >,
11122    ) -> Self {
11123        match err {
11124            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11125            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11126                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11127                source: err.into(),
11128            }),
11129        }
11130    }
11131}
11132impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
11133    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
11134        match err {
11135            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
11136                Error::Unhandled(inner)
11137            }
11138        }
11139    }
11140}
11141impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
11142where
11143    R: Send + Sync + std::fmt::Debug + 'static,
11144{
11145    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
11146        match err {
11147            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11148            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11149                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11150                source: err.into(),
11151            }),
11152        }
11153    }
11154}
11155impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
11156    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
11157        match err {
11158            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
11159        }
11160    }
11161}
11162impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
11163where
11164    R: Send + Sync + std::fmt::Debug + 'static,
11165{
11166    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
11167        match err {
11168            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11169            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11170                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11171                source: err.into(),
11172            }),
11173        }
11174    }
11175}
11176impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
11177    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
11178        match err {
11179            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
11180        }
11181    }
11182}
11183impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
11184where
11185    R: Send + Sync + std::fmt::Debug + 'static,
11186{
11187    fn from(
11188        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
11189    ) -> Self {
11190        match err {
11191            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11192            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11193                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11194                source: err.into(),
11195            }),
11196        }
11197    }
11198}
11199impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
11200    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
11201        match err {
11202            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
11203        }
11204    }
11205}
11206impl<R>
11207    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
11208    for Error
11209where
11210    R: Send + Sync + std::fmt::Debug + 'static,
11211{
11212    fn from(
11213        err: ::aws_smithy_runtime_api::client::result::SdkError<
11214            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
11215            R,
11216        >,
11217    ) -> Self {
11218        match err {
11219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11222                source: err.into(),
11223            }),
11224        }
11225    }
11226}
11227impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
11228    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
11229        match err {
11230            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
11231        }
11232    }
11233}
11234impl<R>
11235    From<
11236        ::aws_smithy_runtime_api::client::result::SdkError<
11237            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11238            R,
11239        >,
11240    > for Error
11241where
11242    R: Send + Sync + std::fmt::Debug + 'static,
11243{
11244    fn from(
11245        err: ::aws_smithy_runtime_api::client::result::SdkError<
11246            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
11247            R,
11248        >,
11249    ) -> Self {
11250        match err {
11251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11254                source: err.into(),
11255            }),
11256        }
11257    }
11258}
11259impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
11260    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
11261        match err {
11262            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
11263                inner,
11264            ) => Error::Unhandled(inner),
11265        }
11266    }
11267}
11268impl<R>
11269    From<
11270        ::aws_smithy_runtime_api::client::result::SdkError<
11271            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11272            R,
11273        >,
11274    > for Error
11275where
11276    R: Send + Sync + std::fmt::Debug + 'static,
11277{
11278    fn from(
11279        err: ::aws_smithy_runtime_api::client::result::SdkError<
11280            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
11281            R,
11282        >,
11283    ) -> Self {
11284        match err {
11285            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11286            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11287                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11288                source: err.into(),
11289            }),
11290        }
11291    }
11292}
11293impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
11294    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
11295        match err {
11296            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
11297        }
11298    }
11299}
11300impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
11301where
11302    R: Send + Sync + std::fmt::Debug + 'static,
11303{
11304    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
11305        match err {
11306            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11307            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11308                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11309                source: err.into(),
11310            }),
11311        }
11312    }
11313}
11314impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
11315    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
11316        match err {
11317            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
11318        }
11319    }
11320}
11321impl<R>
11322    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
11323    for Error
11324where
11325    R: Send + Sync + std::fmt::Debug + 'static,
11326{
11327    fn from(
11328        err: ::aws_smithy_runtime_api::client::result::SdkError<
11329            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
11330            R,
11331        >,
11332    ) -> Self {
11333        match err {
11334            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11335            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11336                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11337                source: err.into(),
11338            }),
11339        }
11340    }
11341}
11342impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
11343    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
11344        match err {
11345            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
11346        }
11347    }
11348}
11349impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
11350where
11351    R: Send + Sync + std::fmt::Debug + 'static,
11352{
11353    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
11354        match err {
11355            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11356            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11357                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11358                source: err.into(),
11359            }),
11360        }
11361    }
11362}
11363impl From<crate::operation::disable_image::DisableImageError> for Error {
11364    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
11365        match err {
11366            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
11367        }
11368    }
11369}
11370impl<R>
11371    From<
11372        ::aws_smithy_runtime_api::client::result::SdkError<
11373            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11374            R,
11375        >,
11376    > for Error
11377where
11378    R: Send + Sync + std::fmt::Debug + 'static,
11379{
11380    fn from(
11381        err: ::aws_smithy_runtime_api::client::result::SdkError<
11382            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
11383            R,
11384        >,
11385    ) -> Self {
11386        match err {
11387            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11388            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11389                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11390                source: err.into(),
11391            }),
11392        }
11393    }
11394}
11395impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
11396    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
11397        match err {
11398            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
11399        }
11400    }
11401}
11402impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
11403    for Error
11404where
11405    R: Send + Sync + std::fmt::Debug + 'static,
11406{
11407    fn from(
11408        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
11409    ) -> Self {
11410        match err {
11411            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11412            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11413                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11414                source: err.into(),
11415            }),
11416        }
11417    }
11418}
11419impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
11420    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
11421        match err {
11422            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
11423        }
11424    }
11425}
11426impl<R>
11427    From<
11428        ::aws_smithy_runtime_api::client::result::SdkError<
11429            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11430            R,
11431        >,
11432    > for Error
11433where
11434    R: Send + Sync + std::fmt::Debug + 'static,
11435{
11436    fn from(
11437        err: ::aws_smithy_runtime_api::client::result::SdkError<
11438            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
11439            R,
11440        >,
11441    ) -> Self {
11442        match err {
11443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11446                source: err.into(),
11447            }),
11448        }
11449    }
11450}
11451impl From<crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
11452    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
11453        match err {
11454            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
11455                Error::Unhandled(inner)
11456            }
11457        }
11458    }
11459}
11460impl<R>
11461    From<
11462        ::aws_smithy_runtime_api::client::result::SdkError<
11463            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11464            R,
11465        >,
11466    > for Error
11467where
11468    R: Send + Sync + std::fmt::Debug + 'static,
11469{
11470    fn from(
11471        err: ::aws_smithy_runtime_api::client::result::SdkError<
11472            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
11473            R,
11474        >,
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::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
11486    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
11487        match err {
11488            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
11489                Error::Unhandled(inner)
11490            }
11491        }
11492    }
11493}
11494impl<R>
11495    From<
11496        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError, R>,
11497    > for Error
11498where
11499    R: Send + Sync + std::fmt::Debug + 'static,
11500{
11501    fn from(
11502        err: ::aws_smithy_runtime_api::client::result::SdkError<
11503            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError,
11504            R,
11505        >,
11506    ) -> Self {
11507        match err {
11508            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11509            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11510                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11511                source: err.into(),
11512            }),
11513        }
11514    }
11515}
11516impl From<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError> for Error {
11517    fn from(err: crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError) -> Self {
11518        match err {
11519            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
11520        }
11521    }
11522}
11523impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
11524    for Error
11525where
11526    R: Send + Sync + std::fmt::Debug + 'static,
11527{
11528    fn from(
11529        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
11530    ) -> Self {
11531        match err {
11532            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11533            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11534                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11535                source: err.into(),
11536            }),
11537        }
11538    }
11539}
11540impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
11541    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
11542        match err {
11543            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
11544        }
11545    }
11546}
11547impl<R>
11548    From<
11549        ::aws_smithy_runtime_api::client::result::SdkError<
11550            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11551            R,
11552        >,
11553    > for Error
11554where
11555    R: Send + Sync + std::fmt::Debug + 'static,
11556{
11557    fn from(
11558        err: ::aws_smithy_runtime_api::client::result::SdkError<
11559            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
11560            R,
11561        >,
11562    ) -> Self {
11563        match err {
11564            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11565            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11566                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11567                source: err.into(),
11568            }),
11569        }
11570    }
11571}
11572impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
11573    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
11574        match err {
11575            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
11576                Error::Unhandled(inner)
11577            }
11578        }
11579    }
11580}
11581impl<R>
11582    From<
11583        ::aws_smithy_runtime_api::client::result::SdkError<
11584            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11585            R,
11586        >,
11587    > for Error
11588where
11589    R: Send + Sync + std::fmt::Debug + 'static,
11590{
11591    fn from(
11592        err: ::aws_smithy_runtime_api::client::result::SdkError<
11593            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
11594            R,
11595        >,
11596    ) -> Self {
11597        match err {
11598            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11599            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11600                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11601                source: err.into(),
11602            }),
11603        }
11604    }
11605}
11606impl From<crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
11607    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
11608        match err {
11609            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
11610                Error::Unhandled(inner)
11611            }
11612        }
11613    }
11614}
11615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
11616    for Error
11617where
11618    R: Send + Sync + std::fmt::Debug + 'static,
11619{
11620    fn from(
11621        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
11622    ) -> Self {
11623        match err {
11624            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11625            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11626                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11627                source: err.into(),
11628            }),
11629        }
11630    }
11631}
11632impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
11633    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
11634        match err {
11635            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
11636        }
11637    }
11638}
11639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
11640where
11641    R: Send + Sync + std::fmt::Debug + 'static,
11642{
11643    fn from(
11644        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
11645    ) -> Self {
11646        match err {
11647            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11648            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11649                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11650                source: err.into(),
11651            }),
11652        }
11653    }
11654}
11655impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
11656    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
11657        match err {
11658            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11659        }
11660    }
11661}
11662impl<R>
11663    From<
11664        ::aws_smithy_runtime_api::client::result::SdkError<
11665            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11666            R,
11667        >,
11668    > for Error
11669where
11670    R: Send + Sync + std::fmt::Debug + 'static,
11671{
11672    fn from(
11673        err: ::aws_smithy_runtime_api::client::result::SdkError<
11674            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
11675            R,
11676        >,
11677    ) -> Self {
11678        match err {
11679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11682                source: err.into(),
11683            }),
11684        }
11685    }
11686}
11687impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
11688    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
11689        match err {
11690            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
11691        }
11692    }
11693}
11694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
11695where
11696    R: Send + Sync + std::fmt::Debug + 'static,
11697{
11698    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
11699        match err {
11700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11703                source: err.into(),
11704            }),
11705        }
11706    }
11707}
11708impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
11709    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
11710        match err {
11711            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
11712        }
11713    }
11714}
11715impl<R>
11716    From<
11717        ::aws_smithy_runtime_api::client::result::SdkError<
11718            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11719            R,
11720        >,
11721    > for Error
11722where
11723    R: Send + Sync + std::fmt::Debug + 'static,
11724{
11725    fn from(
11726        err: ::aws_smithy_runtime_api::client::result::SdkError<
11727            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
11728            R,
11729        >,
11730    ) -> Self {
11731        match err {
11732            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11733            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11734                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11735                source: err.into(),
11736            }),
11737        }
11738    }
11739}
11740impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
11741    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
11742        match err {
11743            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
11744                Error::Unhandled(inner)
11745            }
11746        }
11747    }
11748}
11749impl<R>
11750    From<
11751        ::aws_smithy_runtime_api::client::result::SdkError<
11752            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11753            R,
11754        >,
11755    > for Error
11756where
11757    R: Send + Sync + std::fmt::Debug + 'static,
11758{
11759    fn from(
11760        err: ::aws_smithy_runtime_api::client::result::SdkError<
11761            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
11762            R,
11763        >,
11764    ) -> Self {
11765        match err {
11766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11769                source: err.into(),
11770            }),
11771        }
11772    }
11773}
11774impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
11775    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
11776        match err {
11777            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
11778                Error::Unhandled(inner)
11779            }
11780        }
11781    }
11782}
11783impl<R>
11784    From<
11785        ::aws_smithy_runtime_api::client::result::SdkError<
11786            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11787            R,
11788        >,
11789    > for Error
11790where
11791    R: Send + Sync + std::fmt::Debug + 'static,
11792{
11793    fn from(
11794        err: ::aws_smithy_runtime_api::client::result::SdkError<
11795            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
11796            R,
11797        >,
11798    ) -> Self {
11799        match err {
11800            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11801            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11802                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11803                source: err.into(),
11804            }),
11805        }
11806    }
11807}
11808impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
11809    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
11810        match err {
11811            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
11812                Error::Unhandled(inner)
11813            }
11814        }
11815    }
11816}
11817impl<R>
11818    From<
11819        ::aws_smithy_runtime_api::client::result::SdkError<
11820            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11821            R,
11822        >,
11823    > for Error
11824where
11825    R: Send + Sync + std::fmt::Debug + 'static,
11826{
11827    fn from(
11828        err: ::aws_smithy_runtime_api::client::result::SdkError<
11829            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
11830            R,
11831        >,
11832    ) -> Self {
11833        match err {
11834            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11835            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11836                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11837                source: err.into(),
11838            }),
11839        }
11840    }
11841}
11842impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
11843    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
11844        match err {
11845            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
11846        }
11847    }
11848}
11849impl<R>
11850    From<
11851        ::aws_smithy_runtime_api::client::result::SdkError<
11852            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11853            R,
11854        >,
11855    > for Error
11856where
11857    R: Send + Sync + std::fmt::Debug + 'static,
11858{
11859    fn from(
11860        err: ::aws_smithy_runtime_api::client::result::SdkError<
11861            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
11862            R,
11863        >,
11864    ) -> Self {
11865        match err {
11866            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11867            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11868                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11869                source: err.into(),
11870            }),
11871        }
11872    }
11873}
11874impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
11875    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
11876        match err {
11877            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
11878        }
11879    }
11880}
11881impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> for Error
11882where
11883    R: Send + Sync + std::fmt::Debug + 'static,
11884{
11885    fn from(
11886        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>,
11887    ) -> Self {
11888        match err {
11889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11892                source: err.into(),
11893            }),
11894        }
11895    }
11896}
11897impl From<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
11898    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
11899        match err {
11900            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
11901        }
11902    }
11903}
11904impl<R>
11905    From<
11906        ::aws_smithy_runtime_api::client::result::SdkError<
11907            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11908            R,
11909        >,
11910    > for Error
11911where
11912    R: Send + Sync + std::fmt::Debug + 'static,
11913{
11914    fn from(
11915        err: ::aws_smithy_runtime_api::client::result::SdkError<
11916            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
11917            R,
11918        >,
11919    ) -> 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::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
11930    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
11931        match err {
11932            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
11933                Error::Unhandled(inner)
11934            }
11935        }
11936    }
11937}
11938impl<R>
11939    From<
11940        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
11941    > for Error
11942where
11943    R: Send + Sync + std::fmt::Debug + 'static,
11944{
11945    fn from(
11946        err: ::aws_smithy_runtime_api::client::result::SdkError<
11947            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
11948            R,
11949        >,
11950    ) -> Self {
11951        match err {
11952            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11953            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11954                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11955                source: err.into(),
11956            }),
11957        }
11958    }
11959}
11960impl From<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
11961    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
11962        match err {
11963            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
11964        }
11965    }
11966}
11967impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>>
11968    for Error
11969where
11970    R: Send + Sync + std::fmt::Debug + 'static,
11971{
11972    fn from(
11973        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>,
11974    ) -> Self {
11975        match err {
11976            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11977            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11978                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11979                source: err.into(),
11980            }),
11981        }
11982    }
11983}
11984impl From<crate::operation::disassociate_route_server::DisassociateRouteServerError> for Error {
11985    fn from(err: crate::operation::disassociate_route_server::DisassociateRouteServerError) -> Self {
11986        match err {
11987            crate::operation::disassociate_route_server::DisassociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
11988        }
11989    }
11990}
11991impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> for Error
11992where
11993    R: Send + Sync + std::fmt::Debug + 'static,
11994{
11995    fn from(
11996        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>,
11997    ) -> Self {
11998        match err {
11999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12002                source: err.into(),
12003            }),
12004        }
12005    }
12006}
12007impl From<crate::operation::disassociate_route_table::DisassociateRouteTableError> for Error {
12008    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
12009        match err {
12010            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
12011        }
12012    }
12013}
12014impl<R>
12015    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
12016    for Error
12017where
12018    R: Send + Sync + std::fmt::Debug + 'static,
12019{
12020    fn from(
12021        err: ::aws_smithy_runtime_api::client::result::SdkError<
12022            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
12023            R,
12024        >,
12025    ) -> Self {
12026        match err {
12027            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12028            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12029                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12030                source: err.into(),
12031            }),
12032        }
12033    }
12034}
12035impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
12036    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
12037        match err {
12038            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
12039        }
12040    }
12041}
12042impl<R>
12043    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
12044    for Error
12045where
12046    R: Send + Sync + std::fmt::Debug + 'static,
12047{
12048    fn from(
12049        err: ::aws_smithy_runtime_api::client::result::SdkError<
12050            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
12051            R,
12052        >,
12053    ) -> Self {
12054        match err {
12055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12058                source: err.into(),
12059            }),
12060        }
12061    }
12062}
12063impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
12064    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
12065        match err {
12066            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12067        }
12068    }
12069}
12070impl<R>
12071    From<
12072        ::aws_smithy_runtime_api::client::result::SdkError<
12073            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12074            R,
12075        >,
12076    > for Error
12077where
12078    R: Send + Sync + std::fmt::Debug + 'static,
12079{
12080    fn from(
12081        err: ::aws_smithy_runtime_api::client::result::SdkError<
12082            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
12083            R,
12084        >,
12085    ) -> Self {
12086        match err {
12087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12090                source: err.into(),
12091            }),
12092        }
12093    }
12094}
12095impl From<crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
12096    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
12097        match err {
12098            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
12099                Error::Unhandled(inner)
12100            }
12101        }
12102    }
12103}
12104impl<R>
12105    From<
12106        ::aws_smithy_runtime_api::client::result::SdkError<
12107            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
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::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
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::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
12130    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
12131        match err {
12132            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
12133                Error::Unhandled(inner)
12134            }
12135        }
12136    }
12137}
12138impl<R>
12139    From<
12140        ::aws_smithy_runtime_api::client::result::SdkError<
12141            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12142            R,
12143        >,
12144    > for Error
12145where
12146    R: Send + Sync + std::fmt::Debug + 'static,
12147{
12148    fn from(
12149        err: ::aws_smithy_runtime_api::client::result::SdkError<
12150            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
12151            R,
12152        >,
12153    ) -> Self {
12154        match err {
12155            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12156            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12157                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12158                source: err.into(),
12159            }),
12160        }
12161    }
12162}
12163impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
12164    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
12165        match err {
12166            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
12167                Error::Unhandled(inner)
12168            }
12169        }
12170    }
12171}
12172impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
12173    for Error
12174where
12175    R: Send + Sync + std::fmt::Debug + 'static,
12176{
12177    fn from(
12178        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
12179    ) -> Self {
12180        match err {
12181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12184                source: err.into(),
12185            }),
12186        }
12187    }
12188}
12189impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
12190    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
12191        match err {
12192            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
12193        }
12194    }
12195}
12196impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, 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::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, 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::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
12214    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
12215        match err {
12216            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
12217        }
12218    }
12219}
12220impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
12221where
12222    R: Send + Sync + std::fmt::Debug + 'static,
12223{
12224    fn from(
12225        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
12226    ) -> Self {
12227        match err {
12228            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12229            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12230                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12231                source: err.into(),
12232            }),
12233        }
12234    }
12235}
12236impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
12237    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
12238        match err {
12239            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
12240        }
12241    }
12242}
12243impl<R>
12244    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
12245    for Error
12246where
12247    R: Send + Sync + std::fmt::Debug + 'static,
12248{
12249    fn from(
12250        err: ::aws_smithy_runtime_api::client::result::SdkError<
12251            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
12252            R,
12253        >,
12254    ) -> Self {
12255        match err {
12256            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12257            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12258                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12259                source: err.into(),
12260            }),
12261        }
12262    }
12263}
12264impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
12265    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
12266        match err {
12267            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12268        }
12269    }
12270}
12271impl<R>
12272    From<
12273        ::aws_smithy_runtime_api::client::result::SdkError<
12274            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12275            R,
12276        >,
12277    > for Error
12278where
12279    R: Send + Sync + std::fmt::Debug + 'static,
12280{
12281    fn from(
12282        err: ::aws_smithy_runtime_api::client::result::SdkError<
12283            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
12284            R,
12285        >,
12286    ) -> Self {
12287        match err {
12288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12291                source: err.into(),
12292            }),
12293        }
12294    }
12295}
12296impl From<crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
12297    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
12298        match err {
12299            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
12300                inner,
12301            ) => Error::Unhandled(inner),
12302        }
12303    }
12304}
12305impl<R>
12306    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
12307    for Error
12308where
12309    R: Send + Sync + std::fmt::Debug + 'static,
12310{
12311    fn from(
12312        err: ::aws_smithy_runtime_api::client::result::SdkError<
12313            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
12314            R,
12315        >,
12316    ) -> Self {
12317        match err {
12318            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12319            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12320                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12321                source: err.into(),
12322            }),
12323        }
12324    }
12325}
12326impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
12327    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
12328        match err {
12329            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12330        }
12331    }
12332}
12333impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
12334where
12335    R: Send + Sync + std::fmt::Debug + 'static,
12336{
12337    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
12338        match err {
12339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12342                source: err.into(),
12343            }),
12344        }
12345    }
12346}
12347impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
12348    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
12349        match err {
12350            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
12351        }
12352    }
12353}
12354impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
12355    for Error
12356where
12357    R: Send + Sync + std::fmt::Debug + 'static,
12358{
12359    fn from(
12360        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>,
12361    ) -> Self {
12362        match err {
12363            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12364            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12365                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12366                source: err.into(),
12367            }),
12368        }
12369    }
12370}
12371impl From<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
12372    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
12373        match err {
12374            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
12375        }
12376    }
12377}
12378impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
12379where
12380    R: Send + Sync + std::fmt::Debug + 'static,
12381{
12382    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
12383        match err {
12384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12387                source: err.into(),
12388            }),
12389        }
12390    }
12391}
12392impl From<crate::operation::enable_image::EnableImageError> for Error {
12393    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
12394        match err {
12395            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
12396        }
12397    }
12398}
12399impl<R>
12400    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
12401    for Error
12402where
12403    R: Send + Sync + std::fmt::Debug + 'static,
12404{
12405    fn from(
12406        err: ::aws_smithy_runtime_api::client::result::SdkError<
12407            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
12408            R,
12409        >,
12410    ) -> Self {
12411        match err {
12412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12415                source: err.into(),
12416            }),
12417        }
12418    }
12419}
12420impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
12421    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
12422        match err {
12423            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12424        }
12425    }
12426}
12427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> 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::enable_image_deprecation::EnableImageDeprecationError, 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::enable_image_deprecation::EnableImageDeprecationError> for Error {
12444    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
12445        match err {
12446            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
12447        }
12448    }
12449}
12450impl<R>
12451    From<
12452        ::aws_smithy_runtime_api::client::result::SdkError<
12453            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
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::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
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::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
12476    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
12477        match err {
12478            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::Unhandled(inner) => {
12479                Error::Unhandled(inner)
12480            }
12481        }
12482    }
12483}
12484impl<R>
12485    From<
12486        ::aws_smithy_runtime_api::client::result::SdkError<
12487            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12488            R,
12489        >,
12490    > for Error
12491where
12492    R: Send + Sync + std::fmt::Debug + 'static,
12493{
12494    fn from(
12495        err: ::aws_smithy_runtime_api::client::result::SdkError<
12496            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
12497            R,
12498        >,
12499    ) -> Self {
12500        match err {
12501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12504                source: err.into(),
12505            }),
12506        }
12507    }
12508}
12509impl From<crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
12510    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
12511        match err {
12512            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
12513                Error::Unhandled(inner)
12514            }
12515        }
12516    }
12517}
12518impl<R>
12519    From<
12520        ::aws_smithy_runtime_api::client::result::SdkError<
12521            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12522            R,
12523        >,
12524    > for Error
12525where
12526    R: Send + Sync + std::fmt::Debug + 'static,
12527{
12528    fn from(
12529        err: ::aws_smithy_runtime_api::client::result::SdkError<
12530            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
12531            R,
12532        >,
12533    ) -> Self {
12534        match err {
12535            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12536            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12537                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12538                source: err.into(),
12539            }),
12540        }
12541    }
12542}
12543impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
12544    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
12545        match err {
12546            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
12547                inner,
12548            ) => Error::Unhandled(inner),
12549        }
12550    }
12551}
12552impl<R>
12553    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError, R>>
12554    for Error
12555where
12556    R: Send + Sync + std::fmt::Debug + 'static,
12557{
12558    fn from(
12559        err: ::aws_smithy_runtime_api::client::result::SdkError<
12560            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError,
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::enable_route_server_propagation::EnableRouteServerPropagationError> for Error {
12574    fn from(err: crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError) -> Self {
12575        match err {
12576            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
12577        }
12578    }
12579}
12580impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
12581    for Error
12582where
12583    R: Send + Sync + std::fmt::Debug + 'static,
12584{
12585    fn from(
12586        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
12587    ) -> Self {
12588        match err {
12589            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12590            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12591                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12592                source: err.into(),
12593            }),
12594        }
12595    }
12596}
12597impl From<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
12598    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
12599        match err {
12600            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
12601        }
12602    }
12603}
12604impl<R>
12605    From<
12606        ::aws_smithy_runtime_api::client::result::SdkError<
12607            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12608            R,
12609        >,
12610    > for Error
12611where
12612    R: Send + Sync + std::fmt::Debug + 'static,
12613{
12614    fn from(
12615        err: ::aws_smithy_runtime_api::client::result::SdkError<
12616            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
12617            R,
12618        >,
12619    ) -> Self {
12620        match err {
12621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12624                source: err.into(),
12625            }),
12626        }
12627    }
12628}
12629impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
12630    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
12631        match err {
12632            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12633        }
12634    }
12635}
12636impl<R>
12637    From<
12638        ::aws_smithy_runtime_api::client::result::SdkError<
12639            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12640            R,
12641        >,
12642    > for Error
12643where
12644    R: Send + Sync + std::fmt::Debug + 'static,
12645{
12646    fn from(
12647        err: ::aws_smithy_runtime_api::client::result::SdkError<
12648            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
12649            R,
12650        >,
12651    ) -> Self {
12652        match err {
12653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12656                source: err.into(),
12657            }),
12658        }
12659    }
12660}
12661impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
12662    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
12663        match err {
12664            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
12665                Error::Unhandled(inner)
12666            }
12667        }
12668    }
12669}
12670impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
12671    for Error
12672where
12673    R: Send + Sync + std::fmt::Debug + 'static,
12674{
12675    fn from(
12676        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
12677    ) -> Self {
12678        match err {
12679            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12680            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12681                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12682                source: err.into(),
12683            }),
12684        }
12685    }
12686}
12687impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
12688    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
12689        match err {
12690            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
12691        }
12692    }
12693}
12694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
12695where
12696    R: Send + Sync + std::fmt::Debug + 'static,
12697{
12698    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
12699        match err {
12700            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12701            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12702                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12703                source: err.into(),
12704            }),
12705        }
12706    }
12707}
12708impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
12709    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
12710        match err {
12711            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
12712        }
12713    }
12714}
12715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
12716where
12717    R: Send + Sync + std::fmt::Debug + 'static,
12718{
12719    fn from(
12720        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
12721    ) -> Self {
12722        match err {
12723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12726                source: err.into(),
12727            }),
12728        }
12729    }
12730}
12731impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
12732    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
12733        match err {
12734            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
12735        }
12736    }
12737}
12738impl<R>
12739    From<
12740        ::aws_smithy_runtime_api::client::result::SdkError<
12741            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12742            R,
12743        >,
12744    > for Error
12745where
12746    R: Send + Sync + std::fmt::Debug + 'static,
12747{
12748    fn from(
12749        err: ::aws_smithy_runtime_api::client::result::SdkError<
12750            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
12751            R,
12752        >,
12753    ) -> Self {
12754        match err {
12755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12758                source: err.into(),
12759            }),
12760        }
12761    }
12762}
12763impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
12764    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
12765        match err {
12766            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
12767        }
12768    }
12769}
12770impl<R>
12771    From<
12772        ::aws_smithy_runtime_api::client::result::SdkError<
12773            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12774            R,
12775        >,
12776    > for Error
12777where
12778    R: Send + Sync + std::fmt::Debug + 'static,
12779{
12780    fn from(
12781        err: ::aws_smithy_runtime_api::client::result::SdkError<
12782            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12783            R,
12784        >,
12785    ) -> Self {
12786        match err {
12787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12790                source: err.into(),
12791            }),
12792        }
12793    }
12794}
12795impl From<crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
12796    fn from(
12797        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
12798    ) -> Self {
12799        match err {
12800            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
12801        }
12802    }
12803}
12804impl<R>
12805    From<
12806        ::aws_smithy_runtime_api::client::result::SdkError<
12807            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12808            R,
12809        >,
12810    > for Error
12811where
12812    R: Send + Sync + std::fmt::Debug + 'static,
12813{
12814    fn from(
12815        err: ::aws_smithy_runtime_api::client::result::SdkError<
12816            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
12817            R,
12818        >,
12819    ) -> Self {
12820        match err {
12821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12824                source: err.into(),
12825            }),
12826        }
12827    }
12828}
12829impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
12830    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
12831        match err {
12832            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
12833                Error::Unhandled(inner)
12834            }
12835        }
12836    }
12837}
12838impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
12839where
12840    R: Send + Sync + std::fmt::Debug + 'static,
12841{
12842    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
12843        match err {
12844            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12845            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12846                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12847                source: err.into(),
12848            }),
12849        }
12850    }
12851}
12852impl From<crate::operation::export_image::ExportImageError> for Error {
12853    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
12854        match err {
12855            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
12856        }
12857    }
12858}
12859impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
12860    for Error
12861where
12862    R: Send + Sync + std::fmt::Debug + 'static,
12863{
12864    fn from(
12865        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
12866    ) -> Self {
12867        match err {
12868            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12869            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12870                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12871                source: err.into(),
12872            }),
12873        }
12874    }
12875}
12876impl From<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
12877    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
12878        match err {
12879            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
12880        }
12881    }
12882}
12883impl<R>
12884    From<
12885        ::aws_smithy_runtime_api::client::result::SdkError<
12886            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12887            R,
12888        >,
12889    > for Error
12890where
12891    R: Send + Sync + std::fmt::Debug + 'static,
12892{
12893    fn from(
12894        err: ::aws_smithy_runtime_api::client::result::SdkError<
12895            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12896            R,
12897        >,
12898    ) -> Self {
12899        match err {
12900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12903                source: err.into(),
12904            }),
12905        }
12906    }
12907}
12908impl From<crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
12909    fn from(
12910        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
12911    ) -> Self {
12912        match err {
12913            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
12914        }
12915    }
12916}
12917impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>>
12918    for Error
12919where
12920    R: Send + Sync + std::fmt::Debug + 'static,
12921{
12922    fn from(
12923        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>,
12924    ) -> Self {
12925        match err {
12926            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12927            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12928                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12929                source: err.into(),
12930            }),
12931        }
12932    }
12933}
12934impl From<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError> for Error {
12935    fn from(err: crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError) -> Self {
12936        match err {
12937            crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError::Unhandled(inner) => Error::Unhandled(inner),
12938        }
12939    }
12940}
12941impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
12942    for Error
12943where
12944    R: Send + Sync + std::fmt::Debug + 'static,
12945{
12946    fn from(
12947        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
12948    ) -> Self {
12949        match err {
12950            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12951            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12952                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12953                source: err.into(),
12954            }),
12955        }
12956    }
12957}
12958impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
12959    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
12960        match err {
12961            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12962        }
12963    }
12964}
12965impl<R>
12966    From<
12967        ::aws_smithy_runtime_api::client::result::SdkError<
12968            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
12969            R,
12970        >,
12971    > for Error
12972where
12973    R: Send + Sync + std::fmt::Debug + 'static,
12974{
12975    fn from(
12976        err: ::aws_smithy_runtime_api::client::result::SdkError<
12977            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
12978            R,
12979        >,
12980    ) -> Self {
12981        match err {
12982            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12983            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12984                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12985                source: err.into(),
12986            }),
12987        }
12988    }
12989}
12990impl From<crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
12991    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
12992        match err {
12993            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
12994                Error::Unhandled(inner)
12995            }
12996        }
12997    }
12998}
12999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
13000    for Error
13001where
13002    R: Send + Sync + std::fmt::Debug + 'static,
13003{
13004    fn from(
13005        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
13006    ) -> Self {
13007        match err {
13008            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13009            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13010                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13011                source: err.into(),
13012            }),
13013        }
13014    }
13015}
13016impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
13017    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
13018        match err {
13019            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13020        }
13021    }
13022}
13023impl<R>
13024    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
13025    for Error
13026where
13027    R: Send + Sync + std::fmt::Debug + 'static,
13028{
13029    fn from(
13030        err: ::aws_smithy_runtime_api::client::result::SdkError<
13031            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
13032            R,
13033        >,
13034    ) -> Self {
13035        match err {
13036            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13037            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13038                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13039                source: err.into(),
13040            }),
13041        }
13042    }
13043}
13044impl From<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
13045    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
13046        match err {
13047            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
13048        }
13049    }
13050}
13051impl<R>
13052    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
13053    for Error
13054where
13055    R: Send + Sync + std::fmt::Debug + 'static,
13056{
13057    fn from(
13058        err: ::aws_smithy_runtime_api::client::result::SdkError<
13059            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
13060            R,
13061        >,
13062    ) -> Self {
13063        match err {
13064            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13065            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13066                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13067                source: err.into(),
13068            }),
13069        }
13070    }
13071}
13072impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
13073    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
13074        match err {
13075            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
13076        }
13077    }
13078}
13079impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
13080where
13081    R: Send + Sync + std::fmt::Debug + 'static,
13082{
13083    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
13084        match err {
13085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13088                source: err.into(),
13089            }),
13090        }
13091    }
13092}
13093impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
13094    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
13095        match err {
13096            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
13097        }
13098    }
13099}
13100impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
13101where
13102    R: Send + Sync + std::fmt::Debug + 'static,
13103{
13104    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
13105        match err {
13106            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13107            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13108                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13109                source: err.into(),
13110            }),
13111        }
13112    }
13113}
13114impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
13115    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
13116        match err {
13117            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
13118        }
13119    }
13120}
13121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
13122where
13123    R: Send + Sync + std::fmt::Debug + 'static,
13124{
13125    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
13126        match err {
13127            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13128            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13129                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13130                source: err.into(),
13131            }),
13132        }
13133    }
13134}
13135impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
13136    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
13137        match err {
13138            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
13139        }
13140    }
13141}
13142impl<R>
13143    From<
13144        ::aws_smithy_runtime_api::client::result::SdkError<
13145            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13146            R,
13147        >,
13148    > for Error
13149where
13150    R: Send + Sync + std::fmt::Debug + 'static,
13151{
13152    fn from(
13153        err: ::aws_smithy_runtime_api::client::result::SdkError<
13154            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
13155            R,
13156        >,
13157    ) -> Self {
13158        match err {
13159            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13160            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13161                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13162                source: err.into(),
13163            }),
13164        }
13165    }
13166}
13167impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
13168    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
13169        match err {
13170            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
13171                Error::Unhandled(inner)
13172            }
13173        }
13174    }
13175}
13176impl<R>
13177    From<
13178        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
13179    > for Error
13180where
13181    R: Send + Sync + std::fmt::Debug + 'static,
13182{
13183    fn from(
13184        err: ::aws_smithy_runtime_api::client::result::SdkError<
13185            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
13186            R,
13187        >,
13188    ) -> Self {
13189        match err {
13190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13193                source: err.into(),
13194            }),
13195        }
13196    }
13197}
13198impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
13199    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
13200        match err {
13201            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
13202        }
13203    }
13204}
13205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
13206    for Error
13207where
13208    R: Send + Sync + std::fmt::Debug + 'static,
13209{
13210    fn from(
13211        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
13212    ) -> Self {
13213        match err {
13214            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13215            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13216                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13217                source: err.into(),
13218            }),
13219        }
13220    }
13221}
13222impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
13223    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
13224        match err {
13225            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
13226        }
13227    }
13228}
13229impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
13230    for Error
13231where
13232    R: Send + Sync + std::fmt::Debug + 'static,
13233{
13234    fn from(
13235        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
13236    ) -> Self {
13237        match err {
13238            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13239            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13240                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13241                source: err.into(),
13242            }),
13243        }
13244    }
13245}
13246impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
13247    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
13248        match err {
13249            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
13250        }
13251    }
13252}
13253impl<R>
13254    From<
13255        ::aws_smithy_runtime_api::client::result::SdkError<
13256            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13257            R,
13258        >,
13259    > for Error
13260where
13261    R: Send + Sync + std::fmt::Debug + 'static,
13262{
13263    fn from(
13264        err: ::aws_smithy_runtime_api::client::result::SdkError<
13265            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
13266            R,
13267        >,
13268    ) -> Self {
13269        match err {
13270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13273                source: err.into(),
13274            }),
13275        }
13276    }
13277}
13278impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
13279    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
13280        match err {
13281            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
13282        }
13283    }
13284}
13285impl<R>
13286    From<
13287        ::aws_smithy_runtime_api::client::result::SdkError<
13288            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13289            R,
13290        >,
13291    > for Error
13292where
13293    R: Send + Sync + std::fmt::Debug + 'static,
13294{
13295    fn from(
13296        err: ::aws_smithy_runtime_api::client::result::SdkError<
13297            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
13298            R,
13299        >,
13300    ) -> Self {
13301        match err {
13302            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13303            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13304                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13305                source: err.into(),
13306            }),
13307        }
13308    }
13309}
13310impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
13311    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
13312        match err {
13313            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
13314        }
13315    }
13316}
13317impl<R>
13318    From<
13319        ::aws_smithy_runtime_api::client::result::SdkError<
13320            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13321            R,
13322        >,
13323    > for Error
13324where
13325    R: Send + Sync + std::fmt::Debug + 'static,
13326{
13327    fn from(
13328        err: ::aws_smithy_runtime_api::client::result::SdkError<
13329            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
13330            R,
13331        >,
13332    ) -> Self {
13333        match err {
13334            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13335            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13336                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13337                source: err.into(),
13338            }),
13339        }
13340    }
13341}
13342impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
13343    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
13344        match err {
13345            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
13346                Error::Unhandled(inner)
13347            }
13348        }
13349    }
13350}
13351impl<R>
13352    From<
13353        ::aws_smithy_runtime_api::client::result::SdkError<
13354            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13355            R,
13356        >,
13357    > for Error
13358where
13359    R: Send + Sync + std::fmt::Debug + 'static,
13360{
13361    fn from(
13362        err: ::aws_smithy_runtime_api::client::result::SdkError<
13363            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
13364            R,
13365        >,
13366    ) -> Self {
13367        match err {
13368            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13369            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13370                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13371                source: err.into(),
13372            }),
13373        }
13374    }
13375}
13376impl From<crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
13377    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
13378        match err {
13379            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
13380        }
13381    }
13382}
13383impl<R>
13384    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
13385    for Error
13386where
13387    R: Send + Sync + std::fmt::Debug + 'static,
13388{
13389    fn from(
13390        err: ::aws_smithy_runtime_api::client::result::SdkError<
13391            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
13392            R,
13393        >,
13394    ) -> Self {
13395        match err {
13396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13399                source: err.into(),
13400            }),
13401        }
13402    }
13403}
13404impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
13405    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
13406        match err {
13407            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
13408        }
13409    }
13410}
13411impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
13412where
13413    R: Send + Sync + std::fmt::Debug + 'static,
13414{
13415    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> Self {
13416        match err {
13417            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13418            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13419                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13420                source: err.into(),
13421            }),
13422        }
13423    }
13424}
13425impl From<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
13426    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
13427        match err {
13428            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
13429        }
13430    }
13431}
13432impl<R>
13433    From<
13434        ::aws_smithy_runtime_api::client::result::SdkError<
13435            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13436            R,
13437        >,
13438    > for Error
13439where
13440    R: Send + Sync + std::fmt::Debug + 'static,
13441{
13442    fn from(
13443        err: ::aws_smithy_runtime_api::client::result::SdkError<
13444            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
13445            R,
13446        >,
13447    ) -> Self {
13448        match err {
13449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13452                source: err.into(),
13453            }),
13454        }
13455    }
13456}
13457impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
13458    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
13459        match err {
13460            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
13461                Error::Unhandled(inner)
13462            }
13463        }
13464    }
13465}
13466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
13467where
13468    R: Send + Sync + std::fmt::Debug + 'static,
13469{
13470    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
13471        match err {
13472            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13473            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13474                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13475                source: err.into(),
13476            }),
13477        }
13478    }
13479}
13480impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
13481    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
13482        match err {
13483            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
13484        }
13485    }
13486}
13487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
13488where
13489    R: Send + Sync + std::fmt::Debug + 'static,
13490{
13491    fn from(
13492        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
13493    ) -> Self {
13494        match err {
13495            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13496            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13497                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13498                source: err.into(),
13499            }),
13500        }
13501    }
13502}
13503impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
13504    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
13505        match err {
13506            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
13507        }
13508    }
13509}
13510impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
13511    for Error
13512where
13513    R: Send + Sync + std::fmt::Debug + 'static,
13514{
13515    fn from(
13516        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
13517    ) -> Self {
13518        match err {
13519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13522                source: err.into(),
13523            }),
13524        }
13525    }
13526}
13527impl From<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
13528    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
13529        match err {
13530            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
13531        }
13532    }
13533}
13534impl<R>
13535    From<
13536        ::aws_smithy_runtime_api::client::result::SdkError<
13537            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13538            R,
13539        >,
13540    > for Error
13541where
13542    R: Send + Sync + std::fmt::Debug + 'static,
13543{
13544    fn from(
13545        err: ::aws_smithy_runtime_api::client::result::SdkError<
13546            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
13547            R,
13548        >,
13549    ) -> Self {
13550        match err {
13551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13554                source: err.into(),
13555            }),
13556        }
13557    }
13558}
13559impl From<crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
13560    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
13561        match err {
13562            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
13563                Error::Unhandled(inner)
13564            }
13565        }
13566    }
13567}
13568impl<R>
13569    From<
13570        ::aws_smithy_runtime_api::client::result::SdkError<
13571            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13572            R,
13573        >,
13574    > for Error
13575where
13576    R: Send + Sync + std::fmt::Debug + 'static,
13577{
13578    fn from(
13579        err: ::aws_smithy_runtime_api::client::result::SdkError<
13580            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
13581            R,
13582        >,
13583    ) -> Self {
13584        match err {
13585            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13586            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13587                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13588                source: err.into(),
13589            }),
13590        }
13591    }
13592}
13593impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
13594    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
13595        match err {
13596            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13597        }
13598    }
13599}
13600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
13601    for Error
13602where
13603    R: Send + Sync + std::fmt::Debug + 'static,
13604{
13605    fn from(
13606        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
13607    ) -> Self {
13608        match err {
13609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13612                source: err.into(),
13613            }),
13614        }
13615    }
13616}
13617impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
13618    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
13619        match err {
13620            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
13621        }
13622    }
13623}
13624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
13625where
13626    R: Send + Sync + std::fmt::Debug + 'static,
13627{
13628    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
13629        match err {
13630            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13631            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13632                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13633                source: err.into(),
13634            }),
13635        }
13636    }
13637}
13638impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
13639    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
13640        match err {
13641            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13642        }
13643    }
13644}
13645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
13646where
13647    R: Send + Sync + std::fmt::Debug + 'static,
13648{
13649    fn from(
13650        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
13651    ) -> Self {
13652        match err {
13653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13656                source: err.into(),
13657            }),
13658        }
13659    }
13660}
13661impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
13662    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
13663        match err {
13664            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
13665        }
13666    }
13667}
13668impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
13669where
13670    R: Send + Sync + std::fmt::Debug + 'static,
13671{
13672    fn from(
13673        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
13674    ) -> Self {
13675        match err {
13676            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13677            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13678                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13679                source: err.into(),
13680            }),
13681        }
13682    }
13683}
13684impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
13685    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
13686        match err {
13687            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
13688        }
13689    }
13690}
13691impl<R>
13692    From<
13693        ::aws_smithy_runtime_api::client::result::SdkError<
13694            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13695            R,
13696        >,
13697    > for Error
13698where
13699    R: Send + Sync + std::fmt::Debug + 'static,
13700{
13701    fn from(
13702        err: ::aws_smithy_runtime_api::client::result::SdkError<
13703            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
13704            R,
13705        >,
13706    ) -> Self {
13707        match err {
13708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13711                source: err.into(),
13712            }),
13713        }
13714    }
13715}
13716impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
13717    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
13718        match err {
13719            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
13720                Error::Unhandled(inner)
13721            }
13722        }
13723    }
13724}
13725impl<R>
13726    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
13727    for Error
13728where
13729    R: Send + Sync + std::fmt::Debug + 'static,
13730{
13731    fn from(
13732        err: ::aws_smithy_runtime_api::client::result::SdkError<
13733            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
13734            R,
13735        >,
13736    ) -> Self {
13737        match err {
13738            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13739            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13740                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13741                source: err.into(),
13742            }),
13743        }
13744    }
13745}
13746impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
13747    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
13748        match err {
13749            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
13750        }
13751    }
13752}
13753impl<R>
13754    From<
13755        ::aws_smithy_runtime_api::client::result::SdkError<
13756            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
13757            R,
13758        >,
13759    > for Error
13760where
13761    R: Send + Sync + std::fmt::Debug + 'static,
13762{
13763    fn from(
13764        err: ::aws_smithy_runtime_api::client::result::SdkError<
13765            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
13766            R,
13767        >,
13768    ) -> Self {
13769        match err {
13770            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13771            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13772                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13773                source: err.into(),
13774            }),
13775        }
13776    }
13777}
13778impl From<crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
13779    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
13780        match err {
13781            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
13782                inner,
13783            ) => Error::Unhandled(inner),
13784        }
13785    }
13786}
13787impl<R>
13788    From<
13789        ::aws_smithy_runtime_api::client::result::SdkError<
13790            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
13791            R,
13792        >,
13793    > for Error
13794where
13795    R: Send + Sync + std::fmt::Debug + 'static,
13796{
13797    fn from(
13798        err: ::aws_smithy_runtime_api::client::result::SdkError<
13799            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
13800            R,
13801        >,
13802    ) -> Self {
13803        match err {
13804            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13805            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13806                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13807                source: err.into(),
13808            }),
13809        }
13810    }
13811}
13812impl From<crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
13813    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
13814        match err {
13815            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
13816                Error::Unhandled(inner)
13817            }
13818        }
13819    }
13820}
13821impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
13822where
13823    R: Send + Sync + std::fmt::Debug + 'static,
13824{
13825    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
13826        match err {
13827            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13828            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13829                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13830                source: err.into(),
13831            }),
13832        }
13833    }
13834}
13835impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
13836    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
13837        match err {
13838            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
13839        }
13840    }
13841}
13842impl<R>
13843    From<
13844        ::aws_smithy_runtime_api::client::result::SdkError<
13845            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13846            R,
13847        >,
13848    > for Error
13849where
13850    R: Send + Sync + std::fmt::Debug + 'static,
13851{
13852    fn from(
13853        err: ::aws_smithy_runtime_api::client::result::SdkError<
13854            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
13855            R,
13856        >,
13857    ) -> Self {
13858        match err {
13859            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13860            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13861                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13862                source: err.into(),
13863            }),
13864        }
13865    }
13866}
13867impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
13868    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
13869        match err {
13870            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
13871                Error::Unhandled(inner)
13872            }
13873        }
13874    }
13875}
13876impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>>
13877    for Error
13878where
13879    R: Send + Sync + std::fmt::Debug + 'static,
13880{
13881    fn from(
13882        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>,
13883    ) -> Self {
13884        match err {
13885            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13886            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13887                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13888                source: err.into(),
13889            }),
13890        }
13891    }
13892}
13893impl From<crate::operation::get_route_server_associations::GetRouteServerAssociationsError> for Error {
13894    fn from(err: crate::operation::get_route_server_associations::GetRouteServerAssociationsError) -> Self {
13895        match err {
13896            crate::operation::get_route_server_associations::GetRouteServerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
13897        }
13898    }
13899}
13900impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>>
13901    for Error
13902where
13903    R: Send + Sync + std::fmt::Debug + 'static,
13904{
13905    fn from(
13906        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>,
13907    ) -> Self {
13908        match err {
13909            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13910            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13911                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13912                source: err.into(),
13913            }),
13914        }
13915    }
13916}
13917impl From<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError> for Error {
13918    fn from(err: crate::operation::get_route_server_propagations::GetRouteServerPropagationsError) -> Self {
13919        match err {
13920            crate::operation::get_route_server_propagations::GetRouteServerPropagationsError::Unhandled(inner) => Error::Unhandled(inner),
13921        }
13922    }
13923}
13924impl<R>
13925    From<
13926        ::aws_smithy_runtime_api::client::result::SdkError<
13927            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
13928            R,
13929        >,
13930    > for Error
13931where
13932    R: Send + Sync + std::fmt::Debug + 'static,
13933{
13934    fn from(
13935        err: ::aws_smithy_runtime_api::client::result::SdkError<
13936            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
13937            R,
13938        >,
13939    ) -> Self {
13940        match err {
13941            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13942            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13943                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13944                source: err.into(),
13945            }),
13946        }
13947    }
13948}
13949impl From<crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError> for Error {
13950    fn from(err: crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError) -> Self {
13951        match err {
13952            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
13953        }
13954    }
13955}
13956impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
13957    for Error
13958where
13959    R: Send + Sync + std::fmt::Debug + 'static,
13960{
13961    fn from(
13962        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
13963    ) -> Self {
13964        match err {
13965            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13966            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13967                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13968                source: err.into(),
13969            }),
13970        }
13971    }
13972}
13973impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
13974    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
13975        match err {
13976            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
13977        }
13978    }
13979}
13980impl<R>
13981    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
13982    for Error
13983where
13984    R: Send + Sync + std::fmt::Debug + 'static,
13985{
13986    fn from(
13987        err: ::aws_smithy_runtime_api::client::result::SdkError<
13988            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
13989            R,
13990        >,
13991    ) -> Self {
13992        match err {
13993            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13994            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13995                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13996                source: err.into(),
13997            }),
13998        }
13999    }
14000}
14001impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
14002    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
14003        match err {
14004            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
14005        }
14006    }
14007}
14008impl<R>
14009    From<
14010        ::aws_smithy_runtime_api::client::result::SdkError<
14011            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
14012            R,
14013        >,
14014    > for Error
14015where
14016    R: Send + Sync + std::fmt::Debug + 'static,
14017{
14018    fn from(
14019        err: ::aws_smithy_runtime_api::client::result::SdkError<
14020            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
14021            R,
14022        >,
14023    ) -> Self {
14024        match err {
14025            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14026            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14027                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14028                source: err.into(),
14029            }),
14030        }
14031    }
14032}
14033impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
14034    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
14035        match err {
14036            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
14037                Error::Unhandled(inner)
14038            }
14039        }
14040    }
14041}
14042impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
14043    for Error
14044where
14045    R: Send + Sync + std::fmt::Debug + 'static,
14046{
14047    fn from(
14048        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
14049    ) -> Self {
14050        match err {
14051            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14052            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14053                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14054                source: err.into(),
14055            }),
14056        }
14057    }
14058}
14059impl From<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError> for Error {
14060    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
14061        match err {
14062            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
14063        }
14064    }
14065}
14066impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
14067    for Error
14068where
14069    R: Send + Sync + std::fmt::Debug + 'static,
14070{
14071    fn from(
14072        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
14073    ) -> Self {
14074        match err {
14075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14078                source: err.into(),
14079            }),
14080        }
14081    }
14082}
14083impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
14084    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
14085        match err {
14086            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
14087        }
14088    }
14089}
14090impl<R>
14091    From<
14092        ::aws_smithy_runtime_api::client::result::SdkError<
14093            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
14094            R,
14095        >,
14096    > for Error
14097where
14098    R: Send + Sync + std::fmt::Debug + 'static,
14099{
14100    fn from(
14101        err: ::aws_smithy_runtime_api::client::result::SdkError<
14102            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
14103            R,
14104        >,
14105    ) -> Self {
14106        match err {
14107            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14108            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14109                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14110                source: err.into(),
14111            }),
14112        }
14113    }
14114}
14115impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
14116    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
14117        match err {
14118            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
14119                Error::Unhandled(inner)
14120            }
14121        }
14122    }
14123}
14124impl<R>
14125    From<
14126        ::aws_smithy_runtime_api::client::result::SdkError<
14127            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
14128            R,
14129        >,
14130    > for Error
14131where
14132    R: Send + Sync + std::fmt::Debug + 'static,
14133{
14134    fn from(
14135        err: ::aws_smithy_runtime_api::client::result::SdkError<
14136            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
14137            R,
14138        >,
14139    ) -> Self {
14140        match err {
14141            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14142            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14143                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14144                source: err.into(),
14145            }),
14146        }
14147    }
14148}
14149impl From<crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
14150    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
14151        match err {
14152            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
14153                inner,
14154            ) => Error::Unhandled(inner),
14155        }
14156    }
14157}
14158impl<R>
14159    From<
14160        ::aws_smithy_runtime_api::client::result::SdkError<
14161            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
14162            R,
14163        >,
14164    > for Error
14165where
14166    R: Send + Sync + std::fmt::Debug + 'static,
14167{
14168    fn from(
14169        err: ::aws_smithy_runtime_api::client::result::SdkError<
14170            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
14171            R,
14172        >,
14173    ) -> Self {
14174        match err {
14175            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14176            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14177                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14178                source: err.into(),
14179            }),
14180        }
14181    }
14182}
14183impl From<crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
14184    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
14185        match err {
14186            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
14187                Error::Unhandled(inner)
14188            }
14189        }
14190    }
14191}
14192impl<R>
14193    From<
14194        ::aws_smithy_runtime_api::client::result::SdkError<
14195            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14196            R,
14197        >,
14198    > for Error
14199where
14200    R: Send + Sync + std::fmt::Debug + 'static,
14201{
14202    fn from(
14203        err: ::aws_smithy_runtime_api::client::result::SdkError<
14204            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
14205            R,
14206        >,
14207    ) -> Self {
14208        match err {
14209            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14210            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14211                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14212                source: err.into(),
14213            }),
14214        }
14215    }
14216}
14217impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
14218    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
14219        match err {
14220            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
14221                Error::Unhandled(inner)
14222            }
14223        }
14224    }
14225}
14226impl<R>
14227    From<
14228        ::aws_smithy_runtime_api::client::result::SdkError<
14229            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14230            R,
14231        >,
14232    > for Error
14233where
14234    R: Send + Sync + std::fmt::Debug + 'static,
14235{
14236    fn from(
14237        err: ::aws_smithy_runtime_api::client::result::SdkError<
14238            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
14239            R,
14240        >,
14241    ) -> Self {
14242        match err {
14243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14246                source: err.into(),
14247            }),
14248        }
14249    }
14250}
14251impl From<crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
14252    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
14253        match err {
14254            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
14255                Error::Unhandled(inner)
14256            }
14257        }
14258    }
14259}
14260impl<R>
14261    From<
14262        ::aws_smithy_runtime_api::client::result::SdkError<
14263            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
14264            R,
14265        >,
14266    > for Error
14267where
14268    R: Send + Sync + std::fmt::Debug + 'static,
14269{
14270    fn from(
14271        err: ::aws_smithy_runtime_api::client::result::SdkError<
14272            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
14273            R,
14274        >,
14275    ) -> Self {
14276        match err {
14277            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14278            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14279                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14280                source: err.into(),
14281            }),
14282        }
14283    }
14284}
14285impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
14286    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
14287        match err {
14288            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
14289                Error::Unhandled(inner)
14290            }
14291        }
14292    }
14293}
14294impl<R>
14295    From<
14296        ::aws_smithy_runtime_api::client::result::SdkError<
14297            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
14298            R,
14299        >,
14300    > for Error
14301where
14302    R: Send + Sync + std::fmt::Debug + 'static,
14303{
14304    fn from(
14305        err: ::aws_smithy_runtime_api::client::result::SdkError<
14306            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
14307            R,
14308        >,
14309    ) -> Self {
14310        match err {
14311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14314                source: err.into(),
14315            }),
14316        }
14317    }
14318}
14319impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
14320    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
14321        match err {
14322            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
14323                Error::Unhandled(inner)
14324            }
14325        }
14326    }
14327}
14328impl<R>
14329    From<
14330        ::aws_smithy_runtime_api::client::result::SdkError<
14331            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
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::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
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::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
14354    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
14355        match err {
14356            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14357        }
14358    }
14359}
14360impl<R>
14361    From<
14362        ::aws_smithy_runtime_api::client::result::SdkError<
14363            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
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::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
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::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
14386    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
14387        match err {
14388            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
14389                Error::Unhandled(inner)
14390            }
14391        }
14392    }
14393}
14394impl<R>
14395    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
14396    for Error
14397where
14398    R: Send + Sync + std::fmt::Debug + 'static,
14399{
14400    fn from(
14401        err: ::aws_smithy_runtime_api::client::result::SdkError<
14402            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
14403            R,
14404        >,
14405    ) -> Self {
14406        match err {
14407            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14408            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14409                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14410                source: err.into(),
14411            }),
14412        }
14413    }
14414}
14415impl From<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
14416    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
14417        match err {
14418            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14419        }
14420    }
14421}
14422impl<R>
14423    From<
14424        ::aws_smithy_runtime_api::client::result::SdkError<
14425            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
14426            R,
14427        >,
14428    > for Error
14429where
14430    R: Send + Sync + std::fmt::Debug + 'static,
14431{
14432    fn from(
14433        err: ::aws_smithy_runtime_api::client::result::SdkError<
14434            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
14435            R,
14436        >,
14437    ) -> Self {
14438        match err {
14439            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14440            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14441                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14442                source: err.into(),
14443            }),
14444        }
14445    }
14446}
14447impl From<crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
14448    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
14449        match err {
14450            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
14451                Error::Unhandled(inner)
14452            }
14453        }
14454    }
14455}
14456impl<R>
14457    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
14458    for Error
14459where
14460    R: Send + Sync + std::fmt::Debug + 'static,
14461{
14462    fn from(
14463        err: ::aws_smithy_runtime_api::client::result::SdkError<
14464            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
14465            R,
14466        >,
14467    ) -> Self {
14468        match err {
14469            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14470            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14471                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14472                source: err.into(),
14473            }),
14474        }
14475    }
14476}
14477impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
14478    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
14479        match err {
14480            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
14481        }
14482    }
14483}
14484impl<R>
14485    From<
14486        ::aws_smithy_runtime_api::client::result::SdkError<
14487            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14488            R,
14489        >,
14490    > for Error
14491where
14492    R: Send + Sync + std::fmt::Debug + 'static,
14493{
14494    fn from(
14495        err: ::aws_smithy_runtime_api::client::result::SdkError<
14496            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
14497            R,
14498        >,
14499    ) -> Self {
14500        match err {
14501            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14502            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14503                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14504                source: err.into(),
14505            }),
14506        }
14507    }
14508}
14509impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
14510    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
14511        match err {
14512            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
14513        }
14514    }
14515}
14516impl<R>
14517    From<
14518        ::aws_smithy_runtime_api::client::result::SdkError<
14519            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14520            R,
14521        >,
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<
14528            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14529            R,
14530        >,
14531    ) -> Self {
14532        match err {
14533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14536                source: err.into(),
14537            }),
14538        }
14539    }
14540}
14541impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
14542    fn from(
14543        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
14544    ) -> Self {
14545        match err {
14546            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
14547        }
14548    }
14549}
14550impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
14551where
14552    R: Send + Sync + std::fmt::Debug + 'static,
14553{
14554    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
14555        match err {
14556            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14557            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14558                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14559                source: err.into(),
14560            }),
14561        }
14562    }
14563}
14564impl From<crate::operation::import_image::ImportImageError> for Error {
14565    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
14566        match err {
14567            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
14568        }
14569    }
14570}
14571impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
14572where
14573    R: Send + Sync + std::fmt::Debug + 'static,
14574{
14575    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
14576        match err {
14577            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14578            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14579                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14580                source: err.into(),
14581            }),
14582        }
14583    }
14584}
14585impl From<crate::operation::import_instance::ImportInstanceError> for Error {
14586    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
14587        match err {
14588            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
14589        }
14590    }
14591}
14592impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
14593where
14594    R: Send + Sync + std::fmt::Debug + 'static,
14595{
14596    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
14597        match err {
14598            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14599            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14600                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14601                source: err.into(),
14602            }),
14603        }
14604    }
14605}
14606impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
14607    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
14608        match err {
14609            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
14610        }
14611    }
14612}
14613impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
14614where
14615    R: Send + Sync + std::fmt::Debug + 'static,
14616{
14617    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
14618        match err {
14619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14622                source: err.into(),
14623            }),
14624        }
14625    }
14626}
14627impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
14628    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
14629        match err {
14630            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
14631        }
14632    }
14633}
14634impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
14635where
14636    R: Send + Sync + std::fmt::Debug + 'static,
14637{
14638    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
14639        match err {
14640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14643                source: err.into(),
14644            }),
14645        }
14646    }
14647}
14648impl From<crate::operation::import_volume::ImportVolumeError> for Error {
14649    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
14650        match err {
14651            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
14652        }
14653    }
14654}
14655impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
14656    for Error
14657where
14658    R: Send + Sync + std::fmt::Debug + 'static,
14659{
14660    fn from(
14661        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
14662    ) -> Self {
14663        match err {
14664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14667                source: err.into(),
14668            }),
14669        }
14670    }
14671}
14672impl From<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
14673    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
14674        match err {
14675            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14676        }
14677    }
14678}
14679impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
14680    for Error
14681where
14682    R: Send + Sync + std::fmt::Debug + 'static,
14683{
14684    fn from(
14685        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
14686    ) -> Self {
14687        match err {
14688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14691                source: err.into(),
14692            }),
14693        }
14694    }
14695}
14696impl From<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
14697    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
14698        match err {
14699            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
14700        }
14701    }
14702}
14703impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
14704where
14705    R: Send + Sync + std::fmt::Debug + 'static,
14706{
14707    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
14708        match err {
14709            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14710            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14711                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14712                source: err.into(),
14713            }),
14714        }
14715    }
14716}
14717impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
14718    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
14719        match err {
14720            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
14721        }
14722    }
14723}
14724impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> 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_address_attribute::ModifyAddressAttributeError, 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_address_attribute::ModifyAddressAttributeError> for Error {
14741    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
14742        match err {
14743            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14744        }
14745    }
14746}
14747impl<R>
14748    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
14749    for Error
14750where
14751    R: Send + Sync + std::fmt::Debug + 'static,
14752{
14753    fn from(
14754        err: ::aws_smithy_runtime_api::client::result::SdkError<
14755            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
14756            R,
14757        >,
14758    ) -> Self {
14759        match err {
14760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14763                source: err.into(),
14764            }),
14765        }
14766    }
14767}
14768impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
14769    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
14770        match err {
14771            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
14772        }
14773    }
14774}
14775impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
14776    for Error
14777where
14778    R: Send + Sync + std::fmt::Debug + 'static,
14779{
14780    fn from(
14781        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
14782    ) -> Self {
14783        match err {
14784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14787                source: err.into(),
14788            }),
14789        }
14790    }
14791}
14792impl From<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
14793    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
14794        match err {
14795            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
14796        }
14797    }
14798}
14799impl<R>
14800    From<
14801        ::aws_smithy_runtime_api::client::result::SdkError<
14802            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
14803            R,
14804        >,
14805    > for Error
14806where
14807    R: Send + Sync + std::fmt::Debug + 'static,
14808{
14809    fn from(
14810        err: ::aws_smithy_runtime_api::client::result::SdkError<
14811            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
14812            R,
14813        >,
14814    ) -> Self {
14815        match err {
14816            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14817            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14818                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14819                source: err.into(),
14820            }),
14821        }
14822    }
14823}
14824impl From<crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
14825    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
14826        match err {
14827            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
14828        }
14829    }
14830}
14831impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
14832    for Error
14833where
14834    R: Send + Sync + std::fmt::Debug + 'static,
14835{
14836    fn from(
14837        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
14838    ) -> Self {
14839        match err {
14840            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14841            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14842                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14843                source: err.into(),
14844            }),
14845        }
14846    }
14847}
14848impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
14849    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
14850        match err {
14851            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
14852        }
14853    }
14854}
14855impl<R>
14856    From<
14857        ::aws_smithy_runtime_api::client::result::SdkError<
14858            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
14859            R,
14860        >,
14861    > for Error
14862where
14863    R: Send + Sync + std::fmt::Debug + 'static,
14864{
14865    fn from(
14866        err: ::aws_smithy_runtime_api::client::result::SdkError<
14867            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
14868            R,
14869        >,
14870    ) -> Self {
14871        match err {
14872            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14873            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14874                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14875                source: err.into(),
14876            }),
14877        }
14878    }
14879}
14880impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
14881    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
14882        match err {
14883            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
14884        }
14885    }
14886}
14887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
14888    for Error
14889where
14890    R: Send + Sync + std::fmt::Debug + 'static,
14891{
14892    fn from(
14893        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>,
14894    ) -> Self {
14895        match err {
14896            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14897            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14898                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14899                source: err.into(),
14900            }),
14901        }
14902    }
14903}
14904impl From<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
14905    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
14906        match err {
14907            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
14908        }
14909    }
14910}
14911impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
14912where
14913    R: Send + Sync + std::fmt::Debug + 'static,
14914{
14915    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
14916        match err {
14917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14920                source: err.into(),
14921            }),
14922        }
14923    }
14924}
14925impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
14926    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
14927        match err {
14928            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
14929        }
14930    }
14931}
14932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
14933    for Error
14934where
14935    R: Send + Sync + std::fmt::Debug + 'static,
14936{
14937    fn from(
14938        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
14939    ) -> Self {
14940        match err {
14941            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14942            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14943                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14944                source: err.into(),
14945            }),
14946        }
14947    }
14948}
14949impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
14950    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
14951        match err {
14952            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
14953        }
14954    }
14955}
14956impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
14957where
14958    R: Send + Sync + std::fmt::Debug + 'static,
14959{
14960    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
14961        match err {
14962            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14963            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14964                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14965                source: err.into(),
14966            }),
14967        }
14968    }
14969}
14970impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
14971    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
14972        match err {
14973            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
14974        }
14975    }
14976}
14977impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>>
14978    for Error
14979where
14980    R: Send + Sync + std::fmt::Debug + 'static,
14981{
14982    fn from(
14983        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
14984    ) -> Self {
14985        match err {
14986            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14987            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14988                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14989                source: err.into(),
14990            }),
14991        }
14992    }
14993}
14994impl From<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
14995    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
14996        match err {
14997            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
14998        }
14999    }
15000}
15001impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
15002where
15003    R: Send + Sync + std::fmt::Debug + 'static,
15004{
15005    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
15006        match err {
15007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15010                source: err.into(),
15011            }),
15012        }
15013    }
15014}
15015impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
15016    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
15017        match err {
15018            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
15019        }
15020    }
15021}
15022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
15023where
15024    R: Send + Sync + std::fmt::Debug + 'static,
15025{
15026    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
15027        match err {
15028            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15029            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15030                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15031                source: err.into(),
15032            }),
15033        }
15034    }
15035}
15036impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
15037    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
15038        match err {
15039            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15040        }
15041    }
15042}
15043impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, 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<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
15050    ) -> Self {
15051        match err {
15052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15055                source: err.into(),
15056            }),
15057        }
15058    }
15059}
15060impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
15061    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
15062        match err {
15063            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15064        }
15065    }
15066}
15067impl<R>
15068    From<
15069        ::aws_smithy_runtime_api::client::result::SdkError<
15070            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
15071            R,
15072        >,
15073    > for Error
15074where
15075    R: Send + Sync + std::fmt::Debug + 'static,
15076{
15077    fn from(
15078        err: ::aws_smithy_runtime_api::client::result::SdkError<
15079            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
15080            R,
15081        >,
15082    ) -> Self {
15083        match err {
15084            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15085            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15086                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15087                source: err.into(),
15088            }),
15089        }
15090    }
15091}
15092impl From<crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
15093    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
15094        match err {
15095            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
15096                Error::Unhandled(inner)
15097            }
15098        }
15099    }
15100}
15101impl<R>
15102    From<
15103        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError, R>,
15104    > for Error
15105where
15106    R: Send + Sync + std::fmt::Debug + 'static,
15107{
15108    fn from(
15109        err: ::aws_smithy_runtime_api::client::result::SdkError<
15110            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError,
15111            R,
15112        >,
15113    ) -> Self {
15114        match err {
15115            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15116            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15117                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15118                source: err.into(),
15119            }),
15120        }
15121    }
15122}
15123impl From<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError> for Error {
15124    fn from(err: crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError) -> Self {
15125        match err {
15126            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
15127        }
15128    }
15129}
15130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
15131    for Error
15132where
15133    R: Send + Sync + std::fmt::Debug + 'static,
15134{
15135    fn from(
15136        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
15137    ) -> Self {
15138        match err {
15139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15142                source: err.into(),
15143            }),
15144        }
15145    }
15146}
15147impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
15148    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
15149        match err {
15150            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15151        }
15152    }
15153}
15154impl<R>
15155    From<
15156        ::aws_smithy_runtime_api::client::result::SdkError<
15157            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
15158            R,
15159        >,
15160    > for Error
15161where
15162    R: Send + Sync + std::fmt::Debug + 'static,
15163{
15164    fn from(
15165        err: ::aws_smithy_runtime_api::client::result::SdkError<
15166            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
15167            R,
15168        >,
15169    ) -> Self {
15170        match err {
15171            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15172            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15173                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15174                source: err.into(),
15175            }),
15176        }
15177    }
15178}
15179impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
15180    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
15181        match err {
15182            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
15183                Error::Unhandled(inner)
15184            }
15185        }
15186    }
15187}
15188impl<R>
15189    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
15190    for Error
15191where
15192    R: Send + Sync + std::fmt::Debug + 'static,
15193{
15194    fn from(
15195        err: ::aws_smithy_runtime_api::client::result::SdkError<
15196            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
15197            R,
15198        >,
15199    ) -> Self {
15200        match err {
15201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15204                source: err.into(),
15205            }),
15206        }
15207    }
15208}
15209impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
15210    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
15211        match err {
15212            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
15213        }
15214    }
15215}
15216impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
15217    for Error
15218where
15219    R: Send + Sync + std::fmt::Debug + 'static,
15220{
15221    fn from(
15222        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
15223    ) -> Self {
15224        match err {
15225            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15226            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15227                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15228                source: err.into(),
15229            }),
15230        }
15231    }
15232}
15233impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
15234    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
15235        match err {
15236            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
15237        }
15238    }
15239}
15240impl<R>
15241    From<
15242        ::aws_smithy_runtime_api::client::result::SdkError<
15243            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15244            R,
15245        >,
15246    > for Error
15247where
15248    R: Send + Sync + std::fmt::Debug + 'static,
15249{
15250    fn from(
15251        err: ::aws_smithy_runtime_api::client::result::SdkError<
15252            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
15253            R,
15254        >,
15255    ) -> Self {
15256        match err {
15257            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15258            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15259                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15260                source: err.into(),
15261            }),
15262        }
15263    }
15264}
15265impl From<crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
15266    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
15267        match err {
15268            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15269        }
15270    }
15271}
15272impl<R>
15273    From<
15274        ::aws_smithy_runtime_api::client::result::SdkError<
15275            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
15276            R,
15277        >,
15278    > for Error
15279where
15280    R: Send + Sync + std::fmt::Debug + 'static,
15281{
15282    fn from(
15283        err: ::aws_smithy_runtime_api::client::result::SdkError<
15284            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
15285            R,
15286        >,
15287    ) -> Self {
15288        match err {
15289            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15290            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15291                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15292                source: err.into(),
15293            }),
15294        }
15295    }
15296}
15297impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
15298    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
15299        match err {
15300            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
15301        }
15302    }
15303}
15304impl<R>
15305    From<
15306        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
15307    > for Error
15308where
15309    R: Send + Sync + std::fmt::Debug + 'static,
15310{
15311    fn from(
15312        err: ::aws_smithy_runtime_api::client::result::SdkError<
15313            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
15314            R,
15315        >,
15316    ) -> Self {
15317        match err {
15318            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15319            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15320                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15321                source: err.into(),
15322            }),
15323        }
15324    }
15325}
15326impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
15327    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
15328        match err {
15329            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15330        }
15331    }
15332}
15333impl<R>
15334    From<
15335        ::aws_smithy_runtime_api::client::result::SdkError<
15336            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15337            R,
15338        >,
15339    > for Error
15340where
15341    R: Send + Sync + std::fmt::Debug + 'static,
15342{
15343    fn from(
15344        err: ::aws_smithy_runtime_api::client::result::SdkError<
15345            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
15346            R,
15347        >,
15348    ) -> Self {
15349        match err {
15350            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15351            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15352                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15353                source: err.into(),
15354            }),
15355        }
15356    }
15357}
15358impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
15359    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
15360        match err {
15361            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
15362                Error::Unhandled(inner)
15363            }
15364        }
15365    }
15366}
15367impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>>
15368    for Error
15369where
15370    R: Send + Sync + std::fmt::Debug + 'static,
15371{
15372    fn from(
15373        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
15374    ) -> Self {
15375        match err {
15376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15379                source: err.into(),
15380            }),
15381        }
15382    }
15383}
15384impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
15385    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
15386        match err {
15387            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
15388        }
15389    }
15390}
15391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
15392where
15393    R: Send + Sync + std::fmt::Debug + 'static,
15394{
15395    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
15396        match err {
15397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15400                source: err.into(),
15401            }),
15402        }
15403    }
15404}
15405impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
15406    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
15407        match err {
15408            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
15409        }
15410    }
15411}
15412impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
15413where
15414    R: Send + Sync + std::fmt::Debug + 'static,
15415{
15416    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
15417        match err {
15418            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15419            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15420                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15421                source: err.into(),
15422            }),
15423        }
15424    }
15425}
15426impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
15427    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
15428        match err {
15429            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
15430        }
15431    }
15432}
15433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
15434    for Error
15435where
15436    R: Send + Sync + std::fmt::Debug + 'static,
15437{
15438    fn from(
15439        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
15440    ) -> Self {
15441        match err {
15442            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15443            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15444                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15445                source: err.into(),
15446            }),
15447        }
15448    }
15449}
15450impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
15451    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
15452        match err {
15453            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
15454        }
15455    }
15456}
15457impl<R>
15458    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
15459    for Error
15460where
15461    R: Send + Sync + std::fmt::Debug + 'static,
15462{
15463    fn from(
15464        err: ::aws_smithy_runtime_api::client::result::SdkError<
15465            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
15466            R,
15467        >,
15468    ) -> Self {
15469        match err {
15470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15473                source: err.into(),
15474            }),
15475        }
15476    }
15477}
15478impl From<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
15479    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
15480        match err {
15481            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
15482        }
15483    }
15484}
15485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
15486where
15487    R: Send + Sync + std::fmt::Debug + 'static,
15488{
15489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> Self {
15490        match err {
15491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15494                source: err.into(),
15495            }),
15496        }
15497    }
15498}
15499impl From<crate::operation::modify_ipam_scope::ModifyIpamScopeError> for Error {
15500    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
15501        match err {
15502            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
15503        }
15504    }
15505}
15506impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
15507where
15508    R: Send + Sync + std::fmt::Debug + 'static,
15509{
15510    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
15511        match err {
15512            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15513            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15514                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15515                source: err.into(),
15516            }),
15517        }
15518    }
15519}
15520impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
15521    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
15522        match err {
15523            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
15524        }
15525    }
15526}
15527impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
15528    for Error
15529where
15530    R: Send + Sync + std::fmt::Debug + 'static,
15531{
15532    fn from(
15533        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
15534    ) -> Self {
15535        match err {
15536            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15537            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15538                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15539                source: err.into(),
15540            }),
15541        }
15542    }
15543}
15544impl From<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
15545    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
15546        match err {
15547            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
15548        }
15549    }
15550}
15551impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>>
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<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>,
15558    ) -> Self {
15559        match err {
15560            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15561            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15562                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15563                source: err.into(),
15564            }),
15565        }
15566    }
15567}
15568impl From<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError> for Error {
15569    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
15570        match err {
15571            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
15572        }
15573    }
15574}
15575impl<R>
15576    From<
15577        ::aws_smithy_runtime_api::client::result::SdkError<
15578            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15579            R,
15580        >,
15581    > for Error
15582where
15583    R: Send + Sync + std::fmt::Debug + 'static,
15584{
15585    fn from(
15586        err: ::aws_smithy_runtime_api::client::result::SdkError<
15587            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
15588            R,
15589        >,
15590    ) -> Self {
15591        match err {
15592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15593            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15594                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15595                source: err.into(),
15596            }),
15597        }
15598    }
15599}
15600impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
15601    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
15602        match err {
15603            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15604        }
15605    }
15606}
15607impl<R>
15608    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
15609    for Error
15610where
15611    R: Send + Sync + std::fmt::Debug + 'static,
15612{
15613    fn from(
15614        err: ::aws_smithy_runtime_api::client::result::SdkError<
15615            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
15616            R,
15617        >,
15618    ) -> Self {
15619        match err {
15620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15623                source: err.into(),
15624            }),
15625        }
15626    }
15627}
15628impl From<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
15629    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
15630        match err {
15631            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15632        }
15633    }
15634}
15635impl<R>
15636    From<
15637        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError, R>,
15638    > for Error
15639where
15640    R: Send + Sync + std::fmt::Debug + 'static,
15641{
15642    fn from(
15643        err: ::aws_smithy_runtime_api::client::result::SdkError<
15644            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError,
15645            R,
15646        >,
15647    ) -> Self {
15648        match err {
15649            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15650            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15651                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15652                source: err.into(),
15653            }),
15654        }
15655    }
15656}
15657impl From<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError> for Error {
15658    fn from(err: crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError) -> Self {
15659        match err {
15660            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
15661        }
15662    }
15663}
15664impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
15665    for Error
15666where
15667    R: Send + Sync + std::fmt::Debug + 'static,
15668{
15669    fn from(
15670        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
15671    ) -> Self {
15672        match err {
15673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15676                source: err.into(),
15677            }),
15678        }
15679    }
15680}
15681impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
15682    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
15683        match err {
15684            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
15685        }
15686    }
15687}
15688impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>> for Error
15689where
15690    R: Send + Sync + std::fmt::Debug + 'static,
15691{
15692    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>) -> Self {
15693        match err {
15694            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15695            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15696                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15697                source: err.into(),
15698            }),
15699        }
15700    }
15701}
15702impl From<crate::operation::modify_route_server::ModifyRouteServerError> for Error {
15703    fn from(err: crate::operation::modify_route_server::ModifyRouteServerError) -> Self {
15704        match err {
15705            crate::operation::modify_route_server::ModifyRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
15706        }
15707    }
15708}
15709impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
15710    for Error
15711where
15712    R: Send + Sync + std::fmt::Debug + 'static,
15713{
15714    fn from(
15715        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
15716    ) -> Self {
15717        match err {
15718            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15719            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15720                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15721                source: err.into(),
15722            }),
15723        }
15724    }
15725}
15726impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
15727    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
15728        match err {
15729            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
15730        }
15731    }
15732}
15733impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
15734    for Error
15735where
15736    R: Send + Sync + std::fmt::Debug + 'static,
15737{
15738    fn from(
15739        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
15740    ) -> 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::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
15751    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
15752        match err {
15753            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15754        }
15755    }
15756}
15757impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
15758where
15759    R: Send + Sync + std::fmt::Debug + 'static,
15760{
15761    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> Self {
15762        match err {
15763            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15764            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15765                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15766                source: err.into(),
15767            }),
15768        }
15769    }
15770}
15771impl From<crate::operation::modify_snapshot_tier::ModifySnapshotTierError> for Error {
15772    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
15773        match err {
15774            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
15775        }
15776    }
15777}
15778impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>>
15779    for Error
15780where
15781    R: Send + Sync + std::fmt::Debug + 'static,
15782{
15783    fn from(
15784        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>,
15785    ) -> Self {
15786        match err {
15787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15790                source: err.into(),
15791            }),
15792        }
15793    }
15794}
15795impl From<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError> for Error {
15796    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
15797        match err {
15798            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
15799        }
15800    }
15801}
15802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
15803where
15804    R: Send + Sync + std::fmt::Debug + 'static,
15805{
15806    fn from(
15807        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
15808    ) -> Self {
15809        match err {
15810            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15811            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15812                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15813                source: err.into(),
15814            }),
15815        }
15816    }
15817}
15818impl From<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError> for Error {
15819    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
15820        match err {
15821            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
15822        }
15823    }
15824}
15825impl<R>
15826    From<
15827        ::aws_smithy_runtime_api::client::result::SdkError<
15828            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
15829            R,
15830        >,
15831    > for Error
15832where
15833    R: Send + Sync + std::fmt::Debug + 'static,
15834{
15835    fn from(
15836        err: ::aws_smithy_runtime_api::client::result::SdkError<
15837            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
15838            R,
15839        >,
15840    ) -> Self {
15841        match err {
15842            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15843            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15844                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15845                source: err.into(),
15846            }),
15847        }
15848    }
15849}
15850impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
15851    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
15852        match err {
15853            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
15854                Error::Unhandled(inner)
15855            }
15856        }
15857    }
15858}
15859impl<R>
15860    From<
15861        ::aws_smithy_runtime_api::client::result::SdkError<
15862            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
15863            R,
15864        >,
15865    > for Error
15866where
15867    R: Send + Sync + std::fmt::Debug + 'static,
15868{
15869    fn from(
15870        err: ::aws_smithy_runtime_api::client::result::SdkError<
15871            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
15872            R,
15873        >,
15874    ) -> Self {
15875        match err {
15876            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15877            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15878                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15879                source: err.into(),
15880            }),
15881        }
15882    }
15883}
15884impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
15885    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
15886        match err {
15887            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
15888        }
15889    }
15890}
15891impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
15892    for Error
15893where
15894    R: Send + Sync + std::fmt::Debug + 'static,
15895{
15896    fn from(
15897        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
15898    ) -> Self {
15899        match err {
15900            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15901            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15902                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15903                source: err.into(),
15904            }),
15905        }
15906    }
15907}
15908impl From<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
15909    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
15910        match err {
15911            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
15912        }
15913    }
15914}
15915impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
15916where
15917    R: Send + Sync + std::fmt::Debug + 'static,
15918{
15919    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> Self {
15920        match err {
15921            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15922            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15923                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15924                source: err.into(),
15925            }),
15926        }
15927    }
15928}
15929impl From<crate::operation::modify_transit_gateway::ModifyTransitGatewayError> for Error {
15930    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
15931        match err {
15932            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
15933        }
15934    }
15935}
15936impl<R>
15937    From<
15938        ::aws_smithy_runtime_api::client::result::SdkError<
15939            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
15940            R,
15941        >,
15942    > for Error
15943where
15944    R: Send + Sync + std::fmt::Debug + 'static,
15945{
15946    fn from(
15947        err: ::aws_smithy_runtime_api::client::result::SdkError<
15948            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
15949            R,
15950        >,
15951    ) -> Self {
15952        match err {
15953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15956                source: err.into(),
15957            }),
15958        }
15959    }
15960}
15961impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
15962    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
15963        match err {
15964            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
15965                Error::Unhandled(inner)
15966            }
15967        }
15968    }
15969}
15970impl<R>
15971    From<
15972        ::aws_smithy_runtime_api::client::result::SdkError<
15973            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15974            R,
15975        >,
15976    > for Error
15977where
15978    R: Send + Sync + std::fmt::Debug + 'static,
15979{
15980    fn from(
15981        err: ::aws_smithy_runtime_api::client::result::SdkError<
15982            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
15983            R,
15984        >,
15985    ) -> Self {
15986        match err {
15987            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15988            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15989                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15990                source: err.into(),
15991            }),
15992        }
15993    }
15994}
15995impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
15996    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
15997        match err {
15998            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
15999                Error::Unhandled(inner)
16000            }
16001        }
16002    }
16003}
16004impl<R>
16005    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
16006    for Error
16007where
16008    R: Send + Sync + std::fmt::Debug + 'static,
16009{
16010    fn from(
16011        err: ::aws_smithy_runtime_api::client::result::SdkError<
16012            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
16013            R,
16014        >,
16015    ) -> Self {
16016        match err {
16017            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16018            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16019                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16020                source: err.into(),
16021            }),
16022        }
16023    }
16024}
16025impl From<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
16026    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
16027        match err {
16028            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16029        }
16030    }
16031}
16032impl<R>
16033    From<
16034        ::aws_smithy_runtime_api::client::result::SdkError<
16035            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
16036            R,
16037        >,
16038    > for Error
16039where
16040    R: Send + Sync + std::fmt::Debug + 'static,
16041{
16042    fn from(
16043        err: ::aws_smithy_runtime_api::client::result::SdkError<
16044            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
16045            R,
16046        >,
16047    ) -> Self {
16048        match err {
16049            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16050            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16051                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16052                source: err.into(),
16053            }),
16054        }
16055    }
16056}
16057impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
16058    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
16059        match err {
16060            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
16061                Error::Unhandled(inner)
16062            }
16063        }
16064    }
16065}
16066impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
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<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
16073    ) -> Self {
16074        match err {
16075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16078                source: err.into(),
16079            }),
16080        }
16081    }
16082}
16083impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
16084    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
16085        match err {
16086            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
16087        }
16088    }
16089}
16090impl<R>
16091    From<
16092        ::aws_smithy_runtime_api::client::result::SdkError<
16093            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
16094            R,
16095        >,
16096    > for Error
16097where
16098    R: Send + Sync + std::fmt::Debug + 'static,
16099{
16100    fn from(
16101        err: ::aws_smithy_runtime_api::client::result::SdkError<
16102            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
16103            R,
16104        >,
16105    ) -> Self {
16106        match err {
16107            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16108            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16109                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16110                source: err.into(),
16111            }),
16112        }
16113    }
16114}
16115impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
16116    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
16117        match err {
16118            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
16119        }
16120    }
16121}
16122impl<R>
16123    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
16124    for Error
16125where
16126    R: Send + Sync + std::fmt::Debug + 'static,
16127{
16128    fn from(
16129        err: ::aws_smithy_runtime_api::client::result::SdkError<
16130            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
16131            R,
16132        >,
16133    ) -> Self {
16134        match err {
16135            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16136            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16137                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16138                source: err.into(),
16139            }),
16140        }
16141    }
16142}
16143impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
16144    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
16145        match err {
16146            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
16147        }
16148    }
16149}
16150impl<R>
16151    From<
16152        ::aws_smithy_runtime_api::client::result::SdkError<
16153            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16154            R,
16155        >,
16156    > for Error
16157where
16158    R: Send + Sync + std::fmt::Debug + 'static,
16159{
16160    fn from(
16161        err: ::aws_smithy_runtime_api::client::result::SdkError<
16162            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16163            R,
16164        >,
16165    ) -> Self {
16166        match err {
16167            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16168            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16169                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16170                source: err.into(),
16171            }),
16172        }
16173    }
16174}
16175impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
16176    fn from(
16177        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
16178    ) -> Self {
16179        match err {
16180            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
16181        }
16182    }
16183}
16184impl<R>
16185    From<
16186        ::aws_smithy_runtime_api::client::result::SdkError<
16187            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
16188            R,
16189        >,
16190    > for Error
16191where
16192    R: Send + Sync + std::fmt::Debug + 'static,
16193{
16194    fn from(
16195        err: ::aws_smithy_runtime_api::client::result::SdkError<
16196            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
16197            R,
16198        >,
16199    ) -> Self {
16200        match err {
16201            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16202            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16203                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16204                source: err.into(),
16205            }),
16206        }
16207    }
16208}
16209impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
16210    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
16211        match err {
16212            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
16213                Error::Unhandled(inner)
16214            }
16215        }
16216    }
16217}
16218impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
16219where
16220    R: Send + Sync + std::fmt::Debug + 'static,
16221{
16222    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> Self {
16223        match err {
16224            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16225            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16226                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16227                source: err.into(),
16228            }),
16229        }
16230    }
16231}
16232impl From<crate::operation::modify_volume::ModifyVolumeError> for Error {
16233    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
16234        match err {
16235            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
16236        }
16237    }
16238}
16239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
16240where
16241    R: Send + Sync + std::fmt::Debug + 'static,
16242{
16243    fn from(
16244        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
16245    ) -> Self {
16246        match err {
16247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16250                source: err.into(),
16251            }),
16252        }
16253    }
16254}
16255impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
16256    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
16257        match err {
16258            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16259        }
16260    }
16261}
16262impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
16263where
16264    R: Send + Sync + std::fmt::Debug + 'static,
16265{
16266    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> Self {
16267        match err {
16268            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16269            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16270                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16271                source: err.into(),
16272            }),
16273        }
16274    }
16275}
16276impl From<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError> for Error {
16277    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
16278        match err {
16279            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16280        }
16281    }
16282}
16283impl<R>
16284    From<
16285        ::aws_smithy_runtime_api::client::result::SdkError<
16286            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
16287            R,
16288        >,
16289    > for Error
16290where
16291    R: Send + Sync + std::fmt::Debug + 'static,
16292{
16293    fn from(
16294        err: ::aws_smithy_runtime_api::client::result::SdkError<
16295            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
16296            R,
16297        >,
16298    ) -> Self {
16299        match err {
16300            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16301            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16302                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16303                source: err.into(),
16304            }),
16305        }
16306    }
16307}
16308impl From<crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
16309    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
16310        match err {
16311            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
16312                Error::Unhandled(inner)
16313            }
16314        }
16315    }
16316}
16317impl<R>
16318    From<
16319        ::aws_smithy_runtime_api::client::result::SdkError<
16320            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
16321            R,
16322        >,
16323    > for Error
16324where
16325    R: Send + Sync + std::fmt::Debug + 'static,
16326{
16327    fn from(
16328        err: ::aws_smithy_runtime_api::client::result::SdkError<
16329            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
16330            R,
16331        >,
16332    ) -> Self {
16333        match err {
16334            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16335            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16336                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16337                source: err.into(),
16338            }),
16339        }
16340    }
16341}
16342impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
16343    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
16344        match err {
16345            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
16346                Error::Unhandled(inner)
16347            }
16348        }
16349    }
16350}
16351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
16352where
16353    R: Send + Sync + std::fmt::Debug + 'static,
16354{
16355    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
16356        match err {
16357            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16358            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16359                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16360                source: err.into(),
16361            }),
16362        }
16363    }
16364}
16365impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
16366    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
16367        match err {
16368            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16369        }
16370    }
16371}
16372impl<R>
16373    From<
16374        ::aws_smithy_runtime_api::client::result::SdkError<
16375            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16376            R,
16377        >,
16378    > for Error
16379where
16380    R: Send + Sync + std::fmt::Debug + 'static,
16381{
16382    fn from(
16383        err: ::aws_smithy_runtime_api::client::result::SdkError<
16384            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
16385            R,
16386        >,
16387    ) -> Self {
16388        match err {
16389            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16390            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16391                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16392                source: err.into(),
16393            }),
16394        }
16395    }
16396}
16397impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
16398    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
16399        match err {
16400            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
16401                Error::Unhandled(inner)
16402            }
16403        }
16404    }
16405}
16406impl<R>
16407    From<
16408        ::aws_smithy_runtime_api::client::result::SdkError<
16409            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16410            R,
16411        >,
16412    > for Error
16413where
16414    R: Send + Sync + std::fmt::Debug + 'static,
16415{
16416    fn from(
16417        err: ::aws_smithy_runtime_api::client::result::SdkError<
16418            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
16419            R,
16420        >,
16421    ) -> Self {
16422        match err {
16423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16426                source: err.into(),
16427            }),
16428        }
16429    }
16430}
16431impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
16432    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
16433        match err {
16434            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
16435                Error::Unhandled(inner)
16436            }
16437        }
16438    }
16439}
16440impl<R>
16441    From<
16442        ::aws_smithy_runtime_api::client::result::SdkError<
16443            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16444            R,
16445        >,
16446    > for Error
16447where
16448    R: Send + Sync + std::fmt::Debug + 'static,
16449{
16450    fn from(
16451        err: ::aws_smithy_runtime_api::client::result::SdkError<
16452            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
16453            R,
16454        >,
16455    ) -> Self {
16456        match err {
16457            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16458            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16459                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16460                source: err.into(),
16461            }),
16462        }
16463    }
16464}
16465impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
16466    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
16467        match err {
16468            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
16469                inner,
16470            ) => Error::Unhandled(inner),
16471        }
16472    }
16473}
16474impl<R>
16475    From<
16476        ::aws_smithy_runtime_api::client::result::SdkError<
16477            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16478            R,
16479        >,
16480    > for Error
16481where
16482    R: Send + Sync + std::fmt::Debug + 'static,
16483{
16484    fn from(
16485        err: ::aws_smithy_runtime_api::client::result::SdkError<
16486            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
16487            R,
16488        >,
16489    ) -> Self {
16490        match err {
16491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16494                source: err.into(),
16495            }),
16496        }
16497    }
16498}
16499impl From<crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
16500    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
16501        match err {
16502            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
16503                Error::Unhandled(inner)
16504            }
16505        }
16506    }
16507}
16508impl<R>
16509    From<
16510        ::aws_smithy_runtime_api::client::result::SdkError<
16511            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16512            R,
16513        >,
16514    > for Error
16515where
16516    R: Send + Sync + std::fmt::Debug + 'static,
16517{
16518    fn from(
16519        err: ::aws_smithy_runtime_api::client::result::SdkError<
16520            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
16521            R,
16522        >,
16523    ) -> Self {
16524        match err {
16525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16528                source: err.into(),
16529            }),
16530        }
16531    }
16532}
16533impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
16534    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
16535        match err {
16536            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
16537                Error::Unhandled(inner)
16538            }
16539        }
16540    }
16541}
16542impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
16543where
16544    R: Send + Sync + std::fmt::Debug + 'static,
16545{
16546    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> Self {
16547        match err {
16548            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16549            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16550                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16551                source: err.into(),
16552            }),
16553        }
16554    }
16555}
16556impl From<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError> for Error {
16557    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
16558        match err {
16559            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
16560        }
16561    }
16562}
16563impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>> for Error
16564where
16565    R: Send + Sync + std::fmt::Debug + 'static,
16566{
16567    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>) -> Self {
16568        match err {
16569            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16570            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16571                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16572                source: err.into(),
16573            }),
16574        }
16575    }
16576}
16577impl From<crate::operation::modify_vpn_connection::ModifyVpnConnectionError> for Error {
16578    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
16579        match err {
16580            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
16581        }
16582    }
16583}
16584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
16585    for Error
16586where
16587    R: Send + Sync + std::fmt::Debug + 'static,
16588{
16589    fn from(
16590        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
16591    ) -> Self {
16592        match err {
16593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16596                source: err.into(),
16597            }),
16598        }
16599    }
16600}
16601impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
16602    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
16603        match err {
16604            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16605        }
16606    }
16607}
16608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>>
16609    for Error
16610where
16611    R: Send + Sync + std::fmt::Debug + 'static,
16612{
16613    fn from(
16614        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
16615    ) -> Self {
16616        match err {
16617            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16618            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16619                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16620                source: err.into(),
16621            }),
16622        }
16623    }
16624}
16625impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
16626    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
16627        match err {
16628            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
16629        }
16630    }
16631}
16632impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
16633    for Error
16634where
16635    R: Send + Sync + std::fmt::Debug + 'static,
16636{
16637    fn from(
16638        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
16639    ) -> Self {
16640        match err {
16641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16644                source: err.into(),
16645            }),
16646        }
16647    }
16648}
16649impl From<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
16650    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
16651        match err {
16652            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16653        }
16654    }
16655}
16656impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
16657where
16658    R: Send + Sync + std::fmt::Debug + 'static,
16659{
16660    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
16661        match err {
16662            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16663            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16664                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16665                source: err.into(),
16666            }),
16667        }
16668    }
16669}
16670impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
16671    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
16672        match err {
16673            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16674        }
16675    }
16676}
16677impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
16678where
16679    R: Send + Sync + std::fmt::Debug + 'static,
16680{
16681    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
16682        match err {
16683            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16684            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16685                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16686                source: err.into(),
16687            }),
16688        }
16689    }
16690}
16691impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
16692    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
16693        match err {
16694            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
16695        }
16696    }
16697}
16698impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
16699where
16700    R: Send + Sync + std::fmt::Debug + 'static,
16701{
16702    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
16703        match err {
16704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16707                source: err.into(),
16708            }),
16709        }
16710    }
16711}
16712impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
16713    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
16714        match err {
16715            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
16716        }
16717    }
16718}
16719impl<R>
16720    From<
16721        ::aws_smithy_runtime_api::client::result::SdkError<
16722            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
16723            R,
16724        >,
16725    > for Error
16726where
16727    R: Send + Sync + std::fmt::Debug + 'static,
16728{
16729    fn from(
16730        err: ::aws_smithy_runtime_api::client::result::SdkError<
16731            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
16732            R,
16733        >,
16734    ) -> Self {
16735        match err {
16736            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16737            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16738                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16739                source: err.into(),
16740            }),
16741        }
16742    }
16743}
16744impl From<crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
16745    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
16746        match err {
16747            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16748        }
16749    }
16750}
16751impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
16752where
16753    R: Send + Sync + std::fmt::Debug + 'static,
16754{
16755    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
16756        match err {
16757            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16758            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16759                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16760                source: err.into(),
16761            }),
16762        }
16763    }
16764}
16765impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
16766    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
16767        match err {
16768            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
16769        }
16770    }
16771}
16772impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
16773where
16774    R: Send + Sync + std::fmt::Debug + 'static,
16775{
16776    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
16777        match err {
16778            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16779            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16780                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16781                source: err.into(),
16782            }),
16783        }
16784    }
16785}
16786impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
16787    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
16788        match err {
16789            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
16790        }
16791    }
16792}
16793impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
16794where
16795    R: Send + Sync + std::fmt::Debug + 'static,
16796{
16797    fn from(
16798        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
16799    ) -> Self {
16800        match err {
16801            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16802            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16803                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16804                source: err.into(),
16805            }),
16806        }
16807    }
16808}
16809impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
16810    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
16811        match err {
16812            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
16813        }
16814    }
16815}
16816impl<R>
16817    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
16818    for Error
16819where
16820    R: Send + Sync + std::fmt::Debug + 'static,
16821{
16822    fn from(
16823        err: ::aws_smithy_runtime_api::client::result::SdkError<
16824            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
16825            R,
16826        >,
16827    ) -> Self {
16828        match err {
16829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16832                source: err.into(),
16833            }),
16834        }
16835    }
16836}
16837impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
16838    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
16839        match err {
16840            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
16841        }
16842    }
16843}
16844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
16845where
16846    R: Send + Sync + std::fmt::Debug + 'static,
16847{
16848    fn from(
16849        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
16850    ) -> Self {
16851        match err {
16852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16855                source: err.into(),
16856            }),
16857        }
16858    }
16859}
16860impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
16861    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
16862        match err {
16863            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
16864        }
16865    }
16866}
16867impl<R>
16868    From<
16869        ::aws_smithy_runtime_api::client::result::SdkError<
16870            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
16871            R,
16872        >,
16873    > for Error
16874where
16875    R: Send + Sync + std::fmt::Debug + 'static,
16876{
16877    fn from(
16878        err: ::aws_smithy_runtime_api::client::result::SdkError<
16879            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
16880            R,
16881        >,
16882    ) -> Self {
16883        match err {
16884            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16885            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16886                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16887                source: err.into(),
16888            }),
16889        }
16890    }
16891}
16892impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
16893    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
16894        match err {
16895            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
16896        }
16897    }
16898}
16899impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
16900    for Error
16901where
16902    R: Send + Sync + std::fmt::Debug + 'static,
16903{
16904    fn from(
16905        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
16906    ) -> Self {
16907        match err {
16908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16911                source: err.into(),
16912            }),
16913        }
16914    }
16915}
16916impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
16917    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
16918        match err {
16919            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
16920        }
16921    }
16922}
16923impl<R>
16924    From<
16925        ::aws_smithy_runtime_api::client::result::SdkError<
16926            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
16927            R,
16928        >,
16929    > for Error
16930where
16931    R: Send + Sync + std::fmt::Debug + 'static,
16932{
16933    fn from(
16934        err: ::aws_smithy_runtime_api::client::result::SdkError<
16935            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
16936            R,
16937        >,
16938    ) -> Self {
16939        match err {
16940            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16941            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16942                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16943                source: err.into(),
16944            }),
16945        }
16946    }
16947}
16948impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
16949    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
16950        match err {
16951            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
16952                Error::Unhandled(inner)
16953            }
16954        }
16955    }
16956}
16957impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
16958    for Error
16959where
16960    R: Send + Sync + std::fmt::Debug + 'static,
16961{
16962    fn from(
16963        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
16964    ) -> Self {
16965        match err {
16966            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16967            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16968                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16969                source: err.into(),
16970            }),
16971        }
16972    }
16973}
16974impl From<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
16975    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
16976        match err {
16977            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16978        }
16979    }
16980}
16981impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
16982where
16983    R: Send + Sync + std::fmt::Debug + 'static,
16984{
16985    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> Self {
16986        match err {
16987            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16988            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16989                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16990                source: err.into(),
16991            }),
16992        }
16993    }
16994}
16995impl From<crate::operation::reboot_instances::RebootInstancesError> for Error {
16996    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
16997        match err {
16998            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
16999        }
17000    }
17001}
17002impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
17003where
17004    R: Send + Sync + std::fmt::Debug + 'static,
17005{
17006    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
17007        match err {
17008            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17009            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17010                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17011                source: err.into(),
17012            }),
17013        }
17014    }
17015}
17016impl From<crate::operation::register_image::RegisterImageError> for Error {
17017    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
17018        match err {
17019            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
17020        }
17021    }
17022}
17023impl<R>
17024    From<
17025        ::aws_smithy_runtime_api::client::result::SdkError<
17026            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
17027            R,
17028        >,
17029    > for Error
17030where
17031    R: Send + Sync + std::fmt::Debug + 'static,
17032{
17033    fn from(
17034        err: ::aws_smithy_runtime_api::client::result::SdkError<
17035            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
17036            R,
17037        >,
17038    ) -> Self {
17039        match err {
17040            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17041            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17042                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17043                source: err.into(),
17044            }),
17045        }
17046    }
17047}
17048impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
17049    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
17050        match err {
17051            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
17052                Error::Unhandled(inner)
17053            }
17054        }
17055    }
17056}
17057impl<R>
17058    From<
17059        ::aws_smithy_runtime_api::client::result::SdkError<
17060            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
17061            R,
17062        >,
17063    > for Error
17064where
17065    R: Send + Sync + std::fmt::Debug + 'static,
17066{
17067    fn from(
17068        err: ::aws_smithy_runtime_api::client::result::SdkError<
17069            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
17070            R,
17071        >,
17072    ) -> Self {
17073        match err {
17074            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17075            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17076                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17077                source: err.into(),
17078            }),
17079        }
17080    }
17081}
17082impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
17083    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
17084        match err {
17085            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
17086                inner,
17087            ) => Error::Unhandled(inner),
17088        }
17089    }
17090}
17091impl<R>
17092    From<
17093        ::aws_smithy_runtime_api::client::result::SdkError<
17094            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
17095            R,
17096        >,
17097    > for Error
17098where
17099    R: Send + Sync + std::fmt::Debug + 'static,
17100{
17101    fn from(
17102        err: ::aws_smithy_runtime_api::client::result::SdkError<
17103            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
17104            R,
17105        >,
17106    ) -> Self {
17107        match err {
17108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17111                source: err.into(),
17112            }),
17113        }
17114    }
17115}
17116impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
17117    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
17118        match err {
17119            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
17120                inner,
17121            ) => Error::Unhandled(inner),
17122        }
17123    }
17124}
17125impl<R>
17126    From<
17127        ::aws_smithy_runtime_api::client::result::SdkError<
17128            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
17129            R,
17130        >,
17131    > for Error
17132where
17133    R: Send + Sync + std::fmt::Debug + 'static,
17134{
17135    fn from(
17136        err: ::aws_smithy_runtime_api::client::result::SdkError<
17137            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
17138            R,
17139        >,
17140    ) -> Self {
17141        match err {
17142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17145                source: err.into(),
17146            }),
17147        }
17148    }
17149}
17150impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
17151    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
17152        match err {
17153            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
17154                Error::Unhandled(inner)
17155            }
17156        }
17157    }
17158}
17159impl<R>
17160    From<
17161        ::aws_smithy_runtime_api::client::result::SdkError<
17162            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17163            R,
17164        >,
17165    > for Error
17166where
17167    R: Send + Sync + std::fmt::Debug + 'static,
17168{
17169    fn from(
17170        err: ::aws_smithy_runtime_api::client::result::SdkError<
17171            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17172            R,
17173        >,
17174    ) -> Self {
17175        match err {
17176            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17177            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17178                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17179                source: err.into(),
17180            }),
17181        }
17182    }
17183}
17184impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
17185    fn from(
17186        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
17187    ) -> Self {
17188        match err {
17189            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
17190        }
17191    }
17192}
17193impl<R>
17194    From<
17195        ::aws_smithy_runtime_api::client::result::SdkError<
17196            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
17197            R,
17198        >,
17199    > for Error
17200where
17201    R: Send + Sync + std::fmt::Debug + 'static,
17202{
17203    fn from(
17204        err: ::aws_smithy_runtime_api::client::result::SdkError<
17205            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
17206            R,
17207        >,
17208    ) -> Self {
17209        match err {
17210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17213                source: err.into(),
17214            }),
17215        }
17216    }
17217}
17218impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
17219    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
17220        match err {
17221            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
17222                Error::Unhandled(inner)
17223            }
17224        }
17225    }
17226}
17227impl<R>
17228    From<
17229        ::aws_smithy_runtime_api::client::result::SdkError<
17230            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
17231            R,
17232        >,
17233    > for Error
17234where
17235    R: Send + Sync + std::fmt::Debug + 'static,
17236{
17237    fn from(
17238        err: ::aws_smithy_runtime_api::client::result::SdkError<
17239            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
17240            R,
17241        >,
17242    ) -> Self {
17243        match err {
17244            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17245            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17246                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17247                source: err.into(),
17248            }),
17249        }
17250    }
17251}
17252impl From<crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
17253    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
17254        match err {
17255            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
17256                Error::Unhandled(inner)
17257            }
17258        }
17259    }
17260}
17261impl<R>
17262    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
17263    for Error
17264where
17265    R: Send + Sync + std::fmt::Debug + 'static,
17266{
17267    fn from(
17268        err: ::aws_smithy_runtime_api::client::result::SdkError<
17269            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
17270            R,
17271        >,
17272    ) -> Self {
17273        match err {
17274            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17275            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17276                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17277                source: err.into(),
17278            }),
17279        }
17280    }
17281}
17282impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
17283    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
17284        match err {
17285            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
17286        }
17287    }
17288}
17289impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
17290    for Error
17291where
17292    R: Send + Sync + std::fmt::Debug + 'static,
17293{
17294    fn from(
17295        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
17296    ) -> Self {
17297        match err {
17298            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17299            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17300                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17301                source: err.into(),
17302            }),
17303        }
17304    }
17305}
17306impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
17307    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
17308        match err {
17309            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
17310        }
17311    }
17312}
17313impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
17314where
17315    R: Send + Sync + std::fmt::Debug + 'static,
17316{
17317    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> 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::release_address::ReleaseAddressError> for Error {
17328    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
17329        match err {
17330            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
17331        }
17332    }
17333}
17334impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
17335where
17336    R: Send + Sync + std::fmt::Debug + 'static,
17337{
17338    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
17339        match err {
17340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17343                source: err.into(),
17344            }),
17345        }
17346    }
17347}
17348impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
17349    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
17350        match err {
17351            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
17352        }
17353    }
17354}
17355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
17356    for Error
17357where
17358    R: Send + Sync + std::fmt::Debug + 'static,
17359{
17360    fn from(
17361        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
17362    ) -> Self {
17363        match err {
17364            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17365            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17366                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17367                source: err.into(),
17368            }),
17369        }
17370    }
17371}
17372impl From<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
17373    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
17374        match err {
17375            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
17376        }
17377    }
17378}
17379impl<R>
17380    From<
17381        ::aws_smithy_runtime_api::client::result::SdkError<
17382            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17383            R,
17384        >,
17385    > for Error
17386where
17387    R: Send + Sync + std::fmt::Debug + 'static,
17388{
17389    fn from(
17390        err: ::aws_smithy_runtime_api::client::result::SdkError<
17391            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
17392            R,
17393        >,
17394    ) -> Self {
17395        match err {
17396            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17397            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17398                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17399                source: err.into(),
17400            }),
17401        }
17402    }
17403}
17404impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
17405    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
17406        match err {
17407            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
17408                Error::Unhandled(inner)
17409            }
17410        }
17411    }
17412}
17413impl<R>
17414    From<
17415        ::aws_smithy_runtime_api::client::result::SdkError<
17416            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17417            R,
17418        >,
17419    > for Error
17420where
17421    R: Send + Sync + std::fmt::Debug + 'static,
17422{
17423    fn from(
17424        err: ::aws_smithy_runtime_api::client::result::SdkError<
17425            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
17426            R,
17427        >,
17428    ) -> Self {
17429        match err {
17430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17433                source: err.into(),
17434            }),
17435        }
17436    }
17437}
17438impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
17439    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
17440        match err {
17441            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
17442                inner,
17443            ) => Error::Unhandled(inner),
17444        }
17445    }
17446}
17447impl<R>
17448    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
17449    for Error
17450where
17451    R: Send + Sync + std::fmt::Debug + 'static,
17452{
17453    fn from(
17454        err: ::aws_smithy_runtime_api::client::result::SdkError<
17455            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
17456            R,
17457        >,
17458    ) -> Self {
17459        match err {
17460            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17461            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17462                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17463                source: err.into(),
17464            }),
17465        }
17466    }
17467}
17468impl From<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
17469    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
17470        match err {
17471            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17472        }
17473    }
17474}
17475impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>>
17476    for Error
17477where
17478    R: Send + Sync + std::fmt::Debug + 'static,
17479{
17480    fn from(
17481        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>,
17482    ) -> Self {
17483        match err {
17484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17487                source: err.into(),
17488            }),
17489        }
17490    }
17491}
17492impl From<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
17493    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
17494        match err {
17495            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
17496        }
17497    }
17498}
17499impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
17500where
17501    R: Send + Sync + std::fmt::Debug + 'static,
17502{
17503    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> Self {
17504        match err {
17505            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17506            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17507                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17508                source: err.into(),
17509            }),
17510        }
17511    }
17512}
17513impl From<crate::operation::replace_route::ReplaceRouteError> for Error {
17514    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
17515        match err {
17516            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
17517        }
17518    }
17519}
17520impl<R>
17521    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
17522    for Error
17523where
17524    R: Send + Sync + std::fmt::Debug + 'static,
17525{
17526    fn from(
17527        err: ::aws_smithy_runtime_api::client::result::SdkError<
17528            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
17529            R,
17530        >,
17531    ) -> Self {
17532        match err {
17533            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17534            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17535                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17536                source: err.into(),
17537            }),
17538        }
17539    }
17540}
17541impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
17542    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
17543        match err {
17544            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
17545        }
17546    }
17547}
17548impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
17549    for Error
17550where
17551    R: Send + Sync + std::fmt::Debug + 'static,
17552{
17553    fn from(
17554        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
17555    ) -> Self {
17556        match err {
17557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17560                source: err.into(),
17561            }),
17562        }
17563    }
17564}
17565impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
17566    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
17567        match err {
17568            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
17569        }
17570    }
17571}
17572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
17573where
17574    R: Send + Sync + std::fmt::Debug + 'static,
17575{
17576    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
17577        match err {
17578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17581                source: err.into(),
17582            }),
17583        }
17584    }
17585}
17586impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
17587    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
17588        match err {
17589            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
17590        }
17591    }
17592}
17593impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
17594where
17595    R: Send + Sync + std::fmt::Debug + 'static,
17596{
17597    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
17598        match err {
17599            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17600            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17601                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17602                source: err.into(),
17603            }),
17604        }
17605    }
17606}
17607impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
17608    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
17609        match err {
17610            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
17611        }
17612    }
17613}
17614impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
17615where
17616    R: Send + Sync + std::fmt::Debug + 'static,
17617{
17618    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> Self {
17619        match err {
17620            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17621            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17622                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17623                source: err.into(),
17624            }),
17625        }
17626    }
17627}
17628impl From<crate::operation::request_spot_fleet::RequestSpotFleetError> for Error {
17629    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
17630        match err {
17631            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
17632        }
17633    }
17634}
17635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
17636where
17637    R: Send + Sync + std::fmt::Debug + 'static,
17638{
17639    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> Self {
17640        match err {
17641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17644                source: err.into(),
17645            }),
17646        }
17647    }
17648}
17649impl From<crate::operation::request_spot_instances::RequestSpotInstancesError> for Error {
17650    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
17651        match err {
17652            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17653        }
17654    }
17655}
17656impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
17657where
17658    R: Send + Sync + std::fmt::Debug + 'static,
17659{
17660    fn from(
17661        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
17662    ) -> Self {
17663        match err {
17664            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17665            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17666                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17667                source: err.into(),
17668            }),
17669        }
17670    }
17671}
17672impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
17673    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
17674        match err {
17675            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17676        }
17677    }
17678}
17679impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
17680    for Error
17681where
17682    R: Send + Sync + std::fmt::Debug + 'static,
17683{
17684    fn from(
17685        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
17686    ) -> Self {
17687        match err {
17688            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17689            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17690                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17691                source: err.into(),
17692            }),
17693        }
17694    }
17695}
17696impl From<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
17697    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
17698        match err {
17699            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
17700        }
17701    }
17702}
17703impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
17704    for Error
17705where
17706    R: Send + Sync + std::fmt::Debug + 'static,
17707{
17708    fn from(
17709        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
17710    ) -> Self {
17711        match err {
17712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17715                source: err.into(),
17716            }),
17717        }
17718    }
17719}
17720impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
17721    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
17722        match err {
17723            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17724        }
17725    }
17726}
17727impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
17728where
17729    R: Send + Sync + std::fmt::Debug + 'static,
17730{
17731    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
17732        match err {
17733            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17734            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17735                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17736                source: err.into(),
17737            }),
17738        }
17739    }
17740}
17741impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
17742    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
17743        match err {
17744            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17745        }
17746    }
17747}
17748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
17749where
17750    R: Send + Sync + std::fmt::Debug + 'static,
17751{
17752    fn from(
17753        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
17754    ) -> Self {
17755        match err {
17756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17759                source: err.into(),
17760            }),
17761        }
17762    }
17763}
17764impl From<crate::operation::reset_instance_attribute::ResetInstanceAttributeError> for Error {
17765    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
17766        match err {
17767            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17768        }
17769    }
17770}
17771impl<R>
17772    From<
17773        ::aws_smithy_runtime_api::client::result::SdkError<
17774            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
17775            R,
17776        >,
17777    > for Error
17778where
17779    R: Send + Sync + std::fmt::Debug + 'static,
17780{
17781    fn from(
17782        err: ::aws_smithy_runtime_api::client::result::SdkError<
17783            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
17784            R,
17785        >,
17786    ) -> Self {
17787        match err {
17788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17791                source: err.into(),
17792            }),
17793        }
17794    }
17795}
17796impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
17797    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
17798        match err {
17799            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17800        }
17801    }
17802}
17803impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
17804where
17805    R: Send + Sync + std::fmt::Debug + 'static,
17806{
17807    fn from(
17808        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
17809    ) -> Self {
17810        match err {
17811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17814                source: err.into(),
17815            }),
17816        }
17817    }
17818}
17819impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
17820    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
17821        match err {
17822            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17823        }
17824    }
17825}
17826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
17827    for Error
17828where
17829    R: Send + Sync + std::fmt::Debug + 'static,
17830{
17831    fn from(
17832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
17833    ) -> Self {
17834        match err {
17835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17838                source: err.into(),
17839            }),
17840        }
17841    }
17842}
17843impl From<crate::operation::restore_address_to_classic::RestoreAddressToClassicError> for Error {
17844    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
17845        match err {
17846            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
17847        }
17848    }
17849}
17850impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
17851    for Error
17852where
17853    R: Send + Sync + std::fmt::Debug + 'static,
17854{
17855    fn from(
17856        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
17857    ) -> Self {
17858        match err {
17859            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17860            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17861                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17862                source: err.into(),
17863            }),
17864        }
17865    }
17866}
17867impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
17868    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
17869        match err {
17870            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
17871        }
17872    }
17873}
17874impl<R>
17875    From<
17876        ::aws_smithy_runtime_api::client::result::SdkError<
17877            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
17878            R,
17879        >,
17880    > for Error
17881where
17882    R: Send + Sync + std::fmt::Debug + 'static,
17883{
17884    fn from(
17885        err: ::aws_smithy_runtime_api::client::result::SdkError<
17886            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
17887            R,
17888        >,
17889    ) -> Self {
17890        match err {
17891            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17892            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17893                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17894                source: err.into(),
17895            }),
17896        }
17897    }
17898}
17899impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
17900    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
17901        match err {
17902            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
17903        }
17904    }
17905}
17906impl<R>
17907    From<
17908        ::aws_smithy_runtime_api::client::result::SdkError<
17909            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
17910            R,
17911        >,
17912    > for Error
17913where
17914    R: Send + Sync + std::fmt::Debug + 'static,
17915{
17916    fn from(
17917        err: ::aws_smithy_runtime_api::client::result::SdkError<
17918            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
17919            R,
17920        >,
17921    ) -> Self {
17922        match err {
17923            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17924            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17925                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17926                source: err.into(),
17927            }),
17928        }
17929    }
17930}
17931impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
17932    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
17933        match err {
17934            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
17935        }
17936    }
17937}
17938impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
17939where
17940    R: Send + Sync + std::fmt::Debug + 'static,
17941{
17942    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
17943        match err {
17944            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17945            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17946                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17947                source: err.into(),
17948            }),
17949        }
17950    }
17951}
17952impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
17953    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
17954        match err {
17955            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
17956        }
17957    }
17958}
17959impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
17960    for Error
17961where
17962    R: Send + Sync + std::fmt::Debug + 'static,
17963{
17964    fn from(
17965        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
17966    ) -> Self {
17967        match err {
17968            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17969            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17970                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17971                source: err.into(),
17972            }),
17973        }
17974    }
17975}
17976impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
17977    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
17978        match err {
17979            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
17980        }
17981    }
17982}
17983impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
17984    for Error
17985where
17986    R: Send + Sync + std::fmt::Debug + 'static,
17987{
17988    fn from(
17989        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
17990    ) -> Self {
17991        match err {
17992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17995                source: err.into(),
17996            }),
17997        }
17998    }
17999}
18000impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
18001    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
18002        match err {
18003            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
18004        }
18005    }
18006}
18007impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
18008    for Error
18009where
18010    R: Send + Sync + std::fmt::Debug + 'static,
18011{
18012    fn from(
18013        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
18014    ) -> Self {
18015        match err {
18016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18019                source: err.into(),
18020            }),
18021        }
18022    }
18023}
18024impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
18025    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
18026        match err {
18027            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
18028        }
18029    }
18030}
18031impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
18032where
18033    R: Send + Sync + std::fmt::Debug + 'static,
18034{
18035    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
18036        match err {
18037            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18038            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18039                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18040                source: err.into(),
18041            }),
18042        }
18043    }
18044}
18045impl From<crate::operation::run_instances::RunInstancesError> for Error {
18046    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
18047        match err {
18048            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18049        }
18050    }
18051}
18052impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
18053where
18054    R: Send + Sync + std::fmt::Debug + 'static,
18055{
18056    fn from(
18057        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
18058    ) -> Self {
18059        match err {
18060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18063                source: err.into(),
18064            }),
18065        }
18066    }
18067}
18068impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
18069    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
18070        match err {
18071            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18072        }
18073    }
18074}
18075impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
18076    for Error
18077where
18078    R: Send + Sync + std::fmt::Debug + 'static,
18079{
18080    fn from(
18081        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
18082    ) -> Self {
18083        match err {
18084            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18085            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18086                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18087                source: err.into(),
18088            }),
18089        }
18090    }
18091}
18092impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
18093    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
18094        match err {
18095            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
18096        }
18097    }
18098}
18099impl<R>
18100    From<
18101        ::aws_smithy_runtime_api::client::result::SdkError<
18102            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
18103            R,
18104        >,
18105    > for Error
18106where
18107    R: Send + Sync + std::fmt::Debug + 'static,
18108{
18109    fn from(
18110        err: ::aws_smithy_runtime_api::client::result::SdkError<
18111            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
18112            R,
18113        >,
18114    ) -> Self {
18115        match err {
18116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18119                source: err.into(),
18120            }),
18121        }
18122    }
18123}
18124impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
18125    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
18126        match err {
18127            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
18128                Error::Unhandled(inner)
18129            }
18130        }
18131    }
18132}
18133impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
18134    for Error
18135where
18136    R: Send + Sync + std::fmt::Debug + 'static,
18137{
18138    fn from(
18139        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
18140    ) -> Self {
18141        match err {
18142            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18143            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18144                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18145                source: err.into(),
18146            }),
18147        }
18148    }
18149}
18150impl From<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
18151    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
18152        match err {
18153            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
18154        }
18155    }
18156}
18157impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
18158    for Error
18159where
18160    R: Send + Sync + std::fmt::Debug + 'static,
18161{
18162    fn from(
18163        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
18164    ) -> Self {
18165        match err {
18166            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18167            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18168                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18169                source: err.into(),
18170            }),
18171        }
18172    }
18173}
18174impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
18175    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
18176        match err {
18177            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
18178        }
18179    }
18180}
18181impl<R>
18182    From<
18183        ::aws_smithy_runtime_api::client::result::SdkError<
18184            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
18185            R,
18186        >,
18187    > for Error
18188where
18189    R: Send + Sync + std::fmt::Debug + 'static,
18190{
18191    fn from(
18192        err: ::aws_smithy_runtime_api::client::result::SdkError<
18193            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
18194            R,
18195        >,
18196    ) -> Self {
18197        match err {
18198            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18199            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18200                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18201                source: err.into(),
18202            }),
18203        }
18204    }
18205}
18206impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
18207    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
18208        match err {
18209            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
18210        }
18211    }
18212}
18213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
18214where
18215    R: Send + Sync + std::fmt::Debug + 'static,
18216{
18217    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
18218        match err {
18219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18222                source: err.into(),
18223            }),
18224        }
18225    }
18226}
18227impl From<crate::operation::start_instances::StartInstancesError> for Error {
18228    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
18229        match err {
18230            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18231        }
18232    }
18233}
18234impl<R>
18235    From<
18236        ::aws_smithy_runtime_api::client::result::SdkError<
18237            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
18238            R,
18239        >,
18240    > for Error
18241where
18242    R: Send + Sync + std::fmt::Debug + 'static,
18243{
18244    fn from(
18245        err: ::aws_smithy_runtime_api::client::result::SdkError<
18246            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
18247            R,
18248        >,
18249    ) -> Self {
18250        match err {
18251            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18252            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18253                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18254                source: err.into(),
18255            }),
18256        }
18257    }
18258}
18259impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
18260    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
18261        match err {
18262            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
18263                Error::Unhandled(inner)
18264            }
18265        }
18266    }
18267}
18268impl<R>
18269    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
18270    for Error
18271where
18272    R: Send + Sync + std::fmt::Debug + 'static,
18273{
18274    fn from(
18275        err: ::aws_smithy_runtime_api::client::result::SdkError<
18276            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
18277            R,
18278        >,
18279    ) -> Self {
18280        match err {
18281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18284                source: err.into(),
18285            }),
18286        }
18287    }
18288}
18289impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
18290    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
18291        match err {
18292            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
18293        }
18294    }
18295}
18296impl<R>
18297    From<
18298        ::aws_smithy_runtime_api::client::result::SdkError<
18299            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
18300            R,
18301        >,
18302    > for Error
18303where
18304    R: Send + Sync + std::fmt::Debug + 'static,
18305{
18306    fn from(
18307        err: ::aws_smithy_runtime_api::client::result::SdkError<
18308            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
18309            R,
18310        >,
18311    ) -> Self {
18312        match err {
18313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18316                source: err.into(),
18317            }),
18318        }
18319    }
18320}
18321impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
18322    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
18323        match err {
18324            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
18325                inner,
18326            ) => Error::Unhandled(inner),
18327        }
18328    }
18329}
18330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>> for Error
18331where
18332    R: Send + Sync + std::fmt::Debug + 'static,
18333{
18334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>) -> Self {
18335        match err {
18336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18339                source: err.into(),
18340            }),
18341        }
18342    }
18343}
18344impl From<crate::operation::stop_instances::StopInstancesError> for Error {
18345    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
18346        match err {
18347            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18348        }
18349    }
18350}
18351impl<R>
18352    From<
18353        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
18354    > for Error
18355where
18356    R: Send + Sync + std::fmt::Debug + 'static,
18357{
18358    fn from(
18359        err: ::aws_smithy_runtime_api::client::result::SdkError<
18360            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
18361            R,
18362        >,
18363    ) -> Self {
18364        match err {
18365            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18366            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18367                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18368                source: err.into(),
18369            }),
18370        }
18371    }
18372}
18373impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
18374    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
18375        match err {
18376            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
18377        }
18378    }
18379}
18380impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
18381where
18382    R: Send + Sync + std::fmt::Debug + 'static,
18383{
18384    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
18385        match err {
18386            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18387            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18388                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18389                source: err.into(),
18390            }),
18391        }
18392    }
18393}
18394impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
18395    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
18396        match err {
18397            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18398        }
18399    }
18400}
18401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
18402where
18403    R: Send + Sync + std::fmt::Debug + 'static,
18404{
18405    fn from(
18406        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
18407    ) -> Self {
18408        match err {
18409            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18410            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18411                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18412                source: err.into(),
18413            }),
18414        }
18415    }
18416}
18417impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
18418    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
18419        match err {
18420            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
18421        }
18422    }
18423}
18424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
18425    for Error
18426where
18427    R: Send + Sync + std::fmt::Debug + 'static,
18428{
18429    fn from(
18430        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
18431    ) -> Self {
18432        match err {
18433            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18434            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18435                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18436                source: err.into(),
18437            }),
18438        }
18439    }
18440}
18441impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
18442    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
18443        match err {
18444            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
18445        }
18446    }
18447}
18448impl<R>
18449    From<
18450        ::aws_smithy_runtime_api::client::result::SdkError<
18451            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18452            R,
18453        >,
18454    > for Error
18455where
18456    R: Send + Sync + std::fmt::Debug + 'static,
18457{
18458    fn from(
18459        err: ::aws_smithy_runtime_api::client::result::SdkError<
18460            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
18461            R,
18462        >,
18463    ) -> Self {
18464        match err {
18465            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18466            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18467                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18468                source: err.into(),
18469            }),
18470        }
18471    }
18472}
18473impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
18474    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
18475        match err {
18476            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
18477                Error::Unhandled(inner)
18478            }
18479        }
18480    }
18481}
18482impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
18483where
18484    R: Send + Sync + std::fmt::Debug + 'static,
18485{
18486    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
18487        match err {
18488            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18489            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18490                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18491                source: err.into(),
18492            }),
18493        }
18494    }
18495}
18496impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
18497    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
18498        match err {
18499            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
18500        }
18501    }
18502}
18503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
18504where
18505    R: Send + Sync + std::fmt::Debug + 'static,
18506{
18507    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> Self {
18508        match err {
18509            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18510            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18511                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18512                source: err.into(),
18513            }),
18514        }
18515    }
18516}
18517impl From<crate::operation::unmonitor_instances::UnmonitorInstancesError> for Error {
18518    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
18519        match err {
18520            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18521        }
18522    }
18523}
18524impl<R>
18525    From<
18526        ::aws_smithy_runtime_api::client::result::SdkError<
18527            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18528            R,
18529        >,
18530    > for Error
18531where
18532    R: Send + Sync + std::fmt::Debug + 'static,
18533{
18534    fn from(
18535        err: ::aws_smithy_runtime_api::client::result::SdkError<
18536            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
18537            R,
18538        >,
18539    ) -> Self {
18540        match err {
18541            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18542            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18543                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18544                source: err.into(),
18545            }),
18546        }
18547    }
18548}
18549impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
18550    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
18551        match err {
18552            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
18553                Error::Unhandled(inner)
18554            }
18555        }
18556    }
18557}
18558impl<R>
18559    From<
18560        ::aws_smithy_runtime_api::client::result::SdkError<
18561            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18562            R,
18563        >,
18564    > for Error
18565where
18566    R: Send + Sync + std::fmt::Debug + 'static,
18567{
18568    fn from(
18569        err: ::aws_smithy_runtime_api::client::result::SdkError<
18570            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
18571            R,
18572        >,
18573    ) -> Self {
18574        match err {
18575            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18576            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18577                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18578                source: err.into(),
18579            }),
18580        }
18581    }
18582}
18583impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
18584    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
18585        match err {
18586            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
18587                Error::Unhandled(inner)
18588            }
18589        }
18590    }
18591}
18592impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
18593where
18594    R: Send + Sync + std::fmt::Debug + 'static,
18595{
18596    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
18597        match err {
18598            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18599            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18600                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18601                source: err.into(),
18602            }),
18603        }
18604    }
18605}
18606impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
18607    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
18608        match err {
18609            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
18610        }
18611    }
18612}
18613impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
18614where
18615    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
18616    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
18617{
18618    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
18619        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18620            meta: ::std::default::Default::default(),
18621            source: err.into(),
18622        })
18623    }
18624}
18625impl ::std::error::Error for Error {
18626    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
18627        match self {
18628            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
18629        }
18630    }
18631}
18632impl ::aws_types::request_id::RequestId for Error {
18633    fn request_id(&self) -> Option<&str> {
18634        match self {
18635            Self::Unhandled(e) => e.meta.request_id(),
18636        }
18637    }
18638}