Skip to main content

aws_sdk_ec2/
error_meta.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// All possible error types for this service.
3#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
7    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
8    variable wildcard pattern and check `.code()`:
9     \
10       `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
11     \
12    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
13    Unhandled(crate::error::sealed_unhandled::Unhandled),
14}
15impl ::std::fmt::Display for Error {
16    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
17        match self {
18            Error::Unhandled(_) => {
19                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
20                    write!(f, "unhandled error ({code})")
21                } else {
22                    f.write_str("unhandled error")
23                }
24            }
25        }
26    }
27}
28impl From<::aws_smithy_types::error::operation::BuildError> for Error {
29    fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
30        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
31            source: value.into(),
32            meta: ::std::default::Default::default(),
33        })
34    }
35}
36impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
37    fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
38        match self {
39            Self::Unhandled(inner) => &inner.meta,
40        }
41    }
42}
43impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>> for Error
44where
45    R: Send + Sync + std::fmt::Debug + 'static,
46{
47    fn from(
48        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_address_transfer::AcceptAddressTransferError, R>,
49    ) -> Self {
50        match err {
51            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
52            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
53                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
54                source: err.into(),
55            }),
56        }
57    }
58}
59impl From<crate::operation::accept_address_transfer::AcceptAddressTransferError> for Error {
60    fn from(err: crate::operation::accept_address_transfer::AcceptAddressTransferError) -> Self {
61        match err {
62            crate::operation::accept_address_transfer::AcceptAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
63        }
64    }
65}
66impl<R>
67    From<
68        ::aws_smithy_runtime_api::client::result::SdkError<
69            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
70            R,
71        >,
72    > for Error
73where
74    R: Send + Sync + std::fmt::Debug + 'static,
75{
76    fn from(
77        err: ::aws_smithy_runtime_api::client::result::SdkError<
78            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError,
79            R,
80        >,
81    ) -> Self {
82        match err {
83            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
84            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
85                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
86                source: err.into(),
87            }),
88        }
89    }
90}
91impl From<crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError> for Error {
92    fn from(err: crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError) -> Self {
93        match err {
94            crate::operation::accept_capacity_reservation_billing_ownership::AcceptCapacityReservationBillingOwnershipError::Unhandled(inner) => {
95                Error::Unhandled(inner)
96            }
97        }
98    }
99}
100impl<R>
101    From<
102        ::aws_smithy_runtime_api::client::result::SdkError<
103            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
104            R,
105        >,
106    > for Error
107where
108    R: Send + Sync + std::fmt::Debug + 'static,
109{
110    fn from(
111        err: ::aws_smithy_runtime_api::client::result::SdkError<
112            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError,
113            R,
114        >,
115    ) -> Self {
116        match err {
117            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
118            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
119                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
120                source: err.into(),
121            }),
122        }
123    }
124}
125impl From<crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError> for Error {
126    fn from(err: crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError) -> Self {
127        match err {
128            crate::operation::accept_reserved_instances_exchange_quote::AcceptReservedInstancesExchangeQuoteError::Unhandled(inner) => {
129                Error::Unhandled(inner)
130            }
131        }
132    }
133}
134impl<R>
135    From<
136        ::aws_smithy_runtime_api::client::result::SdkError<
137            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
138            R,
139        >,
140    > for Error
141where
142    R: Send + Sync + std::fmt::Debug + 'static,
143{
144    fn from(
145        err: ::aws_smithy_runtime_api::client::result::SdkError<
146            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
147            R,
148        >,
149    ) -> Self {
150        match err {
151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
154                source: err.into(),
155            }),
156        }
157    }
158}
159impl From<crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError> for Error {
160    fn from(
161        err: crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError,
162    ) -> Self {
163        match err {
164            crate::operation::accept_transit_gateway_multicast_domain_associations::AcceptTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
165        }
166    }
167}
168impl<R>
169    From<
170        ::aws_smithy_runtime_api::client::result::SdkError<
171            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
172            R,
173        >,
174    > for Error
175where
176    R: Send + Sync + std::fmt::Debug + 'static,
177{
178    fn from(
179        err: ::aws_smithy_runtime_api::client::result::SdkError<
180            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError,
181            R,
182        >,
183    ) -> Self {
184        match err {
185            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
186            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
187                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
188                source: err.into(),
189            }),
190        }
191    }
192}
193impl From<crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError> for Error {
194    fn from(err: crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError) -> Self {
195        match err {
196            crate::operation::accept_transit_gateway_peering_attachment::AcceptTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
197                Error::Unhandled(inner)
198            }
199        }
200    }
201}
202impl<R>
203    From<
204        ::aws_smithy_runtime_api::client::result::SdkError<
205            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
206            R,
207        >,
208    > for Error
209where
210    R: Send + Sync + std::fmt::Debug + 'static,
211{
212    fn from(
213        err: ::aws_smithy_runtime_api::client::result::SdkError<
214            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError,
215            R,
216        >,
217    ) -> Self {
218        match err {
219            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
220            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
221                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
222                source: err.into(),
223            }),
224        }
225    }
226}
227impl From<crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError> for Error {
228    fn from(err: crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError) -> Self {
229        match err {
230            crate::operation::accept_transit_gateway_vpc_attachment::AcceptTransitGatewayVpcAttachmentError::Unhandled(inner) => {
231                Error::Unhandled(inner)
232            }
233        }
234    }
235}
236impl<R>
237    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError, R>>
238    for Error
239where
240    R: Send + Sync + std::fmt::Debug + 'static,
241{
242    fn from(
243        err: ::aws_smithy_runtime_api::client::result::SdkError<
244            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError,
245            R,
246        >,
247    ) -> Self {
248        match err {
249            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
250            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
251                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
252                source: err.into(),
253            }),
254        }
255    }
256}
257impl From<crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError> for Error {
258    fn from(err: crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError) -> Self {
259        match err {
260            crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
261        }
262    }
263}
264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>>
265    for Error
266where
267    R: Send + Sync + std::fmt::Debug + 'static,
268{
269    fn from(
270        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError, R>,
271    ) -> Self {
272        match err {
273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
276                source: err.into(),
277            }),
278        }
279    }
280}
281impl From<crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError> for Error {
282    fn from(err: crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError) -> Self {
283        match err {
284            crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
285        }
286    }
287}
288impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>> for Error
289where
290    R: Send + Sync + std::fmt::Debug + 'static,
291{
292    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError, R>) -> Self {
293        match err {
294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
297                source: err.into(),
298            }),
299        }
300    }
301}
302impl From<crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError> for Error {
303    fn from(err: crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError) -> Self {
304        match err {
305            crate::operation::advertise_byoip_cidr::AdvertiseByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
306        }
307    }
308}
309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>> for Error
310where
311    R: Send + Sync + std::fmt::Debug + 'static,
312{
313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_address::AllocateAddressError, R>) -> Self {
314        match err {
315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
318                source: err.into(),
319            }),
320        }
321    }
322}
323impl From<crate::operation::allocate_address::AllocateAddressError> for Error {
324    fn from(err: crate::operation::allocate_address::AllocateAddressError) -> Self {
325        match err {
326            crate::operation::allocate_address::AllocateAddressError::Unhandled(inner) => Error::Unhandled(inner),
327        }
328    }
329}
330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>> for Error
331where
332    R: Send + Sync + std::fmt::Debug + 'static,
333{
334    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_hosts::AllocateHostsError, R>) -> Self {
335        match err {
336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
339                source: err.into(),
340            }),
341        }
342    }
343}
344impl From<crate::operation::allocate_hosts::AllocateHostsError> for Error {
345    fn from(err: crate::operation::allocate_hosts::AllocateHostsError) -> Self {
346        match err {
347            crate::operation::allocate_hosts::AllocateHostsError::Unhandled(inner) => Error::Unhandled(inner),
348        }
349    }
350}
351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>> for Error
352where
353    R: Send + Sync + std::fmt::Debug + 'static,
354{
355    fn from(
356        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError, R>,
357    ) -> Self {
358        match err {
359            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
360            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
361                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
362                source: err.into(),
363            }),
364        }
365    }
366}
367impl From<crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError> for Error {
368    fn from(err: crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError) -> Self {
369        match err {
370            crate::operation::allocate_ipam_pool_cidr::AllocateIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
371        }
372    }
373}
374impl<R>
375    From<
376        ::aws_smithy_runtime_api::client::result::SdkError<
377            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
378            R,
379        >,
380    > for Error
381where
382    R: Send + Sync + std::fmt::Debug + 'static,
383{
384    fn from(
385        err: ::aws_smithy_runtime_api::client::result::SdkError<
386            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError,
387            R,
388        >,
389    ) -> Self {
390        match err {
391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
394                source: err.into(),
395            }),
396        }
397    }
398}
399impl From<crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError> for Error {
400    fn from(err: crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError) -> Self {
401        match err {
402            crate::operation::apply_security_groups_to_client_vpn_target_network::ApplySecurityGroupsToClientVpnTargetNetworkError::Unhandled(
403                inner,
404            ) => Error::Unhandled(inner),
405        }
406    }
407}
408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>> for Error
409where
410    R: Send + Sync + std::fmt::Debug + 'static,
411{
412    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError, R>) -> Self {
413        match err {
414            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
415            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
416                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
417                source: err.into(),
418            }),
419        }
420    }
421}
422impl From<crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError> for Error {
423    fn from(err: crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError) -> Self {
424        match err {
425            crate::operation::assign_ipv6_addresses::AssignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
426        }
427    }
428}
429impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>>
430    for Error
431where
432    R: Send + Sync + std::fmt::Debug + 'static,
433{
434    fn from(
435        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError, R>,
436    ) -> Self {
437        match err {
438            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
439            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
440                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
441                source: err.into(),
442            }),
443        }
444    }
445}
446impl From<crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError> for Error {
447    fn from(err: crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError) -> Self {
448        match err {
449            crate::operation::assign_private_ip_addresses::AssignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
450        }
451    }
452}
453impl<R>
454    From<
455        ::aws_smithy_runtime_api::client::result::SdkError<
456            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
457            R,
458        >,
459    > for Error
460where
461    R: Send + Sync + std::fmt::Debug + 'static,
462{
463    fn from(
464        err: ::aws_smithy_runtime_api::client::result::SdkError<
465            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError,
466            R,
467        >,
468    ) -> Self {
469        match err {
470            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
471            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
472                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
473                source: err.into(),
474            }),
475        }
476    }
477}
478impl From<crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError> for Error {
479    fn from(err: crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError) -> Self {
480        match err {
481            crate::operation::assign_private_nat_gateway_address::AssignPrivateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
482        }
483    }
484}
485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>> for Error
486where
487    R: Send + Sync + std::fmt::Debug + 'static,
488{
489    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_address::AssociateAddressError, R>) -> Self {
490        match err {
491            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
492            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
493                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
494                source: err.into(),
495            }),
496        }
497    }
498}
499impl From<crate::operation::associate_address::AssociateAddressError> for Error {
500    fn from(err: crate::operation::associate_address::AssociateAddressError) -> Self {
501        match err {
502            crate::operation::associate_address::AssociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
503        }
504    }
505}
506impl<R>
507    From<
508        ::aws_smithy_runtime_api::client::result::SdkError<
509            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
510            R,
511        >,
512    > for Error
513where
514    R: Send + Sync + std::fmt::Debug + 'static,
515{
516    fn from(
517        err: ::aws_smithy_runtime_api::client::result::SdkError<
518            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError,
519            R,
520        >,
521    ) -> Self {
522        match err {
523            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
524            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
525                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
526                source: err.into(),
527            }),
528        }
529    }
530}
531impl From<crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError> for Error {
532    fn from(err: crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError) -> Self {
533        match err {
534            crate::operation::associate_capacity_reservation_billing_owner::AssociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
535                Error::Unhandled(inner)
536            }
537        }
538    }
539}
540impl<R>
541    From<
542        ::aws_smithy_runtime_api::client::result::SdkError<
543            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
544            R,
545        >,
546    > for Error
547where
548    R: Send + Sync + std::fmt::Debug + 'static,
549{
550    fn from(
551        err: ::aws_smithy_runtime_api::client::result::SdkError<
552            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError,
553            R,
554        >,
555    ) -> Self {
556        match err {
557            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
558            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
559                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
560                source: err.into(),
561            }),
562        }
563    }
564}
565impl From<crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError> for Error {
566    fn from(err: crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError) -> Self {
567        match err {
568            crate::operation::associate_client_vpn_target_network::AssociateClientVpnTargetNetworkError::Unhandled(inner) => Error::Unhandled(inner),
569        }
570    }
571}
572impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>> for Error
573where
574    R: Send + Sync + std::fmt::Debug + 'static,
575{
576    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError, R>) -> Self {
577        match err {
578            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
579            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
580                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
581                source: err.into(),
582            }),
583        }
584    }
585}
586impl From<crate::operation::associate_dhcp_options::AssociateDhcpOptionsError> for Error {
587    fn from(err: crate::operation::associate_dhcp_options::AssociateDhcpOptionsError) -> Self {
588        match err {
589            crate::operation::associate_dhcp_options::AssociateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
590        }
591    }
592}
593impl<R>
594    From<
595        ::aws_smithy_runtime_api::client::result::SdkError<
596            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
597            R,
598        >,
599    > for Error
600where
601    R: Send + Sync + std::fmt::Debug + 'static,
602{
603    fn from(
604        err: ::aws_smithy_runtime_api::client::result::SdkError<
605            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError,
606            R,
607        >,
608    ) -> Self {
609        match err {
610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
613                source: err.into(),
614            }),
615        }
616    }
617}
618impl From<crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError> for Error {
619    fn from(err: crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError) -> Self {
620        match err {
621            crate::operation::associate_enclave_certificate_iam_role::AssociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
622                Error::Unhandled(inner)
623            }
624        }
625    }
626}
627impl<R>
628    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError, R>>
629    for Error
630where
631    R: Send + Sync + std::fmt::Debug + 'static,
632{
633    fn from(
634        err: ::aws_smithy_runtime_api::client::result::SdkError<
635            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError,
636            R,
637        >,
638    ) -> Self {
639        match err {
640            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
641            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
642                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
643                source: err.into(),
644            }),
645        }
646    }
647}
648impl From<crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError> for Error {
649    fn from(err: crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError) -> Self {
650        match err {
651            crate::operation::associate_iam_instance_profile::AssociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
652        }
653    }
654}
655impl<R>
656    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError, R>>
657    for Error
658where
659    R: Send + Sync + std::fmt::Debug + 'static,
660{
661    fn from(
662        err: ::aws_smithy_runtime_api::client::result::SdkError<
663            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError,
664            R,
665        >,
666    ) -> Self {
667        match err {
668            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
669            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
670                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
671                source: err.into(),
672            }),
673        }
674    }
675}
676impl From<crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError> for Error {
677    fn from(err: crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError) -> Self {
678        match err {
679            crate::operation::associate_instance_event_window::AssociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
680        }
681    }
682}
683impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>> for Error
684where
685    R: Send + Sync + std::fmt::Debug + 'static,
686{
687    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError, R>) -> Self {
688        match err {
689            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
690            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
691                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
692                source: err.into(),
693            }),
694        }
695    }
696}
697impl From<crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError> for Error {
698    fn from(err: crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError) -> Self {
699        match err {
700            crate::operation::associate_ipam_byoasn::AssociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
701        }
702    }
703}
704impl<R>
705    From<
706        ::aws_smithy_runtime_api::client::result::SdkError<
707            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
708            R,
709        >,
710    > for Error
711where
712    R: Send + Sync + std::fmt::Debug + 'static,
713{
714    fn from(
715        err: ::aws_smithy_runtime_api::client::result::SdkError<
716            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError,
717            R,
718        >,
719    ) -> Self {
720        match err {
721            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
722            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
723                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
724                source: err.into(),
725            }),
726        }
727    }
728}
729impl From<crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError> for Error {
730    fn from(err: crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError) -> Self {
731        match err {
732            crate::operation::associate_ipam_resource_discovery::AssociateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
733        }
734    }
735}
736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>>
737    for Error
738where
739    R: Send + Sync + std::fmt::Debug + 'static,
740{
741    fn from(
742        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError, R>,
743    ) -> Self {
744        match err {
745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
748                source: err.into(),
749            }),
750        }
751    }
752}
753impl From<crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError> for Error {
754    fn from(err: crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError) -> Self {
755        match err {
756            crate::operation::associate_nat_gateway_address::AssociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
757        }
758    }
759}
760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>> for Error
761where
762    R: Send + Sync + std::fmt::Debug + 'static,
763{
764    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_server::AssociateRouteServerError, R>) -> Self {
765        match err {
766            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
767            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
768                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
769                source: err.into(),
770            }),
771        }
772    }
773}
774impl From<crate::operation::associate_route_server::AssociateRouteServerError> for Error {
775    fn from(err: crate::operation::associate_route_server::AssociateRouteServerError) -> Self {
776        match err {
777            crate::operation::associate_route_server::AssociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
778        }
779    }
780}
781impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>> for Error
782where
783    R: Send + Sync + std::fmt::Debug + 'static,
784{
785    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_route_table::AssociateRouteTableError, R>) -> Self {
786        match err {
787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
790                source: err.into(),
791            }),
792        }
793    }
794}
795impl From<crate::operation::associate_route_table::AssociateRouteTableError> for Error {
796    fn from(err: crate::operation::associate_route_table::AssociateRouteTableError) -> Self {
797        match err {
798            crate::operation::associate_route_table::AssociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
799        }
800    }
801}
802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>>
803    for Error
804where
805    R: Send + Sync + std::fmt::Debug + 'static,
806{
807    fn from(
808        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError, R>,
809    ) -> Self {
810        match err {
811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
814                source: err.into(),
815            }),
816        }
817    }
818}
819impl From<crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError> for Error {
820    fn from(err: crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError) -> Self {
821        match err {
822            crate::operation::associate_security_group_vpc::AssociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
823        }
824    }
825}
826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>>
827    for Error
828where
829    R: Send + Sync + std::fmt::Debug + 'static,
830{
831    fn from(
832        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError, R>,
833    ) -> Self {
834        match err {
835            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
836            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
837                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
838                source: err.into(),
839            }),
840        }
841    }
842}
843impl From<crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError> for Error {
844    fn from(err: crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError) -> Self {
845        match err {
846            crate::operation::associate_subnet_cidr_block::AssociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
847        }
848    }
849}
850impl<R>
851    From<
852        ::aws_smithy_runtime_api::client::result::SdkError<
853            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
854            R,
855        >,
856    > for Error
857where
858    R: Send + Sync + std::fmt::Debug + 'static,
859{
860    fn from(
861        err: ::aws_smithy_runtime_api::client::result::SdkError<
862            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError,
863            R,
864        >,
865    ) -> Self {
866        match err {
867            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
868            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
869                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
870                source: err.into(),
871            }),
872        }
873    }
874}
875impl From<crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError> for Error {
876    fn from(err: crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError) -> Self {
877        match err {
878            crate::operation::associate_transit_gateway_multicast_domain::AssociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
879                Error::Unhandled(inner)
880            }
881        }
882    }
883}
884impl<R>
885    From<
886        ::aws_smithy_runtime_api::client::result::SdkError<
887            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
888            R,
889        >,
890    > for Error
891where
892    R: Send + Sync + std::fmt::Debug + 'static,
893{
894    fn from(
895        err: ::aws_smithy_runtime_api::client::result::SdkError<
896            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError,
897            R,
898        >,
899    ) -> Self {
900        match err {
901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
904                source: err.into(),
905            }),
906        }
907    }
908}
909impl From<crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError> for Error {
910    fn from(err: crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError) -> Self {
911        match err {
912            crate::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableError::Unhandled(inner) => {
913                Error::Unhandled(inner)
914            }
915        }
916    }
917}
918impl<R>
919    From<
920        ::aws_smithy_runtime_api::client::result::SdkError<
921            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
922            R,
923        >,
924    > for Error
925where
926    R: Send + Sync + std::fmt::Debug + 'static,
927{
928    fn from(
929        err: ::aws_smithy_runtime_api::client::result::SdkError<
930            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError,
931            R,
932        >,
933    ) -> Self {
934        match err {
935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
938                source: err.into(),
939            }),
940        }
941    }
942}
943impl From<crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError> for Error {
944    fn from(err: crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError) -> Self {
945        match err {
946            crate::operation::associate_transit_gateway_route_table::AssociateTransitGatewayRouteTableError::Unhandled(inner) => {
947                Error::Unhandled(inner)
948            }
949        }
950    }
951}
952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>>
953    for Error
954where
955    R: Send + Sync + std::fmt::Debug + 'static,
956{
957    fn from(
958        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError, R>,
959    ) -> Self {
960        match err {
961            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
962            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
963                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
964                source: err.into(),
965            }),
966        }
967    }
968}
969impl From<crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError> for Error {
970    fn from(err: crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError) -> Self {
971        match err {
972            crate::operation::associate_trunk_interface::AssociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
973        }
974    }
975}
976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>> for Error
977where
978    R: Send + Sync + std::fmt::Debug + 'static,
979{
980    fn from(
981        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError, R>,
982    ) -> Self {
983        match err {
984            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
985            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
986                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
987                source: err.into(),
988            }),
989        }
990    }
991}
992impl From<crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError> for Error {
993    fn from(err: crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError) -> Self {
994        match err {
995            crate::operation::associate_vpc_cidr_block::AssociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
996        }
997    }
998}
999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>> for Error
1000where
1001    R: Send + Sync + std::fmt::Debug + 'static,
1002{
1003    fn from(
1004        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError, R>,
1005    ) -> Self {
1006        match err {
1007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1010                source: err.into(),
1011            }),
1012        }
1013    }
1014}
1015impl From<crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError> for Error {
1016    fn from(err: crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError) -> Self {
1017        match err {
1018            crate::operation::attach_classic_link_vpc::AttachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
1019        }
1020    }
1021}
1022impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>> for Error
1023where
1024    R: Send + Sync + std::fmt::Debug + 'static,
1025{
1026    fn from(
1027        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_internet_gateway::AttachInternetGatewayError, R>,
1028    ) -> Self {
1029        match err {
1030            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1031            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1032                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1033                source: err.into(),
1034            }),
1035        }
1036    }
1037}
1038impl From<crate::operation::attach_internet_gateway::AttachInternetGatewayError> for Error {
1039    fn from(err: crate::operation::attach_internet_gateway::AttachInternetGatewayError) -> Self {
1040        match err {
1041            crate::operation::attach_internet_gateway::AttachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1042        }
1043    }
1044}
1045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>> for Error
1046where
1047    R: Send + Sync + std::fmt::Debug + 'static,
1048{
1049    fn from(
1050        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_network_interface::AttachNetworkInterfaceError, R>,
1051    ) -> Self {
1052        match err {
1053            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1054            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1055                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1056                source: err.into(),
1057            }),
1058        }
1059    }
1060}
1061impl From<crate::operation::attach_network_interface::AttachNetworkInterfaceError> for Error {
1062    fn from(err: crate::operation::attach_network_interface::AttachNetworkInterfaceError) -> Self {
1063        match err {
1064            crate::operation::attach_network_interface::AttachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
1065        }
1066    }
1067}
1068impl<R>
1069    From<
1070        ::aws_smithy_runtime_api::client::result::SdkError<
1071            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1072            R,
1073        >,
1074    > for Error
1075where
1076    R: Send + Sync + std::fmt::Debug + 'static,
1077{
1078    fn from(
1079        err: ::aws_smithy_runtime_api::client::result::SdkError<
1080            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError,
1081            R,
1082        >,
1083    ) -> Self {
1084        match err {
1085            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1086            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1087                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1088                source: err.into(),
1089            }),
1090        }
1091    }
1092}
1093impl From<crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError> for Error {
1094    fn from(err: crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError) -> Self {
1095        match err {
1096            crate::operation::attach_verified_access_trust_provider::AttachVerifiedAccessTrustProviderError::Unhandled(inner) => {
1097                Error::Unhandled(inner)
1098            }
1099        }
1100    }
1101}
1102impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>> for Error
1103where
1104    R: Send + Sync + std::fmt::Debug + 'static,
1105{
1106    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_volume::AttachVolumeError, R>) -> Self {
1107        match err {
1108            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1109            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1110                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1111                source: err.into(),
1112            }),
1113        }
1114    }
1115}
1116impl From<crate::operation::attach_volume::AttachVolumeError> for Error {
1117    fn from(err: crate::operation::attach_volume::AttachVolumeError) -> Self {
1118        match err {
1119            crate::operation::attach_volume::AttachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
1120        }
1121    }
1122}
1123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>> for Error
1124where
1125    R: Send + Sync + std::fmt::Debug + 'static,
1126{
1127    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::attach_vpn_gateway::AttachVpnGatewayError, R>) -> Self {
1128        match err {
1129            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1130            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1131                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1132                source: err.into(),
1133            }),
1134        }
1135    }
1136}
1137impl From<crate::operation::attach_vpn_gateway::AttachVpnGatewayError> for Error {
1138    fn from(err: crate::operation::attach_vpn_gateway::AttachVpnGatewayError) -> Self {
1139        match err {
1140            crate::operation::attach_vpn_gateway::AttachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1141        }
1142    }
1143}
1144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>>
1145    for Error
1146where
1147    R: Send + Sync + std::fmt::Debug + 'static,
1148{
1149    fn from(
1150        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError, R>,
1151    ) -> Self {
1152        match err {
1153            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1154            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1155                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1156                source: err.into(),
1157            }),
1158        }
1159    }
1160}
1161impl From<crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError> for Error {
1162    fn from(err: crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError) -> Self {
1163        match err {
1164            crate::operation::authorize_client_vpn_ingress::AuthorizeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
1165        }
1166    }
1167}
1168impl<R>
1169    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError, R>>
1170    for Error
1171where
1172    R: Send + Sync + std::fmt::Debug + 'static,
1173{
1174    fn from(
1175        err: ::aws_smithy_runtime_api::client::result::SdkError<
1176            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError,
1177            R,
1178        >,
1179    ) -> Self {
1180        match err {
1181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1184                source: err.into(),
1185            }),
1186        }
1187    }
1188}
1189impl From<crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError> for Error {
1190    fn from(err: crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError) -> Self {
1191        match err {
1192            crate::operation::authorize_security_group_egress::AuthorizeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
1193        }
1194    }
1195}
1196impl<R>
1197    From<
1198        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError, R>,
1199    > for Error
1200where
1201    R: Send + Sync + std::fmt::Debug + 'static,
1202{
1203    fn from(
1204        err: ::aws_smithy_runtime_api::client::result::SdkError<
1205            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError,
1206            R,
1207        >,
1208    ) -> Self {
1209        match err {
1210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1213                source: err.into(),
1214            }),
1215        }
1216    }
1217}
1218impl From<crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError> for Error {
1219    fn from(err: crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError) -> Self {
1220        match err {
1221            crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
1222        }
1223    }
1224}
1225impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>> for Error
1226where
1227    R: Send + Sync + std::fmt::Debug + 'static,
1228{
1229    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::bundle_instance::BundleInstanceError, R>) -> Self {
1230        match err {
1231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1234                source: err.into(),
1235            }),
1236        }
1237    }
1238}
1239impl From<crate::operation::bundle_instance::BundleInstanceError> for Error {
1240    fn from(err: crate::operation::bundle_instance::BundleInstanceError) -> Self {
1241        match err {
1242            crate::operation::bundle_instance::BundleInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1243        }
1244    }
1245}
1246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>> for Error
1247where
1248    R: Send + Sync + std::fmt::Debug + 'static,
1249{
1250    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_bundle_task::CancelBundleTaskError, R>) -> Self {
1251        match err {
1252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1255                source: err.into(),
1256            }),
1257        }
1258    }
1259}
1260impl From<crate::operation::cancel_bundle_task::CancelBundleTaskError> for Error {
1261    fn from(err: crate::operation::cancel_bundle_task::CancelBundleTaskError) -> Self {
1262        match err {
1263            crate::operation::cancel_bundle_task::CancelBundleTaskError::Unhandled(inner) => Error::Unhandled(inner),
1264        }
1265    }
1266}
1267impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>>
1268    for Error
1269where
1270    R: Send + Sync + std::fmt::Debug + 'static,
1271{
1272    fn from(
1273        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError, R>,
1274    ) -> Self {
1275        match err {
1276            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1277            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1278                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1279                source: err.into(),
1280            }),
1281        }
1282    }
1283}
1284impl From<crate::operation::cancel_capacity_reservation::CancelCapacityReservationError> for Error {
1285    fn from(err: crate::operation::cancel_capacity_reservation::CancelCapacityReservationError) -> Self {
1286        match err {
1287            crate::operation::cancel_capacity_reservation::CancelCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1288        }
1289    }
1290}
1291impl<R>
1292    From<
1293        ::aws_smithy_runtime_api::client::result::SdkError<
1294            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1295            R,
1296        >,
1297    > for Error
1298where
1299    R: Send + Sync + std::fmt::Debug + 'static,
1300{
1301    fn from(
1302        err: ::aws_smithy_runtime_api::client::result::SdkError<
1303            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError,
1304            R,
1305        >,
1306    ) -> Self {
1307        match err {
1308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1311                source: err.into(),
1312            }),
1313        }
1314    }
1315}
1316impl From<crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError> for Error {
1317    fn from(err: crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError) -> Self {
1318        match err {
1319            crate::operation::cancel_capacity_reservation_fleets::CancelCapacityReservationFleetsError::Unhandled(inner) => Error::Unhandled(inner),
1320        }
1321    }
1322}
1323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>> for Error
1324where
1325    R: Send + Sync + std::fmt::Debug + 'static,
1326{
1327    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_conversion_task::CancelConversionTaskError, R>) -> Self {
1328        match err {
1329            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1330            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1331                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1332                source: err.into(),
1333            }),
1334        }
1335    }
1336}
1337impl From<crate::operation::cancel_conversion_task::CancelConversionTaskError> for Error {
1338    fn from(err: crate::operation::cancel_conversion_task::CancelConversionTaskError) -> Self {
1339        match err {
1340            crate::operation::cancel_conversion_task::CancelConversionTaskError::Unhandled(inner) => Error::Unhandled(inner),
1341        }
1342    }
1343}
1344impl<R>
1345    From<
1346        ::aws_smithy_runtime_api::client::result::SdkError<
1347            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1348            R,
1349        >,
1350    > for Error
1351where
1352    R: Send + Sync + std::fmt::Debug + 'static,
1353{
1354    fn from(
1355        err: ::aws_smithy_runtime_api::client::result::SdkError<
1356            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError,
1357            R,
1358        >,
1359    ) -> Self {
1360        match err {
1361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1364                source: err.into(),
1365            }),
1366        }
1367    }
1368}
1369impl From<crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError> for Error {
1370    fn from(err: crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError) -> Self {
1371        match err {
1372            crate::operation::cancel_declarative_policies_report::CancelDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
1373        }
1374    }
1375}
1376impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>> for Error
1377where
1378    R: Send + Sync + std::fmt::Debug + 'static,
1379{
1380    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_export_task::CancelExportTaskError, R>) -> Self {
1381        match err {
1382            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1383            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1384                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1385                source: err.into(),
1386            }),
1387        }
1388    }
1389}
1390impl From<crate::operation::cancel_export_task::CancelExportTaskError> for Error {
1391    fn from(err: crate::operation::cancel_export_task::CancelExportTaskError) -> Self {
1392        match err {
1393            crate::operation::cancel_export_task::CancelExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1394        }
1395    }
1396}
1397impl<R>
1398    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError, R>>
1399    for Error
1400where
1401    R: Send + Sync + std::fmt::Debug + 'static,
1402{
1403    fn from(
1404        err: ::aws_smithy_runtime_api::client::result::SdkError<
1405            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError,
1406            R,
1407        >,
1408    ) -> Self {
1409        match err {
1410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1413                source: err.into(),
1414            }),
1415        }
1416    }
1417}
1418impl From<crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError> for Error {
1419    fn from(err: crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError) -> Self {
1420        match err {
1421            crate::operation::cancel_image_launch_permission::CancelImageLaunchPermissionError::Unhandled(inner) => Error::Unhandled(inner),
1422        }
1423    }
1424}
1425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>> for Error
1426where
1427    R: Send + Sync + std::fmt::Debug + 'static,
1428{
1429    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_import_task::CancelImportTaskError, R>) -> Self {
1430        match err {
1431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1434                source: err.into(),
1435            }),
1436        }
1437    }
1438}
1439impl From<crate::operation::cancel_import_task::CancelImportTaskError> for Error {
1440    fn from(err: crate::operation::cancel_import_task::CancelImportTaskError) -> Self {
1441        match err {
1442            crate::operation::cancel_import_task::CancelImportTaskError::Unhandled(inner) => Error::Unhandled(inner),
1443        }
1444    }
1445}
1446impl<R>
1447    From<
1448        ::aws_smithy_runtime_api::client::result::SdkError<
1449            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1450            R,
1451        >,
1452    > for Error
1453where
1454    R: Send + Sync + std::fmt::Debug + 'static,
1455{
1456    fn from(
1457        err: ::aws_smithy_runtime_api::client::result::SdkError<
1458            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError,
1459            R,
1460        >,
1461    ) -> Self {
1462        match err {
1463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1466                source: err.into(),
1467            }),
1468        }
1469    }
1470}
1471impl From<crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError> for Error {
1472    fn from(err: crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError) -> Self {
1473        match err {
1474            crate::operation::cancel_reserved_instances_listing::CancelReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
1475        }
1476    }
1477}
1478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>>
1479    for Error
1480where
1481    R: Send + Sync + std::fmt::Debug + 'static,
1482{
1483    fn from(
1484        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError, R>,
1485    ) -> Self {
1486        match err {
1487            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1488            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1489                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1490                source: err.into(),
1491            }),
1492        }
1493    }
1494}
1495impl From<crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError> for Error {
1496    fn from(err: crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError) -> Self {
1497        match err {
1498            crate::operation::cancel_spot_fleet_requests::CancelSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1499        }
1500    }
1501}
1502impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>>
1503    for Error
1504where
1505    R: Send + Sync + std::fmt::Debug + 'static,
1506{
1507    fn from(
1508        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError, R>,
1509    ) -> Self {
1510        match err {
1511            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1512            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1513                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1514                source: err.into(),
1515            }),
1516        }
1517    }
1518}
1519impl From<crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError> for Error {
1520    fn from(err: crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError) -> Self {
1521        match err {
1522            crate::operation::cancel_spot_instance_requests::CancelSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
1523        }
1524    }
1525}
1526impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>> for Error
1527where
1528    R: Send + Sync + std::fmt::Debug + 'static,
1529{
1530    fn from(
1531        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::confirm_product_instance::ConfirmProductInstanceError, R>,
1532    ) -> Self {
1533        match err {
1534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1537                source: err.into(),
1538            }),
1539        }
1540    }
1541}
1542impl From<crate::operation::confirm_product_instance::ConfirmProductInstanceError> for Error {
1543    fn from(err: crate::operation::confirm_product_instance::ConfirmProductInstanceError) -> Self {
1544        match err {
1545            crate::operation::confirm_product_instance::ConfirmProductInstanceError::Unhandled(inner) => Error::Unhandled(inner),
1546        }
1547    }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>> for Error
1550where
1551    R: Send + Sync + std::fmt::Debug + 'static,
1552{
1553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_fpga_image::CopyFpgaImageError, R>) -> Self {
1554        match err {
1555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1558                source: err.into(),
1559            }),
1560        }
1561    }
1562}
1563impl From<crate::operation::copy_fpga_image::CopyFpgaImageError> for Error {
1564    fn from(err: crate::operation::copy_fpga_image::CopyFpgaImageError) -> Self {
1565        match err {
1566            crate::operation::copy_fpga_image::CopyFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
1567        }
1568    }
1569}
1570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>> for Error
1571where
1572    R: Send + Sync + std::fmt::Debug + 'static,
1573{
1574    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_image::CopyImageError, R>) -> Self {
1575        match err {
1576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1579                source: err.into(),
1580            }),
1581        }
1582    }
1583}
1584impl From<crate::operation::copy_image::CopyImageError> for Error {
1585    fn from(err: crate::operation::copy_image::CopyImageError) -> Self {
1586        match err {
1587            crate::operation::copy_image::CopyImageError::Unhandled(inner) => Error::Unhandled(inner),
1588        }
1589    }
1590}
1591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>> for Error
1592where
1593    R: Send + Sync + std::fmt::Debug + 'static,
1594{
1595    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_snapshot::CopySnapshotError, R>) -> Self {
1596        match err {
1597            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1598            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1599                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1600                source: err.into(),
1601            }),
1602        }
1603    }
1604}
1605impl From<crate::operation::copy_snapshot::CopySnapshotError> for Error {
1606    fn from(err: crate::operation::copy_snapshot::CopySnapshotError) -> Self {
1607        match err {
1608            crate::operation::copy_snapshot::CopySnapshotError::Unhandled(inner) => Error::Unhandled(inner),
1609        }
1610    }
1611}
1612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_volumes::CopyVolumesError, R>> for Error
1613where
1614    R: Send + Sync + std::fmt::Debug + 'static,
1615{
1616    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::copy_volumes::CopyVolumesError, R>) -> Self {
1617        match err {
1618            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1619            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1620                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1621                source: err.into(),
1622            }),
1623        }
1624    }
1625}
1626impl From<crate::operation::copy_volumes::CopyVolumesError> for Error {
1627    fn from(err: crate::operation::copy_volumes::CopyVolumesError) -> Self {
1628        match err {
1629            crate::operation::copy_volumes::CopyVolumesError::Unhandled(inner) => Error::Unhandled(inner),
1630        }
1631    }
1632}
1633impl<R>
1634    From<
1635        ::aws_smithy_runtime_api::client::result::SdkError<
1636            crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError,
1637            R,
1638        >,
1639    > for Error
1640where
1641    R: Send + Sync + std::fmt::Debug + 'static,
1642{
1643    fn from(
1644        err: ::aws_smithy_runtime_api::client::result::SdkError<
1645            crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError,
1646            R,
1647        >,
1648    ) -> Self {
1649        match err {
1650            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1651            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1652                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1653                source: err.into(),
1654            }),
1655        }
1656    }
1657}
1658impl From<crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError> for Error {
1659    fn from(err: crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError) -> Self {
1660        match err {
1661            crate::operation::create_capacity_manager_data_export::CreateCapacityManagerDataExportError::Unhandled(inner) => Error::Unhandled(inner),
1662        }
1663    }
1664}
1665impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>>
1666    for Error
1667where
1668    R: Send + Sync + std::fmt::Debug + 'static,
1669{
1670    fn from(
1671        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_capacity_reservation::CreateCapacityReservationError, R>,
1672    ) -> Self {
1673        match err {
1674            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1675            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1676                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1677                source: err.into(),
1678            }),
1679        }
1680    }
1681}
1682impl From<crate::operation::create_capacity_reservation::CreateCapacityReservationError> for Error {
1683    fn from(err: crate::operation::create_capacity_reservation::CreateCapacityReservationError) -> Self {
1684        match err {
1685            crate::operation::create_capacity_reservation::CreateCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
1686        }
1687    }
1688}
1689impl<R>
1690    From<
1691        ::aws_smithy_runtime_api::client::result::SdkError<
1692            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1693            R,
1694        >,
1695    > for Error
1696where
1697    R: Send + Sync + std::fmt::Debug + 'static,
1698{
1699    fn from(
1700        err: ::aws_smithy_runtime_api::client::result::SdkError<
1701            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError,
1702            R,
1703        >,
1704    ) -> Self {
1705        match err {
1706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1709                source: err.into(),
1710            }),
1711        }
1712    }
1713}
1714impl From<crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError> for Error {
1715    fn from(err: crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError) -> Self {
1716        match err {
1717            crate::operation::create_capacity_reservation_by_splitting::CreateCapacityReservationBySplittingError::Unhandled(inner) => {
1718                Error::Unhandled(inner)
1719            }
1720        }
1721    }
1722}
1723impl<R>
1724    From<
1725        ::aws_smithy_runtime_api::client::result::SdkError<
1726            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1727            R,
1728        >,
1729    > for Error
1730where
1731    R: Send + Sync + std::fmt::Debug + 'static,
1732{
1733    fn from(
1734        err: ::aws_smithy_runtime_api::client::result::SdkError<
1735            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError,
1736            R,
1737        >,
1738    ) -> Self {
1739        match err {
1740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1743                source: err.into(),
1744            }),
1745        }
1746    }
1747}
1748impl From<crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError> for Error {
1749    fn from(err: crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError) -> Self {
1750        match err {
1751            crate::operation::create_capacity_reservation_fleet::CreateCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
1752        }
1753    }
1754}
1755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>> for Error
1756where
1757    R: Send + Sync + std::fmt::Debug + 'static,
1758{
1759    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_carrier_gateway::CreateCarrierGatewayError, R>) -> Self {
1760        match err {
1761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1764                source: err.into(),
1765            }),
1766        }
1767    }
1768}
1769impl From<crate::operation::create_carrier_gateway::CreateCarrierGatewayError> for Error {
1770    fn from(err: crate::operation::create_carrier_gateway::CreateCarrierGatewayError) -> Self {
1771        match err {
1772            crate::operation::create_carrier_gateway::CreateCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1773        }
1774    }
1775}
1776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>>
1777    for Error
1778where
1779    R: Send + Sync + std::fmt::Debug + 'static,
1780{
1781    fn from(
1782        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError, R>,
1783    ) -> Self {
1784        match err {
1785            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1786            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1787                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1788                source: err.into(),
1789            }),
1790        }
1791    }
1792}
1793impl From<crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError> for Error {
1794    fn from(err: crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError) -> Self {
1795        match err {
1796            crate::operation::create_client_vpn_endpoint::CreateClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1797        }
1798    }
1799}
1800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>> for Error
1801where
1802    R: Send + Sync + std::fmt::Debug + 'static,
1803{
1804    fn from(
1805        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_client_vpn_route::CreateClientVpnRouteError, R>,
1806    ) -> Self {
1807        match err {
1808            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1809            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1810                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1811                source: err.into(),
1812            }),
1813        }
1814    }
1815}
1816impl From<crate::operation::create_client_vpn_route::CreateClientVpnRouteError> for Error {
1817    fn from(err: crate::operation::create_client_vpn_route::CreateClientVpnRouteError) -> Self {
1818        match err {
1819            crate::operation::create_client_vpn_route::CreateClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
1820        }
1821    }
1822}
1823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>> for Error
1824where
1825    R: Send + Sync + std::fmt::Debug + 'static,
1826{
1827    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_cidr::CreateCoipCidrError, R>) -> Self {
1828        match err {
1829            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1830            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1831                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1832                source: err.into(),
1833            }),
1834        }
1835    }
1836}
1837impl From<crate::operation::create_coip_cidr::CreateCoipCidrError> for Error {
1838    fn from(err: crate::operation::create_coip_cidr::CreateCoipCidrError) -> Self {
1839        match err {
1840            crate::operation::create_coip_cidr::CreateCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
1841        }
1842    }
1843}
1844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>> for Error
1845where
1846    R: Send + Sync + std::fmt::Debug + 'static,
1847{
1848    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_coip_pool::CreateCoipPoolError, R>) -> Self {
1849        match err {
1850            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1851            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1852                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1853                source: err.into(),
1854            }),
1855        }
1856    }
1857}
1858impl From<crate::operation::create_coip_pool::CreateCoipPoolError> for Error {
1859    fn from(err: crate::operation::create_coip_pool::CreateCoipPoolError) -> Self {
1860        match err {
1861            crate::operation::create_coip_pool::CreateCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
1862        }
1863    }
1864}
1865impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>> for Error
1866where
1867    R: Send + Sync + std::fmt::Debug + 'static,
1868{
1869    fn from(
1870        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_customer_gateway::CreateCustomerGatewayError, R>,
1871    ) -> Self {
1872        match err {
1873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1876                source: err.into(),
1877            }),
1878        }
1879    }
1880}
1881impl From<crate::operation::create_customer_gateway::CreateCustomerGatewayError> for Error {
1882    fn from(err: crate::operation::create_customer_gateway::CreateCustomerGatewayError) -> Self {
1883        match err {
1884            crate::operation::create_customer_gateway::CreateCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
1885        }
1886    }
1887}
1888impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>> for Error
1889where
1890    R: Send + Sync + std::fmt::Debug + 'static,
1891{
1892    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_subnet::CreateDefaultSubnetError, R>) -> Self {
1893        match err {
1894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1897                source: err.into(),
1898            }),
1899        }
1900    }
1901}
1902impl From<crate::operation::create_default_subnet::CreateDefaultSubnetError> for Error {
1903    fn from(err: crate::operation::create_default_subnet::CreateDefaultSubnetError) -> Self {
1904        match err {
1905            crate::operation::create_default_subnet::CreateDefaultSubnetError::Unhandled(inner) => Error::Unhandled(inner),
1906        }
1907    }
1908}
1909impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>> for Error
1910where
1911    R: Send + Sync + std::fmt::Debug + 'static,
1912{
1913    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_default_vpc::CreateDefaultVpcError, R>) -> Self {
1914        match err {
1915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1918                source: err.into(),
1919            }),
1920        }
1921    }
1922}
1923impl From<crate::operation::create_default_vpc::CreateDefaultVpcError> for Error {
1924    fn from(err: crate::operation::create_default_vpc::CreateDefaultVpcError) -> Self {
1925        match err {
1926            crate::operation::create_default_vpc::CreateDefaultVpcError::Unhandled(inner) => Error::Unhandled(inner),
1927        }
1928    }
1929}
1930impl<R>
1931    From<
1932        ::aws_smithy_runtime_api::client::result::SdkError<
1933            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1934            R,
1935        >,
1936    > for Error
1937where
1938    R: Send + Sync + std::fmt::Debug + 'static,
1939{
1940    fn from(
1941        err: ::aws_smithy_runtime_api::client::result::SdkError<
1942            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError,
1943            R,
1944        >,
1945    ) -> Self {
1946        match err {
1947            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1948            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1949                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1950                source: err.into(),
1951            }),
1952        }
1953    }
1954}
1955impl From<crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError> for Error {
1956    fn from(err: crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError) -> Self {
1957        match err {
1958            crate::operation::create_delegate_mac_volume_ownership_task::CreateDelegateMacVolumeOwnershipTaskError::Unhandled(inner) => {
1959                Error::Unhandled(inner)
1960            }
1961        }
1962    }
1963}
1964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>> for Error
1965where
1966    R: Send + Sync + std::fmt::Debug + 'static,
1967{
1968    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dhcp_options::CreateDhcpOptionsError, R>) -> Self {
1969        match err {
1970            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1971            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1972                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1973                source: err.into(),
1974            }),
1975        }
1976    }
1977}
1978impl From<crate::operation::create_dhcp_options::CreateDhcpOptionsError> for Error {
1979    fn from(err: crate::operation::create_dhcp_options::CreateDhcpOptionsError) -> Self {
1980        match err {
1981            crate::operation::create_dhcp_options::CreateDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
1982        }
1983    }
1984}
1985impl<R>
1986    From<
1987        ::aws_smithy_runtime_api::client::result::SdkError<
1988            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1989            R,
1990        >,
1991    > for Error
1992where
1993    R: Send + Sync + std::fmt::Debug + 'static,
1994{
1995    fn from(
1996        err: ::aws_smithy_runtime_api::client::result::SdkError<
1997            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError,
1998            R,
1999        >,
2000    ) -> Self {
2001        match err {
2002            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2003            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2004                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2005                source: err.into(),
2006            }),
2007        }
2008    }
2009}
2010impl From<crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError> for Error {
2011    fn from(err: crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError) -> Self {
2012        match err {
2013            crate::operation::create_egress_only_internet_gateway::CreateEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2014        }
2015    }
2016}
2017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>> for Error
2018where
2019    R: Send + Sync + std::fmt::Debug + 'static,
2020{
2021    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fleet::CreateFleetError, R>) -> Self {
2022        match err {
2023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2026                source: err.into(),
2027            }),
2028        }
2029    }
2030}
2031impl From<crate::operation::create_fleet::CreateFleetError> for Error {
2032    fn from(err: crate::operation::create_fleet::CreateFleetError) -> Self {
2033        match err {
2034            crate::operation::create_fleet::CreateFleetError::Unhandled(inner) => Error::Unhandled(inner),
2035        }
2036    }
2037}
2038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>> for Error
2039where
2040    R: Send + Sync + std::fmt::Debug + 'static,
2041{
2042    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_flow_logs::CreateFlowLogsError, R>) -> Self {
2043        match err {
2044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2047                source: err.into(),
2048            }),
2049        }
2050    }
2051}
2052impl From<crate::operation::create_flow_logs::CreateFlowLogsError> for Error {
2053    fn from(err: crate::operation::create_flow_logs::CreateFlowLogsError) -> Self {
2054        match err {
2055            crate::operation::create_flow_logs::CreateFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
2056        }
2057    }
2058}
2059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>> for Error
2060where
2061    R: Send + Sync + std::fmt::Debug + 'static,
2062{
2063    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_fpga_image::CreateFpgaImageError, R>) -> Self {
2064        match err {
2065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2068                source: err.into(),
2069            }),
2070        }
2071    }
2072}
2073impl From<crate::operation::create_fpga_image::CreateFpgaImageError> for Error {
2074    fn from(err: crate::operation::create_fpga_image::CreateFpgaImageError) -> Self {
2075        match err {
2076            crate::operation::create_fpga_image::CreateFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
2077        }
2078    }
2079}
2080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>> for Error
2081where
2082    R: Send + Sync + std::fmt::Debug + 'static,
2083{
2084    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image::CreateImageError, R>) -> Self {
2085        match err {
2086            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2087            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2088                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2089                source: err.into(),
2090            }),
2091        }
2092    }
2093}
2094impl From<crate::operation::create_image::CreateImageError> for Error {
2095    fn from(err: crate::operation::create_image::CreateImageError) -> Self {
2096        match err {
2097            crate::operation::create_image::CreateImageError::Unhandled(inner) => Error::Unhandled(inner),
2098        }
2099    }
2100}
2101impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_usage_report::CreateImageUsageReportError, R>>
2102    for Error
2103where
2104    R: Send + Sync + std::fmt::Debug + 'static,
2105{
2106    fn from(
2107        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_image_usage_report::CreateImageUsageReportError, R>,
2108    ) -> Self {
2109        match err {
2110            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2111            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2112                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2113                source: err.into(),
2114            }),
2115        }
2116    }
2117}
2118impl From<crate::operation::create_image_usage_report::CreateImageUsageReportError> for Error {
2119    fn from(err: crate::operation::create_image_usage_report::CreateImageUsageReportError) -> Self {
2120        match err {
2121            crate::operation::create_image_usage_report::CreateImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
2122        }
2123    }
2124}
2125impl<R>
2126    From<
2127        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError, R>,
2128    > for Error
2129where
2130    R: Send + Sync + std::fmt::Debug + 'static,
2131{
2132    fn from(
2133        err: ::aws_smithy_runtime_api::client::result::SdkError<
2134            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError,
2135            R,
2136        >,
2137    ) -> Self {
2138        match err {
2139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2142                source: err.into(),
2143            }),
2144        }
2145    }
2146}
2147impl From<crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError> for Error {
2148    fn from(err: crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError) -> Self {
2149        match err {
2150            crate::operation::create_instance_connect_endpoint::CreateInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2151        }
2152    }
2153}
2154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>>
2155    for Error
2156where
2157    R: Send + Sync + std::fmt::Debug + 'static,
2158{
2159    fn from(
2160        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_event_window::CreateInstanceEventWindowError, R>,
2161    ) -> Self {
2162        match err {
2163            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2164            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2165                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2166                source: err.into(),
2167            }),
2168        }
2169    }
2170}
2171impl From<crate::operation::create_instance_event_window::CreateInstanceEventWindowError> for Error {
2172    fn from(err: crate::operation::create_instance_event_window::CreateInstanceEventWindowError) -> Self {
2173        match err {
2174            crate::operation::create_instance_event_window::CreateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
2175        }
2176    }
2177}
2178impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>>
2179    for Error
2180where
2181    R: Send + Sync + std::fmt::Debug + 'static,
2182{
2183    fn from(
2184        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_instance_export_task::CreateInstanceExportTaskError, R>,
2185    ) -> Self {
2186        match err {
2187            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2188            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2189                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2190                source: err.into(),
2191            }),
2192        }
2193    }
2194}
2195impl From<crate::operation::create_instance_export_task::CreateInstanceExportTaskError> for Error {
2196    fn from(err: crate::operation::create_instance_export_task::CreateInstanceExportTaskError) -> Self {
2197        match err {
2198            crate::operation::create_instance_export_task::CreateInstanceExportTaskError::Unhandled(inner) => Error::Unhandled(inner),
2199        }
2200    }
2201}
2202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>> for Error
2203where
2204    R: Send + Sync + std::fmt::Debug + 'static,
2205{
2206    fn from(
2207        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_internet_gateway::CreateInternetGatewayError, R>,
2208    ) -> Self {
2209        match err {
2210            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2211            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2212                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2213                source: err.into(),
2214            }),
2215        }
2216    }
2217}
2218impl From<crate::operation::create_internet_gateway::CreateInternetGatewayError> for Error {
2219    fn from(err: crate::operation::create_internet_gateway::CreateInternetGatewayError) -> Self {
2220        match err {
2221            crate::operation::create_internet_gateway::CreateInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2222        }
2223    }
2224}
2225impl<R>
2226    From<
2227        ::aws_smithy_runtime_api::client::result::SdkError<
2228            crate::operation::create_interruptible_capacity_reservation_allocation::CreateInterruptibleCapacityReservationAllocationError,
2229            R,
2230        >,
2231    > for Error
2232where
2233    R: Send + Sync + std::fmt::Debug + 'static,
2234{
2235    fn from(
2236        err: ::aws_smithy_runtime_api::client::result::SdkError<
2237            crate::operation::create_interruptible_capacity_reservation_allocation::CreateInterruptibleCapacityReservationAllocationError,
2238            R,
2239        >,
2240    ) -> Self {
2241        match err {
2242            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2243            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2244                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2245                source: err.into(),
2246            }),
2247        }
2248    }
2249}
2250impl From<crate::operation::create_interruptible_capacity_reservation_allocation::CreateInterruptibleCapacityReservationAllocationError> for Error {
2251    fn from(
2252        err: crate::operation::create_interruptible_capacity_reservation_allocation::CreateInterruptibleCapacityReservationAllocationError,
2253    ) -> Self {
2254        match err {
2255            crate::operation::create_interruptible_capacity_reservation_allocation::CreateInterruptibleCapacityReservationAllocationError::Unhandled(inner) => Error::Unhandled(inner),
2256        }
2257    }
2258}
2259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>> for Error
2260where
2261    R: Send + Sync + std::fmt::Debug + 'static,
2262{
2263    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam::CreateIpamError, R>) -> Self {
2264        match err {
2265            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2266            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2267                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2268                source: err.into(),
2269            }),
2270        }
2271    }
2272}
2273impl From<crate::operation::create_ipam::CreateIpamError> for Error {
2274    fn from(err: crate::operation::create_ipam::CreateIpamError) -> Self {
2275        match err {
2276            crate::operation::create_ipam::CreateIpamError::Unhandled(inner) => Error::Unhandled(inner),
2277        }
2278    }
2279}
2280impl<R>
2281    From<
2282        ::aws_smithy_runtime_api::client::result::SdkError<
2283            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2284            R,
2285        >,
2286    > for Error
2287where
2288    R: Send + Sync + std::fmt::Debug + 'static,
2289{
2290    fn from(
2291        err: ::aws_smithy_runtime_api::client::result::SdkError<
2292            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError,
2293            R,
2294        >,
2295    ) -> Self {
2296        match err {
2297            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2298            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2299                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2300                source: err.into(),
2301            }),
2302        }
2303    }
2304}
2305impl From<crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError> for Error {
2306    fn from(err: crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError) -> Self {
2307        match err {
2308            crate::operation::create_ipam_external_resource_verification_token::CreateIpamExternalResourceVerificationTokenError::Unhandled(
2309                inner,
2310            ) => Error::Unhandled(inner),
2311        }
2312    }
2313}
2314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_policy::CreateIpamPolicyError, R>> for Error
2315where
2316    R: Send + Sync + std::fmt::Debug + 'static,
2317{
2318    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_policy::CreateIpamPolicyError, R>) -> Self {
2319        match err {
2320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2323                source: err.into(),
2324            }),
2325        }
2326    }
2327}
2328impl From<crate::operation::create_ipam_policy::CreateIpamPolicyError> for Error {
2329    fn from(err: crate::operation::create_ipam_policy::CreateIpamPolicyError) -> Self {
2330        match err {
2331            crate::operation::create_ipam_policy::CreateIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
2332        }
2333    }
2334}
2335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>> for Error
2336where
2337    R: Send + Sync + std::fmt::Debug + 'static,
2338{
2339    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_pool::CreateIpamPoolError, R>) -> Self {
2340        match err {
2341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2342            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2343                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2344                source: err.into(),
2345            }),
2346        }
2347    }
2348}
2349impl From<crate::operation::create_ipam_pool::CreateIpamPoolError> for Error {
2350    fn from(err: crate::operation::create_ipam_pool::CreateIpamPoolError) -> Self {
2351        match err {
2352            crate::operation::create_ipam_pool::CreateIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
2353        }
2354    }
2355}
2356impl<R>
2357    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError, R>>
2358    for Error
2359where
2360    R: Send + Sync + std::fmt::Debug + 'static,
2361{
2362    fn from(
2363        err: ::aws_smithy_runtime_api::client::result::SdkError<
2364            crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError,
2365            R,
2366        >,
2367    ) -> Self {
2368        match err {
2369            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2370            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2371                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2372                source: err.into(),
2373            }),
2374        }
2375    }
2376}
2377impl From<crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError> for Error {
2378    fn from(err: crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError) -> Self {
2379        match err {
2380            crate::operation::create_ipam_prefix_list_resolver::CreateIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
2381        }
2382    }
2383}
2384impl<R>
2385    From<
2386        ::aws_smithy_runtime_api::client::result::SdkError<
2387            crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError,
2388            R,
2389        >,
2390    > for Error
2391where
2392    R: Send + Sync + std::fmt::Debug + 'static,
2393{
2394    fn from(
2395        err: ::aws_smithy_runtime_api::client::result::SdkError<
2396            crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError,
2397            R,
2398        >,
2399    ) -> Self {
2400        match err {
2401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2404                source: err.into(),
2405            }),
2406        }
2407    }
2408}
2409impl From<crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError> for Error {
2410    fn from(err: crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError) -> Self {
2411        match err {
2412            crate::operation::create_ipam_prefix_list_resolver_target::CreateIpamPrefixListResolverTargetError::Unhandled(inner) => {
2413                Error::Unhandled(inner)
2414            }
2415        }
2416    }
2417}
2418impl<R>
2419    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError, R>>
2420    for Error
2421where
2422    R: Send + Sync + std::fmt::Debug + 'static,
2423{
2424    fn from(
2425        err: ::aws_smithy_runtime_api::client::result::SdkError<
2426            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError,
2427            R,
2428        >,
2429    ) -> Self {
2430        match err {
2431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2434                source: err.into(),
2435            }),
2436        }
2437    }
2438}
2439impl From<crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError> for Error {
2440    fn from(err: crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError) -> Self {
2441        match err {
2442            crate::operation::create_ipam_resource_discovery::CreateIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
2443        }
2444    }
2445}
2446impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>> for Error
2447where
2448    R: Send + Sync + std::fmt::Debug + 'static,
2449{
2450    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ipam_scope::CreateIpamScopeError, R>) -> Self {
2451        match err {
2452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2455                source: err.into(),
2456            }),
2457        }
2458    }
2459}
2460impl From<crate::operation::create_ipam_scope::CreateIpamScopeError> for Error {
2461    fn from(err: crate::operation::create_ipam_scope::CreateIpamScopeError) -> Self {
2462        match err {
2463            crate::operation::create_ipam_scope::CreateIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
2464        }
2465    }
2466}
2467impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>> for Error
2468where
2469    R: Send + Sync + std::fmt::Debug + 'static,
2470{
2471    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_key_pair::CreateKeyPairError, R>) -> Self {
2472        match err {
2473            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2474            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2475                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2476                source: err.into(),
2477            }),
2478        }
2479    }
2480}
2481impl From<crate::operation::create_key_pair::CreateKeyPairError> for Error {
2482    fn from(err: crate::operation::create_key_pair::CreateKeyPairError) -> Self {
2483        match err {
2484            crate::operation::create_key_pair::CreateKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
2485        }
2486    }
2487}
2488impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>> for Error
2489where
2490    R: Send + Sync + std::fmt::Debug + 'static,
2491{
2492    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template::CreateLaunchTemplateError, R>) -> Self {
2493        match err {
2494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2497                source: err.into(),
2498            }),
2499        }
2500    }
2501}
2502impl From<crate::operation::create_launch_template::CreateLaunchTemplateError> for Error {
2503    fn from(err: crate::operation::create_launch_template::CreateLaunchTemplateError) -> Self {
2504        match err {
2505            crate::operation::create_launch_template::CreateLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
2506        }
2507    }
2508}
2509impl<R>
2510    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError, R>>
2511    for Error
2512where
2513    R: Send + Sync + std::fmt::Debug + 'static,
2514{
2515    fn from(
2516        err: ::aws_smithy_runtime_api::client::result::SdkError<
2517            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError,
2518            R,
2519        >,
2520    ) -> Self {
2521        match err {
2522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2525                source: err.into(),
2526            }),
2527        }
2528    }
2529}
2530impl From<crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError> for Error {
2531    fn from(err: crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError) -> Self {
2532        match err {
2533            crate::operation::create_launch_template_version::CreateLaunchTemplateVersionError::Unhandled(inner) => Error::Unhandled(inner),
2534        }
2535    }
2536}
2537impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>>
2538    for Error
2539where
2540    R: Send + Sync + std::fmt::Debug + 'static,
2541{
2542    fn from(
2543        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError, R>,
2544    ) -> Self {
2545        match err {
2546            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2547            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2548                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2549                source: err.into(),
2550            }),
2551        }
2552    }
2553}
2554impl From<crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError> for Error {
2555    fn from(err: crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError) -> Self {
2556        match err {
2557            crate::operation::create_local_gateway_route::CreateLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
2558        }
2559    }
2560}
2561impl<R>
2562    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError, R>>
2563    for Error
2564where
2565    R: Send + Sync + std::fmt::Debug + 'static,
2566{
2567    fn from(
2568        err: ::aws_smithy_runtime_api::client::result::SdkError<
2569            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError,
2570            R,
2571        >,
2572    ) -> Self {
2573        match err {
2574            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2575            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2576                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2577                source: err.into(),
2578            }),
2579        }
2580    }
2581}
2582impl From<crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError> for Error {
2583    fn from(err: crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError) -> Self {
2584        match err {
2585            crate::operation::create_local_gateway_route_table::CreateLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
2586        }
2587    }
2588}
2589impl<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 {
2590    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
2591        match err {
2592            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2593            _ => Error::Unhandled(
2594                                        crate::error::sealed_unhandled::Unhandled {
2595                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2596                                            source: err.into(),
2597                                        }
2598                                    ),
2599        }
2600    }
2601}
2602impl From<crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
2603    fn from(err: crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
2604        match err {
2605            crate::operation::create_local_gateway_route_table_virtual_interface_group_association::CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
2606        }
2607    }
2608}
2609impl<R>
2610    From<
2611        ::aws_smithy_runtime_api::client::result::SdkError<
2612            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2613            R,
2614        >,
2615    > for Error
2616where
2617    R: Send + Sync + std::fmt::Debug + 'static,
2618{
2619    fn from(
2620        err: ::aws_smithy_runtime_api::client::result::SdkError<
2621            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError,
2622            R,
2623        >,
2624    ) -> Self {
2625        match err {
2626            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2627            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2628                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2629                source: err.into(),
2630            }),
2631        }
2632    }
2633}
2634impl From<crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError> for Error {
2635    fn from(err: crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError) -> Self {
2636        match err {
2637            crate::operation::create_local_gateway_route_table_vpc_association::CreateLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
2638                Error::Unhandled(inner)
2639            }
2640        }
2641    }
2642}
2643impl<R>
2644    From<
2645        ::aws_smithy_runtime_api::client::result::SdkError<
2646            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2647            R,
2648        >,
2649    > for Error
2650where
2651    R: Send + Sync + std::fmt::Debug + 'static,
2652{
2653    fn from(
2654        err: ::aws_smithy_runtime_api::client::result::SdkError<
2655            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError,
2656            R,
2657        >,
2658    ) -> Self {
2659        match err {
2660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2663                source: err.into(),
2664            }),
2665        }
2666    }
2667}
2668impl From<crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError> for Error {
2669    fn from(err: crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError) -> Self {
2670        match err {
2671            crate::operation::create_local_gateway_virtual_interface::CreateLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
2672                Error::Unhandled(inner)
2673            }
2674        }
2675    }
2676}
2677impl<R>
2678    From<
2679        ::aws_smithy_runtime_api::client::result::SdkError<
2680            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2681            R,
2682        >,
2683    > for Error
2684where
2685    R: Send + Sync + std::fmt::Debug + 'static,
2686{
2687    fn from(
2688        err: ::aws_smithy_runtime_api::client::result::SdkError<
2689            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError,
2690            R,
2691        >,
2692    ) -> Self {
2693        match err {
2694            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2695            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2696                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2697                source: err.into(),
2698            }),
2699        }
2700    }
2701}
2702impl From<crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError> for Error {
2703    fn from(err: crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError) -> Self {
2704        match err {
2705            crate::operation::create_local_gateway_virtual_interface_group::CreateLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
2706                Error::Unhandled(inner)
2707            }
2708        }
2709    }
2710}
2711impl<R>
2712    From<
2713        ::aws_smithy_runtime_api::client::result::SdkError<
2714            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2715            R,
2716        >,
2717    > for Error
2718where
2719    R: Send + Sync + std::fmt::Debug + 'static,
2720{
2721    fn from(
2722        err: ::aws_smithy_runtime_api::client::result::SdkError<
2723            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2724            R,
2725        >,
2726    ) -> Self {
2727        match err {
2728            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2729            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2730                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2731                source: err.into(),
2732            }),
2733        }
2734    }
2735}
2736impl From<crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError>
2737    for Error
2738{
2739    fn from(
2740        err: crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError,
2741    ) -> Self {
2742        match err {
2743            crate::operation::create_mac_system_integrity_protection_modification_task::CreateMacSystemIntegrityProtectionModificationTaskError::Unhandled(inner) => Error::Unhandled(inner),
2744        }
2745    }
2746}
2747impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>>
2748    for Error
2749where
2750    R: Send + Sync + std::fmt::Debug + 'static,
2751{
2752    fn from(
2753        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError, R>,
2754    ) -> Self {
2755        match err {
2756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2759                source: err.into(),
2760            }),
2761        }
2762    }
2763}
2764impl From<crate::operation::create_managed_prefix_list::CreateManagedPrefixListError> for Error {
2765    fn from(err: crate::operation::create_managed_prefix_list::CreateManagedPrefixListError) -> Self {
2766        match err {
2767            crate::operation::create_managed_prefix_list::CreateManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
2768        }
2769    }
2770}
2771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>> for Error
2772where
2773    R: Send + Sync + std::fmt::Debug + 'static,
2774{
2775    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_nat_gateway::CreateNatGatewayError, R>) -> Self {
2776        match err {
2777            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2778            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2779                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2780                source: err.into(),
2781            }),
2782        }
2783    }
2784}
2785impl From<crate::operation::create_nat_gateway::CreateNatGatewayError> for Error {
2786    fn from(err: crate::operation::create_nat_gateway::CreateNatGatewayError) -> Self {
2787        match err {
2788            crate::operation::create_nat_gateway::CreateNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
2789        }
2790    }
2791}
2792impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>> for Error
2793where
2794    R: Send + Sync + std::fmt::Debug + 'static,
2795{
2796    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl::CreateNetworkAclError, R>) -> Self {
2797        match err {
2798            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2799            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2800                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2801                source: err.into(),
2802            }),
2803        }
2804    }
2805}
2806impl From<crate::operation::create_network_acl::CreateNetworkAclError> for Error {
2807    fn from(err: crate::operation::create_network_acl::CreateNetworkAclError) -> Self {
2808        match err {
2809            crate::operation::create_network_acl::CreateNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
2810        }
2811    }
2812}
2813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>> for Error
2814where
2815    R: Send + Sync + std::fmt::Debug + 'static,
2816{
2817    fn from(
2818        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError, R>,
2819    ) -> Self {
2820        match err {
2821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2824                source: err.into(),
2825            }),
2826        }
2827    }
2828}
2829impl From<crate::operation::create_network_acl_entry::CreateNetworkAclEntryError> for Error {
2830    fn from(err: crate::operation::create_network_acl_entry::CreateNetworkAclEntryError) -> Self {
2831        match err {
2832            crate::operation::create_network_acl_entry::CreateNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
2833        }
2834    }
2835}
2836impl<R>
2837    From<
2838        ::aws_smithy_runtime_api::client::result::SdkError<
2839            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2840            R,
2841        >,
2842    > for Error
2843where
2844    R: Send + Sync + std::fmt::Debug + 'static,
2845{
2846    fn from(
2847        err: ::aws_smithy_runtime_api::client::result::SdkError<
2848            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError,
2849            R,
2850        >,
2851    ) -> Self {
2852        match err {
2853            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2854            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2855                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2856                source: err.into(),
2857            }),
2858        }
2859    }
2860}
2861impl From<crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError> for Error {
2862    fn from(err: crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError) -> Self {
2863        match err {
2864            crate::operation::create_network_insights_access_scope::CreateNetworkInsightsAccessScopeError::Unhandled(inner) => {
2865                Error::Unhandled(inner)
2866            }
2867        }
2868    }
2869}
2870impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>>
2871    for Error
2872where
2873    R: Send + Sync + std::fmt::Debug + 'static,
2874{
2875    fn from(
2876        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError, R>,
2877    ) -> Self {
2878        match err {
2879            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2880            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2881                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2882                source: err.into(),
2883            }),
2884        }
2885    }
2886}
2887impl From<crate::operation::create_network_insights_path::CreateNetworkInsightsPathError> for Error {
2888    fn from(err: crate::operation::create_network_insights_path::CreateNetworkInsightsPathError) -> Self {
2889        match err {
2890            crate::operation::create_network_insights_path::CreateNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
2891        }
2892    }
2893}
2894impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>> for Error
2895where
2896    R: Send + Sync + std::fmt::Debug + 'static,
2897{
2898    fn from(
2899        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_network_interface::CreateNetworkInterfaceError, R>,
2900    ) -> Self {
2901        match err {
2902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2905                source: err.into(),
2906            }),
2907        }
2908    }
2909}
2910impl From<crate::operation::create_network_interface::CreateNetworkInterfaceError> for Error {
2911    fn from(err: crate::operation::create_network_interface::CreateNetworkInterfaceError) -> Self {
2912        match err {
2913            crate::operation::create_network_interface::CreateNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
2914        }
2915    }
2916}
2917impl<R>
2918    From<
2919        ::aws_smithy_runtime_api::client::result::SdkError<
2920            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2921            R,
2922        >,
2923    > for Error
2924where
2925    R: Send + Sync + std::fmt::Debug + 'static,
2926{
2927    fn from(
2928        err: ::aws_smithy_runtime_api::client::result::SdkError<
2929            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError,
2930            R,
2931        >,
2932    ) -> 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_network_interface_permission::CreateNetworkInterfacePermissionError> for Error {
2943    fn from(err: crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError) -> Self {
2944        match err {
2945            crate::operation::create_network_interface_permission::CreateNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
2946        }
2947    }
2948}
2949impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>> for Error
2950where
2951    R: Send + Sync + std::fmt::Debug + 'static,
2952{
2953    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_placement_group::CreatePlacementGroupError, R>) -> Self {
2954        match err {
2955            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2956            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2957                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2958                source: err.into(),
2959            }),
2960        }
2961    }
2962}
2963impl From<crate::operation::create_placement_group::CreatePlacementGroupError> for Error {
2964    fn from(err: crate::operation::create_placement_group::CreatePlacementGroupError) -> Self {
2965        match err {
2966            crate::operation::create_placement_group::CreatePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
2967        }
2968    }
2969}
2970impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>> for Error
2971where
2972    R: Send + Sync + std::fmt::Debug + 'static,
2973{
2974    fn from(
2975        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError, R>,
2976    ) -> Self {
2977        match err {
2978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2981                source: err.into(),
2982            }),
2983        }
2984    }
2985}
2986impl From<crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError> for Error {
2987    fn from(err: crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError) -> Self {
2988        match err {
2989            crate::operation::create_public_ipv4_pool::CreatePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
2990        }
2991    }
2992}
2993impl<R>
2994    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError, R>>
2995    for Error
2996where
2997    R: Send + Sync + std::fmt::Debug + 'static,
2998{
2999    fn from(
3000        err: ::aws_smithy_runtime_api::client::result::SdkError<
3001            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError,
3002            R,
3003        >,
3004    ) -> Self {
3005        match err {
3006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3009                source: err.into(),
3010            }),
3011        }
3012    }
3013}
3014impl From<crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError> for Error {
3015    fn from(err: crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError) -> Self {
3016        match err {
3017            crate::operation::create_replace_root_volume_task::CreateReplaceRootVolumeTaskError::Unhandled(inner) => Error::Unhandled(inner),
3018        }
3019    }
3020}
3021impl<R>
3022    From<
3023        ::aws_smithy_runtime_api::client::result::SdkError<
3024            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
3025            R,
3026        >,
3027    > for Error
3028where
3029    R: Send + Sync + std::fmt::Debug + 'static,
3030{
3031    fn from(
3032        err: ::aws_smithy_runtime_api::client::result::SdkError<
3033            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError,
3034            R,
3035        >,
3036    ) -> Self {
3037        match err {
3038            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3039            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3040                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3041                source: err.into(),
3042            }),
3043        }
3044    }
3045}
3046impl From<crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError> for Error {
3047    fn from(err: crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError) -> Self {
3048        match err {
3049            crate::operation::create_reserved_instances_listing::CreateReservedInstancesListingError::Unhandled(inner) => Error::Unhandled(inner),
3050        }
3051    }
3052}
3053impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>>
3054    for Error
3055where
3056    R: Send + Sync + std::fmt::Debug + 'static,
3057{
3058    fn from(
3059        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_restore_image_task::CreateRestoreImageTaskError, R>,
3060    ) -> Self {
3061        match err {
3062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3063            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3064                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3065                source: err.into(),
3066            }),
3067        }
3068    }
3069}
3070impl From<crate::operation::create_restore_image_task::CreateRestoreImageTaskError> for Error {
3071    fn from(err: crate::operation::create_restore_image_task::CreateRestoreImageTaskError) -> Self {
3072        match err {
3073            crate::operation::create_restore_image_task::CreateRestoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3074        }
3075    }
3076}
3077impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>> for Error
3078where
3079    R: Send + Sync + std::fmt::Debug + 'static,
3080{
3081    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route::CreateRouteError, R>) -> Self {
3082        match err {
3083            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3084            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3085                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3086                source: err.into(),
3087            }),
3088        }
3089    }
3090}
3091impl From<crate::operation::create_route::CreateRouteError> for Error {
3092    fn from(err: crate::operation::create_route::CreateRouteError) -> Self {
3093        match err {
3094            crate::operation::create_route::CreateRouteError::Unhandled(inner) => Error::Unhandled(inner),
3095        }
3096    }
3097}
3098impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>> for Error
3099where
3100    R: Send + Sync + std::fmt::Debug + 'static,
3101{
3102    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server::CreateRouteServerError, R>) -> Self {
3103        match err {
3104            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3105            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3106                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3107                source: err.into(),
3108            }),
3109        }
3110    }
3111}
3112impl From<crate::operation::create_route_server::CreateRouteServerError> for Error {
3113    fn from(err: crate::operation::create_route_server::CreateRouteServerError) -> Self {
3114        match err {
3115            crate::operation::create_route_server::CreateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
3116        }
3117    }
3118}
3119impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>>
3120    for Error
3121where
3122    R: Send + Sync + std::fmt::Debug + 'static,
3123{
3124    fn from(
3125        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError, R>,
3126    ) -> Self {
3127        match err {
3128            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3129            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3130                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3131                source: err.into(),
3132            }),
3133        }
3134    }
3135}
3136impl From<crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError> for Error {
3137    fn from(err: crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError) -> Self {
3138        match err {
3139            crate::operation::create_route_server_endpoint::CreateRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3140        }
3141    }
3142}
3143impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>> for Error
3144where
3145    R: Send + Sync + std::fmt::Debug + 'static,
3146{
3147    fn from(
3148        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_server_peer::CreateRouteServerPeerError, R>,
3149    ) -> Self {
3150        match err {
3151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3154                source: err.into(),
3155            }),
3156        }
3157    }
3158}
3159impl From<crate::operation::create_route_server_peer::CreateRouteServerPeerError> for Error {
3160    fn from(err: crate::operation::create_route_server_peer::CreateRouteServerPeerError) -> Self {
3161        match err {
3162            crate::operation::create_route_server_peer::CreateRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
3163        }
3164    }
3165}
3166impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>> for Error
3167where
3168    R: Send + Sync + std::fmt::Debug + 'static,
3169{
3170    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_route_table::CreateRouteTableError, R>) -> Self {
3171        match err {
3172            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3173            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3174                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3175                source: err.into(),
3176            }),
3177        }
3178    }
3179}
3180impl From<crate::operation::create_route_table::CreateRouteTableError> for Error {
3181    fn from(err: crate::operation::create_route_table::CreateRouteTableError) -> Self {
3182        match err {
3183            crate::operation::create_route_table::CreateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3184        }
3185    }
3186}
3187impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_secondary_network::CreateSecondaryNetworkError, R>> for Error
3188where
3189    R: Send + Sync + std::fmt::Debug + 'static,
3190{
3191    fn from(
3192        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_secondary_network::CreateSecondaryNetworkError, R>,
3193    ) -> Self {
3194        match err {
3195            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3196            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3197                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3198                source: err.into(),
3199            }),
3200        }
3201    }
3202}
3203impl From<crate::operation::create_secondary_network::CreateSecondaryNetworkError> for Error {
3204    fn from(err: crate::operation::create_secondary_network::CreateSecondaryNetworkError) -> Self {
3205        match err {
3206            crate::operation::create_secondary_network::CreateSecondaryNetworkError::Unhandled(inner) => Error::Unhandled(inner),
3207        }
3208    }
3209}
3210impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_secondary_subnet::CreateSecondarySubnetError, R>> for Error
3211where
3212    R: Send + Sync + std::fmt::Debug + 'static,
3213{
3214    fn from(
3215        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_secondary_subnet::CreateSecondarySubnetError, R>,
3216    ) -> Self {
3217        match err {
3218            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3219            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3220                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3221                source: err.into(),
3222            }),
3223        }
3224    }
3225}
3226impl From<crate::operation::create_secondary_subnet::CreateSecondarySubnetError> for Error {
3227    fn from(err: crate::operation::create_secondary_subnet::CreateSecondarySubnetError) -> Self {
3228        match err {
3229            crate::operation::create_secondary_subnet::CreateSecondarySubnetError::Unhandled(inner) => Error::Unhandled(inner),
3230        }
3231    }
3232}
3233impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>> for Error
3234where
3235    R: Send + Sync + std::fmt::Debug + 'static,
3236{
3237    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_group::CreateSecurityGroupError, R>) -> Self {
3238        match err {
3239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3242                source: err.into(),
3243            }),
3244        }
3245    }
3246}
3247impl From<crate::operation::create_security_group::CreateSecurityGroupError> for Error {
3248    fn from(err: crate::operation::create_security_group::CreateSecurityGroupError) -> Self {
3249        match err {
3250            crate::operation::create_security_group::CreateSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
3251        }
3252    }
3253}
3254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>> for Error
3255where
3256    R: Send + Sync + std::fmt::Debug + 'static,
3257{
3258    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshot::CreateSnapshotError, R>) -> Self {
3259        match err {
3260            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3261            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3262                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3263                source: err.into(),
3264            }),
3265        }
3266    }
3267}
3268impl From<crate::operation::create_snapshot::CreateSnapshotError> for Error {
3269    fn from(err: crate::operation::create_snapshot::CreateSnapshotError) -> Self {
3270        match err {
3271            crate::operation::create_snapshot::CreateSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
3272        }
3273    }
3274}
3275impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>> for Error
3276where
3277    R: Send + Sync + std::fmt::Debug + 'static,
3278{
3279    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_snapshots::CreateSnapshotsError, R>) -> Self {
3280        match err {
3281            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3282            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3283                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3284                source: err.into(),
3285            }),
3286        }
3287    }
3288}
3289impl From<crate::operation::create_snapshots::CreateSnapshotsError> for Error {
3290    fn from(err: crate::operation::create_snapshots::CreateSnapshotsError) -> Self {
3291        match err {
3292            crate::operation::create_snapshots::CreateSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
3293        }
3294    }
3295}
3296impl<R>
3297    From<
3298        ::aws_smithy_runtime_api::client::result::SdkError<
3299            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3300            R,
3301        >,
3302    > for Error
3303where
3304    R: Send + Sync + std::fmt::Debug + 'static,
3305{
3306    fn from(
3307        err: ::aws_smithy_runtime_api::client::result::SdkError<
3308            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError,
3309            R,
3310        >,
3311    ) -> Self {
3312        match err {
3313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3316                source: err.into(),
3317            }),
3318        }
3319    }
3320}
3321impl From<crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError> for Error {
3322    fn from(err: crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError) -> Self {
3323        match err {
3324            crate::operation::create_spot_datafeed_subscription::CreateSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
3325        }
3326    }
3327}
3328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>> for Error
3329where
3330    R: Send + Sync + std::fmt::Debug + 'static,
3331{
3332    fn from(
3333        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_store_image_task::CreateStoreImageTaskError, R>,
3334    ) -> Self {
3335        match err {
3336            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3337            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3338                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3339                source: err.into(),
3340            }),
3341        }
3342    }
3343}
3344impl From<crate::operation::create_store_image_task::CreateStoreImageTaskError> for Error {
3345    fn from(err: crate::operation::create_store_image_task::CreateStoreImageTaskError) -> Self {
3346        match err {
3347            crate::operation::create_store_image_task::CreateStoreImageTaskError::Unhandled(inner) => Error::Unhandled(inner),
3348        }
3349    }
3350}
3351impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>> for Error
3352where
3353    R: Send + Sync + std::fmt::Debug + 'static,
3354{
3355    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet::CreateSubnetError, R>) -> Self {
3356        match err {
3357            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3358            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3359                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3360                source: err.into(),
3361            }),
3362        }
3363    }
3364}
3365impl From<crate::operation::create_subnet::CreateSubnetError> for Error {
3366    fn from(err: crate::operation::create_subnet::CreateSubnetError) -> Self {
3367        match err {
3368            crate::operation::create_subnet::CreateSubnetError::Unhandled(inner) => Error::Unhandled(inner),
3369        }
3370    }
3371}
3372impl<R>
3373    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError, R>>
3374    for Error
3375where
3376    R: Send + Sync + std::fmt::Debug + 'static,
3377{
3378    fn from(
3379        err: ::aws_smithy_runtime_api::client::result::SdkError<
3380            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError,
3381            R,
3382        >,
3383    ) -> Self {
3384        match err {
3385            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3386            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3387                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3388                source: err.into(),
3389            }),
3390        }
3391    }
3392}
3393impl From<crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError> for Error {
3394    fn from(err: crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError) -> Self {
3395        match err {
3396            crate::operation::create_subnet_cidr_reservation::CreateSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
3397        }
3398    }
3399}
3400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>> for Error
3401where
3402    R: Send + Sync + std::fmt::Debug + 'static,
3403{
3404    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_tags::CreateTagsError, R>) -> Self {
3405        match err {
3406            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3407            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3408                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3409                source: err.into(),
3410            }),
3411        }
3412    }
3413}
3414impl From<crate::operation::create_tags::CreateTagsError> for Error {
3415    fn from(err: crate::operation::create_tags::CreateTagsError) -> Self {
3416        match err {
3417            crate::operation::create_tags::CreateTagsError::Unhandled(inner) => Error::Unhandled(inner),
3418        }
3419    }
3420}
3421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>>
3422    for Error
3423where
3424    R: Send + Sync + std::fmt::Debug + 'static,
3425{
3426    fn from(
3427        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError, R>,
3428    ) -> Self {
3429        match err {
3430            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3431            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3432                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3433                source: err.into(),
3434            }),
3435        }
3436    }
3437}
3438impl From<crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError> for Error {
3439    fn from(err: crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError) -> Self {
3440        match err {
3441            crate::operation::create_traffic_mirror_filter::CreateTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
3442        }
3443    }
3444}
3445impl<R>
3446    From<
3447        ::aws_smithy_runtime_api::client::result::SdkError<
3448            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3449            R,
3450        >,
3451    > for Error
3452where
3453    R: Send + Sync + std::fmt::Debug + 'static,
3454{
3455    fn from(
3456        err: ::aws_smithy_runtime_api::client::result::SdkError<
3457            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError,
3458            R,
3459        >,
3460    ) -> Self {
3461        match err {
3462            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3463            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3464                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3465                source: err.into(),
3466            }),
3467        }
3468    }
3469}
3470impl From<crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError> for Error {
3471    fn from(err: crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError) -> Self {
3472        match err {
3473            crate::operation::create_traffic_mirror_filter_rule::CreateTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
3474        }
3475    }
3476}
3477impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>>
3478    for Error
3479where
3480    R: Send + Sync + std::fmt::Debug + 'static,
3481{
3482    fn from(
3483        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError, R>,
3484    ) -> Self {
3485        match err {
3486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3489                source: err.into(),
3490            }),
3491        }
3492    }
3493}
3494impl From<crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError> for Error {
3495    fn from(err: crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError) -> Self {
3496        match err {
3497            crate::operation::create_traffic_mirror_session::CreateTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
3498        }
3499    }
3500}
3501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>>
3502    for Error
3503where
3504    R: Send + Sync + std::fmt::Debug + 'static,
3505{
3506    fn from(
3507        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError, R>,
3508    ) -> Self {
3509        match err {
3510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3513                source: err.into(),
3514            }),
3515        }
3516    }
3517}
3518impl From<crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError> for Error {
3519    fn from(err: crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError) -> Self {
3520        match err {
3521            crate::operation::create_traffic_mirror_target::CreateTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
3522        }
3523    }
3524}
3525impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>> for Error
3526where
3527    R: Send + Sync + std::fmt::Debug + 'static,
3528{
3529    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway::CreateTransitGatewayError, R>) -> Self {
3530        match err {
3531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3534                source: err.into(),
3535            }),
3536        }
3537    }
3538}
3539impl From<crate::operation::create_transit_gateway::CreateTransitGatewayError> for Error {
3540    fn from(err: crate::operation::create_transit_gateway::CreateTransitGatewayError) -> Self {
3541        match err {
3542            crate::operation::create_transit_gateway::CreateTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
3543        }
3544    }
3545}
3546impl<R>
3547    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError, R>>
3548    for Error
3549where
3550    R: Send + Sync + std::fmt::Debug + 'static,
3551{
3552    fn from(
3553        err: ::aws_smithy_runtime_api::client::result::SdkError<
3554            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError,
3555            R,
3556        >,
3557    ) -> Self {
3558        match err {
3559            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3560            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3561                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3562                source: err.into(),
3563            }),
3564        }
3565    }
3566}
3567impl From<crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError> for Error {
3568    fn from(err: crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError) -> Self {
3569        match err {
3570            crate::operation::create_transit_gateway_connect::CreateTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
3571        }
3572    }
3573}
3574impl<R>
3575    From<
3576        ::aws_smithy_runtime_api::client::result::SdkError<
3577            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3578            R,
3579        >,
3580    > for Error
3581where
3582    R: Send + Sync + std::fmt::Debug + 'static,
3583{
3584    fn from(
3585        err: ::aws_smithy_runtime_api::client::result::SdkError<
3586            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError,
3587            R,
3588        >,
3589    ) -> Self {
3590        match err {
3591            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3592            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3593                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3594                source: err.into(),
3595            }),
3596        }
3597    }
3598}
3599impl From<crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError> for Error {
3600    fn from(err: crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError) -> Self {
3601        match err {
3602            crate::operation::create_transit_gateway_connect_peer::CreateTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
3603        }
3604    }
3605}
3606impl<R>
3607    From<
3608        ::aws_smithy_runtime_api::client::result::SdkError<
3609            crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError,
3610            R,
3611        >,
3612    > for Error
3613where
3614    R: Send + Sync + std::fmt::Debug + 'static,
3615{
3616    fn from(
3617        err: ::aws_smithy_runtime_api::client::result::SdkError<
3618            crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError,
3619            R,
3620        >,
3621    ) -> Self {
3622        match err {
3623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3626                source: err.into(),
3627            }),
3628        }
3629    }
3630}
3631impl From<crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError> for Error {
3632    fn from(err: crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError) -> Self {
3633        match err {
3634            crate::operation::create_transit_gateway_metering_policy::CreateTransitGatewayMeteringPolicyError::Unhandled(inner) => {
3635                Error::Unhandled(inner)
3636            }
3637        }
3638    }
3639}
3640impl<R>
3641    From<
3642        ::aws_smithy_runtime_api::client::result::SdkError<
3643            crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError,
3644            R,
3645        >,
3646    > for Error
3647where
3648    R: Send + Sync + std::fmt::Debug + 'static,
3649{
3650    fn from(
3651        err: ::aws_smithy_runtime_api::client::result::SdkError<
3652            crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError,
3653            R,
3654        >,
3655    ) -> Self {
3656        match err {
3657            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3658            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3659                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3660                source: err.into(),
3661            }),
3662        }
3663    }
3664}
3665impl From<crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError> for Error {
3666    fn from(err: crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError) -> Self {
3667        match err {
3668            crate::operation::create_transit_gateway_metering_policy_entry::CreateTransitGatewayMeteringPolicyEntryError::Unhandled(inner) => {
3669                Error::Unhandled(inner)
3670            }
3671        }
3672    }
3673}
3674impl<R>
3675    From<
3676        ::aws_smithy_runtime_api::client::result::SdkError<
3677            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3678            R,
3679        >,
3680    > for Error
3681where
3682    R: Send + Sync + std::fmt::Debug + 'static,
3683{
3684    fn from(
3685        err: ::aws_smithy_runtime_api::client::result::SdkError<
3686            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError,
3687            R,
3688        >,
3689    ) -> Self {
3690        match err {
3691            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3692            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3693                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3694                source: err.into(),
3695            }),
3696        }
3697    }
3698}
3699impl From<crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError> for Error {
3700    fn from(err: crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError) -> Self {
3701        match err {
3702            crate::operation::create_transit_gateway_multicast_domain::CreateTransitGatewayMulticastDomainError::Unhandled(inner) => {
3703                Error::Unhandled(inner)
3704            }
3705        }
3706    }
3707}
3708impl<R>
3709    From<
3710        ::aws_smithy_runtime_api::client::result::SdkError<
3711            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3712            R,
3713        >,
3714    > for Error
3715where
3716    R: Send + Sync + std::fmt::Debug + 'static,
3717{
3718    fn from(
3719        err: ::aws_smithy_runtime_api::client::result::SdkError<
3720            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError,
3721            R,
3722        >,
3723    ) -> Self {
3724        match err {
3725            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3726            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3727                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3728                source: err.into(),
3729            }),
3730        }
3731    }
3732}
3733impl From<crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError> for Error {
3734    fn from(err: crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError) -> Self {
3735        match err {
3736            crate::operation::create_transit_gateway_peering_attachment::CreateTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
3737                Error::Unhandled(inner)
3738            }
3739        }
3740    }
3741}
3742impl<R>
3743    From<
3744        ::aws_smithy_runtime_api::client::result::SdkError<
3745            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3746            R,
3747        >,
3748    > for Error
3749where
3750    R: Send + Sync + std::fmt::Debug + 'static,
3751{
3752    fn from(
3753        err: ::aws_smithy_runtime_api::client::result::SdkError<
3754            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError,
3755            R,
3756        >,
3757    ) -> Self {
3758        match err {
3759            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3760            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3761                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3762                source: err.into(),
3763            }),
3764        }
3765    }
3766}
3767impl From<crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError> for Error {
3768    fn from(err: crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError) -> Self {
3769        match err {
3770            crate::operation::create_transit_gateway_policy_table::CreateTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
3771        }
3772    }
3773}
3774impl<R>
3775    From<
3776        ::aws_smithy_runtime_api::client::result::SdkError<
3777            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3778            R,
3779        >,
3780    > for Error
3781where
3782    R: Send + Sync + std::fmt::Debug + 'static,
3783{
3784    fn from(
3785        err: ::aws_smithy_runtime_api::client::result::SdkError<
3786            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError,
3787            R,
3788        >,
3789    ) -> Self {
3790        match err {
3791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3794                source: err.into(),
3795            }),
3796        }
3797    }
3798}
3799impl From<crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError> for Error {
3800    fn from(err: crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError) -> Self {
3801        match err {
3802            crate::operation::create_transit_gateway_prefix_list_reference::CreateTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
3803                Error::Unhandled(inner)
3804            }
3805        }
3806    }
3807}
3808impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>>
3809    for Error
3810where
3811    R: Send + Sync + std::fmt::Debug + 'static,
3812{
3813    fn from(
3814        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError, R>,
3815    ) -> Self {
3816        match err {
3817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3820                source: err.into(),
3821            }),
3822        }
3823    }
3824}
3825impl From<crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError> for Error {
3826    fn from(err: crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError) -> Self {
3827        match err {
3828            crate::operation::create_transit_gateway_route::CreateTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
3829        }
3830    }
3831}
3832impl<R>
3833    From<
3834        ::aws_smithy_runtime_api::client::result::SdkError<
3835            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3836            R,
3837        >,
3838    > for Error
3839where
3840    R: Send + Sync + std::fmt::Debug + 'static,
3841{
3842    fn from(
3843        err: ::aws_smithy_runtime_api::client::result::SdkError<
3844            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError,
3845            R,
3846        >,
3847    ) -> Self {
3848        match err {
3849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3852                source: err.into(),
3853            }),
3854        }
3855    }
3856}
3857impl From<crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError> for Error {
3858    fn from(err: crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError) -> Self {
3859        match err {
3860            crate::operation::create_transit_gateway_route_table::CreateTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
3861        }
3862    }
3863}
3864impl<R>
3865    From<
3866        ::aws_smithy_runtime_api::client::result::SdkError<
3867            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3868            R,
3869        >,
3870    > for Error
3871where
3872    R: Send + Sync + std::fmt::Debug + 'static,
3873{
3874    fn from(
3875        err: ::aws_smithy_runtime_api::client::result::SdkError<
3876            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError,
3877            R,
3878        >,
3879    ) -> Self {
3880        match err {
3881            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3882            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3883                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3884                source: err.into(),
3885            }),
3886        }
3887    }
3888}
3889impl From<crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError> for Error {
3890    fn from(err: crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError) -> Self {
3891        match err {
3892            crate::operation::create_transit_gateway_route_table_announcement::CreateTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
3893                Error::Unhandled(inner)
3894            }
3895        }
3896    }
3897}
3898impl<R>
3899    From<
3900        ::aws_smithy_runtime_api::client::result::SdkError<
3901            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3902            R,
3903        >,
3904    > for Error
3905where
3906    R: Send + Sync + std::fmt::Debug + 'static,
3907{
3908    fn from(
3909        err: ::aws_smithy_runtime_api::client::result::SdkError<
3910            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError,
3911            R,
3912        >,
3913    ) -> Self {
3914        match err {
3915            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3916            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3917                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3918                source: err.into(),
3919            }),
3920        }
3921    }
3922}
3923impl From<crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError> for Error {
3924    fn from(err: crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError) -> Self {
3925        match err {
3926            crate::operation::create_transit_gateway_vpc_attachment::CreateTransitGatewayVpcAttachmentError::Unhandled(inner) => {
3927                Error::Unhandled(inner)
3928            }
3929        }
3930    }
3931}
3932impl<R>
3933    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError, R>>
3934    for Error
3935where
3936    R: Send + Sync + std::fmt::Debug + 'static,
3937{
3938    fn from(
3939        err: ::aws_smithy_runtime_api::client::result::SdkError<
3940            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError,
3941            R,
3942        >,
3943    ) -> Self {
3944        match err {
3945            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3946            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3947                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3948                source: err.into(),
3949            }),
3950        }
3951    }
3952}
3953impl From<crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError> for Error {
3954    fn from(err: crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError) -> Self {
3955        match err {
3956            crate::operation::create_verified_access_endpoint::CreateVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
3957        }
3958    }
3959}
3960impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>>
3961    for Error
3962where
3963    R: Send + Sync + std::fmt::Debug + 'static,
3964{
3965    fn from(
3966        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError, R>,
3967    ) -> Self {
3968        match err {
3969            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3970            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3971                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3972                source: err.into(),
3973            }),
3974        }
3975    }
3976}
3977impl From<crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError> for Error {
3978    fn from(err: crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError) -> Self {
3979        match err {
3980            crate::operation::create_verified_access_group::CreateVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
3981        }
3982    }
3983}
3984impl<R>
3985    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError, R>>
3986    for Error
3987where
3988    R: Send + Sync + std::fmt::Debug + 'static,
3989{
3990    fn from(
3991        err: ::aws_smithy_runtime_api::client::result::SdkError<
3992            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError,
3993            R,
3994        >,
3995    ) -> Self {
3996        match err {
3997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4000                source: err.into(),
4001            }),
4002        }
4003    }
4004}
4005impl From<crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError> for Error {
4006    fn from(err: crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError) -> Self {
4007        match err {
4008            crate::operation::create_verified_access_instance::CreateVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
4009        }
4010    }
4011}
4012impl<R>
4013    From<
4014        ::aws_smithy_runtime_api::client::result::SdkError<
4015            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
4016            R,
4017        >,
4018    > for Error
4019where
4020    R: Send + Sync + std::fmt::Debug + 'static,
4021{
4022    fn from(
4023        err: ::aws_smithy_runtime_api::client::result::SdkError<
4024            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError,
4025            R,
4026        >,
4027    ) -> Self {
4028        match err {
4029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4032                source: err.into(),
4033            }),
4034        }
4035    }
4036}
4037impl From<crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError> for Error {
4038    fn from(err: crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError) -> Self {
4039        match err {
4040            crate::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderError::Unhandled(inner) => {
4041                Error::Unhandled(inner)
4042            }
4043        }
4044    }
4045}
4046impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>> for Error
4047where
4048    R: Send + Sync + std::fmt::Debug + 'static,
4049{
4050    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_volume::CreateVolumeError, R>) -> Self {
4051        match err {
4052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4055                source: err.into(),
4056            }),
4057        }
4058    }
4059}
4060impl From<crate::operation::create_volume::CreateVolumeError> for Error {
4061    fn from(err: crate::operation::create_volume::CreateVolumeError) -> Self {
4062        match err {
4063            crate::operation::create_volume::CreateVolumeError::Unhandled(inner) => Error::Unhandled(inner),
4064        }
4065    }
4066}
4067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>> for Error
4068where
4069    R: Send + Sync + std::fmt::Debug + 'static,
4070{
4071    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc::CreateVpcError, R>) -> Self {
4072        match err {
4073            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4074            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4075                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4076                source: err.into(),
4077            }),
4078        }
4079    }
4080}
4081impl From<crate::operation::create_vpc::CreateVpcError> for Error {
4082    fn from(err: crate::operation::create_vpc::CreateVpcError) -> Self {
4083        match err {
4084            crate::operation::create_vpc::CreateVpcError::Unhandled(inner) => Error::Unhandled(inner),
4085        }
4086    }
4087}
4088impl<R>
4089    From<
4090        ::aws_smithy_runtime_api::client::result::SdkError<
4091            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
4092            R,
4093        >,
4094    > for Error
4095where
4096    R: Send + Sync + std::fmt::Debug + 'static,
4097{
4098    fn from(
4099        err: ::aws_smithy_runtime_api::client::result::SdkError<
4100            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError,
4101            R,
4102        >,
4103    ) -> Self {
4104        match err {
4105            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4106            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4107                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4108                source: err.into(),
4109            }),
4110        }
4111    }
4112}
4113impl From<crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError> for Error {
4114    fn from(err: crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError) -> Self {
4115        match err {
4116            crate::operation::create_vpc_block_public_access_exclusion::CreateVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
4117                Error::Unhandled(inner)
4118            }
4119        }
4120    }
4121}
4122impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError, R>>
4123    for Error
4124where
4125    R: Send + Sync + std::fmt::Debug + 'static,
4126{
4127    fn from(
4128        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError, R>,
4129    ) -> Self {
4130        match err {
4131            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4132            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4133                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4134                source: err.into(),
4135            }),
4136        }
4137    }
4138}
4139impl From<crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError> for Error {
4140    fn from(err: crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError) -> Self {
4141        match err {
4142            crate::operation::create_vpc_encryption_control::CreateVpcEncryptionControlError::Unhandled(inner) => Error::Unhandled(inner),
4143        }
4144    }
4145}
4146impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>> for Error
4147where
4148    R: Send + Sync + std::fmt::Debug + 'static,
4149{
4150    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_endpoint::CreateVpcEndpointError, R>) -> Self {
4151        match err {
4152            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4153            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4154                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4155                source: err.into(),
4156            }),
4157        }
4158    }
4159}
4160impl From<crate::operation::create_vpc_endpoint::CreateVpcEndpointError> for Error {
4161    fn from(err: crate::operation::create_vpc_endpoint::CreateVpcEndpointError) -> Self {
4162        match err {
4163            crate::operation::create_vpc_endpoint::CreateVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4164        }
4165    }
4166}
4167impl<R>
4168    From<
4169        ::aws_smithy_runtime_api::client::result::SdkError<
4170            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
4171            R,
4172        >,
4173    > for Error
4174where
4175    R: Send + Sync + std::fmt::Debug + 'static,
4176{
4177    fn from(
4178        err: ::aws_smithy_runtime_api::client::result::SdkError<
4179            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError,
4180            R,
4181        >,
4182    ) -> Self {
4183        match err {
4184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4187                source: err.into(),
4188            }),
4189        }
4190    }
4191}
4192impl From<crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError> for Error {
4193    fn from(err: crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError) -> Self {
4194        match err {
4195            crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError::Unhandled(inner) => {
4196                Error::Unhandled(inner)
4197            }
4198        }
4199    }
4200}
4201impl<R>
4202    From<
4203        ::aws_smithy_runtime_api::client::result::SdkError<
4204            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
4205            R,
4206        >,
4207    > for Error
4208where
4209    R: Send + Sync + std::fmt::Debug + 'static,
4210{
4211    fn from(
4212        err: ::aws_smithy_runtime_api::client::result::SdkError<
4213            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError,
4214            R,
4215        >,
4216    ) -> Self {
4217        match err {
4218            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4219            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4220                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4221                source: err.into(),
4222            }),
4223        }
4224    }
4225}
4226impl From<crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError> for Error {
4227    fn from(err: crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError) -> Self {
4228        match err {
4229            crate::operation::create_vpc_endpoint_service_configuration::CreateVpcEndpointServiceConfigurationError::Unhandled(inner) => {
4230                Error::Unhandled(inner)
4231            }
4232        }
4233    }
4234}
4235impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>>
4236    for Error
4237where
4238    R: Send + Sync + std::fmt::Debug + 'static,
4239{
4240    fn from(
4241        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError, R>,
4242    ) -> Self {
4243        match err {
4244            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4245            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4246                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4247                source: err.into(),
4248            }),
4249        }
4250    }
4251}
4252impl From<crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError> for Error {
4253    fn from(err: crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError) -> Self {
4254        match err {
4255            crate::operation::create_vpc_peering_connection::CreateVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4256        }
4257    }
4258}
4259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_concentrator::CreateVpnConcentratorError, R>> for Error
4260where
4261    R: Send + Sync + std::fmt::Debug + 'static,
4262{
4263    fn from(
4264        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_concentrator::CreateVpnConcentratorError, R>,
4265    ) -> Self {
4266        match err {
4267            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4268            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4269                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4270                source: err.into(),
4271            }),
4272        }
4273    }
4274}
4275impl From<crate::operation::create_vpn_concentrator::CreateVpnConcentratorError> for Error {
4276    fn from(err: crate::operation::create_vpn_concentrator::CreateVpnConcentratorError) -> Self {
4277        match err {
4278            crate::operation::create_vpn_concentrator::CreateVpnConcentratorError::Unhandled(inner) => Error::Unhandled(inner),
4279        }
4280    }
4281}
4282impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>> for Error
4283where
4284    R: Send + Sync + std::fmt::Debug + 'static,
4285{
4286    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection::CreateVpnConnectionError, R>) -> Self {
4287        match err {
4288            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4289            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4290                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4291                source: err.into(),
4292            }),
4293        }
4294    }
4295}
4296impl From<crate::operation::create_vpn_connection::CreateVpnConnectionError> for Error {
4297    fn from(err: crate::operation::create_vpn_connection::CreateVpnConnectionError) -> Self {
4298        match err {
4299            crate::operation::create_vpn_connection::CreateVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4300        }
4301    }
4302}
4303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>>
4304    for Error
4305where
4306    R: Send + Sync + std::fmt::Debug + 'static,
4307{
4308    fn from(
4309        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError, R>,
4310    ) -> Self {
4311        match err {
4312            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4313            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4314                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4315                source: err.into(),
4316            }),
4317        }
4318    }
4319}
4320impl From<crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError> for Error {
4321    fn from(err: crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError) -> Self {
4322        match err {
4323            crate::operation::create_vpn_connection_route::CreateVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
4324        }
4325    }
4326}
4327impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>> for Error
4328where
4329    R: Send + Sync + std::fmt::Debug + 'static,
4330{
4331    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_vpn_gateway::CreateVpnGatewayError, R>) -> Self {
4332        match err {
4333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4336                source: err.into(),
4337            }),
4338        }
4339    }
4340}
4341impl From<crate::operation::create_vpn_gateway::CreateVpnGatewayError> for Error {
4342    fn from(err: crate::operation::create_vpn_gateway::CreateVpnGatewayError) -> Self {
4343        match err {
4344            crate::operation::create_vpn_gateway::CreateVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4345        }
4346    }
4347}
4348impl<R>
4349    From<
4350        ::aws_smithy_runtime_api::client::result::SdkError<
4351            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4352            R,
4353        >,
4354    > for Error
4355where
4356    R: Send + Sync + std::fmt::Debug + 'static,
4357{
4358    fn from(
4359        err: ::aws_smithy_runtime_api::client::result::SdkError<
4360            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError,
4361            R,
4362        >,
4363    ) -> Self {
4364        match err {
4365            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4366            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4367                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4368                source: err.into(),
4369            }),
4370        }
4371    }
4372}
4373impl From<crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError> for Error {
4374    fn from(err: crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError) -> Self {
4375        match err {
4376            crate::operation::delete_capacity_manager_data_export::DeleteCapacityManagerDataExportError::Unhandled(inner) => Error::Unhandled(inner),
4377        }
4378    }
4379}
4380impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>> for Error
4381where
4382    R: Send + Sync + std::fmt::Debug + 'static,
4383{
4384    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError, R>) -> Self {
4385        match err {
4386            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4387            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4388                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4389                source: err.into(),
4390            }),
4391        }
4392    }
4393}
4394impl From<crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError> for Error {
4395    fn from(err: crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError) -> Self {
4396        match err {
4397            crate::operation::delete_carrier_gateway::DeleteCarrierGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4398        }
4399    }
4400}
4401impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>>
4402    for Error
4403where
4404    R: Send + Sync + std::fmt::Debug + 'static,
4405{
4406    fn from(
4407        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError, R>,
4408    ) -> Self {
4409        match err {
4410            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4411            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4412                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4413                source: err.into(),
4414            }),
4415        }
4416    }
4417}
4418impl From<crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError> for Error {
4419    fn from(err: crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError) -> Self {
4420        match err {
4421            crate::operation::delete_client_vpn_endpoint::DeleteClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4422        }
4423    }
4424}
4425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>> for Error
4426where
4427    R: Send + Sync + std::fmt::Debug + 'static,
4428{
4429    fn from(
4430        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError, R>,
4431    ) -> Self {
4432        match err {
4433            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4434            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4435                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4436                source: err.into(),
4437            }),
4438        }
4439    }
4440}
4441impl From<crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError> for Error {
4442    fn from(err: crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError) -> Self {
4443        match err {
4444            crate::operation::delete_client_vpn_route::DeleteClientVpnRouteError::Unhandled(inner) => Error::Unhandled(inner),
4445        }
4446    }
4447}
4448impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>> for Error
4449where
4450    R: Send + Sync + std::fmt::Debug + 'static,
4451{
4452    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_cidr::DeleteCoipCidrError, R>) -> Self {
4453        match err {
4454            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4455            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4456                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4457                source: err.into(),
4458            }),
4459        }
4460    }
4461}
4462impl From<crate::operation::delete_coip_cidr::DeleteCoipCidrError> for Error {
4463    fn from(err: crate::operation::delete_coip_cidr::DeleteCoipCidrError) -> Self {
4464        match err {
4465            crate::operation::delete_coip_cidr::DeleteCoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
4466        }
4467    }
4468}
4469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>> for Error
4470where
4471    R: Send + Sync + std::fmt::Debug + 'static,
4472{
4473    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_coip_pool::DeleteCoipPoolError, R>) -> Self {
4474        match err {
4475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4478                source: err.into(),
4479            }),
4480        }
4481    }
4482}
4483impl From<crate::operation::delete_coip_pool::DeleteCoipPoolError> for Error {
4484    fn from(err: crate::operation::delete_coip_pool::DeleteCoipPoolError) -> Self {
4485        match err {
4486            crate::operation::delete_coip_pool::DeleteCoipPoolError::Unhandled(inner) => Error::Unhandled(inner),
4487        }
4488    }
4489}
4490impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>> for Error
4491where
4492    R: Send + Sync + std::fmt::Debug + 'static,
4493{
4494    fn from(
4495        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError, R>,
4496    ) -> Self {
4497        match err {
4498            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4499            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4500                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4501                source: err.into(),
4502            }),
4503        }
4504    }
4505}
4506impl From<crate::operation::delete_customer_gateway::DeleteCustomerGatewayError> for Error {
4507    fn from(err: crate::operation::delete_customer_gateway::DeleteCustomerGatewayError) -> Self {
4508        match err {
4509            crate::operation::delete_customer_gateway::DeleteCustomerGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4510        }
4511    }
4512}
4513impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>> for Error
4514where
4515    R: Send + Sync + std::fmt::Debug + 'static,
4516{
4517    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError, R>) -> Self {
4518        match err {
4519            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4520            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4521                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4522                source: err.into(),
4523            }),
4524        }
4525    }
4526}
4527impl From<crate::operation::delete_dhcp_options::DeleteDhcpOptionsError> for Error {
4528    fn from(err: crate::operation::delete_dhcp_options::DeleteDhcpOptionsError) -> Self {
4529        match err {
4530            crate::operation::delete_dhcp_options::DeleteDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
4531        }
4532    }
4533}
4534impl<R>
4535    From<
4536        ::aws_smithy_runtime_api::client::result::SdkError<
4537            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4538            R,
4539        >,
4540    > for Error
4541where
4542    R: Send + Sync + std::fmt::Debug + 'static,
4543{
4544    fn from(
4545        err: ::aws_smithy_runtime_api::client::result::SdkError<
4546            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError,
4547            R,
4548        >,
4549    ) -> Self {
4550        match err {
4551            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4552            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4553                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4554                source: err.into(),
4555            }),
4556        }
4557    }
4558}
4559impl From<crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError> for Error {
4560    fn from(err: crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError) -> Self {
4561        match err {
4562            crate::operation::delete_egress_only_internet_gateway::DeleteEgressOnlyInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4563        }
4564    }
4565}
4566impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>> for Error
4567where
4568    R: Send + Sync + std::fmt::Debug + 'static,
4569{
4570    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fleets::DeleteFleetsError, R>) -> Self {
4571        match err {
4572            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4573            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4574                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4575                source: err.into(),
4576            }),
4577        }
4578    }
4579}
4580impl From<crate::operation::delete_fleets::DeleteFleetsError> for Error {
4581    fn from(err: crate::operation::delete_fleets::DeleteFleetsError) -> Self {
4582        match err {
4583            crate::operation::delete_fleets::DeleteFleetsError::Unhandled(inner) => Error::Unhandled(inner),
4584        }
4585    }
4586}
4587impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>> for Error
4588where
4589    R: Send + Sync + std::fmt::Debug + 'static,
4590{
4591    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_flow_logs::DeleteFlowLogsError, R>) -> Self {
4592        match err {
4593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4596                source: err.into(),
4597            }),
4598        }
4599    }
4600}
4601impl From<crate::operation::delete_flow_logs::DeleteFlowLogsError> for Error {
4602    fn from(err: crate::operation::delete_flow_logs::DeleteFlowLogsError) -> Self {
4603        match err {
4604            crate::operation::delete_flow_logs::DeleteFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
4605        }
4606    }
4607}
4608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>> for Error
4609where
4610    R: Send + Sync + std::fmt::Debug + 'static,
4611{
4612    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_fpga_image::DeleteFpgaImageError, R>) -> Self {
4613        match err {
4614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4617                source: err.into(),
4618            }),
4619        }
4620    }
4621}
4622impl From<crate::operation::delete_fpga_image::DeleteFpgaImageError> for Error {
4623    fn from(err: crate::operation::delete_fpga_image::DeleteFpgaImageError) -> Self {
4624        match err {
4625            crate::operation::delete_fpga_image::DeleteFpgaImageError::Unhandled(inner) => Error::Unhandled(inner),
4626        }
4627    }
4628}
4629impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>>
4630    for Error
4631where
4632    R: Send + Sync + std::fmt::Debug + 'static,
4633{
4634    fn from(
4635        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_image_usage_report::DeleteImageUsageReportError, R>,
4636    ) -> Self {
4637        match err {
4638            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4639            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4640                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4641                source: err.into(),
4642            }),
4643        }
4644    }
4645}
4646impl From<crate::operation::delete_image_usage_report::DeleteImageUsageReportError> for Error {
4647    fn from(err: crate::operation::delete_image_usage_report::DeleteImageUsageReportError) -> Self {
4648        match err {
4649            crate::operation::delete_image_usage_report::DeleteImageUsageReportError::Unhandled(inner) => Error::Unhandled(inner),
4650        }
4651    }
4652}
4653impl<R>
4654    From<
4655        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError, R>,
4656    > for Error
4657where
4658    R: Send + Sync + std::fmt::Debug + 'static,
4659{
4660    fn from(
4661        err: ::aws_smithy_runtime_api::client::result::SdkError<
4662            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError,
4663            R,
4664        >,
4665    ) -> Self {
4666        match err {
4667            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4668            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4669                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4670                source: err.into(),
4671            }),
4672        }
4673    }
4674}
4675impl From<crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError> for Error {
4676    fn from(err: crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError) -> Self {
4677        match err {
4678            crate::operation::delete_instance_connect_endpoint::DeleteInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4679        }
4680    }
4681}
4682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>>
4683    for Error
4684where
4685    R: Send + Sync + std::fmt::Debug + 'static,
4686{
4687    fn from(
4688        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError, R>,
4689    ) -> Self {
4690        match err {
4691            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4692            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4693                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4694                source: err.into(),
4695            }),
4696        }
4697    }
4698}
4699impl From<crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError> for Error {
4700    fn from(err: crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError) -> Self {
4701        match err {
4702            crate::operation::delete_instance_event_window::DeleteInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
4703        }
4704    }
4705}
4706impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>> for Error
4707where
4708    R: Send + Sync + std::fmt::Debug + 'static,
4709{
4710    fn from(
4711        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_internet_gateway::DeleteInternetGatewayError, R>,
4712    ) -> Self {
4713        match err {
4714            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4715            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4716                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4717                source: err.into(),
4718            }),
4719        }
4720    }
4721}
4722impl From<crate::operation::delete_internet_gateway::DeleteInternetGatewayError> for Error {
4723    fn from(err: crate::operation::delete_internet_gateway::DeleteInternetGatewayError) -> Self {
4724        match err {
4725            crate::operation::delete_internet_gateway::DeleteInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
4726        }
4727    }
4728}
4729impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>> for Error
4730where
4731    R: Send + Sync + std::fmt::Debug + 'static,
4732{
4733    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam::DeleteIpamError, R>) -> Self {
4734        match err {
4735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4738                source: err.into(),
4739            }),
4740        }
4741    }
4742}
4743impl From<crate::operation::delete_ipam::DeleteIpamError> for Error {
4744    fn from(err: crate::operation::delete_ipam::DeleteIpamError) -> Self {
4745        match err {
4746            crate::operation::delete_ipam::DeleteIpamError::Unhandled(inner) => Error::Unhandled(inner),
4747        }
4748    }
4749}
4750impl<R>
4751    From<
4752        ::aws_smithy_runtime_api::client::result::SdkError<
4753            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4754            R,
4755        >,
4756    > for Error
4757where
4758    R: Send + Sync + std::fmt::Debug + 'static,
4759{
4760    fn from(
4761        err: ::aws_smithy_runtime_api::client::result::SdkError<
4762            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError,
4763            R,
4764        >,
4765    ) -> Self {
4766        match err {
4767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4770                source: err.into(),
4771            }),
4772        }
4773    }
4774}
4775impl From<crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError> for Error {
4776    fn from(err: crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError) -> Self {
4777        match err {
4778            crate::operation::delete_ipam_external_resource_verification_token::DeleteIpamExternalResourceVerificationTokenError::Unhandled(
4779                inner,
4780            ) => Error::Unhandled(inner),
4781        }
4782    }
4783}
4784impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_policy::DeleteIpamPolicyError, R>> for Error
4785where
4786    R: Send + Sync + std::fmt::Debug + 'static,
4787{
4788    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_policy::DeleteIpamPolicyError, R>) -> Self {
4789        match err {
4790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4793                source: err.into(),
4794            }),
4795        }
4796    }
4797}
4798impl From<crate::operation::delete_ipam_policy::DeleteIpamPolicyError> for Error {
4799    fn from(err: crate::operation::delete_ipam_policy::DeleteIpamPolicyError) -> Self {
4800        match err {
4801            crate::operation::delete_ipam_policy::DeleteIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
4802        }
4803    }
4804}
4805impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>> for Error
4806where
4807    R: Send + Sync + std::fmt::Debug + 'static,
4808{
4809    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_pool::DeleteIpamPoolError, R>) -> Self {
4810        match err {
4811            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4812            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4813                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4814                source: err.into(),
4815            }),
4816        }
4817    }
4818}
4819impl From<crate::operation::delete_ipam_pool::DeleteIpamPoolError> for Error {
4820    fn from(err: crate::operation::delete_ipam_pool::DeleteIpamPoolError) -> Self {
4821        match err {
4822            crate::operation::delete_ipam_pool::DeleteIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
4823        }
4824    }
4825}
4826impl<R>
4827    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError, R>>
4828    for Error
4829where
4830    R: Send + Sync + std::fmt::Debug + 'static,
4831{
4832    fn from(
4833        err: ::aws_smithy_runtime_api::client::result::SdkError<
4834            crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError,
4835            R,
4836        >,
4837    ) -> Self {
4838        match err {
4839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4842                source: err.into(),
4843            }),
4844        }
4845    }
4846}
4847impl From<crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError> for Error {
4848    fn from(err: crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError) -> Self {
4849        match err {
4850            crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
4851        }
4852    }
4853}
4854impl<R>
4855    From<
4856        ::aws_smithy_runtime_api::client::result::SdkError<
4857            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError,
4858            R,
4859        >,
4860    > for Error
4861where
4862    R: Send + Sync + std::fmt::Debug + 'static,
4863{
4864    fn from(
4865        err: ::aws_smithy_runtime_api::client::result::SdkError<
4866            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError,
4867            R,
4868        >,
4869    ) -> Self {
4870        match err {
4871            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4872            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4873                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4874                source: err.into(),
4875            }),
4876        }
4877    }
4878}
4879impl From<crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError> for Error {
4880    fn from(err: crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError) -> Self {
4881        match err {
4882            crate::operation::delete_ipam_prefix_list_resolver_target::DeleteIpamPrefixListResolverTargetError::Unhandled(inner) => {
4883                Error::Unhandled(inner)
4884            }
4885        }
4886    }
4887}
4888impl<R>
4889    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError, R>>
4890    for Error
4891where
4892    R: Send + Sync + std::fmt::Debug + 'static,
4893{
4894    fn from(
4895        err: ::aws_smithy_runtime_api::client::result::SdkError<
4896            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError,
4897            R,
4898        >,
4899    ) -> Self {
4900        match err {
4901            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4902            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4903                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4904                source: err.into(),
4905            }),
4906        }
4907    }
4908}
4909impl From<crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError> for Error {
4910    fn from(err: crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError) -> Self {
4911        match err {
4912            crate::operation::delete_ipam_resource_discovery::DeleteIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
4913        }
4914    }
4915}
4916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>> for Error
4917where
4918    R: Send + Sync + std::fmt::Debug + 'static,
4919{
4920    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ipam_scope::DeleteIpamScopeError, R>) -> Self {
4921        match err {
4922            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4923            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4924                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4925                source: err.into(),
4926            }),
4927        }
4928    }
4929}
4930impl From<crate::operation::delete_ipam_scope::DeleteIpamScopeError> for Error {
4931    fn from(err: crate::operation::delete_ipam_scope::DeleteIpamScopeError) -> Self {
4932        match err {
4933            crate::operation::delete_ipam_scope::DeleteIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
4934        }
4935    }
4936}
4937impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>> for Error
4938where
4939    R: Send + Sync + std::fmt::Debug + 'static,
4940{
4941    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_key_pair::DeleteKeyPairError, R>) -> Self {
4942        match err {
4943            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4944            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4945                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4946                source: err.into(),
4947            }),
4948        }
4949    }
4950}
4951impl From<crate::operation::delete_key_pair::DeleteKeyPairError> for Error {
4952    fn from(err: crate::operation::delete_key_pair::DeleteKeyPairError) -> Self {
4953        match err {
4954            crate::operation::delete_key_pair::DeleteKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
4955        }
4956    }
4957}
4958impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>> for Error
4959where
4960    R: Send + Sync + std::fmt::Debug + 'static,
4961{
4962    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template::DeleteLaunchTemplateError, R>) -> Self {
4963        match err {
4964            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4965            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4966                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4967                source: err.into(),
4968            }),
4969        }
4970    }
4971}
4972impl From<crate::operation::delete_launch_template::DeleteLaunchTemplateError> for Error {
4973    fn from(err: crate::operation::delete_launch_template::DeleteLaunchTemplateError) -> Self {
4974        match err {
4975            crate::operation::delete_launch_template::DeleteLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
4976        }
4977    }
4978}
4979impl<R>
4980    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError, R>>
4981    for Error
4982where
4983    R: Send + Sync + std::fmt::Debug + 'static,
4984{
4985    fn from(
4986        err: ::aws_smithy_runtime_api::client::result::SdkError<
4987            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError,
4988            R,
4989        >,
4990    ) -> Self {
4991        match err {
4992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4995                source: err.into(),
4996            }),
4997        }
4998    }
4999}
5000impl From<crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError> for Error {
5001    fn from(err: crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError) -> Self {
5002        match err {
5003            crate::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
5004        }
5005    }
5006}
5007impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>>
5008    for Error
5009where
5010    R: Send + Sync + std::fmt::Debug + 'static,
5011{
5012    fn from(
5013        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError, R>,
5014    ) -> Self {
5015        match err {
5016            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5017            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5018                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5019                source: err.into(),
5020            }),
5021        }
5022    }
5023}
5024impl From<crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError> for Error {
5025    fn from(err: crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError) -> Self {
5026        match err {
5027            crate::operation::delete_local_gateway_route::DeleteLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
5028        }
5029    }
5030}
5031impl<R>
5032    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError, R>>
5033    for Error
5034where
5035    R: Send + Sync + std::fmt::Debug + 'static,
5036{
5037    fn from(
5038        err: ::aws_smithy_runtime_api::client::result::SdkError<
5039            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError,
5040            R,
5041        >,
5042    ) -> Self {
5043        match err {
5044            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5045            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5046                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5047                source: err.into(),
5048            }),
5049        }
5050    }
5051}
5052impl From<crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError> for Error {
5053    fn from(err: crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError) -> Self {
5054        match err {
5055            crate::operation::delete_local_gateway_route_table::DeleteLocalGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5056        }
5057    }
5058}
5059impl<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 {
5060    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError, R>) -> Self {
5061        match err {
5062            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5063            _ => Error::Unhandled(
5064                                        crate::error::sealed_unhandled::Unhandled {
5065                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5066                                            source: err.into(),
5067                                        }
5068                                    ),
5069        }
5070    }
5071}
5072impl From<crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError> for Error {
5073    fn from(err: crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError) -> Self {
5074        match err {
5075            crate::operation::delete_local_gateway_route_table_virtual_interface_group_association::DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError::Unhandled(inner) => Error::Unhandled(inner),
5076        }
5077    }
5078}
5079impl<R>
5080    From<
5081        ::aws_smithy_runtime_api::client::result::SdkError<
5082            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
5083            R,
5084        >,
5085    > for Error
5086where
5087    R: Send + Sync + std::fmt::Debug + 'static,
5088{
5089    fn from(
5090        err: ::aws_smithy_runtime_api::client::result::SdkError<
5091            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError,
5092            R,
5093        >,
5094    ) -> Self {
5095        match err {
5096            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5097            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5098                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5099                source: err.into(),
5100            }),
5101        }
5102    }
5103}
5104impl From<crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError> for Error {
5105    fn from(err: crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError) -> Self {
5106        match err {
5107            crate::operation::delete_local_gateway_route_table_vpc_association::DeleteLocalGatewayRouteTableVpcAssociationError::Unhandled(inner) => {
5108                Error::Unhandled(inner)
5109            }
5110        }
5111    }
5112}
5113impl<R>
5114    From<
5115        ::aws_smithy_runtime_api::client::result::SdkError<
5116            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
5117            R,
5118        >,
5119    > for Error
5120where
5121    R: Send + Sync + std::fmt::Debug + 'static,
5122{
5123    fn from(
5124        err: ::aws_smithy_runtime_api::client::result::SdkError<
5125            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError,
5126            R,
5127        >,
5128    ) -> Self {
5129        match err {
5130            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5131            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5132                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5133                source: err.into(),
5134            }),
5135        }
5136    }
5137}
5138impl From<crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError> for Error {
5139    fn from(err: crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError) -> Self {
5140        match err {
5141            crate::operation::delete_local_gateway_virtual_interface::DeleteLocalGatewayVirtualInterfaceError::Unhandled(inner) => {
5142                Error::Unhandled(inner)
5143            }
5144        }
5145    }
5146}
5147impl<R>
5148    From<
5149        ::aws_smithy_runtime_api::client::result::SdkError<
5150            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
5151            R,
5152        >,
5153    > for Error
5154where
5155    R: Send + Sync + std::fmt::Debug + 'static,
5156{
5157    fn from(
5158        err: ::aws_smithy_runtime_api::client::result::SdkError<
5159            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError,
5160            R,
5161        >,
5162    ) -> Self {
5163        match err {
5164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5167                source: err.into(),
5168            }),
5169        }
5170    }
5171}
5172impl From<crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError> for Error {
5173    fn from(err: crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError) -> Self {
5174        match err {
5175            crate::operation::delete_local_gateway_virtual_interface_group::DeleteLocalGatewayVirtualInterfaceGroupError::Unhandled(inner) => {
5176                Error::Unhandled(inner)
5177            }
5178        }
5179    }
5180}
5181impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>>
5182    for Error
5183where
5184    R: Send + Sync + std::fmt::Debug + 'static,
5185{
5186    fn from(
5187        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError, R>,
5188    ) -> Self {
5189        match err {
5190            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5191            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5192                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5193                source: err.into(),
5194            }),
5195        }
5196    }
5197}
5198impl From<crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError> for Error {
5199    fn from(err: crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError) -> Self {
5200        match err {
5201            crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
5202        }
5203    }
5204}
5205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>> for Error
5206where
5207    R: Send + Sync + std::fmt::Debug + 'static,
5208{
5209    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_nat_gateway::DeleteNatGatewayError, R>) -> Self {
5210        match err {
5211            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5212            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5213                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5214                source: err.into(),
5215            }),
5216        }
5217    }
5218}
5219impl From<crate::operation::delete_nat_gateway::DeleteNatGatewayError> for Error {
5220    fn from(err: crate::operation::delete_nat_gateway::DeleteNatGatewayError) -> Self {
5221        match err {
5222            crate::operation::delete_nat_gateway::DeleteNatGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5223        }
5224    }
5225}
5226impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>> for Error
5227where
5228    R: Send + Sync + std::fmt::Debug + 'static,
5229{
5230    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl::DeleteNetworkAclError, R>) -> Self {
5231        match err {
5232            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5233            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5234                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5235                source: err.into(),
5236            }),
5237        }
5238    }
5239}
5240impl From<crate::operation::delete_network_acl::DeleteNetworkAclError> for Error {
5241    fn from(err: crate::operation::delete_network_acl::DeleteNetworkAclError) -> Self {
5242        match err {
5243            crate::operation::delete_network_acl::DeleteNetworkAclError::Unhandled(inner) => Error::Unhandled(inner),
5244        }
5245    }
5246}
5247impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>> for Error
5248where
5249    R: Send + Sync + std::fmt::Debug + 'static,
5250{
5251    fn from(
5252        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError, R>,
5253    ) -> Self {
5254        match err {
5255            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5256            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5257                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5258                source: err.into(),
5259            }),
5260        }
5261    }
5262}
5263impl From<crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError> for Error {
5264    fn from(err: crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError) -> Self {
5265        match err {
5266            crate::operation::delete_network_acl_entry::DeleteNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
5267        }
5268    }
5269}
5270impl<R>
5271    From<
5272        ::aws_smithy_runtime_api::client::result::SdkError<
5273            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
5274            R,
5275        >,
5276    > for Error
5277where
5278    R: Send + Sync + std::fmt::Debug + 'static,
5279{
5280    fn from(
5281        err: ::aws_smithy_runtime_api::client::result::SdkError<
5282            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError,
5283            R,
5284        >,
5285    ) -> Self {
5286        match err {
5287            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5288            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5289                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5290                source: err.into(),
5291            }),
5292        }
5293    }
5294}
5295impl From<crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError> for Error {
5296    fn from(err: crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError) -> Self {
5297        match err {
5298            crate::operation::delete_network_insights_access_scope::DeleteNetworkInsightsAccessScopeError::Unhandled(inner) => {
5299                Error::Unhandled(inner)
5300            }
5301        }
5302    }
5303}
5304impl<R>
5305    From<
5306        ::aws_smithy_runtime_api::client::result::SdkError<
5307            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
5308            R,
5309        >,
5310    > for Error
5311where
5312    R: Send + Sync + std::fmt::Debug + 'static,
5313{
5314    fn from(
5315        err: ::aws_smithy_runtime_api::client::result::SdkError<
5316            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError,
5317            R,
5318        >,
5319    ) -> Self {
5320        match err {
5321            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5322            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5323                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5324                source: err.into(),
5325            }),
5326        }
5327    }
5328}
5329impl From<crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError> for Error {
5330    fn from(err: crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError) -> Self {
5331        match err {
5332            crate::operation::delete_network_insights_access_scope_analysis::DeleteNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
5333                Error::Unhandled(inner)
5334            }
5335        }
5336    }
5337}
5338impl<R>
5339    From<
5340        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError, R>,
5341    > for Error
5342where
5343    R: Send + Sync + std::fmt::Debug + 'static,
5344{
5345    fn from(
5346        err: ::aws_smithy_runtime_api::client::result::SdkError<
5347            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError,
5348            R,
5349        >,
5350    ) -> Self {
5351        match err {
5352            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5353            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5354                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5355                source: err.into(),
5356            }),
5357        }
5358    }
5359}
5360impl From<crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError> for Error {
5361    fn from(err: crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError) -> Self {
5362        match err {
5363            crate::operation::delete_network_insights_analysis::DeleteNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
5364        }
5365    }
5366}
5367impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>>
5368    for Error
5369where
5370    R: Send + Sync + std::fmt::Debug + 'static,
5371{
5372    fn from(
5373        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError, R>,
5374    ) -> Self {
5375        match err {
5376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5379                source: err.into(),
5380            }),
5381        }
5382    }
5383}
5384impl From<crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError> for Error {
5385    fn from(err: crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError) -> Self {
5386        match err {
5387            crate::operation::delete_network_insights_path::DeleteNetworkInsightsPathError::Unhandled(inner) => Error::Unhandled(inner),
5388        }
5389    }
5390}
5391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>> for Error
5392where
5393    R: Send + Sync + std::fmt::Debug + 'static,
5394{
5395    fn from(
5396        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_network_interface::DeleteNetworkInterfaceError, R>,
5397    ) -> Self {
5398        match err {
5399            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5400            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5401                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5402                source: err.into(),
5403            }),
5404        }
5405    }
5406}
5407impl From<crate::operation::delete_network_interface::DeleteNetworkInterfaceError> for Error {
5408    fn from(err: crate::operation::delete_network_interface::DeleteNetworkInterfaceError) -> Self {
5409        match err {
5410            crate::operation::delete_network_interface::DeleteNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
5411        }
5412    }
5413}
5414impl<R>
5415    From<
5416        ::aws_smithy_runtime_api::client::result::SdkError<
5417            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
5418            R,
5419        >,
5420    > for Error
5421where
5422    R: Send + Sync + std::fmt::Debug + 'static,
5423{
5424    fn from(
5425        err: ::aws_smithy_runtime_api::client::result::SdkError<
5426            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError,
5427            R,
5428        >,
5429    ) -> Self {
5430        match err {
5431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5434                source: err.into(),
5435            }),
5436        }
5437    }
5438}
5439impl From<crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError> for Error {
5440    fn from(err: crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError) -> Self {
5441        match err {
5442            crate::operation::delete_network_interface_permission::DeleteNetworkInterfacePermissionError::Unhandled(inner) => Error::Unhandled(inner),
5443        }
5444    }
5445}
5446impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>> for Error
5447where
5448    R: Send + Sync + std::fmt::Debug + 'static,
5449{
5450    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_placement_group::DeletePlacementGroupError, R>) -> Self {
5451        match err {
5452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5455                source: err.into(),
5456            }),
5457        }
5458    }
5459}
5460impl From<crate::operation::delete_placement_group::DeletePlacementGroupError> for Error {
5461    fn from(err: crate::operation::delete_placement_group::DeletePlacementGroupError) -> Self {
5462        match err {
5463            crate::operation::delete_placement_group::DeletePlacementGroupError::Unhandled(inner) => Error::Unhandled(inner),
5464        }
5465    }
5466}
5467impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>> for Error
5468where
5469    R: Send + Sync + std::fmt::Debug + 'static,
5470{
5471    fn from(
5472        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError, R>,
5473    ) -> Self {
5474        match err {
5475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5478                source: err.into(),
5479            }),
5480        }
5481    }
5482}
5483impl From<crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError> for Error {
5484    fn from(err: crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError) -> Self {
5485        match err {
5486            crate::operation::delete_public_ipv4_pool::DeletePublicIpv4PoolError::Unhandled(inner) => Error::Unhandled(inner),
5487        }
5488    }
5489}
5490impl<R>
5491    From<
5492        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError, R>,
5493    > for Error
5494where
5495    R: Send + Sync + std::fmt::Debug + 'static,
5496{
5497    fn from(
5498        err: ::aws_smithy_runtime_api::client::result::SdkError<
5499            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError,
5500            R,
5501        >,
5502    ) -> Self {
5503        match err {
5504            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5505            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5506                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5507                source: err.into(),
5508            }),
5509        }
5510    }
5511}
5512impl From<crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError> for Error {
5513    fn from(err: crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError) -> Self {
5514        match err {
5515            crate::operation::delete_queued_reserved_instances::DeleteQueuedReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
5516        }
5517    }
5518}
5519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>> for Error
5520where
5521    R: Send + Sync + std::fmt::Debug + 'static,
5522{
5523    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route::DeleteRouteError, R>) -> Self {
5524        match err {
5525            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5526            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5527                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5528                source: err.into(),
5529            }),
5530        }
5531    }
5532}
5533impl From<crate::operation::delete_route::DeleteRouteError> for Error {
5534    fn from(err: crate::operation::delete_route::DeleteRouteError) -> Self {
5535        match err {
5536            crate::operation::delete_route::DeleteRouteError::Unhandled(inner) => Error::Unhandled(inner),
5537        }
5538    }
5539}
5540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>> for Error
5541where
5542    R: Send + Sync + std::fmt::Debug + 'static,
5543{
5544    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server::DeleteRouteServerError, R>) -> Self {
5545        match err {
5546            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5547            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5548                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5549                source: err.into(),
5550            }),
5551        }
5552    }
5553}
5554impl From<crate::operation::delete_route_server::DeleteRouteServerError> for Error {
5555    fn from(err: crate::operation::delete_route_server::DeleteRouteServerError) -> Self {
5556        match err {
5557            crate::operation::delete_route_server::DeleteRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
5558        }
5559    }
5560}
5561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>>
5562    for Error
5563where
5564    R: Send + Sync + std::fmt::Debug + 'static,
5565{
5566    fn from(
5567        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError, R>,
5568    ) -> Self {
5569        match err {
5570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5573                source: err.into(),
5574            }),
5575        }
5576    }
5577}
5578impl From<crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError> for Error {
5579    fn from(err: crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError) -> Self {
5580        match err {
5581            crate::operation::delete_route_server_endpoint::DeleteRouteServerEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5582        }
5583    }
5584}
5585impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>> for Error
5586where
5587    R: Send + Sync + std::fmt::Debug + 'static,
5588{
5589    fn from(
5590        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError, R>,
5591    ) -> Self {
5592        match err {
5593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5596                source: err.into(),
5597            }),
5598        }
5599    }
5600}
5601impl From<crate::operation::delete_route_server_peer::DeleteRouteServerPeerError> for Error {
5602    fn from(err: crate::operation::delete_route_server_peer::DeleteRouteServerPeerError) -> Self {
5603        match err {
5604            crate::operation::delete_route_server_peer::DeleteRouteServerPeerError::Unhandled(inner) => Error::Unhandled(inner),
5605        }
5606    }
5607}
5608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>> for Error
5609where
5610    R: Send + Sync + std::fmt::Debug + 'static,
5611{
5612    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_route_table::DeleteRouteTableError, R>) -> Self {
5613        match err {
5614            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5615            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5616                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5617                source: err.into(),
5618            }),
5619        }
5620    }
5621}
5622impl From<crate::operation::delete_route_table::DeleteRouteTableError> for Error {
5623    fn from(err: crate::operation::delete_route_table::DeleteRouteTableError) -> Self {
5624        match err {
5625            crate::operation::delete_route_table::DeleteRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
5626        }
5627    }
5628}
5629impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_secondary_network::DeleteSecondaryNetworkError, R>> for Error
5630where
5631    R: Send + Sync + std::fmt::Debug + 'static,
5632{
5633    fn from(
5634        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_secondary_network::DeleteSecondaryNetworkError, R>,
5635    ) -> Self {
5636        match err {
5637            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5638            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5639                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5640                source: err.into(),
5641            }),
5642        }
5643    }
5644}
5645impl From<crate::operation::delete_secondary_network::DeleteSecondaryNetworkError> for Error {
5646    fn from(err: crate::operation::delete_secondary_network::DeleteSecondaryNetworkError) -> Self {
5647        match err {
5648            crate::operation::delete_secondary_network::DeleteSecondaryNetworkError::Unhandled(inner) => Error::Unhandled(inner),
5649        }
5650    }
5651}
5652impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_secondary_subnet::DeleteSecondarySubnetError, R>> for Error
5653where
5654    R: Send + Sync + std::fmt::Debug + 'static,
5655{
5656    fn from(
5657        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_secondary_subnet::DeleteSecondarySubnetError, R>,
5658    ) -> Self {
5659        match err {
5660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5663                source: err.into(),
5664            }),
5665        }
5666    }
5667}
5668impl From<crate::operation::delete_secondary_subnet::DeleteSecondarySubnetError> for Error {
5669    fn from(err: crate::operation::delete_secondary_subnet::DeleteSecondarySubnetError) -> Self {
5670        match err {
5671            crate::operation::delete_secondary_subnet::DeleteSecondarySubnetError::Unhandled(inner) => Error::Unhandled(inner),
5672        }
5673    }
5674}
5675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>> for Error
5676where
5677    R: Send + Sync + std::fmt::Debug + 'static,
5678{
5679    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_group::DeleteSecurityGroupError, R>) -> Self {
5680        match err {
5681            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5682            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5683                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5684                source: err.into(),
5685            }),
5686        }
5687    }
5688}
5689impl From<crate::operation::delete_security_group::DeleteSecurityGroupError> for Error {
5690    fn from(err: crate::operation::delete_security_group::DeleteSecurityGroupError) -> Self {
5691        match err {
5692            crate::operation::delete_security_group::DeleteSecurityGroupError::Unhandled(inner) => Error::Unhandled(inner),
5693        }
5694    }
5695}
5696impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>> for Error
5697where
5698    R: Send + Sync + std::fmt::Debug + 'static,
5699{
5700    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_snapshot::DeleteSnapshotError, R>) -> Self {
5701        match err {
5702            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5703            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5704                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5705                source: err.into(),
5706            }),
5707        }
5708    }
5709}
5710impl From<crate::operation::delete_snapshot::DeleteSnapshotError> for Error {
5711    fn from(err: crate::operation::delete_snapshot::DeleteSnapshotError) -> Self {
5712        match err {
5713            crate::operation::delete_snapshot::DeleteSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
5714        }
5715    }
5716}
5717impl<R>
5718    From<
5719        ::aws_smithy_runtime_api::client::result::SdkError<
5720            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5721            R,
5722        >,
5723    > for Error
5724where
5725    R: Send + Sync + std::fmt::Debug + 'static,
5726{
5727    fn from(
5728        err: ::aws_smithy_runtime_api::client::result::SdkError<
5729            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError,
5730            R,
5731        >,
5732    ) -> Self {
5733        match err {
5734            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5735            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5736                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5737                source: err.into(),
5738            }),
5739        }
5740    }
5741}
5742impl From<crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError> for Error {
5743    fn from(err: crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError) -> Self {
5744        match err {
5745            crate::operation::delete_spot_datafeed_subscription::DeleteSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
5746        }
5747    }
5748}
5749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>> for Error
5750where
5751    R: Send + Sync + std::fmt::Debug + 'static,
5752{
5753    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet::DeleteSubnetError, R>) -> Self {
5754        match err {
5755            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5756            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5757                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5758                source: err.into(),
5759            }),
5760        }
5761    }
5762}
5763impl From<crate::operation::delete_subnet::DeleteSubnetError> for Error {
5764    fn from(err: crate::operation::delete_subnet::DeleteSubnetError) -> Self {
5765        match err {
5766            crate::operation::delete_subnet::DeleteSubnetError::Unhandled(inner) => Error::Unhandled(inner),
5767        }
5768    }
5769}
5770impl<R>
5771    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError, 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_subnet_cidr_reservation::DeleteSubnetCidrReservationError,
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_subnet_cidr_reservation::DeleteSubnetCidrReservationError> for Error {
5792    fn from(err: crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError) -> Self {
5793        match err {
5794            crate::operation::delete_subnet_cidr_reservation::DeleteSubnetCidrReservationError::Unhandled(inner) => Error::Unhandled(inner),
5795        }
5796    }
5797}
5798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>> for Error
5799where
5800    R: Send + Sync + std::fmt::Debug + 'static,
5801{
5802    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_tags::DeleteTagsError, R>) -> Self {
5803        match err {
5804            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5805            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5806                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5807                source: err.into(),
5808            }),
5809        }
5810    }
5811}
5812impl From<crate::operation::delete_tags::DeleteTagsError> for Error {
5813    fn from(err: crate::operation::delete_tags::DeleteTagsError) -> Self {
5814        match err {
5815            crate::operation::delete_tags::DeleteTagsError::Unhandled(inner) => Error::Unhandled(inner),
5816        }
5817    }
5818}
5819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>>
5820    for Error
5821where
5822    R: Send + Sync + std::fmt::Debug + 'static,
5823{
5824    fn from(
5825        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError, R>,
5826    ) -> Self {
5827        match err {
5828            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5829            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5830                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5831                source: err.into(),
5832            }),
5833        }
5834    }
5835}
5836impl From<crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError> for Error {
5837    fn from(err: crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError) -> Self {
5838        match err {
5839            crate::operation::delete_traffic_mirror_filter::DeleteTrafficMirrorFilterError::Unhandled(inner) => Error::Unhandled(inner),
5840        }
5841    }
5842}
5843impl<R>
5844    From<
5845        ::aws_smithy_runtime_api::client::result::SdkError<
5846            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5847            R,
5848        >,
5849    > for Error
5850where
5851    R: Send + Sync + std::fmt::Debug + 'static,
5852{
5853    fn from(
5854        err: ::aws_smithy_runtime_api::client::result::SdkError<
5855            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError,
5856            R,
5857        >,
5858    ) -> Self {
5859        match err {
5860            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5861            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5862                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5863                source: err.into(),
5864            }),
5865        }
5866    }
5867}
5868impl From<crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError> for Error {
5869    fn from(err: crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError) -> Self {
5870        match err {
5871            crate::operation::delete_traffic_mirror_filter_rule::DeleteTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
5872        }
5873    }
5874}
5875impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>>
5876    for Error
5877where
5878    R: Send + Sync + std::fmt::Debug + 'static,
5879{
5880    fn from(
5881        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError, R>,
5882    ) -> Self {
5883        match err {
5884            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5885            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5886                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5887                source: err.into(),
5888            }),
5889        }
5890    }
5891}
5892impl From<crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError> for Error {
5893    fn from(err: crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError) -> Self {
5894        match err {
5895            crate::operation::delete_traffic_mirror_session::DeleteTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
5896        }
5897    }
5898}
5899impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>>
5900    for Error
5901where
5902    R: Send + Sync + std::fmt::Debug + 'static,
5903{
5904    fn from(
5905        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError, R>,
5906    ) -> Self {
5907        match err {
5908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5911                source: err.into(),
5912            }),
5913        }
5914    }
5915}
5916impl From<crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError> for Error {
5917    fn from(err: crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError) -> Self {
5918        match err {
5919            crate::operation::delete_traffic_mirror_target::DeleteTrafficMirrorTargetError::Unhandled(inner) => Error::Unhandled(inner),
5920        }
5921    }
5922}
5923impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>> for Error
5924where
5925    R: Send + Sync + std::fmt::Debug + 'static,
5926{
5927    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway::DeleteTransitGatewayError, R>) -> Self {
5928        match err {
5929            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5930            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5931                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5932                source: err.into(),
5933            }),
5934        }
5935    }
5936}
5937impl From<crate::operation::delete_transit_gateway::DeleteTransitGatewayError> for Error {
5938    fn from(err: crate::operation::delete_transit_gateway::DeleteTransitGatewayError) -> Self {
5939        match err {
5940            crate::operation::delete_transit_gateway::DeleteTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
5941        }
5942    }
5943}
5944impl<R>
5945    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError, R>>
5946    for Error
5947where
5948    R: Send + Sync + std::fmt::Debug + 'static,
5949{
5950    fn from(
5951        err: ::aws_smithy_runtime_api::client::result::SdkError<
5952            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError,
5953            R,
5954        >,
5955    ) -> Self {
5956        match err {
5957            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5958            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5959                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5960                source: err.into(),
5961            }),
5962        }
5963    }
5964}
5965impl From<crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError> for Error {
5966    fn from(err: crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError) -> Self {
5967        match err {
5968            crate::operation::delete_transit_gateway_connect::DeleteTransitGatewayConnectError::Unhandled(inner) => Error::Unhandled(inner),
5969        }
5970    }
5971}
5972impl<R>
5973    From<
5974        ::aws_smithy_runtime_api::client::result::SdkError<
5975            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5976            R,
5977        >,
5978    > for Error
5979where
5980    R: Send + Sync + std::fmt::Debug + 'static,
5981{
5982    fn from(
5983        err: ::aws_smithy_runtime_api::client::result::SdkError<
5984            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError,
5985            R,
5986        >,
5987    ) -> Self {
5988        match err {
5989            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5990            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5991                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5992                source: err.into(),
5993            }),
5994        }
5995    }
5996}
5997impl From<crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError> for Error {
5998    fn from(err: crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError) -> Self {
5999        match err {
6000            crate::operation::delete_transit_gateway_connect_peer::DeleteTransitGatewayConnectPeerError::Unhandled(inner) => Error::Unhandled(inner),
6001        }
6002    }
6003}
6004impl<R>
6005    From<
6006        ::aws_smithy_runtime_api::client::result::SdkError<
6007            crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError,
6008            R,
6009        >,
6010    > for Error
6011where
6012    R: Send + Sync + std::fmt::Debug + 'static,
6013{
6014    fn from(
6015        err: ::aws_smithy_runtime_api::client::result::SdkError<
6016            crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError,
6017            R,
6018        >,
6019    ) -> Self {
6020        match err {
6021            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6022            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6023                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6024                source: err.into(),
6025            }),
6026        }
6027    }
6028}
6029impl From<crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError> for Error {
6030    fn from(err: crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError) -> Self {
6031        match err {
6032            crate::operation::delete_transit_gateway_metering_policy::DeleteTransitGatewayMeteringPolicyError::Unhandled(inner) => {
6033                Error::Unhandled(inner)
6034            }
6035        }
6036    }
6037}
6038impl<R>
6039    From<
6040        ::aws_smithy_runtime_api::client::result::SdkError<
6041            crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError,
6042            R,
6043        >,
6044    > for Error
6045where
6046    R: Send + Sync + std::fmt::Debug + 'static,
6047{
6048    fn from(
6049        err: ::aws_smithy_runtime_api::client::result::SdkError<
6050            crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError,
6051            R,
6052        >,
6053    ) -> Self {
6054        match err {
6055            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6056            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6057                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6058                source: err.into(),
6059            }),
6060        }
6061    }
6062}
6063impl From<crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError> for Error {
6064    fn from(err: crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError) -> Self {
6065        match err {
6066            crate::operation::delete_transit_gateway_metering_policy_entry::DeleteTransitGatewayMeteringPolicyEntryError::Unhandled(inner) => {
6067                Error::Unhandled(inner)
6068            }
6069        }
6070    }
6071}
6072impl<R>
6073    From<
6074        ::aws_smithy_runtime_api::client::result::SdkError<
6075            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
6076            R,
6077        >,
6078    > for Error
6079where
6080    R: Send + Sync + std::fmt::Debug + 'static,
6081{
6082    fn from(
6083        err: ::aws_smithy_runtime_api::client::result::SdkError<
6084            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError,
6085            R,
6086        >,
6087    ) -> Self {
6088        match err {
6089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6092                source: err.into(),
6093            }),
6094        }
6095    }
6096}
6097impl From<crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError> for Error {
6098    fn from(err: crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError) -> Self {
6099        match err {
6100            crate::operation::delete_transit_gateway_multicast_domain::DeleteTransitGatewayMulticastDomainError::Unhandled(inner) => {
6101                Error::Unhandled(inner)
6102            }
6103        }
6104    }
6105}
6106impl<R>
6107    From<
6108        ::aws_smithy_runtime_api::client::result::SdkError<
6109            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
6110            R,
6111        >,
6112    > for Error
6113where
6114    R: Send + Sync + std::fmt::Debug + 'static,
6115{
6116    fn from(
6117        err: ::aws_smithy_runtime_api::client::result::SdkError<
6118            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError,
6119            R,
6120        >,
6121    ) -> Self {
6122        match err {
6123            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6124            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6125                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6126                source: err.into(),
6127            }),
6128        }
6129    }
6130}
6131impl From<crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError> for Error {
6132    fn from(err: crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError) -> Self {
6133        match err {
6134            crate::operation::delete_transit_gateway_peering_attachment::DeleteTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
6135                Error::Unhandled(inner)
6136            }
6137        }
6138    }
6139}
6140impl<R>
6141    From<
6142        ::aws_smithy_runtime_api::client::result::SdkError<
6143            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
6144            R,
6145        >,
6146    > for Error
6147where
6148    R: Send + Sync + std::fmt::Debug + 'static,
6149{
6150    fn from(
6151        err: ::aws_smithy_runtime_api::client::result::SdkError<
6152            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError,
6153            R,
6154        >,
6155    ) -> Self {
6156        match err {
6157            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6158            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6159                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6160                source: err.into(),
6161            }),
6162        }
6163    }
6164}
6165impl From<crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError> for Error {
6166    fn from(err: crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError) -> Self {
6167        match err {
6168            crate::operation::delete_transit_gateway_policy_table::DeleteTransitGatewayPolicyTableError::Unhandled(inner) => Error::Unhandled(inner),
6169        }
6170    }
6171}
6172impl<R>
6173    From<
6174        ::aws_smithy_runtime_api::client::result::SdkError<
6175            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
6176            R,
6177        >,
6178    > for Error
6179where
6180    R: Send + Sync + std::fmt::Debug + 'static,
6181{
6182    fn from(
6183        err: ::aws_smithy_runtime_api::client::result::SdkError<
6184            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError,
6185            R,
6186        >,
6187    ) -> Self {
6188        match err {
6189            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6190            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6191                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6192                source: err.into(),
6193            }),
6194        }
6195    }
6196}
6197impl From<crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError> for Error {
6198    fn from(err: crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError) -> Self {
6199        match err {
6200            crate::operation::delete_transit_gateway_prefix_list_reference::DeleteTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
6201                Error::Unhandled(inner)
6202            }
6203        }
6204    }
6205}
6206impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>>
6207    for Error
6208where
6209    R: Send + Sync + std::fmt::Debug + 'static,
6210{
6211    fn from(
6212        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError, R>,
6213    ) -> Self {
6214        match err {
6215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6218                source: err.into(),
6219            }),
6220        }
6221    }
6222}
6223impl From<crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError> for Error {
6224    fn from(err: crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError) -> Self {
6225        match err {
6226            crate::operation::delete_transit_gateway_route::DeleteTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
6227        }
6228    }
6229}
6230impl<R>
6231    From<
6232        ::aws_smithy_runtime_api::client::result::SdkError<
6233            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
6234            R,
6235        >,
6236    > for Error
6237where
6238    R: Send + Sync + std::fmt::Debug + 'static,
6239{
6240    fn from(
6241        err: ::aws_smithy_runtime_api::client::result::SdkError<
6242            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError,
6243            R,
6244        >,
6245    ) -> Self {
6246        match err {
6247            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6248            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6249                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6250                source: err.into(),
6251            }),
6252        }
6253    }
6254}
6255impl From<crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError> for Error {
6256    fn from(err: crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError) -> Self {
6257        match err {
6258            crate::operation::delete_transit_gateway_route_table::DeleteTransitGatewayRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
6259        }
6260    }
6261}
6262impl<R>
6263    From<
6264        ::aws_smithy_runtime_api::client::result::SdkError<
6265            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
6266            R,
6267        >,
6268    > for Error
6269where
6270    R: Send + Sync + std::fmt::Debug + 'static,
6271{
6272    fn from(
6273        err: ::aws_smithy_runtime_api::client::result::SdkError<
6274            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError,
6275            R,
6276        >,
6277    ) -> Self {
6278        match err {
6279            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6280            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6281                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6282                source: err.into(),
6283            }),
6284        }
6285    }
6286}
6287impl From<crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError> for Error {
6288    fn from(err: crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError) -> Self {
6289        match err {
6290            crate::operation::delete_transit_gateway_route_table_announcement::DeleteTransitGatewayRouteTableAnnouncementError::Unhandled(inner) => {
6291                Error::Unhandled(inner)
6292            }
6293        }
6294    }
6295}
6296impl<R>
6297    From<
6298        ::aws_smithy_runtime_api::client::result::SdkError<
6299            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
6300            R,
6301        >,
6302    > for Error
6303where
6304    R: Send + Sync + std::fmt::Debug + 'static,
6305{
6306    fn from(
6307        err: ::aws_smithy_runtime_api::client::result::SdkError<
6308            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError,
6309            R,
6310        >,
6311    ) -> Self {
6312        match err {
6313            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6314            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6315                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6316                source: err.into(),
6317            }),
6318        }
6319    }
6320}
6321impl From<crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError> for Error {
6322    fn from(err: crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError) -> Self {
6323        match err {
6324            crate::operation::delete_transit_gateway_vpc_attachment::DeleteTransitGatewayVpcAttachmentError::Unhandled(inner) => {
6325                Error::Unhandled(inner)
6326            }
6327        }
6328    }
6329}
6330impl<R>
6331    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError, R>>
6332    for Error
6333where
6334    R: Send + Sync + std::fmt::Debug + 'static,
6335{
6336    fn from(
6337        err: ::aws_smithy_runtime_api::client::result::SdkError<
6338            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError,
6339            R,
6340        >,
6341    ) -> Self {
6342        match err {
6343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6346                source: err.into(),
6347            }),
6348        }
6349    }
6350}
6351impl From<crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError> for Error {
6352    fn from(err: crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError) -> Self {
6353        match err {
6354            crate::operation::delete_verified_access_endpoint::DeleteVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
6355        }
6356    }
6357}
6358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>>
6359    for Error
6360where
6361    R: Send + Sync + std::fmt::Debug + 'static,
6362{
6363    fn from(
6364        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError, R>,
6365    ) -> Self {
6366        match err {
6367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6370                source: err.into(),
6371            }),
6372        }
6373    }
6374}
6375impl From<crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError> for Error {
6376    fn from(err: crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError) -> Self {
6377        match err {
6378            crate::operation::delete_verified_access_group::DeleteVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
6379        }
6380    }
6381}
6382impl<R>
6383    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError, R>>
6384    for Error
6385where
6386    R: Send + Sync + std::fmt::Debug + 'static,
6387{
6388    fn from(
6389        err: ::aws_smithy_runtime_api::client::result::SdkError<
6390            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError,
6391            R,
6392        >,
6393    ) -> Self {
6394        match err {
6395            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6396            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6397                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6398                source: err.into(),
6399            }),
6400        }
6401    }
6402}
6403impl From<crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError> for Error {
6404    fn from(err: crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError) -> Self {
6405        match err {
6406            crate::operation::delete_verified_access_instance::DeleteVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
6407        }
6408    }
6409}
6410impl<R>
6411    From<
6412        ::aws_smithy_runtime_api::client::result::SdkError<
6413            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
6414            R,
6415        >,
6416    > for Error
6417where
6418    R: Send + Sync + std::fmt::Debug + 'static,
6419{
6420    fn from(
6421        err: ::aws_smithy_runtime_api::client::result::SdkError<
6422            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError,
6423            R,
6424        >,
6425    ) -> Self {
6426        match err {
6427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6430                source: err.into(),
6431            }),
6432        }
6433    }
6434}
6435impl From<crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError> for Error {
6436    fn from(err: crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError) -> Self {
6437        match err {
6438            crate::operation::delete_verified_access_trust_provider::DeleteVerifiedAccessTrustProviderError::Unhandled(inner) => {
6439                Error::Unhandled(inner)
6440            }
6441        }
6442    }
6443}
6444impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>> for Error
6445where
6446    R: Send + Sync + std::fmt::Debug + 'static,
6447{
6448    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_volume::DeleteVolumeError, R>) -> Self {
6449        match err {
6450            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6451            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6452                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6453                source: err.into(),
6454            }),
6455        }
6456    }
6457}
6458impl From<crate::operation::delete_volume::DeleteVolumeError> for Error {
6459    fn from(err: crate::operation::delete_volume::DeleteVolumeError) -> Self {
6460        match err {
6461            crate::operation::delete_volume::DeleteVolumeError::Unhandled(inner) => Error::Unhandled(inner),
6462        }
6463    }
6464}
6465impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>> for Error
6466where
6467    R: Send + Sync + std::fmt::Debug + 'static,
6468{
6469    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc::DeleteVpcError, R>) -> Self {
6470        match err {
6471            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6472            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6473                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6474                source: err.into(),
6475            }),
6476        }
6477    }
6478}
6479impl From<crate::operation::delete_vpc::DeleteVpcError> for Error {
6480    fn from(err: crate::operation::delete_vpc::DeleteVpcError) -> Self {
6481        match err {
6482            crate::operation::delete_vpc::DeleteVpcError::Unhandled(inner) => Error::Unhandled(inner),
6483        }
6484    }
6485}
6486impl<R>
6487    From<
6488        ::aws_smithy_runtime_api::client::result::SdkError<
6489            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
6490            R,
6491        >,
6492    > for Error
6493where
6494    R: Send + Sync + std::fmt::Debug + 'static,
6495{
6496    fn from(
6497        err: ::aws_smithy_runtime_api::client::result::SdkError<
6498            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError,
6499            R,
6500        >,
6501    ) -> Self {
6502        match err {
6503            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6504            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6505                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6506                source: err.into(),
6507            }),
6508        }
6509    }
6510}
6511impl From<crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError> for Error {
6512    fn from(err: crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError) -> Self {
6513        match err {
6514            crate::operation::delete_vpc_block_public_access_exclusion::DeleteVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
6515                Error::Unhandled(inner)
6516            }
6517        }
6518    }
6519}
6520impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError, R>>
6521    for Error
6522where
6523    R: Send + Sync + std::fmt::Debug + 'static,
6524{
6525    fn from(
6526        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError, R>,
6527    ) -> Self {
6528        match err {
6529            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6530            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6531                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6532                source: err.into(),
6533            }),
6534        }
6535    }
6536}
6537impl From<crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError> for Error {
6538    fn from(err: crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError) -> Self {
6539        match err {
6540            crate::operation::delete_vpc_encryption_control::DeleteVpcEncryptionControlError::Unhandled(inner) => Error::Unhandled(inner),
6541        }
6542    }
6543}
6544impl<R>
6545    From<
6546        ::aws_smithy_runtime_api::client::result::SdkError<
6547            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6548            R,
6549        >,
6550    > for Error
6551where
6552    R: Send + Sync + std::fmt::Debug + 'static,
6553{
6554    fn from(
6555        err: ::aws_smithy_runtime_api::client::result::SdkError<
6556            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError,
6557            R,
6558        >,
6559    ) -> Self {
6560        match err {
6561            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6562            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6563                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6564                source: err.into(),
6565            }),
6566        }
6567    }
6568}
6569impl From<crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError> for Error {
6570    fn from(err: crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError) -> Self {
6571        match err {
6572            crate::operation::delete_vpc_endpoint_connection_notifications::DeleteVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
6573                Error::Unhandled(inner)
6574            }
6575        }
6576    }
6577}
6578impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>> for Error
6579where
6580    R: Send + Sync + std::fmt::Debug + 'static,
6581{
6582    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError, R>) -> Self {
6583        match err {
6584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6587                source: err.into(),
6588            }),
6589        }
6590    }
6591}
6592impl From<crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError> for Error {
6593    fn from(err: crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError) -> Self {
6594        match err {
6595            crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6596        }
6597    }
6598}
6599impl<R>
6600    From<
6601        ::aws_smithy_runtime_api::client::result::SdkError<
6602            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6603            R,
6604        >,
6605    > for Error
6606where
6607    R: Send + Sync + std::fmt::Debug + 'static,
6608{
6609    fn from(
6610        err: ::aws_smithy_runtime_api::client::result::SdkError<
6611            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError,
6612            R,
6613        >,
6614    ) -> Self {
6615        match err {
6616            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6617            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6618                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6619                source: err.into(),
6620            }),
6621        }
6622    }
6623}
6624impl From<crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError> for Error {
6625    fn from(err: crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError) -> Self {
6626        match err {
6627            crate::operation::delete_vpc_endpoint_service_configurations::DeleteVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
6628                Error::Unhandled(inner)
6629            }
6630        }
6631    }
6632}
6633impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>>
6634    for Error
6635where
6636    R: Send + Sync + std::fmt::Debug + 'static,
6637{
6638    fn from(
6639        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError, R>,
6640    ) -> Self {
6641        match err {
6642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6645                source: err.into(),
6646            }),
6647        }
6648    }
6649}
6650impl From<crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError> for Error {
6651    fn from(err: crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError) -> Self {
6652        match err {
6653            crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6654        }
6655    }
6656}
6657impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError, R>> for Error
6658where
6659    R: Send + Sync + std::fmt::Debug + 'static,
6660{
6661    fn from(
6662        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError, R>,
6663    ) -> Self {
6664        match err {
6665            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6666            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6667                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6668                source: err.into(),
6669            }),
6670        }
6671    }
6672}
6673impl From<crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError> for Error {
6674    fn from(err: crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError) -> Self {
6675        match err {
6676            crate::operation::delete_vpn_concentrator::DeleteVpnConcentratorError::Unhandled(inner) => Error::Unhandled(inner),
6677        }
6678    }
6679}
6680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>> for Error
6681where
6682    R: Send + Sync + std::fmt::Debug + 'static,
6683{
6684    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection::DeleteVpnConnectionError, R>) -> Self {
6685        match err {
6686            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6687            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6688                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6689                source: err.into(),
6690            }),
6691        }
6692    }
6693}
6694impl From<crate::operation::delete_vpn_connection::DeleteVpnConnectionError> for Error {
6695    fn from(err: crate::operation::delete_vpn_connection::DeleteVpnConnectionError) -> Self {
6696        match err {
6697            crate::operation::delete_vpn_connection::DeleteVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
6698        }
6699    }
6700}
6701impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>>
6702    for Error
6703where
6704    R: Send + Sync + std::fmt::Debug + 'static,
6705{
6706    fn from(
6707        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError, R>,
6708    ) -> Self {
6709        match err {
6710            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6711            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6712                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6713                source: err.into(),
6714            }),
6715        }
6716    }
6717}
6718impl From<crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError> for Error {
6719    fn from(err: crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError) -> Self {
6720        match err {
6721            crate::operation::delete_vpn_connection_route::DeleteVpnConnectionRouteError::Unhandled(inner) => Error::Unhandled(inner),
6722        }
6723    }
6724}
6725impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>> for Error
6726where
6727    R: Send + Sync + std::fmt::Debug + 'static,
6728{
6729    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError, R>) -> Self {
6730        match err {
6731            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6732            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6733                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6734                source: err.into(),
6735            }),
6736        }
6737    }
6738}
6739impl From<crate::operation::delete_vpn_gateway::DeleteVpnGatewayError> for Error {
6740    fn from(err: crate::operation::delete_vpn_gateway::DeleteVpnGatewayError) -> Self {
6741        match err {
6742            crate::operation::delete_vpn_gateway::DeleteVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
6743        }
6744    }
6745}
6746impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>> for Error
6747where
6748    R: Send + Sync + std::fmt::Debug + 'static,
6749{
6750    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError, R>) -> Self {
6751        match err {
6752            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6753            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6754                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6755                source: err.into(),
6756            }),
6757        }
6758    }
6759}
6760impl From<crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError> for Error {
6761    fn from(err: crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError) -> Self {
6762        match err {
6763            crate::operation::deprovision_byoip_cidr::DeprovisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
6764        }
6765    }
6766}
6767impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>> for Error
6768where
6769    R: Send + Sync + std::fmt::Debug + 'static,
6770{
6771    fn from(
6772        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError, R>,
6773    ) -> Self {
6774        match err {
6775            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6776            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6777                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6778                source: err.into(),
6779            }),
6780        }
6781    }
6782}
6783impl From<crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError> for Error {
6784    fn from(err: crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError) -> Self {
6785        match err {
6786            crate::operation::deprovision_ipam_byoasn::DeprovisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
6787        }
6788    }
6789}
6790impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>>
6791    for Error
6792where
6793    R: Send + Sync + std::fmt::Debug + 'static,
6794{
6795    fn from(
6796        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError, R>,
6797    ) -> Self {
6798        match err {
6799            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6800            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6801                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6802                source: err.into(),
6803            }),
6804        }
6805    }
6806}
6807impl From<crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError> for Error {
6808    fn from(err: crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError) -> Self {
6809        match err {
6810            crate::operation::deprovision_ipam_pool_cidr::DeprovisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6811        }
6812    }
6813}
6814impl<R>
6815    From<
6816        ::aws_smithy_runtime_api::client::result::SdkError<
6817            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6818            R,
6819        >,
6820    > for Error
6821where
6822    R: Send + Sync + std::fmt::Debug + 'static,
6823{
6824    fn from(
6825        err: ::aws_smithy_runtime_api::client::result::SdkError<
6826            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError,
6827            R,
6828        >,
6829    ) -> Self {
6830        match err {
6831            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6832            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6833                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6834                source: err.into(),
6835            }),
6836        }
6837    }
6838}
6839impl From<crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError> for Error {
6840    fn from(err: crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError) -> Self {
6841        match err {
6842            crate::operation::deprovision_public_ipv4_pool_cidr::DeprovisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
6843        }
6844    }
6845}
6846impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>> for Error
6847where
6848    R: Send + Sync + std::fmt::Debug + 'static,
6849{
6850    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::deregister_image::DeregisterImageError, R>) -> Self {
6851        match err {
6852            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6853            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6854                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6855                source: err.into(),
6856            }),
6857        }
6858    }
6859}
6860impl From<crate::operation::deregister_image::DeregisterImageError> for Error {
6861    fn from(err: crate::operation::deregister_image::DeregisterImageError) -> Self {
6862        match err {
6863            crate::operation::deregister_image::DeregisterImageError::Unhandled(inner) => Error::Unhandled(inner),
6864        }
6865    }
6866}
6867impl<R>
6868    From<
6869        ::aws_smithy_runtime_api::client::result::SdkError<
6870            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6871            R,
6872        >,
6873    > for Error
6874where
6875    R: Send + Sync + std::fmt::Debug + 'static,
6876{
6877    fn from(
6878        err: ::aws_smithy_runtime_api::client::result::SdkError<
6879            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError,
6880            R,
6881        >,
6882    ) -> Self {
6883        match err {
6884            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6885            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6886                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6887                source: err.into(),
6888            }),
6889        }
6890    }
6891}
6892impl From<crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError> for Error {
6893    fn from(err: crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError) -> Self {
6894        match err {
6895            crate::operation::deregister_instance_event_notification_attributes::DeregisterInstanceEventNotificationAttributesError::Unhandled(
6896                inner,
6897            ) => Error::Unhandled(inner),
6898        }
6899    }
6900}
6901impl<R>
6902    From<
6903        ::aws_smithy_runtime_api::client::result::SdkError<
6904            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6905            R,
6906        >,
6907    > for Error
6908where
6909    R: Send + Sync + std::fmt::Debug + 'static,
6910{
6911    fn from(
6912        err: ::aws_smithy_runtime_api::client::result::SdkError<
6913            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError,
6914            R,
6915        >,
6916    ) -> Self {
6917        match err {
6918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6921                source: err.into(),
6922            }),
6923        }
6924    }
6925}
6926impl From<crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError> for Error {
6927    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError) -> Self {
6928        match err {
6929            crate::operation::deregister_transit_gateway_multicast_group_members::DeregisterTransitGatewayMulticastGroupMembersError::Unhandled(
6930                inner,
6931            ) => Error::Unhandled(inner),
6932        }
6933    }
6934}
6935impl<R>
6936    From<
6937        ::aws_smithy_runtime_api::client::result::SdkError<
6938            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6939            R,
6940        >,
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<
6947            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError,
6948            R,
6949        >,
6950    ) -> Self {
6951        match err {
6952            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6953            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6954                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6955                source: err.into(),
6956            }),
6957        }
6958    }
6959}
6960impl From<crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError> for Error {
6961    fn from(err: crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError) -> Self {
6962        match err {
6963            crate::operation::deregister_transit_gateway_multicast_group_sources::DeregisterTransitGatewayMulticastGroupSourcesError::Unhandled(
6964                inner,
6965            ) => Error::Unhandled(inner),
6966        }
6967    }
6968}
6969impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>>
6970    for Error
6971where
6972    R: Send + Sync + std::fmt::Debug + 'static,
6973{
6974    fn from(
6975        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_account_attributes::DescribeAccountAttributesError, R>,
6976    ) -> Self {
6977        match err {
6978            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6979            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6980                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6981                source: err.into(),
6982            }),
6983        }
6984    }
6985}
6986impl From<crate::operation::describe_account_attributes::DescribeAccountAttributesError> for Error {
6987    fn from(err: crate::operation::describe_account_attributes::DescribeAccountAttributesError) -> Self {
6988        match err {
6989            crate::operation::describe_account_attributes::DescribeAccountAttributesError::Unhandled(inner) => Error::Unhandled(inner),
6990        }
6991    }
6992}
6993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>> for Error
6994where
6995    R: Send + Sync + std::fmt::Debug + 'static,
6996{
6997    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses::DescribeAddressesError, R>) -> Self {
6998        match err {
6999            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7000            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7001                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7002                source: err.into(),
7003            }),
7004        }
7005    }
7006}
7007impl From<crate::operation::describe_addresses::DescribeAddressesError> for Error {
7008    fn from(err: crate::operation::describe_addresses::DescribeAddressesError) -> Self {
7009        match err {
7010            crate::operation::describe_addresses::DescribeAddressesError::Unhandled(inner) => Error::Unhandled(inner),
7011        }
7012    }
7013}
7014impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>>
7015    for Error
7016where
7017    R: Send + Sync + std::fmt::Debug + 'static,
7018{
7019    fn from(
7020        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError, R>,
7021    ) -> Self {
7022        match err {
7023            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7024            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7025                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7026                source: err.into(),
7027            }),
7028        }
7029    }
7030}
7031impl From<crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError> for Error {
7032    fn from(err: crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError) -> Self {
7033        match err {
7034            crate::operation::describe_addresses_attribute::DescribeAddressesAttributeError::Unhandled(inner) => Error::Unhandled(inner),
7035        }
7036    }
7037}
7038impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>>
7039    for Error
7040where
7041    R: Send + Sync + std::fmt::Debug + 'static,
7042{
7043    fn from(
7044        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_address_transfers::DescribeAddressTransfersError, R>,
7045    ) -> Self {
7046        match err {
7047            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7048            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7049                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7050                source: err.into(),
7051            }),
7052        }
7053    }
7054}
7055impl From<crate::operation::describe_address_transfers::DescribeAddressTransfersError> for Error {
7056    fn from(err: crate::operation::describe_address_transfers::DescribeAddressTransfersError) -> Self {
7057        match err {
7058            crate::operation::describe_address_transfers::DescribeAddressTransfersError::Unhandled(inner) => Error::Unhandled(inner),
7059        }
7060    }
7061}
7062impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>>
7063    for Error
7064where
7065    R: Send + Sync + std::fmt::Debug + 'static,
7066{
7067    fn from(
7068        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError, R>,
7069    ) -> Self {
7070        match err {
7071            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7072            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7073                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7074                source: err.into(),
7075            }),
7076        }
7077    }
7078}
7079impl From<crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError> for Error {
7080    fn from(err: crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError) -> Self {
7081        match err {
7082            crate::operation::describe_aggregate_id_format::DescribeAggregateIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
7083        }
7084    }
7085}
7086impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>>
7087    for Error
7088where
7089    R: Send + Sync + std::fmt::Debug + 'static,
7090{
7091    fn from(
7092        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError, R>,
7093    ) -> Self {
7094        match err {
7095            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7096            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7097                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7098                source: err.into(),
7099            }),
7100        }
7101    }
7102}
7103impl From<crate::operation::describe_availability_zones::DescribeAvailabilityZonesError> for Error {
7104    fn from(err: crate::operation::describe_availability_zones::DescribeAvailabilityZonesError) -> Self {
7105        match err {
7106            crate::operation::describe_availability_zones::DescribeAvailabilityZonesError::Unhandled(inner) => Error::Unhandled(inner),
7107        }
7108    }
7109}
7110impl<R>
7111    From<
7112        ::aws_smithy_runtime_api::client::result::SdkError<
7113            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
7114            R,
7115        >,
7116    > for Error
7117where
7118    R: Send + Sync + std::fmt::Debug + 'static,
7119{
7120    fn from(
7121        err: ::aws_smithy_runtime_api::client::result::SdkError<
7122            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
7123            R,
7124        >,
7125    ) -> Self {
7126        match err {
7127            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7128            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7129                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7130                source: err.into(),
7131            }),
7132        }
7133    }
7134}
7135impl From<crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError> for Error {
7136    fn from(
7137        err: crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError,
7138    ) -> Self {
7139        match err {
7140            crate::operation::describe_aws_network_performance_metric_subscriptions::DescribeAwsNetworkPerformanceMetricSubscriptionsError::Unhandled(inner) => Error::Unhandled(inner),
7141        }
7142    }
7143}
7144impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>> for Error
7145where
7146    R: Send + Sync + std::fmt::Debug + 'static,
7147{
7148    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_bundle_tasks::DescribeBundleTasksError, R>) -> Self {
7149        match err {
7150            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7151            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7152                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7153                source: err.into(),
7154            }),
7155        }
7156    }
7157}
7158impl From<crate::operation::describe_bundle_tasks::DescribeBundleTasksError> for Error {
7159    fn from(err: crate::operation::describe_bundle_tasks::DescribeBundleTasksError) -> Self {
7160        match err {
7161            crate::operation::describe_bundle_tasks::DescribeBundleTasksError::Unhandled(inner) => Error::Unhandled(inner),
7162        }
7163    }
7164}
7165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>> for Error
7166where
7167    R: Send + Sync + std::fmt::Debug + 'static,
7168{
7169    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError, R>) -> Self {
7170        match err {
7171            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7172            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7173                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7174                source: err.into(),
7175            }),
7176        }
7177    }
7178}
7179impl From<crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError> for Error {
7180    fn from(err: crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError) -> Self {
7181        match err {
7182            crate::operation::describe_byoip_cidrs::DescribeByoipCidrsError::Unhandled(inner) => Error::Unhandled(inner),
7183        }
7184    }
7185}
7186impl<R>
7187    From<
7188        ::aws_smithy_runtime_api::client::result::SdkError<
7189            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
7190            R,
7191        >,
7192    > for Error
7193where
7194    R: Send + Sync + std::fmt::Debug + 'static,
7195{
7196    fn from(
7197        err: ::aws_smithy_runtime_api::client::result::SdkError<
7198            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError,
7199            R,
7200        >,
7201    ) -> Self {
7202        match err {
7203            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7204            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7205                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7206                source: err.into(),
7207            }),
7208        }
7209    }
7210}
7211impl From<crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError> for Error {
7212    fn from(err: crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError) -> Self {
7213        match err {
7214            crate::operation::describe_capacity_block_extension_history::DescribeCapacityBlockExtensionHistoryError::Unhandled(inner) => {
7215                Error::Unhandled(inner)
7216            }
7217        }
7218    }
7219}
7220impl<R>
7221    From<
7222        ::aws_smithy_runtime_api::client::result::SdkError<
7223            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
7224            R,
7225        >,
7226    > for Error
7227where
7228    R: Send + Sync + std::fmt::Debug + 'static,
7229{
7230    fn from(
7231        err: ::aws_smithy_runtime_api::client::result::SdkError<
7232            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError,
7233            R,
7234        >,
7235    ) -> Self {
7236        match err {
7237            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7238            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7239                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7240                source: err.into(),
7241            }),
7242        }
7243    }
7244}
7245impl From<crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError> for Error {
7246    fn from(err: crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError) -> Self {
7247        match err {
7248            crate::operation::describe_capacity_block_extension_offerings::DescribeCapacityBlockExtensionOfferingsError::Unhandled(inner) => {
7249                Error::Unhandled(inner)
7250            }
7251        }
7252    }
7253}
7254impl<R>
7255    From<
7256        ::aws_smithy_runtime_api::client::result::SdkError<
7257            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
7258            R,
7259        >,
7260    > for Error
7261where
7262    R: Send + Sync + std::fmt::Debug + 'static,
7263{
7264    fn from(
7265        err: ::aws_smithy_runtime_api::client::result::SdkError<
7266            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError,
7267            R,
7268        >,
7269    ) -> Self {
7270        match err {
7271            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7272            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7273                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7274                source: err.into(),
7275            }),
7276        }
7277    }
7278}
7279impl From<crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError> for Error {
7280    fn from(err: crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError) -> Self {
7281        match err {
7282            crate::operation::describe_capacity_block_offerings::DescribeCapacityBlockOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
7283        }
7284    }
7285}
7286impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>> for Error
7287where
7288    R: Send + Sync + std::fmt::Debug + 'static,
7289{
7290    fn from(
7291        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError, R>,
7292    ) -> Self {
7293        match err {
7294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7297                source: err.into(),
7298            }),
7299        }
7300    }
7301}
7302impl From<crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError> for Error {
7303    fn from(err: crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError) -> Self {
7304        match err {
7305            crate::operation::describe_capacity_blocks::DescribeCapacityBlocksError::Unhandled(inner) => Error::Unhandled(inner),
7306        }
7307    }
7308}
7309impl<R>
7310    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError, R>>
7311    for Error
7312where
7313    R: Send + Sync + std::fmt::Debug + 'static,
7314{
7315    fn from(
7316        err: ::aws_smithy_runtime_api::client::result::SdkError<
7317            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError,
7318            R,
7319        >,
7320    ) -> Self {
7321        match err {
7322            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7323            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7324                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7325                source: err.into(),
7326            }),
7327        }
7328    }
7329}
7330impl From<crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError> for Error {
7331    fn from(err: crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError) -> Self {
7332        match err {
7333            crate::operation::describe_capacity_block_status::DescribeCapacityBlockStatusError::Unhandled(inner) => Error::Unhandled(inner),
7334        }
7335    }
7336}
7337impl<R>
7338    From<
7339        ::aws_smithy_runtime_api::client::result::SdkError<
7340            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
7341            R,
7342        >,
7343    > for Error
7344where
7345    R: Send + Sync + std::fmt::Debug + 'static,
7346{
7347    fn from(
7348        err: ::aws_smithy_runtime_api::client::result::SdkError<
7349            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError,
7350            R,
7351        >,
7352    ) -> Self {
7353        match err {
7354            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7355            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7356                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7357                source: err.into(),
7358            }),
7359        }
7360    }
7361}
7362impl From<crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError> for Error {
7363    fn from(err: crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError) -> Self {
7364        match err {
7365            crate::operation::describe_capacity_manager_data_exports::DescribeCapacityManagerDataExportsError::Unhandled(inner) => {
7366                Error::Unhandled(inner)
7367            }
7368        }
7369    }
7370}
7371impl<R>
7372    From<
7373        ::aws_smithy_runtime_api::client::result::SdkError<
7374            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
7375            R,
7376        >,
7377    > for Error
7378where
7379    R: Send + Sync + std::fmt::Debug + 'static,
7380{
7381    fn from(
7382        err: ::aws_smithy_runtime_api::client::result::SdkError<
7383            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError,
7384            R,
7385        >,
7386    ) -> Self {
7387        match err {
7388            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7389            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7390                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7391                source: err.into(),
7392            }),
7393        }
7394    }
7395}
7396impl From<crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError> for Error {
7397    fn from(err: crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError) -> Self {
7398        match err {
7399            crate::operation::describe_capacity_reservation_billing_requests::DescribeCapacityReservationBillingRequestsError::Unhandled(inner) => {
7400                Error::Unhandled(inner)
7401            }
7402        }
7403    }
7404}
7405impl<R>
7406    From<
7407        ::aws_smithy_runtime_api::client::result::SdkError<
7408            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
7409            R,
7410        >,
7411    > for Error
7412where
7413    R: Send + Sync + std::fmt::Debug + 'static,
7414{
7415    fn from(
7416        err: ::aws_smithy_runtime_api::client::result::SdkError<
7417            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError,
7418            R,
7419        >,
7420    ) -> Self {
7421        match err {
7422            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7423            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7424                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7425                source: err.into(),
7426            }),
7427        }
7428    }
7429}
7430impl From<crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError> for Error {
7431    fn from(err: crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError) -> Self {
7432        match err {
7433            crate::operation::describe_capacity_reservation_fleets::DescribeCapacityReservationFleetsError::Unhandled(inner) => {
7434                Error::Unhandled(inner)
7435            }
7436        }
7437    }
7438}
7439impl<R>
7440    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError, R>>
7441    for Error
7442where
7443    R: Send + Sync + std::fmt::Debug + 'static,
7444{
7445    fn from(
7446        err: ::aws_smithy_runtime_api::client::result::SdkError<
7447            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError,
7448            R,
7449        >,
7450    ) -> Self {
7451        match err {
7452            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7453            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7454                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7455                source: err.into(),
7456            }),
7457        }
7458    }
7459}
7460impl From<crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError> for Error {
7461    fn from(err: crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError) -> Self {
7462        match err {
7463            crate::operation::describe_capacity_reservations::DescribeCapacityReservationsError::Unhandled(inner) => Error::Unhandled(inner),
7464        }
7465    }
7466}
7467impl<R>
7468    From<
7469        ::aws_smithy_runtime_api::client::result::SdkError<
7470            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
7471            R,
7472        >,
7473    > for Error
7474where
7475    R: Send + Sync + std::fmt::Debug + 'static,
7476{
7477    fn from(
7478        err: ::aws_smithy_runtime_api::client::result::SdkError<
7479            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError,
7480            R,
7481        >,
7482    ) -> Self {
7483        match err {
7484            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7485            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7486                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7487                source: err.into(),
7488            }),
7489        }
7490    }
7491}
7492impl From<crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError> for Error {
7493    fn from(err: crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError) -> Self {
7494        match err {
7495            crate::operation::describe_capacity_reservation_topology::DescribeCapacityReservationTopologyError::Unhandled(inner) => {
7496                Error::Unhandled(inner)
7497            }
7498        }
7499    }
7500}
7501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>>
7502    for Error
7503where
7504    R: Send + Sync + std::fmt::Debug + 'static,
7505{
7506    fn from(
7507        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError, R>,
7508    ) -> Self {
7509        match err {
7510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7513                source: err.into(),
7514            }),
7515        }
7516    }
7517}
7518impl From<crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError> for Error {
7519    fn from(err: crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError) -> Self {
7520        match err {
7521            crate::operation::describe_carrier_gateways::DescribeCarrierGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7522        }
7523    }
7524}
7525impl<R>
7526    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError, R>>
7527    for Error
7528where
7529    R: Send + Sync + std::fmt::Debug + 'static,
7530{
7531    fn from(
7532        err: ::aws_smithy_runtime_api::client::result::SdkError<
7533            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError,
7534            R,
7535        >,
7536    ) -> Self {
7537        match err {
7538            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7539            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7540                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7541                source: err.into(),
7542            }),
7543        }
7544    }
7545}
7546impl From<crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError> for Error {
7547    fn from(err: crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError) -> Self {
7548        match err {
7549            crate::operation::describe_classic_link_instances::DescribeClassicLinkInstancesError::Unhandled(inner) => Error::Unhandled(inner),
7550        }
7551    }
7552}
7553impl<R>
7554    From<
7555        ::aws_smithy_runtime_api::client::result::SdkError<
7556            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7557            R,
7558        >,
7559    > for Error
7560where
7561    R: Send + Sync + std::fmt::Debug + 'static,
7562{
7563    fn from(
7564        err: ::aws_smithy_runtime_api::client::result::SdkError<
7565            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError,
7566            R,
7567        >,
7568    ) -> Self {
7569        match err {
7570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7573                source: err.into(),
7574            }),
7575        }
7576    }
7577}
7578impl From<crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError> for Error {
7579    fn from(err: crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError) -> Self {
7580        match err {
7581            crate::operation::describe_client_vpn_authorization_rules::DescribeClientVpnAuthorizationRulesError::Unhandled(inner) => {
7582                Error::Unhandled(inner)
7583            }
7584        }
7585    }
7586}
7587impl<R>
7588    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError, R>>
7589    for Error
7590where
7591    R: Send + Sync + std::fmt::Debug + 'static,
7592{
7593    fn from(
7594        err: ::aws_smithy_runtime_api::client::result::SdkError<
7595            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError,
7596            R,
7597        >,
7598    ) -> Self {
7599        match err {
7600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7603                source: err.into(),
7604            }),
7605        }
7606    }
7607}
7608impl From<crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError> for Error {
7609    fn from(err: crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError) -> Self {
7610        match err {
7611            crate::operation::describe_client_vpn_connections::DescribeClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
7612        }
7613    }
7614}
7615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>>
7616    for Error
7617where
7618    R: Send + Sync + std::fmt::Debug + 'static,
7619{
7620    fn from(
7621        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError, R>,
7622    ) -> Self {
7623        match err {
7624            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7625            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7626                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7627                source: err.into(),
7628            }),
7629        }
7630    }
7631}
7632impl From<crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError> for Error {
7633    fn from(err: crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError) -> Self {
7634        match err {
7635            crate::operation::describe_client_vpn_endpoints::DescribeClientVpnEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
7636        }
7637    }
7638}
7639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>>
7640    for Error
7641where
7642    R: Send + Sync + std::fmt::Debug + 'static,
7643{
7644    fn from(
7645        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError, R>,
7646    ) -> Self {
7647        match err {
7648            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7649            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7650                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7651                source: err.into(),
7652            }),
7653        }
7654    }
7655}
7656impl From<crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError> for Error {
7657    fn from(err: crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError) -> Self {
7658        match err {
7659            crate::operation::describe_client_vpn_routes::DescribeClientVpnRoutesError::Unhandled(inner) => Error::Unhandled(inner),
7660        }
7661    }
7662}
7663impl<R>
7664    From<
7665        ::aws_smithy_runtime_api::client::result::SdkError<
7666            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7667            R,
7668        >,
7669    > for Error
7670where
7671    R: Send + Sync + std::fmt::Debug + 'static,
7672{
7673    fn from(
7674        err: ::aws_smithy_runtime_api::client::result::SdkError<
7675            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError,
7676            R,
7677        >,
7678    ) -> Self {
7679        match err {
7680            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7681            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7682                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7683                source: err.into(),
7684            }),
7685        }
7686    }
7687}
7688impl From<crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError> for Error {
7689    fn from(err: crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError) -> Self {
7690        match err {
7691            crate::operation::describe_client_vpn_target_networks::DescribeClientVpnTargetNetworksError::Unhandled(inner) => Error::Unhandled(inner),
7692        }
7693    }
7694}
7695impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>> for Error
7696where
7697    R: Send + Sync + std::fmt::Debug + 'static,
7698{
7699    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_coip_pools::DescribeCoipPoolsError, R>) -> Self {
7700        match err {
7701            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7702            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7703                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7704                source: err.into(),
7705            }),
7706        }
7707    }
7708}
7709impl From<crate::operation::describe_coip_pools::DescribeCoipPoolsError> for Error {
7710    fn from(err: crate::operation::describe_coip_pools::DescribeCoipPoolsError) -> Self {
7711        match err {
7712            crate::operation::describe_coip_pools::DescribeCoipPoolsError::Unhandled(inner) => Error::Unhandled(inner),
7713        }
7714    }
7715}
7716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>>
7717    for Error
7718where
7719    R: Send + Sync + std::fmt::Debug + 'static,
7720{
7721    fn from(
7722        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_conversion_tasks::DescribeConversionTasksError, R>,
7723    ) -> Self {
7724        match err {
7725            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7726            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7727                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7728                source: err.into(),
7729            }),
7730        }
7731    }
7732}
7733impl From<crate::operation::describe_conversion_tasks::DescribeConversionTasksError> for Error {
7734    fn from(err: crate::operation::describe_conversion_tasks::DescribeConversionTasksError) -> Self {
7735        match err {
7736            crate::operation::describe_conversion_tasks::DescribeConversionTasksError::Unhandled(inner) => Error::Unhandled(inner),
7737        }
7738    }
7739}
7740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>>
7741    for Error
7742where
7743    R: Send + Sync + std::fmt::Debug + 'static,
7744{
7745    fn from(
7746        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError, R>,
7747    ) -> Self {
7748        match err {
7749            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7750            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7751                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7752                source: err.into(),
7753            }),
7754        }
7755    }
7756}
7757impl From<crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError> for Error {
7758    fn from(err: crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError) -> Self {
7759        match err {
7760            crate::operation::describe_customer_gateways::DescribeCustomerGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
7761        }
7762    }
7763}
7764impl<R>
7765    From<
7766        ::aws_smithy_runtime_api::client::result::SdkError<
7767            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7768            R,
7769        >,
7770    > for Error
7771where
7772    R: Send + Sync + std::fmt::Debug + 'static,
7773{
7774    fn from(
7775        err: ::aws_smithy_runtime_api::client::result::SdkError<
7776            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError,
7777            R,
7778        >,
7779    ) -> Self {
7780        match err {
7781            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7782            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7783                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7784                source: err.into(),
7785            }),
7786        }
7787    }
7788}
7789impl From<crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError> for Error {
7790    fn from(err: crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError) -> Self {
7791        match err {
7792            crate::operation::describe_declarative_policies_reports::DescribeDeclarativePoliciesReportsError::Unhandled(inner) => {
7793                Error::Unhandled(inner)
7794            }
7795        }
7796    }
7797}
7798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>> for Error
7799where
7800    R: Send + Sync + std::fmt::Debug + 'static,
7801{
7802    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError, R>) -> Self {
7803        match err {
7804            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7805            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7806                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7807                source: err.into(),
7808            }),
7809        }
7810    }
7811}
7812impl From<crate::operation::describe_dhcp_options::DescribeDhcpOptionsError> for Error {
7813    fn from(err: crate::operation::describe_dhcp_options::DescribeDhcpOptionsError) -> Self {
7814        match err {
7815            crate::operation::describe_dhcp_options::DescribeDhcpOptionsError::Unhandled(inner) => Error::Unhandled(inner),
7816        }
7817    }
7818}
7819impl<R>
7820    From<
7821        ::aws_smithy_runtime_api::client::result::SdkError<
7822            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7823            R,
7824        >,
7825    > for Error
7826where
7827    R: Send + Sync + std::fmt::Debug + 'static,
7828{
7829    fn from(
7830        err: ::aws_smithy_runtime_api::client::result::SdkError<
7831            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError,
7832            R,
7833        >,
7834    ) -> Self {
7835        match err {
7836            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7837            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7838                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7839                source: err.into(),
7840            }),
7841        }
7842    }
7843}
7844impl From<crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError> for Error {
7845    fn from(err: crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError) -> Self {
7846        match err {
7847            crate::operation::describe_egress_only_internet_gateways::DescribeEgressOnlyInternetGatewaysError::Unhandled(inner) => {
7848                Error::Unhandled(inner)
7849            }
7850        }
7851    }
7852}
7853impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>> for Error
7854where
7855    R: Send + Sync + std::fmt::Debug + 'static,
7856{
7857    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_elastic_gpus::DescribeElasticGpusError, R>) -> Self {
7858        match err {
7859            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7860            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7861                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7862                source: err.into(),
7863            }),
7864        }
7865    }
7866}
7867impl From<crate::operation::describe_elastic_gpus::DescribeElasticGpusError> for Error {
7868    fn from(err: crate::operation::describe_elastic_gpus::DescribeElasticGpusError) -> Self {
7869        match err {
7870            crate::operation::describe_elastic_gpus::DescribeElasticGpusError::Unhandled(inner) => Error::Unhandled(inner),
7871        }
7872    }
7873}
7874impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>>
7875    for Error
7876where
7877    R: Send + Sync + std::fmt::Debug + 'static,
7878{
7879    fn from(
7880        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError, R>,
7881    ) -> Self {
7882        match err {
7883            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7884            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7885                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7886                source: err.into(),
7887            }),
7888        }
7889    }
7890}
7891impl From<crate::operation::describe_export_image_tasks::DescribeExportImageTasksError> for Error {
7892    fn from(err: crate::operation::describe_export_image_tasks::DescribeExportImageTasksError) -> Self {
7893        match err {
7894            crate::operation::describe_export_image_tasks::DescribeExportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
7895        }
7896    }
7897}
7898impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>> for Error
7899where
7900    R: Send + Sync + std::fmt::Debug + 'static,
7901{
7902    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export_tasks::DescribeExportTasksError, R>) -> Self {
7903        match err {
7904            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7905            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7906                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7907                source: err.into(),
7908            }),
7909        }
7910    }
7911}
7912impl From<crate::operation::describe_export_tasks::DescribeExportTasksError> for Error {
7913    fn from(err: crate::operation::describe_export_tasks::DescribeExportTasksError) -> Self {
7914        match err {
7915            crate::operation::describe_export_tasks::DescribeExportTasksError::Unhandled(inner) => Error::Unhandled(inner),
7916        }
7917    }
7918}
7919impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>>
7920    for Error
7921where
7922    R: Send + Sync + std::fmt::Debug + 'static,
7923{
7924    fn from(
7925        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError, R>,
7926    ) -> Self {
7927        match err {
7928            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7929            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7930                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7931                source: err.into(),
7932            }),
7933        }
7934    }
7935}
7936impl From<crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError> for Error {
7937    fn from(err: crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError) -> Self {
7938        match err {
7939            crate::operation::describe_fast_launch_images::DescribeFastLaunchImagesError::Unhandled(inner) => Error::Unhandled(inner),
7940        }
7941    }
7942}
7943impl<R>
7944    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError, R>>
7945    for Error
7946where
7947    R: Send + Sync + std::fmt::Debug + 'static,
7948{
7949    fn from(
7950        err: ::aws_smithy_runtime_api::client::result::SdkError<
7951            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError,
7952            R,
7953        >,
7954    ) -> Self {
7955        match err {
7956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7959                source: err.into(),
7960            }),
7961        }
7962    }
7963}
7964impl From<crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError> for Error {
7965    fn from(err: crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError) -> Self {
7966        match err {
7967            crate::operation::describe_fast_snapshot_restores::DescribeFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
7968        }
7969    }
7970}
7971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>> for Error
7972where
7973    R: Send + Sync + std::fmt::Debug + 'static,
7974{
7975    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_history::DescribeFleetHistoryError, R>) -> Self {
7976        match err {
7977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7980                source: err.into(),
7981            }),
7982        }
7983    }
7984}
7985impl From<crate::operation::describe_fleet_history::DescribeFleetHistoryError> for Error {
7986    fn from(err: crate::operation::describe_fleet_history::DescribeFleetHistoryError) -> Self {
7987        match err {
7988            crate::operation::describe_fleet_history::DescribeFleetHistoryError::Unhandled(inner) => Error::Unhandled(inner),
7989        }
7990    }
7991}
7992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>> for Error
7993where
7994    R: Send + Sync + std::fmt::Debug + 'static,
7995{
7996    fn from(
7997        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleet_instances::DescribeFleetInstancesError, R>,
7998    ) -> Self {
7999        match err {
8000            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8001            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8002                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8003                source: err.into(),
8004            }),
8005        }
8006    }
8007}
8008impl From<crate::operation::describe_fleet_instances::DescribeFleetInstancesError> for Error {
8009    fn from(err: crate::operation::describe_fleet_instances::DescribeFleetInstancesError) -> Self {
8010        match err {
8011            crate::operation::describe_fleet_instances::DescribeFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8012        }
8013    }
8014}
8015impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>> for Error
8016where
8017    R: Send + Sync + std::fmt::Debug + 'static,
8018{
8019    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fleets::DescribeFleetsError, R>) -> Self {
8020        match err {
8021            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8022            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8023                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8024                source: err.into(),
8025            }),
8026        }
8027    }
8028}
8029impl From<crate::operation::describe_fleets::DescribeFleetsError> for Error {
8030    fn from(err: crate::operation::describe_fleets::DescribeFleetsError) -> Self {
8031        match err {
8032            crate::operation::describe_fleets::DescribeFleetsError::Unhandled(inner) => Error::Unhandled(inner),
8033        }
8034    }
8035}
8036impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>> for Error
8037where
8038    R: Send + Sync + std::fmt::Debug + 'static,
8039{
8040    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_flow_logs::DescribeFlowLogsError, R>) -> Self {
8041        match err {
8042            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8043            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8044                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8045                source: err.into(),
8046            }),
8047        }
8048    }
8049}
8050impl From<crate::operation::describe_flow_logs::DescribeFlowLogsError> for Error {
8051    fn from(err: crate::operation::describe_flow_logs::DescribeFlowLogsError) -> Self {
8052        match err {
8053            crate::operation::describe_flow_logs::DescribeFlowLogsError::Unhandled(inner) => Error::Unhandled(inner),
8054        }
8055    }
8056}
8057impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>>
8058    for Error
8059where
8060    R: Send + Sync + std::fmt::Debug + 'static,
8061{
8062    fn from(
8063        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError, R>,
8064    ) -> Self {
8065        match err {
8066            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8067            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8068                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8069                source: err.into(),
8070            }),
8071        }
8072    }
8073}
8074impl From<crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError> for Error {
8075    fn from(err: crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError) -> Self {
8076        match err {
8077            crate::operation::describe_fpga_image_attribute::DescribeFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
8078        }
8079    }
8080}
8081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>> for Error
8082where
8083    R: Send + Sync + std::fmt::Debug + 'static,
8084{
8085    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_fpga_images::DescribeFpgaImagesError, R>) -> Self {
8086        match err {
8087            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8088            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8089                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8090                source: err.into(),
8091            }),
8092        }
8093    }
8094}
8095impl From<crate::operation::describe_fpga_images::DescribeFpgaImagesError> for Error {
8096    fn from(err: crate::operation::describe_fpga_images::DescribeFpgaImagesError) -> Self {
8097        match err {
8098            crate::operation::describe_fpga_images::DescribeFpgaImagesError::Unhandled(inner) => Error::Unhandled(inner),
8099        }
8100    }
8101}
8102impl<R>
8103    From<
8104        ::aws_smithy_runtime_api::client::result::SdkError<
8105            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
8106            R,
8107        >,
8108    > for Error
8109where
8110    R: Send + Sync + std::fmt::Debug + 'static,
8111{
8112    fn from(
8113        err: ::aws_smithy_runtime_api::client::result::SdkError<
8114            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError,
8115            R,
8116        >,
8117    ) -> Self {
8118        match err {
8119            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8120            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8121                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8122                source: err.into(),
8123            }),
8124        }
8125    }
8126}
8127impl From<crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError> for Error {
8128    fn from(err: crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError) -> Self {
8129        match err {
8130            crate::operation::describe_host_reservation_offerings::DescribeHostReservationOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
8131        }
8132    }
8133}
8134impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>>
8135    for Error
8136where
8137    R: Send + Sync + std::fmt::Debug + 'static,
8138{
8139    fn from(
8140        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_host_reservations::DescribeHostReservationsError, R>,
8141    ) -> Self {
8142        match err {
8143            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8144            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8145                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8146                source: err.into(),
8147            }),
8148        }
8149    }
8150}
8151impl From<crate::operation::describe_host_reservations::DescribeHostReservationsError> for Error {
8152    fn from(err: crate::operation::describe_host_reservations::DescribeHostReservationsError) -> Self {
8153        match err {
8154            crate::operation::describe_host_reservations::DescribeHostReservationsError::Unhandled(inner) => Error::Unhandled(inner),
8155        }
8156    }
8157}
8158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>> for Error
8159where
8160    R: Send + Sync + std::fmt::Debug + 'static,
8161{
8162    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_hosts::DescribeHostsError, R>) -> Self {
8163        match err {
8164            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8165            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8166                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8167                source: err.into(),
8168            }),
8169        }
8170    }
8171}
8172impl From<crate::operation::describe_hosts::DescribeHostsError> for Error {
8173    fn from(err: crate::operation::describe_hosts::DescribeHostsError) -> Self {
8174        match err {
8175            crate::operation::describe_hosts::DescribeHostsError::Unhandled(inner) => Error::Unhandled(inner),
8176        }
8177    }
8178}
8179impl<R>
8180    From<
8181        ::aws_smithy_runtime_api::client::result::SdkError<
8182            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
8183            R,
8184        >,
8185    > for Error
8186where
8187    R: Send + Sync + std::fmt::Debug + 'static,
8188{
8189    fn from(
8190        err: ::aws_smithy_runtime_api::client::result::SdkError<
8191            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError,
8192            R,
8193        >,
8194    ) -> Self {
8195        match err {
8196            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8197            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8198                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8199                source: err.into(),
8200            }),
8201        }
8202    }
8203}
8204impl From<crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError> for Error {
8205    fn from(err: crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError) -> Self {
8206        match err {
8207            crate::operation::describe_iam_instance_profile_associations::DescribeIamInstanceProfileAssociationsError::Unhandled(inner) => {
8208                Error::Unhandled(inner)
8209            }
8210        }
8211    }
8212}
8213impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>>
8214    for Error
8215where
8216    R: Send + Sync + std::fmt::Debug + 'static,
8217{
8218    fn from(
8219        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError, R>,
8220    ) -> Self {
8221        match err {
8222            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8223            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8224                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8225                source: err.into(),
8226            }),
8227        }
8228    }
8229}
8230impl From<crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError> for Error {
8231    fn from(err: crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError) -> Self {
8232        match err {
8233            crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
8234        }
8235    }
8236}
8237impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>> for Error
8238where
8239    R: Send + Sync + std::fmt::Debug + 'static,
8240{
8241    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_id_format::DescribeIdFormatError, R>) -> Self {
8242        match err {
8243            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8244            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8245                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8246                source: err.into(),
8247            }),
8248        }
8249    }
8250}
8251impl From<crate::operation::describe_id_format::DescribeIdFormatError> for Error {
8252    fn from(err: crate::operation::describe_id_format::DescribeIdFormatError) -> Self {
8253        match err {
8254            crate::operation::describe_id_format::DescribeIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
8255        }
8256    }
8257}
8258impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>> for Error
8259where
8260    R: Send + Sync + std::fmt::Debug + 'static,
8261{
8262    fn from(
8263        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_attribute::DescribeImageAttributeError, R>,
8264    ) -> Self {
8265        match err {
8266            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8267            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8268                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8269                source: err.into(),
8270            }),
8271        }
8272    }
8273}
8274impl From<crate::operation::describe_image_attribute::DescribeImageAttributeError> for Error {
8275    fn from(err: crate::operation::describe_image_attribute::DescribeImageAttributeError) -> Self {
8276        match err {
8277            crate::operation::describe_image_attribute::DescribeImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
8278        }
8279    }
8280}
8281impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>>
8282    for Error
8283where
8284    R: Send + Sync + std::fmt::Debug + 'static,
8285{
8286    fn from(
8287        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_references::DescribeImageReferencesError, R>,
8288    ) -> Self {
8289        match err {
8290            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8291            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8292                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8293                source: err.into(),
8294            }),
8295        }
8296    }
8297}
8298impl From<crate::operation::describe_image_references::DescribeImageReferencesError> for Error {
8299    fn from(err: crate::operation::describe_image_references::DescribeImageReferencesError) -> Self {
8300        match err {
8301            crate::operation::describe_image_references::DescribeImageReferencesError::Unhandled(inner) => Error::Unhandled(inner),
8302        }
8303    }
8304}
8305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>> for Error
8306where
8307    R: Send + Sync + std::fmt::Debug + 'static,
8308{
8309    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_images::DescribeImagesError, R>) -> Self {
8310        match err {
8311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8314                source: err.into(),
8315            }),
8316        }
8317    }
8318}
8319impl From<crate::operation::describe_images::DescribeImagesError> for Error {
8320    fn from(err: crate::operation::describe_images::DescribeImagesError) -> Self {
8321        match err {
8322            crate::operation::describe_images::DescribeImagesError::Unhandled(inner) => Error::Unhandled(inner),
8323        }
8324    }
8325}
8326impl<R>
8327    From<
8328        ::aws_smithy_runtime_api::client::result::SdkError<
8329            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
8330            R,
8331        >,
8332    > for Error
8333where
8334    R: Send + Sync + std::fmt::Debug + 'static,
8335{
8336    fn from(
8337        err: ::aws_smithy_runtime_api::client::result::SdkError<
8338            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError,
8339            R,
8340        >,
8341    ) -> Self {
8342        match err {
8343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8346                source: err.into(),
8347            }),
8348        }
8349    }
8350}
8351impl From<crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError> for Error {
8352    fn from(err: crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError) -> Self {
8353        match err {
8354            crate::operation::describe_image_usage_report_entries::DescribeImageUsageReportEntriesError::Unhandled(inner) => Error::Unhandled(inner),
8355        }
8356    }
8357}
8358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>>
8359    for Error
8360where
8361    R: Send + Sync + std::fmt::Debug + 'static,
8362{
8363    fn from(
8364        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError, R>,
8365    ) -> Self {
8366        match err {
8367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8370                source: err.into(),
8371            }),
8372        }
8373    }
8374}
8375impl From<crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError> for Error {
8376    fn from(err: crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError) -> Self {
8377        match err {
8378            crate::operation::describe_image_usage_reports::DescribeImageUsageReportsError::Unhandled(inner) => Error::Unhandled(inner),
8379        }
8380    }
8381}
8382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>>
8383    for Error
8384where
8385    R: Send + Sync + std::fmt::Debug + 'static,
8386{
8387    fn from(
8388        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError, R>,
8389    ) -> Self {
8390        match err {
8391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8394                source: err.into(),
8395            }),
8396        }
8397    }
8398}
8399impl From<crate::operation::describe_import_image_tasks::DescribeImportImageTasksError> for Error {
8400    fn from(err: crate::operation::describe_import_image_tasks::DescribeImportImageTasksError) -> Self {
8401        match err {
8402            crate::operation::describe_import_image_tasks::DescribeImportImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
8403        }
8404    }
8405}
8406impl<R>
8407    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError, R>>
8408    for Error
8409where
8410    R: Send + Sync + std::fmt::Debug + 'static,
8411{
8412    fn from(
8413        err: ::aws_smithy_runtime_api::client::result::SdkError<
8414            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError,
8415            R,
8416        >,
8417    ) -> Self {
8418        match err {
8419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8422                source: err.into(),
8423            }),
8424        }
8425    }
8426}
8427impl From<crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError> for Error {
8428    fn from(err: crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError) -> Self {
8429        match err {
8430            crate::operation::describe_import_snapshot_tasks::DescribeImportSnapshotTasksError::Unhandled(inner) => Error::Unhandled(inner),
8431        }
8432    }
8433}
8434impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>>
8435    for Error
8436where
8437    R: Send + Sync + std::fmt::Debug + 'static,
8438{
8439    fn from(
8440        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError, R>,
8441    ) -> Self {
8442        match err {
8443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8446                source: err.into(),
8447            }),
8448        }
8449    }
8450}
8451impl From<crate::operation::describe_instance_attribute::DescribeInstanceAttributeError> for Error {
8452    fn from(err: crate::operation::describe_instance_attribute::DescribeInstanceAttributeError) -> Self {
8453        match err {
8454            crate::operation::describe_instance_attribute::DescribeInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
8455        }
8456    }
8457}
8458impl<R>
8459    From<
8460        ::aws_smithy_runtime_api::client::result::SdkError<
8461            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
8462            R,
8463        >,
8464    > for Error
8465where
8466    R: Send + Sync + std::fmt::Debug + 'static,
8467{
8468    fn from(
8469        err: ::aws_smithy_runtime_api::client::result::SdkError<
8470            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError,
8471            R,
8472        >,
8473    ) -> Self {
8474        match err {
8475            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8476            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8477                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8478                source: err.into(),
8479            }),
8480        }
8481    }
8482}
8483impl From<crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError> for Error {
8484    fn from(err: crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError) -> Self {
8485        match err {
8486            crate::operation::describe_instance_connect_endpoints::DescribeInstanceConnectEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
8487        }
8488    }
8489}
8490impl<R>
8491    From<
8492        ::aws_smithy_runtime_api::client::result::SdkError<
8493            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
8494            R,
8495        >,
8496    > for Error
8497where
8498    R: Send + Sync + std::fmt::Debug + 'static,
8499{
8500    fn from(
8501        err: ::aws_smithy_runtime_api::client::result::SdkError<
8502            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError,
8503            R,
8504        >,
8505    ) -> Self {
8506        match err {
8507            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8508            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8509                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8510                source: err.into(),
8511            }),
8512        }
8513    }
8514}
8515impl From<crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError> for Error {
8516    fn from(err: crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError) -> Self {
8517        match err {
8518            crate::operation::describe_instance_credit_specifications::DescribeInstanceCreditSpecificationsError::Unhandled(inner) => {
8519                Error::Unhandled(inner)
8520            }
8521        }
8522    }
8523}
8524impl<R>
8525    From<
8526        ::aws_smithy_runtime_api::client::result::SdkError<
8527            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8528            R,
8529        >,
8530    > for Error
8531where
8532    R: Send + Sync + std::fmt::Debug + 'static,
8533{
8534    fn from(
8535        err: ::aws_smithy_runtime_api::client::result::SdkError<
8536            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError,
8537            R,
8538        >,
8539    ) -> Self {
8540        match err {
8541            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8542            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8543                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8544                source: err.into(),
8545            }),
8546        }
8547    }
8548}
8549impl From<crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError> for Error {
8550    fn from(err: crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError) -> Self {
8551        match err {
8552            crate::operation::describe_instance_event_notification_attributes::DescribeInstanceEventNotificationAttributesError::Unhandled(inner) => {
8553                Error::Unhandled(inner)
8554            }
8555        }
8556    }
8557}
8558impl<R>
8559    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError, R>>
8560    for Error
8561where
8562    R: Send + Sync + std::fmt::Debug + 'static,
8563{
8564    fn from(
8565        err: ::aws_smithy_runtime_api::client::result::SdkError<
8566            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError,
8567            R,
8568        >,
8569    ) -> Self {
8570        match err {
8571            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8572            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8573                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8574                source: err.into(),
8575            }),
8576        }
8577    }
8578}
8579impl From<crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError> for Error {
8580    fn from(err: crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError) -> Self {
8581        match err {
8582            crate::operation::describe_instance_event_windows::DescribeInstanceEventWindowsError::Unhandled(inner) => Error::Unhandled(inner),
8583        }
8584    }
8585}
8586impl<R>
8587    From<
8588        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError, R>,
8589    > for Error
8590where
8591    R: Send + Sync + std::fmt::Debug + 'static,
8592{
8593    fn from(
8594        err: ::aws_smithy_runtime_api::client::result::SdkError<
8595            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError,
8596            R,
8597        >,
8598    ) -> Self {
8599        match err {
8600            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8601            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8602                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8603                source: err.into(),
8604            }),
8605        }
8606    }
8607}
8608impl From<crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError> for Error {
8609    fn from(err: crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError) -> Self {
8610        match err {
8611            crate::operation::describe_instance_image_metadata::DescribeInstanceImageMetadataError::Unhandled(inner) => Error::Unhandled(inner),
8612        }
8613    }
8614}
8615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>> for Error
8616where
8617    R: Send + Sync + std::fmt::Debug + 'static,
8618{
8619    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instances::DescribeInstancesError, R>) -> Self {
8620        match err {
8621            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8622            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8623                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8624                source: err.into(),
8625            }),
8626        }
8627    }
8628}
8629impl From<crate::operation::describe_instances::DescribeInstancesError> for Error {
8630    fn from(err: crate::operation::describe_instances::DescribeInstancesError) -> Self {
8631        match err {
8632            crate::operation::describe_instances::DescribeInstancesError::Unhandled(inner) => Error::Unhandled(inner),
8633        }
8634    }
8635}
8636impl<R>
8637    From<
8638        ::aws_smithy_runtime_api::client::result::SdkError<
8639            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError,
8640            R,
8641        >,
8642    > for Error
8643where
8644    R: Send + Sync + std::fmt::Debug + 'static,
8645{
8646    fn from(
8647        err: ::aws_smithy_runtime_api::client::result::SdkError<
8648            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError,
8649            R,
8650        >,
8651    ) -> Self {
8652        match err {
8653            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8654            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8655                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8656                source: err.into(),
8657            }),
8658        }
8659    }
8660}
8661impl From<crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError> for Error {
8662    fn from(err: crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError) -> Self {
8663        match err {
8664            crate::operation::describe_instance_sql_ha_history_states::DescribeInstanceSqlHaHistoryStatesError::Unhandled(inner) => {
8665                Error::Unhandled(inner)
8666            }
8667        }
8668    }
8669}
8670impl<R>
8671    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError, R>>
8672    for Error
8673where
8674    R: Send + Sync + std::fmt::Debug + 'static,
8675{
8676    fn from(
8677        err: ::aws_smithy_runtime_api::client::result::SdkError<
8678            crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError,
8679            R,
8680        >,
8681    ) -> Self {
8682        match err {
8683            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8684            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8685                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8686                source: err.into(),
8687            }),
8688        }
8689    }
8690}
8691impl From<crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError> for Error {
8692    fn from(err: crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError) -> Self {
8693        match err {
8694            crate::operation::describe_instance_sql_ha_states::DescribeInstanceSqlHaStatesError::Unhandled(inner) => Error::Unhandled(inner),
8695        }
8696    }
8697}
8698impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>> for Error
8699where
8700    R: Send + Sync + std::fmt::Debug + 'static,
8701{
8702    fn from(
8703        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_status::DescribeInstanceStatusError, R>,
8704    ) -> Self {
8705        match err {
8706            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8707            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8708                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8709                source: err.into(),
8710            }),
8711        }
8712    }
8713}
8714impl From<crate::operation::describe_instance_status::DescribeInstanceStatusError> for Error {
8715    fn from(err: crate::operation::describe_instance_status::DescribeInstanceStatusError) -> Self {
8716        match err {
8717            crate::operation::describe_instance_status::DescribeInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
8718        }
8719    }
8720}
8721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>>
8722    for Error
8723where
8724    R: Send + Sync + std::fmt::Debug + 'static,
8725{
8726    fn from(
8727        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_topology::DescribeInstanceTopologyError, R>,
8728    ) -> Self {
8729        match err {
8730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8733                source: err.into(),
8734            }),
8735        }
8736    }
8737}
8738impl From<crate::operation::describe_instance_topology::DescribeInstanceTopologyError> for Error {
8739    fn from(err: crate::operation::describe_instance_topology::DescribeInstanceTopologyError) -> Self {
8740        match err {
8741            crate::operation::describe_instance_topology::DescribeInstanceTopologyError::Unhandled(inner) => Error::Unhandled(inner),
8742        }
8743    }
8744}
8745impl<R>
8746    From<
8747        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError, R>,
8748    > for Error
8749where
8750    R: Send + Sync + std::fmt::Debug + 'static,
8751{
8752    fn from(
8753        err: ::aws_smithy_runtime_api::client::result::SdkError<
8754            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError,
8755            R,
8756        >,
8757    ) -> Self {
8758        match err {
8759            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8760            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8761                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8762                source: err.into(),
8763            }),
8764        }
8765    }
8766}
8767impl From<crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError> for Error {
8768    fn from(err: crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError) -> Self {
8769        match err {
8770            crate::operation::describe_instance_type_offerings::DescribeInstanceTypeOfferingsError::Unhandled(inner) => Error::Unhandled(inner),
8771        }
8772    }
8773}
8774impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>> for Error
8775where
8776    R: Send + Sync + std::fmt::Debug + 'static,
8777{
8778    fn from(
8779        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_instance_types::DescribeInstanceTypesError, R>,
8780    ) -> Self {
8781        match err {
8782            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8783            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8784                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8785                source: err.into(),
8786            }),
8787        }
8788    }
8789}
8790impl From<crate::operation::describe_instance_types::DescribeInstanceTypesError> for Error {
8791    fn from(err: crate::operation::describe_instance_types::DescribeInstanceTypesError) -> Self {
8792        match err {
8793            crate::operation::describe_instance_types::DescribeInstanceTypesError::Unhandled(inner) => Error::Unhandled(inner),
8794        }
8795    }
8796}
8797impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>>
8798    for Error
8799where
8800    R: Send + Sync + std::fmt::Debug + 'static,
8801{
8802    fn from(
8803        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError, R>,
8804    ) -> Self {
8805        match err {
8806            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8807            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8808                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8809                source: err.into(),
8810            }),
8811        }
8812    }
8813}
8814impl From<crate::operation::describe_internet_gateways::DescribeInternetGatewaysError> for Error {
8815    fn from(err: crate::operation::describe_internet_gateways::DescribeInternetGatewaysError) -> Self {
8816        match err {
8817            crate::operation::describe_internet_gateways::DescribeInternetGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
8818        }
8819    }
8820}
8821impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>> for Error
8822where
8823    R: Send + Sync + std::fmt::Debug + 'static,
8824{
8825    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError, R>) -> Self {
8826        match err {
8827            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8828            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8829                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8830                source: err.into(),
8831            }),
8832        }
8833    }
8834}
8835impl From<crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError> for Error {
8836    fn from(err: crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError) -> Self {
8837        match err {
8838            crate::operation::describe_ipam_byoasn::DescribeIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
8839        }
8840    }
8841}
8842impl<R>
8843    From<
8844        ::aws_smithy_runtime_api::client::result::SdkError<
8845            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8846            R,
8847        >,
8848    > for Error
8849where
8850    R: Send + Sync + std::fmt::Debug + 'static,
8851{
8852    fn from(
8853        err: ::aws_smithy_runtime_api::client::result::SdkError<
8854            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError,
8855            R,
8856        >,
8857    ) -> Self {
8858        match err {
8859            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8860            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8861                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8862                source: err.into(),
8863            }),
8864        }
8865    }
8866}
8867impl From<crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError> for Error {
8868    fn from(err: crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError) -> Self {
8869        match err {
8870            crate::operation::describe_ipam_external_resource_verification_tokens::DescribeIpamExternalResourceVerificationTokensError::Unhandled(
8871                inner,
8872            ) => Error::Unhandled(inner),
8873        }
8874    }
8875}
8876impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_policies::DescribeIpamPoliciesError, R>> for Error
8877where
8878    R: Send + Sync + std::fmt::Debug + 'static,
8879{
8880    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_policies::DescribeIpamPoliciesError, R>) -> Self {
8881        match err {
8882            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8883            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8884                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8885                source: err.into(),
8886            }),
8887        }
8888    }
8889}
8890impl From<crate::operation::describe_ipam_policies::DescribeIpamPoliciesError> for Error {
8891    fn from(err: crate::operation::describe_ipam_policies::DescribeIpamPoliciesError) -> Self {
8892        match err {
8893            crate::operation::describe_ipam_policies::DescribeIpamPoliciesError::Unhandled(inner) => Error::Unhandled(inner),
8894        }
8895    }
8896}
8897impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>> for Error
8898where
8899    R: Send + Sync + std::fmt::Debug + 'static,
8900{
8901    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_pools::DescribeIpamPoolsError, R>) -> Self {
8902        match err {
8903            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8904            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8905                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8906                source: err.into(),
8907            }),
8908        }
8909    }
8910}
8911impl From<crate::operation::describe_ipam_pools::DescribeIpamPoolsError> for Error {
8912    fn from(err: crate::operation::describe_ipam_pools::DescribeIpamPoolsError) -> Self {
8913        match err {
8914            crate::operation::describe_ipam_pools::DescribeIpamPoolsError::Unhandled(inner) => Error::Unhandled(inner),
8915        }
8916    }
8917}
8918impl<R>
8919    From<
8920        ::aws_smithy_runtime_api::client::result::SdkError<
8921            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError,
8922            R,
8923        >,
8924    > for Error
8925where
8926    R: Send + Sync + std::fmt::Debug + 'static,
8927{
8928    fn from(
8929        err: ::aws_smithy_runtime_api::client::result::SdkError<
8930            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError,
8931            R,
8932        >,
8933    ) -> Self {
8934        match err {
8935            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8936            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8937                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8938                source: err.into(),
8939            }),
8940        }
8941    }
8942}
8943impl From<crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError> for Error {
8944    fn from(err: crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError) -> Self {
8945        match err {
8946            crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError::Unhandled(inner) => Error::Unhandled(inner),
8947        }
8948    }
8949}
8950impl<R>
8951    From<
8952        ::aws_smithy_runtime_api::client::result::SdkError<
8953            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError,
8954            R,
8955        >,
8956    > for Error
8957where
8958    R: Send + Sync + std::fmt::Debug + 'static,
8959{
8960    fn from(
8961        err: ::aws_smithy_runtime_api::client::result::SdkError<
8962            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError,
8963            R,
8964        >,
8965    ) -> Self {
8966        match err {
8967            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8968            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8969                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8970                source: err.into(),
8971            }),
8972        }
8973    }
8974}
8975impl From<crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError> for Error {
8976    fn from(err: crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError) -> Self {
8977        match err {
8978            crate::operation::describe_ipam_prefix_list_resolver_targets::DescribeIpamPrefixListResolverTargetsError::Unhandled(inner) => {
8979                Error::Unhandled(inner)
8980            }
8981        }
8982    }
8983}
8984impl<R>
8985    From<
8986        ::aws_smithy_runtime_api::client::result::SdkError<
8987            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8988            R,
8989        >,
8990    > for Error
8991where
8992    R: Send + Sync + std::fmt::Debug + 'static,
8993{
8994    fn from(
8995        err: ::aws_smithy_runtime_api::client::result::SdkError<
8996            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError,
8997            R,
8998        >,
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_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError> for Error {
9010    fn from(err: crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError) -> Self {
9011        match err {
9012            crate::operation::describe_ipam_resource_discoveries::DescribeIpamResourceDiscoveriesError::Unhandled(inner) => Error::Unhandled(inner),
9013        }
9014    }
9015}
9016impl<R>
9017    From<
9018        ::aws_smithy_runtime_api::client::result::SdkError<
9019            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
9020            R,
9021        >,
9022    > for Error
9023where
9024    R: Send + Sync + std::fmt::Debug + 'static,
9025{
9026    fn from(
9027        err: ::aws_smithy_runtime_api::client::result::SdkError<
9028            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError,
9029            R,
9030        >,
9031    ) -> Self {
9032        match err {
9033            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9034            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9035                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9036                source: err.into(),
9037            }),
9038        }
9039    }
9040}
9041impl From<crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError> for Error {
9042    fn from(err: crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError) -> Self {
9043        match err {
9044            crate::operation::describe_ipam_resource_discovery_associations::DescribeIpamResourceDiscoveryAssociationsError::Unhandled(inner) => {
9045                Error::Unhandled(inner)
9046            }
9047        }
9048    }
9049}
9050impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>> for Error
9051where
9052    R: Send + Sync + std::fmt::Debug + 'static,
9053{
9054    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipams::DescribeIpamsError, R>) -> Self {
9055        match err {
9056            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9057            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9058                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9059                source: err.into(),
9060            }),
9061        }
9062    }
9063}
9064impl From<crate::operation::describe_ipams::DescribeIpamsError> for Error {
9065    fn from(err: crate::operation::describe_ipams::DescribeIpamsError) -> Self {
9066        match err {
9067            crate::operation::describe_ipams::DescribeIpamsError::Unhandled(inner) => Error::Unhandled(inner),
9068        }
9069    }
9070}
9071impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>> for Error
9072where
9073    R: Send + Sync + std::fmt::Debug + 'static,
9074{
9075    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipam_scopes::DescribeIpamScopesError, R>) -> Self {
9076        match err {
9077            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9078            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9079                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9080                source: err.into(),
9081            }),
9082        }
9083    }
9084}
9085impl From<crate::operation::describe_ipam_scopes::DescribeIpamScopesError> for Error {
9086    fn from(err: crate::operation::describe_ipam_scopes::DescribeIpamScopesError) -> Self {
9087        match err {
9088            crate::operation::describe_ipam_scopes::DescribeIpamScopesError::Unhandled(inner) => Error::Unhandled(inner),
9089        }
9090    }
9091}
9092impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>> for Error
9093where
9094    R: Send + Sync + std::fmt::Debug + 'static,
9095{
9096    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError, R>) -> Self {
9097        match err {
9098            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9099            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9100                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9101                source: err.into(),
9102            }),
9103        }
9104    }
9105}
9106impl From<crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError> for Error {
9107    fn from(err: crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError) -> Self {
9108        match err {
9109            crate::operation::describe_ipv6_pools::DescribeIpv6PoolsError::Unhandled(inner) => Error::Unhandled(inner),
9110        }
9111    }
9112}
9113impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>> for Error
9114where
9115    R: Send + Sync + std::fmt::Debug + 'static,
9116{
9117    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_key_pairs::DescribeKeyPairsError, R>) -> Self {
9118        match err {
9119            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9120            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9121                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9122                source: err.into(),
9123            }),
9124        }
9125    }
9126}
9127impl From<crate::operation::describe_key_pairs::DescribeKeyPairsError> for Error {
9128    fn from(err: crate::operation::describe_key_pairs::DescribeKeyPairsError) -> Self {
9129        match err {
9130            crate::operation::describe_key_pairs::DescribeKeyPairsError::Unhandled(inner) => Error::Unhandled(inner),
9131        }
9132    }
9133}
9134impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>>
9135    for Error
9136where
9137    R: Send + Sync + std::fmt::Debug + 'static,
9138{
9139    fn from(
9140        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError, R>,
9141    ) -> Self {
9142        match err {
9143            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9144            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9145                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9146                source: err.into(),
9147            }),
9148        }
9149    }
9150}
9151impl From<crate::operation::describe_launch_templates::DescribeLaunchTemplatesError> for Error {
9152    fn from(err: crate::operation::describe_launch_templates::DescribeLaunchTemplatesError) -> Self {
9153        match err {
9154            crate::operation::describe_launch_templates::DescribeLaunchTemplatesError::Unhandled(inner) => Error::Unhandled(inner),
9155        }
9156    }
9157}
9158impl<R>
9159    From<
9160        ::aws_smithy_runtime_api::client::result::SdkError<
9161            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
9162            R,
9163        >,
9164    > for Error
9165where
9166    R: Send + Sync + std::fmt::Debug + 'static,
9167{
9168    fn from(
9169        err: ::aws_smithy_runtime_api::client::result::SdkError<
9170            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError,
9171            R,
9172        >,
9173    ) -> Self {
9174        match err {
9175            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9176            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9177                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9178                source: err.into(),
9179            }),
9180        }
9181    }
9182}
9183impl From<crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError> for Error {
9184    fn from(err: crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError) -> Self {
9185        match err {
9186            crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError::Unhandled(inner) => Error::Unhandled(inner),
9187        }
9188    }
9189}
9190impl<R>
9191    From<
9192        ::aws_smithy_runtime_api::client::result::SdkError<
9193            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
9194            R,
9195        >,
9196    > for Error
9197where
9198    R: Send + Sync + std::fmt::Debug + 'static,
9199{
9200    fn from(
9201        err: ::aws_smithy_runtime_api::client::result::SdkError<
9202            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError,
9203            R,
9204        >,
9205    ) -> Self {
9206        match err {
9207            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9208            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9209                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9210                source: err.into(),
9211            }),
9212        }
9213    }
9214}
9215impl From<crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError> for Error {
9216    fn from(err: crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError) -> Self {
9217        match err {
9218            crate::operation::describe_local_gateway_route_tables::DescribeLocalGatewayRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
9219        }
9220    }
9221}
9222impl<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 {
9223    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError, R>) -> Self {
9224        match err {
9225            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9226            _ => Error::Unhandled(
9227                                        crate::error::sealed_unhandled::Unhandled {
9228                                            meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9229                                            source: err.into(),
9230                                        }
9231                                    ),
9232        }
9233    }
9234}
9235impl From<crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError> for Error {
9236    fn from(err: crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError) -> Self {
9237        match err {
9238            crate::operation::describe_local_gateway_route_table_virtual_interface_group_associations::DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
9239        }
9240    }
9241}
9242impl<R>
9243    From<
9244        ::aws_smithy_runtime_api::client::result::SdkError<
9245            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
9246            R,
9247        >,
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<
9254            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError,
9255            R,
9256        >,
9257    ) -> Self {
9258        match err {
9259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9262                source: err.into(),
9263            }),
9264        }
9265    }
9266}
9267impl From<crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError> for Error {
9268    fn from(err: crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError) -> Self {
9269        match err {
9270            crate::operation::describe_local_gateway_route_table_vpc_associations::DescribeLocalGatewayRouteTableVpcAssociationsError::Unhandled(
9271                inner,
9272            ) => Error::Unhandled(inner),
9273        }
9274    }
9275}
9276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>> for Error
9277where
9278    R: Send + Sync + std::fmt::Debug + 'static,
9279{
9280    fn from(
9281        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_local_gateways::DescribeLocalGatewaysError, R>,
9282    ) -> Self {
9283        match err {
9284            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9285            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9286                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9287                source: err.into(),
9288            }),
9289        }
9290    }
9291}
9292impl From<crate::operation::describe_local_gateways::DescribeLocalGatewaysError> for Error {
9293    fn from(err: crate::operation::describe_local_gateways::DescribeLocalGatewaysError) -> Self {
9294        match err {
9295            crate::operation::describe_local_gateways::DescribeLocalGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
9296        }
9297    }
9298}
9299impl<R>
9300    From<
9301        ::aws_smithy_runtime_api::client::result::SdkError<
9302            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
9303            R,
9304        >,
9305    > for Error
9306where
9307    R: Send + Sync + std::fmt::Debug + 'static,
9308{
9309    fn from(
9310        err: ::aws_smithy_runtime_api::client::result::SdkError<
9311            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError,
9312            R,
9313        >,
9314    ) -> Self {
9315        match err {
9316            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9317            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9318                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9319                source: err.into(),
9320            }),
9321        }
9322    }
9323}
9324impl From<crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError> for Error {
9325    fn from(err: crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError) -> Self {
9326        match err {
9327            crate::operation::describe_local_gateway_virtual_interface_groups::DescribeLocalGatewayVirtualInterfaceGroupsError::Unhandled(inner) => {
9328                Error::Unhandled(inner)
9329            }
9330        }
9331    }
9332}
9333impl<R>
9334    From<
9335        ::aws_smithy_runtime_api::client::result::SdkError<
9336            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
9337            R,
9338        >,
9339    > for Error
9340where
9341    R: Send + Sync + std::fmt::Debug + 'static,
9342{
9343    fn from(
9344        err: ::aws_smithy_runtime_api::client::result::SdkError<
9345            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError,
9346            R,
9347        >,
9348    ) -> Self {
9349        match err {
9350            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9351            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9352                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9353                source: err.into(),
9354            }),
9355        }
9356    }
9357}
9358impl From<crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError> for Error {
9359    fn from(err: crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError) -> Self {
9360        match err {
9361            crate::operation::describe_local_gateway_virtual_interfaces::DescribeLocalGatewayVirtualInterfacesError::Unhandled(inner) => {
9362                Error::Unhandled(inner)
9363            }
9364        }
9365    }
9366}
9367impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>>
9368    for Error
9369where
9370    R: Send + Sync + std::fmt::Debug + 'static,
9371{
9372    fn from(
9373        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError, R>,
9374    ) -> Self {
9375        match err {
9376            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9377            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9378                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9379                source: err.into(),
9380            }),
9381        }
9382    }
9383}
9384impl From<crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError> for Error {
9385    fn from(err: crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError) -> Self {
9386        match err {
9387            crate::operation::describe_locked_snapshots::DescribeLockedSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
9388        }
9389    }
9390}
9391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>> for Error
9392where
9393    R: Send + Sync + std::fmt::Debug + 'static,
9394{
9395    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_hosts::DescribeMacHostsError, R>) -> Self {
9396        match err {
9397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9400                source: err.into(),
9401            }),
9402        }
9403    }
9404}
9405impl From<crate::operation::describe_mac_hosts::DescribeMacHostsError> for Error {
9406    fn from(err: crate::operation::describe_mac_hosts::DescribeMacHostsError) -> Self {
9407        match err {
9408            crate::operation::describe_mac_hosts::DescribeMacHostsError::Unhandled(inner) => Error::Unhandled(inner),
9409        }
9410    }
9411}
9412impl<R>
9413    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError, R>>
9414    for Error
9415where
9416    R: Send + Sync + std::fmt::Debug + 'static,
9417{
9418    fn from(
9419        err: ::aws_smithy_runtime_api::client::result::SdkError<
9420            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError,
9421            R,
9422        >,
9423    ) -> Self {
9424        match err {
9425            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9426            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9427                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9428                source: err.into(),
9429            }),
9430        }
9431    }
9432}
9433impl From<crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError> for Error {
9434    fn from(err: crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError) -> Self {
9435        match err {
9436            crate::operation::describe_mac_modification_tasks::DescribeMacModificationTasksError::Unhandled(inner) => Error::Unhandled(inner),
9437        }
9438    }
9439}
9440impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>>
9441    for Error
9442where
9443    R: Send + Sync + std::fmt::Debug + 'static,
9444{
9445    fn from(
9446        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError, R>,
9447    ) -> Self {
9448        match err {
9449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9452                source: err.into(),
9453            }),
9454        }
9455    }
9456}
9457impl From<crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError> for Error {
9458    fn from(err: crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError) -> Self {
9459        match err {
9460            crate::operation::describe_managed_prefix_lists::DescribeManagedPrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
9461        }
9462    }
9463}
9464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>>
9465    for Error
9466where
9467    R: Send + Sync + std::fmt::Debug + 'static,
9468{
9469    fn from(
9470        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_moving_addresses::DescribeMovingAddressesError, R>,
9471    ) -> Self {
9472        match err {
9473            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9474            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9475                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9476                source: err.into(),
9477            }),
9478        }
9479    }
9480}
9481impl From<crate::operation::describe_moving_addresses::DescribeMovingAddressesError> for Error {
9482    fn from(err: crate::operation::describe_moving_addresses::DescribeMovingAddressesError) -> Self {
9483        match err {
9484            crate::operation::describe_moving_addresses::DescribeMovingAddressesError::Unhandled(inner) => Error::Unhandled(inner),
9485        }
9486    }
9487}
9488impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>> for Error
9489where
9490    R: Send + Sync + std::fmt::Debug + 'static,
9491{
9492    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_nat_gateways::DescribeNatGatewaysError, R>) -> Self {
9493        match err {
9494            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9495            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9496                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9497                source: err.into(),
9498            }),
9499        }
9500    }
9501}
9502impl From<crate::operation::describe_nat_gateways::DescribeNatGatewaysError> for Error {
9503    fn from(err: crate::operation::describe_nat_gateways::DescribeNatGatewaysError) -> Self {
9504        match err {
9505            crate::operation::describe_nat_gateways::DescribeNatGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
9506        }
9507    }
9508}
9509impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>> for Error
9510where
9511    R: Send + Sync + std::fmt::Debug + 'static,
9512{
9513    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_acls::DescribeNetworkAclsError, R>) -> Self {
9514        match err {
9515            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9516            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9517                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9518                source: err.into(),
9519            }),
9520        }
9521    }
9522}
9523impl From<crate::operation::describe_network_acls::DescribeNetworkAclsError> for Error {
9524    fn from(err: crate::operation::describe_network_acls::DescribeNetworkAclsError) -> Self {
9525        match err {
9526            crate::operation::describe_network_acls::DescribeNetworkAclsError::Unhandled(inner) => Error::Unhandled(inner),
9527        }
9528    }
9529}
9530impl<R>
9531    From<
9532        ::aws_smithy_runtime_api::client::result::SdkError<
9533            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
9534            R,
9535        >,
9536    > for Error
9537where
9538    R: Send + Sync + std::fmt::Debug + 'static,
9539{
9540    fn from(
9541        err: ::aws_smithy_runtime_api::client::result::SdkError<
9542            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError,
9543            R,
9544        >,
9545    ) -> Self {
9546        match err {
9547            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9548            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9549                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9550                source: err.into(),
9551            }),
9552        }
9553    }
9554}
9555impl From<crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError> for Error {
9556    fn from(err: crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError) -> Self {
9557        match err {
9558            crate::operation::describe_network_insights_access_scope_analyses::DescribeNetworkInsightsAccessScopeAnalysesError::Unhandled(inner) => {
9559                Error::Unhandled(inner)
9560            }
9561        }
9562    }
9563}
9564impl<R>
9565    From<
9566        ::aws_smithy_runtime_api::client::result::SdkError<
9567            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
9568            R,
9569        >,
9570    > for Error
9571where
9572    R: Send + Sync + std::fmt::Debug + 'static,
9573{
9574    fn from(
9575        err: ::aws_smithy_runtime_api::client::result::SdkError<
9576            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError,
9577            R,
9578        >,
9579    ) -> Self {
9580        match err {
9581            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9582            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9583                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9584                source: err.into(),
9585            }),
9586        }
9587    }
9588}
9589impl From<crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError> for Error {
9590    fn from(err: crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError) -> Self {
9591        match err {
9592            crate::operation::describe_network_insights_access_scopes::DescribeNetworkInsightsAccessScopesError::Unhandled(inner) => {
9593                Error::Unhandled(inner)
9594            }
9595        }
9596    }
9597}
9598impl<R>
9599    From<
9600        ::aws_smithy_runtime_api::client::result::SdkError<
9601            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
9602            R,
9603        >,
9604    > for Error
9605where
9606    R: Send + Sync + std::fmt::Debug + 'static,
9607{
9608    fn from(
9609        err: ::aws_smithy_runtime_api::client::result::SdkError<
9610            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError,
9611            R,
9612        >,
9613    ) -> Self {
9614        match err {
9615            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9616            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9617                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9618                source: err.into(),
9619            }),
9620        }
9621    }
9622}
9623impl From<crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError> for Error {
9624    fn from(err: crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError) -> Self {
9625        match err {
9626            crate::operation::describe_network_insights_analyses::DescribeNetworkInsightsAnalysesError::Unhandled(inner) => Error::Unhandled(inner),
9627        }
9628    }
9629}
9630impl<R>
9631    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError, R>>
9632    for Error
9633where
9634    R: Send + Sync + std::fmt::Debug + 'static,
9635{
9636    fn from(
9637        err: ::aws_smithy_runtime_api::client::result::SdkError<
9638            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError,
9639            R,
9640        >,
9641    ) -> Self {
9642        match err {
9643            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9644            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9645                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9646                source: err.into(),
9647            }),
9648        }
9649    }
9650}
9651impl From<crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError> for Error {
9652    fn from(err: crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError) -> Self {
9653        match err {
9654            crate::operation::describe_network_insights_paths::DescribeNetworkInsightsPathsError::Unhandled(inner) => Error::Unhandled(inner),
9655        }
9656    }
9657}
9658impl<R>
9659    From<
9660        ::aws_smithy_runtime_api::client::result::SdkError<
9661            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
9662            R,
9663        >,
9664    > for Error
9665where
9666    R: Send + Sync + std::fmt::Debug + 'static,
9667{
9668    fn from(
9669        err: ::aws_smithy_runtime_api::client::result::SdkError<
9670            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError,
9671            R,
9672        >,
9673    ) -> Self {
9674        match err {
9675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9678                source: err.into(),
9679            }),
9680        }
9681    }
9682}
9683impl From<crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError> for Error {
9684    fn from(err: crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError) -> Self {
9685        match err {
9686            crate::operation::describe_network_interface_attribute::DescribeNetworkInterfaceAttributeError::Unhandled(inner) => {
9687                Error::Unhandled(inner)
9688            }
9689        }
9690    }
9691}
9692impl<R>
9693    From<
9694        ::aws_smithy_runtime_api::client::result::SdkError<
9695            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9696            R,
9697        >,
9698    > for Error
9699where
9700    R: Send + Sync + std::fmt::Debug + 'static,
9701{
9702    fn from(
9703        err: ::aws_smithy_runtime_api::client::result::SdkError<
9704            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError,
9705            R,
9706        >,
9707    ) -> Self {
9708        match err {
9709            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9710            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9711                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9712                source: err.into(),
9713            }),
9714        }
9715    }
9716}
9717impl From<crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError> for Error {
9718    fn from(err: crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError) -> Self {
9719        match err {
9720            crate::operation::describe_network_interface_permissions::DescribeNetworkInterfacePermissionsError::Unhandled(inner) => {
9721                Error::Unhandled(inner)
9722            }
9723        }
9724    }
9725}
9726impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>>
9727    for Error
9728where
9729    R: Send + Sync + std::fmt::Debug + 'static,
9730{
9731    fn from(
9732        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError, R>,
9733    ) -> Self {
9734        match err {
9735            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9736            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9737                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9738                source: err.into(),
9739            }),
9740        }
9741    }
9742}
9743impl From<crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError> for Error {
9744    fn from(err: crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError) -> Self {
9745        match err {
9746            crate::operation::describe_network_interfaces::DescribeNetworkInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
9747        }
9748    }
9749}
9750impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>> for Error
9751where
9752    R: Send + Sync + std::fmt::Debug + 'static,
9753{
9754    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_outpost_lags::DescribeOutpostLagsError, R>) -> Self {
9755        match err {
9756            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9757            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9758                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9759                source: err.into(),
9760            }),
9761        }
9762    }
9763}
9764impl From<crate::operation::describe_outpost_lags::DescribeOutpostLagsError> for Error {
9765    fn from(err: crate::operation::describe_outpost_lags::DescribeOutpostLagsError) -> Self {
9766        match err {
9767            crate::operation::describe_outpost_lags::DescribeOutpostLagsError::Unhandled(inner) => Error::Unhandled(inner),
9768        }
9769    }
9770}
9771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>>
9772    for Error
9773where
9774    R: Send + Sync + std::fmt::Debug + 'static,
9775{
9776    fn from(
9777        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_placement_groups::DescribePlacementGroupsError, R>,
9778    ) -> Self {
9779        match err {
9780            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9781            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9782                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9783                source: err.into(),
9784            }),
9785        }
9786    }
9787}
9788impl From<crate::operation::describe_placement_groups::DescribePlacementGroupsError> for Error {
9789    fn from(err: crate::operation::describe_placement_groups::DescribePlacementGroupsError) -> Self {
9790        match err {
9791            crate::operation::describe_placement_groups::DescribePlacementGroupsError::Unhandled(inner) => Error::Unhandled(inner),
9792        }
9793    }
9794}
9795impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>> for Error
9796where
9797    R: Send + Sync + std::fmt::Debug + 'static,
9798{
9799    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_prefix_lists::DescribePrefixListsError, R>) -> Self {
9800        match err {
9801            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9802            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9803                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9804                source: err.into(),
9805            }),
9806        }
9807    }
9808}
9809impl From<crate::operation::describe_prefix_lists::DescribePrefixListsError> for Error {
9810    fn from(err: crate::operation::describe_prefix_lists::DescribePrefixListsError) -> Self {
9811        match err {
9812            crate::operation::describe_prefix_lists::DescribePrefixListsError::Unhandled(inner) => Error::Unhandled(inner),
9813        }
9814    }
9815}
9816impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>>
9817    for Error
9818where
9819    R: Send + Sync + std::fmt::Debug + 'static,
9820{
9821    fn from(
9822        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError, R>,
9823    ) -> Self {
9824        match err {
9825            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9826            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9827                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9828                source: err.into(),
9829            }),
9830        }
9831    }
9832}
9833impl From<crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError> for Error {
9834    fn from(err: crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError) -> Self {
9835        match err {
9836            crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
9837        }
9838    }
9839}
9840impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>>
9841    for Error
9842where
9843    R: Send + Sync + std::fmt::Debug + 'static,
9844{
9845    fn from(
9846        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError, R>,
9847    ) -> Self {
9848        match err {
9849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9852                source: err.into(),
9853            }),
9854        }
9855    }
9856}
9857impl From<crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError> for Error {
9858    fn from(err: crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError) -> Self {
9859        match err {
9860            crate::operation::describe_public_ipv4_pools::DescribePublicIpv4PoolsError::Unhandled(inner) => Error::Unhandled(inner),
9861        }
9862    }
9863}
9864impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>> for Error
9865where
9866    R: Send + Sync + std::fmt::Debug + 'static,
9867{
9868    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_regions::DescribeRegionsError, R>) -> Self {
9869        match err {
9870            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9871            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9872                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9873                source: err.into(),
9874            }),
9875        }
9876    }
9877}
9878impl From<crate::operation::describe_regions::DescribeRegionsError> for Error {
9879    fn from(err: crate::operation::describe_regions::DescribeRegionsError) -> Self {
9880        match err {
9881            crate::operation::describe_regions::DescribeRegionsError::Unhandled(inner) => Error::Unhandled(inner),
9882        }
9883    }
9884}
9885impl<R>
9886    From<
9887        ::aws_smithy_runtime_api::client::result::SdkError<
9888            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9889            R,
9890        >,
9891    > for Error
9892where
9893    R: Send + Sync + std::fmt::Debug + 'static,
9894{
9895    fn from(
9896        err: ::aws_smithy_runtime_api::client::result::SdkError<
9897            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError,
9898            R,
9899        >,
9900    ) -> Self {
9901        match err {
9902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9905                source: err.into(),
9906            }),
9907        }
9908    }
9909}
9910impl From<crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError> for Error {
9911    fn from(err: crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError) -> Self {
9912        match err {
9913            crate::operation::describe_replace_root_volume_tasks::DescribeReplaceRootVolumeTasksError::Unhandled(inner) => Error::Unhandled(inner),
9914        }
9915    }
9916}
9917impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>>
9918    for Error
9919where
9920    R: Send + Sync + std::fmt::Debug + 'static,
9921{
9922    fn from(
9923        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_reserved_instances::DescribeReservedInstancesError, R>,
9924    ) -> Self {
9925        match err {
9926            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9927            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9928                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9929                source: err.into(),
9930            }),
9931        }
9932    }
9933}
9934impl From<crate::operation::describe_reserved_instances::DescribeReservedInstancesError> for Error {
9935    fn from(err: crate::operation::describe_reserved_instances::DescribeReservedInstancesError) -> Self {
9936        match err {
9937            crate::operation::describe_reserved_instances::DescribeReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
9938        }
9939    }
9940}
9941impl<R>
9942    From<
9943        ::aws_smithy_runtime_api::client::result::SdkError<
9944            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9945            R,
9946        >,
9947    > for Error
9948where
9949    R: Send + Sync + std::fmt::Debug + 'static,
9950{
9951    fn from(
9952        err: ::aws_smithy_runtime_api::client::result::SdkError<
9953            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError,
9954            R,
9955        >,
9956    ) -> Self {
9957        match err {
9958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9961                source: err.into(),
9962            }),
9963        }
9964    }
9965}
9966impl From<crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError> for Error {
9967    fn from(err: crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError) -> Self {
9968        match err {
9969            crate::operation::describe_reserved_instances_listings::DescribeReservedInstancesListingsError::Unhandled(inner) => {
9970                Error::Unhandled(inner)
9971            }
9972        }
9973    }
9974}
9975impl<R>
9976    From<
9977        ::aws_smithy_runtime_api::client::result::SdkError<
9978            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9979            R,
9980        >,
9981    > for Error
9982where
9983    R: Send + Sync + std::fmt::Debug + 'static,
9984{
9985    fn from(
9986        err: ::aws_smithy_runtime_api::client::result::SdkError<
9987            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError,
9988            R,
9989        >,
9990    ) -> Self {
9991        match err {
9992            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9993            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9994                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9995                source: err.into(),
9996            }),
9997        }
9998    }
9999}
10000impl From<crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError> for Error {
10001    fn from(err: crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError) -> Self {
10002        match err {
10003            crate::operation::describe_reserved_instances_modifications::DescribeReservedInstancesModificationsError::Unhandled(inner) => {
10004                Error::Unhandled(inner)
10005            }
10006        }
10007    }
10008}
10009impl<R>
10010    From<
10011        ::aws_smithy_runtime_api::client::result::SdkError<
10012            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
10013            R,
10014        >,
10015    > for Error
10016where
10017    R: Send + Sync + std::fmt::Debug + 'static,
10018{
10019    fn from(
10020        err: ::aws_smithy_runtime_api::client::result::SdkError<
10021            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError,
10022            R,
10023        >,
10024    ) -> Self {
10025        match err {
10026            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10027            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10028                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10029                source: err.into(),
10030            }),
10031        }
10032    }
10033}
10034impl From<crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError> for Error {
10035    fn from(err: crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError) -> Self {
10036        match err {
10037            crate::operation::describe_reserved_instances_offerings::DescribeReservedInstancesOfferingsError::Unhandled(inner) => {
10038                Error::Unhandled(inner)
10039            }
10040        }
10041    }
10042}
10043impl<R>
10044    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError, R>>
10045    for Error
10046where
10047    R: Send + Sync + std::fmt::Debug + 'static,
10048{
10049    fn from(
10050        err: ::aws_smithy_runtime_api::client::result::SdkError<
10051            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError,
10052            R,
10053        >,
10054    ) -> Self {
10055        match err {
10056            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10057            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10058                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10059                source: err.into(),
10060            }),
10061        }
10062    }
10063}
10064impl From<crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError> for Error {
10065    fn from(err: crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError) -> Self {
10066        match err {
10067            crate::operation::describe_route_server_endpoints::DescribeRouteServerEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
10068        }
10069    }
10070}
10071impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>>
10072    for Error
10073where
10074    R: Send + Sync + std::fmt::Debug + 'static,
10075{
10076    fn from(
10077        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError, R>,
10078    ) -> Self {
10079        match err {
10080            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10081            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10082                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10083                source: err.into(),
10084            }),
10085        }
10086    }
10087}
10088impl From<crate::operation::describe_route_server_peers::DescribeRouteServerPeersError> for Error {
10089    fn from(err: crate::operation::describe_route_server_peers::DescribeRouteServerPeersError) -> Self {
10090        match err {
10091            crate::operation::describe_route_server_peers::DescribeRouteServerPeersError::Unhandled(inner) => Error::Unhandled(inner),
10092        }
10093    }
10094}
10095impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>> for Error
10096where
10097    R: Send + Sync + std::fmt::Debug + 'static,
10098{
10099    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_servers::DescribeRouteServersError, R>) -> Self {
10100        match err {
10101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10104                source: err.into(),
10105            }),
10106        }
10107    }
10108}
10109impl From<crate::operation::describe_route_servers::DescribeRouteServersError> for Error {
10110    fn from(err: crate::operation::describe_route_servers::DescribeRouteServersError) -> Self {
10111        match err {
10112            crate::operation::describe_route_servers::DescribeRouteServersError::Unhandled(inner) => Error::Unhandled(inner),
10113        }
10114    }
10115}
10116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>> for Error
10117where
10118    R: Send + Sync + std::fmt::Debug + 'static,
10119{
10120    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_route_tables::DescribeRouteTablesError, R>) -> Self {
10121        match err {
10122            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10123            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10124                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10125                source: err.into(),
10126            }),
10127        }
10128    }
10129}
10130impl From<crate::operation::describe_route_tables::DescribeRouteTablesError> for Error {
10131    fn from(err: crate::operation::describe_route_tables::DescribeRouteTablesError) -> Self {
10132        match err {
10133            crate::operation::describe_route_tables::DescribeRouteTablesError::Unhandled(inner) => Error::Unhandled(inner),
10134        }
10135    }
10136}
10137impl<R>
10138    From<
10139        ::aws_smithy_runtime_api::client::result::SdkError<
10140            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
10141            R,
10142        >,
10143    > for Error
10144where
10145    R: Send + Sync + std::fmt::Debug + 'static,
10146{
10147    fn from(
10148        err: ::aws_smithy_runtime_api::client::result::SdkError<
10149            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError,
10150            R,
10151        >,
10152    ) -> Self {
10153        match err {
10154            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10155            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10156                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10157                source: err.into(),
10158            }),
10159        }
10160    }
10161}
10162impl From<crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError> for Error {
10163    fn from(err: crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError) -> Self {
10164        match err {
10165            crate::operation::describe_scheduled_instance_availability::DescribeScheduledInstanceAvailabilityError::Unhandled(inner) => {
10166                Error::Unhandled(inner)
10167            }
10168        }
10169    }
10170}
10171impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>>
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<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError, R>,
10178    ) -> Self {
10179        match err {
10180            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10181            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10182                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10183                source: err.into(),
10184            }),
10185        }
10186    }
10187}
10188impl From<crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError> for Error {
10189    fn from(err: crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError) -> Self {
10190        match err {
10191            crate::operation::describe_scheduled_instances::DescribeScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10192        }
10193    }
10194}
10195impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_secondary_interfaces::DescribeSecondaryInterfacesError, R>>
10196    for Error
10197where
10198    R: Send + Sync + std::fmt::Debug + 'static,
10199{
10200    fn from(
10201        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_secondary_interfaces::DescribeSecondaryInterfacesError, R>,
10202    ) -> Self {
10203        match err {
10204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10207                source: err.into(),
10208            }),
10209        }
10210    }
10211}
10212impl From<crate::operation::describe_secondary_interfaces::DescribeSecondaryInterfacesError> for Error {
10213    fn from(err: crate::operation::describe_secondary_interfaces::DescribeSecondaryInterfacesError) -> Self {
10214        match err {
10215            crate::operation::describe_secondary_interfaces::DescribeSecondaryInterfacesError::Unhandled(inner) => Error::Unhandled(inner),
10216        }
10217    }
10218}
10219impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_secondary_networks::DescribeSecondaryNetworksError, R>>
10220    for Error
10221where
10222    R: Send + Sync + std::fmt::Debug + 'static,
10223{
10224    fn from(
10225        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_secondary_networks::DescribeSecondaryNetworksError, R>,
10226    ) -> Self {
10227        match err {
10228            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10229            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10230                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10231                source: err.into(),
10232            }),
10233        }
10234    }
10235}
10236impl From<crate::operation::describe_secondary_networks::DescribeSecondaryNetworksError> for Error {
10237    fn from(err: crate::operation::describe_secondary_networks::DescribeSecondaryNetworksError) -> Self {
10238        match err {
10239            crate::operation::describe_secondary_networks::DescribeSecondaryNetworksError::Unhandled(inner) => Error::Unhandled(inner),
10240        }
10241    }
10242}
10243impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_secondary_subnets::DescribeSecondarySubnetsError, R>>
10244    for Error
10245where
10246    R: Send + Sync + std::fmt::Debug + 'static,
10247{
10248    fn from(
10249        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_secondary_subnets::DescribeSecondarySubnetsError, R>,
10250    ) -> Self {
10251        match err {
10252            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10253            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10254                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10255                source: err.into(),
10256            }),
10257        }
10258    }
10259}
10260impl From<crate::operation::describe_secondary_subnets::DescribeSecondarySubnetsError> for Error {
10261    fn from(err: crate::operation::describe_secondary_subnets::DescribeSecondarySubnetsError) -> Self {
10262        match err {
10263            crate::operation::describe_secondary_subnets::DescribeSecondarySubnetsError::Unhandled(inner) => Error::Unhandled(inner),
10264        }
10265    }
10266}
10267impl<R>
10268    From<
10269        ::aws_smithy_runtime_api::client::result::SdkError<
10270            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
10271            R,
10272        >,
10273    > for Error
10274where
10275    R: Send + Sync + std::fmt::Debug + 'static,
10276{
10277    fn from(
10278        err: ::aws_smithy_runtime_api::client::result::SdkError<
10279            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError,
10280            R,
10281        >,
10282    ) -> Self {
10283        match err {
10284            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10285            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10286                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10287                source: err.into(),
10288            }),
10289        }
10290    }
10291}
10292impl From<crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError> for Error {
10293    fn from(err: crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError) -> Self {
10294        match err {
10295            crate::operation::describe_security_group_references::DescribeSecurityGroupReferencesError::Unhandled(inner) => Error::Unhandled(inner),
10296        }
10297    }
10298}
10299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>>
10300    for Error
10301where
10302    R: Send + Sync + std::fmt::Debug + 'static,
10303{
10304    fn from(
10305        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError, R>,
10306    ) -> Self {
10307        match err {
10308            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10309            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10310                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10311                source: err.into(),
10312            }),
10313        }
10314    }
10315}
10316impl From<crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError> for Error {
10317    fn from(err: crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError) -> Self {
10318        match err {
10319            crate::operation::describe_security_group_rules::DescribeSecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
10320        }
10321    }
10322}
10323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>> for Error
10324where
10325    R: Send + Sync + std::fmt::Debug + 'static,
10326{
10327    fn from(
10328        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_security_groups::DescribeSecurityGroupsError, R>,
10329    ) -> Self {
10330        match err {
10331            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10332            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10333                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10334                source: err.into(),
10335            }),
10336        }
10337    }
10338}
10339impl From<crate::operation::describe_security_groups::DescribeSecurityGroupsError> for Error {
10340    fn from(err: crate::operation::describe_security_groups::DescribeSecurityGroupsError) -> Self {
10341        match err {
10342            crate::operation::describe_security_groups::DescribeSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10343        }
10344    }
10345}
10346impl<R>
10347    From<
10348        ::aws_smithy_runtime_api::client::result::SdkError<
10349            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
10350            R,
10351        >,
10352    > for Error
10353where
10354    R: Send + Sync + std::fmt::Debug + 'static,
10355{
10356    fn from(
10357        err: ::aws_smithy_runtime_api::client::result::SdkError<
10358            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError,
10359            R,
10360        >,
10361    ) -> Self {
10362        match err {
10363            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10364            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10365                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10366                source: err.into(),
10367            }),
10368        }
10369    }
10370}
10371impl From<crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError> for Error {
10372    fn from(err: crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError) -> Self {
10373        match err {
10374            crate::operation::describe_security_group_vpc_associations::DescribeSecurityGroupVpcAssociationsError::Unhandled(inner) => {
10375                Error::Unhandled(inner)
10376            }
10377        }
10378    }
10379}
10380impl<R>
10381    From<
10382        ::aws_smithy_runtime_api::client::result::SdkError<
10383            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
10384            R,
10385        >,
10386    > for Error
10387where
10388    R: Send + Sync + std::fmt::Debug + 'static,
10389{
10390    fn from(
10391        err: ::aws_smithy_runtime_api::client::result::SdkError<
10392            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError,
10393            R,
10394        >,
10395    ) -> Self {
10396        match err {
10397            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10398            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10399                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10400                source: err.into(),
10401            }),
10402        }
10403    }
10404}
10405impl From<crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError> for Error {
10406    fn from(err: crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError) -> Self {
10407        match err {
10408            crate::operation::describe_service_link_virtual_interfaces::DescribeServiceLinkVirtualInterfacesError::Unhandled(inner) => {
10409                Error::Unhandled(inner)
10410            }
10411        }
10412    }
10413}
10414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>>
10415    for Error
10416where
10417    R: Send + Sync + std::fmt::Debug + 'static,
10418{
10419    fn from(
10420        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError, R>,
10421    ) -> Self {
10422        match err {
10423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10426                source: err.into(),
10427            }),
10428        }
10429    }
10430}
10431impl From<crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError> for Error {
10432    fn from(err: crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError) -> Self {
10433        match err {
10434            crate::operation::describe_snapshot_attribute::DescribeSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
10435        }
10436    }
10437}
10438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>> for Error
10439where
10440    R: Send + Sync + std::fmt::Debug + 'static,
10441{
10442    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshots::DescribeSnapshotsError, R>) -> Self {
10443        match err {
10444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10447                source: err.into(),
10448            }),
10449        }
10450    }
10451}
10452impl From<crate::operation::describe_snapshots::DescribeSnapshotsError> for Error {
10453    fn from(err: crate::operation::describe_snapshots::DescribeSnapshotsError) -> Self {
10454        match err {
10455            crate::operation::describe_snapshots::DescribeSnapshotsError::Unhandled(inner) => Error::Unhandled(inner),
10456        }
10457    }
10458}
10459impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>>
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<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError, R>,
10466    ) -> Self {
10467        match err {
10468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10471                source: err.into(),
10472            }),
10473        }
10474    }
10475}
10476impl From<crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError> for Error {
10477    fn from(err: crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError) -> Self {
10478        match err {
10479            crate::operation::describe_snapshot_tier_status::DescribeSnapshotTierStatusError::Unhandled(inner) => Error::Unhandled(inner),
10480        }
10481    }
10482}
10483impl<R>
10484    From<
10485        ::aws_smithy_runtime_api::client::result::SdkError<
10486            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
10487            R,
10488        >,
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<
10495            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError,
10496            R,
10497        >,
10498    ) -> Self {
10499        match err {
10500            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10501            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10502                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10503                source: err.into(),
10504            }),
10505        }
10506    }
10507}
10508impl From<crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError> for Error {
10509    fn from(err: crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError) -> Self {
10510        match err {
10511            crate::operation::describe_spot_datafeed_subscription::DescribeSpotDatafeedSubscriptionError::Unhandled(inner) => Error::Unhandled(inner),
10512        }
10513    }
10514}
10515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>>
10516    for Error
10517where
10518    R: Send + Sync + std::fmt::Debug + 'static,
10519{
10520    fn from(
10521        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError, R>,
10522    ) -> Self {
10523        match err {
10524            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10525            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10526                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10527                source: err.into(),
10528            }),
10529        }
10530    }
10531}
10532impl From<crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError> for Error {
10533    fn from(err: crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError) -> Self {
10534        match err {
10535            crate::operation::describe_spot_fleet_instances::DescribeSpotFleetInstancesError::Unhandled(inner) => Error::Unhandled(inner),
10536        }
10537    }
10538}
10539impl<R>
10540    From<
10541        ::aws_smithy_runtime_api::client::result::SdkError<
10542            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
10543            R,
10544        >,
10545    > for Error
10546where
10547    R: Send + Sync + std::fmt::Debug + 'static,
10548{
10549    fn from(
10550        err: ::aws_smithy_runtime_api::client::result::SdkError<
10551            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError,
10552            R,
10553        >,
10554    ) -> Self {
10555        match err {
10556            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10557            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10558                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10559                source: err.into(),
10560            }),
10561        }
10562    }
10563}
10564impl From<crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError> for Error {
10565    fn from(err: crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError) -> Self {
10566        match err {
10567            crate::operation::describe_spot_fleet_request_history::DescribeSpotFleetRequestHistoryError::Unhandled(inner) => Error::Unhandled(inner),
10568        }
10569    }
10570}
10571impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>>
10572    for Error
10573where
10574    R: Send + Sync + std::fmt::Debug + 'static,
10575{
10576    fn from(
10577        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError, R>,
10578    ) -> Self {
10579        match err {
10580            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10581            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10582                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10583                source: err.into(),
10584            }),
10585        }
10586    }
10587}
10588impl From<crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError> for Error {
10589    fn from(err: crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError) -> Self {
10590        match err {
10591            crate::operation::describe_spot_fleet_requests::DescribeSpotFleetRequestsError::Unhandled(inner) => Error::Unhandled(inner),
10592        }
10593    }
10594}
10595impl<R>
10596    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError, R>>
10597    for Error
10598where
10599    R: Send + Sync + std::fmt::Debug + 'static,
10600{
10601    fn from(
10602        err: ::aws_smithy_runtime_api::client::result::SdkError<
10603            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError,
10604            R,
10605        >,
10606    ) -> Self {
10607        match err {
10608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10611                source: err.into(),
10612            }),
10613        }
10614    }
10615}
10616impl From<crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError> for Error {
10617    fn from(err: crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError) -> Self {
10618        match err {
10619            crate::operation::describe_spot_instance_requests::DescribeSpotInstanceRequestsError::Unhandled(inner) => Error::Unhandled(inner),
10620        }
10621    }
10622}
10623impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>>
10624    for Error
10625where
10626    R: Send + Sync + std::fmt::Debug + 'static,
10627{
10628    fn from(
10629        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError, R>,
10630    ) -> Self {
10631        match err {
10632            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10633            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10634                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10635                source: err.into(),
10636            }),
10637        }
10638    }
10639}
10640impl From<crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError> for Error {
10641    fn from(err: crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError) -> Self {
10642        match err {
10643            crate::operation::describe_spot_price_history::DescribeSpotPriceHistoryError::Unhandled(inner) => Error::Unhandled(inner),
10644        }
10645    }
10646}
10647impl<R>
10648    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError, R>>
10649    for Error
10650where
10651    R: Send + Sync + std::fmt::Debug + 'static,
10652{
10653    fn from(
10654        err: ::aws_smithy_runtime_api::client::result::SdkError<
10655            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError,
10656            R,
10657        >,
10658    ) -> Self {
10659        match err {
10660            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10661            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10662                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10663                source: err.into(),
10664            }),
10665        }
10666    }
10667}
10668impl From<crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError> for Error {
10669    fn from(err: crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError) -> Self {
10670        match err {
10671            crate::operation::describe_stale_security_groups::DescribeStaleSecurityGroupsError::Unhandled(inner) => Error::Unhandled(inner),
10672        }
10673    }
10674}
10675impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>>
10676    for Error
10677where
10678    R: Send + Sync + std::fmt::Debug + 'static,
10679{
10680    fn from(
10681        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError, R>,
10682    ) -> Self {
10683        match err {
10684            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10685            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10686                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10687                source: err.into(),
10688            }),
10689        }
10690    }
10691}
10692impl From<crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError> for Error {
10693    fn from(err: crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError) -> Self {
10694        match err {
10695            crate::operation::describe_store_image_tasks::DescribeStoreImageTasksError::Unhandled(inner) => Error::Unhandled(inner),
10696        }
10697    }
10698}
10699impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>> for Error
10700where
10701    R: Send + Sync + std::fmt::Debug + 'static,
10702{
10703    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_subnets::DescribeSubnetsError, R>) -> Self {
10704        match err {
10705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10708                source: err.into(),
10709            }),
10710        }
10711    }
10712}
10713impl From<crate::operation::describe_subnets::DescribeSubnetsError> for Error {
10714    fn from(err: crate::operation::describe_subnets::DescribeSubnetsError) -> Self {
10715        match err {
10716            crate::operation::describe_subnets::DescribeSubnetsError::Unhandled(inner) => Error::Unhandled(inner),
10717        }
10718    }
10719}
10720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>> for Error
10721where
10722    R: Send + Sync + std::fmt::Debug + 'static,
10723{
10724    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_tags::DescribeTagsError, R>) -> Self {
10725        match err {
10726            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10727            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10728                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10729                source: err.into(),
10730            }),
10731        }
10732    }
10733}
10734impl From<crate::operation::describe_tags::DescribeTagsError> for Error {
10735    fn from(err: crate::operation::describe_tags::DescribeTagsError) -> Self {
10736        match err {
10737            crate::operation::describe_tags::DescribeTagsError::Unhandled(inner) => Error::Unhandled(inner),
10738        }
10739    }
10740}
10741impl<R>
10742    From<
10743        ::aws_smithy_runtime_api::client::result::SdkError<
10744            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
10745            R,
10746        >,
10747    > for Error
10748where
10749    R: Send + Sync + std::fmt::Debug + 'static,
10750{
10751    fn from(
10752        err: ::aws_smithy_runtime_api::client::result::SdkError<
10753            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError,
10754            R,
10755        >,
10756    ) -> Self {
10757        match err {
10758            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10759            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10760                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10761                source: err.into(),
10762            }),
10763        }
10764    }
10765}
10766impl From<crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError> for Error {
10767    fn from(err: crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError) -> Self {
10768        match err {
10769            crate::operation::describe_traffic_mirror_filter_rules::DescribeTrafficMirrorFilterRulesError::Unhandled(inner) => {
10770                Error::Unhandled(inner)
10771            }
10772        }
10773    }
10774}
10775impl<R>
10776    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError, R>>
10777    for Error
10778where
10779    R: Send + Sync + std::fmt::Debug + 'static,
10780{
10781    fn from(
10782        err: ::aws_smithy_runtime_api::client::result::SdkError<
10783            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError,
10784            R,
10785        >,
10786    ) -> Self {
10787        match err {
10788            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10789            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10790                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10791                source: err.into(),
10792            }),
10793        }
10794    }
10795}
10796impl From<crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError> for Error {
10797    fn from(err: crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError) -> Self {
10798        match err {
10799            crate::operation::describe_traffic_mirror_filters::DescribeTrafficMirrorFiltersError::Unhandled(inner) => Error::Unhandled(inner),
10800        }
10801    }
10802}
10803impl<R>
10804    From<
10805        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError, R>,
10806    > for Error
10807where
10808    R: Send + Sync + std::fmt::Debug + 'static,
10809{
10810    fn from(
10811        err: ::aws_smithy_runtime_api::client::result::SdkError<
10812            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError,
10813            R,
10814        >,
10815    ) -> Self {
10816        match err {
10817            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10818            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10819                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10820                source: err.into(),
10821            }),
10822        }
10823    }
10824}
10825impl From<crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError> for Error {
10826    fn from(err: crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError) -> Self {
10827        match err {
10828            crate::operation::describe_traffic_mirror_sessions::DescribeTrafficMirrorSessionsError::Unhandled(inner) => Error::Unhandled(inner),
10829        }
10830    }
10831}
10832impl<R>
10833    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError, R>>
10834    for Error
10835where
10836    R: Send + Sync + std::fmt::Debug + 'static,
10837{
10838    fn from(
10839        err: ::aws_smithy_runtime_api::client::result::SdkError<
10840            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError,
10841            R,
10842        >,
10843    ) -> Self {
10844        match err {
10845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10848                source: err.into(),
10849            }),
10850        }
10851    }
10852}
10853impl From<crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError> for Error {
10854    fn from(err: crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError) -> Self {
10855        match err {
10856            crate::operation::describe_traffic_mirror_targets::DescribeTrafficMirrorTargetsError::Unhandled(inner) => Error::Unhandled(inner),
10857        }
10858    }
10859}
10860impl<R>
10861    From<
10862        ::aws_smithy_runtime_api::client::result::SdkError<
10863            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10864            R,
10865        >,
10866    > for Error
10867where
10868    R: Send + Sync + std::fmt::Debug + 'static,
10869{
10870    fn from(
10871        err: ::aws_smithy_runtime_api::client::result::SdkError<
10872            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError,
10873            R,
10874        >,
10875    ) -> Self {
10876        match err {
10877            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10878            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10879                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10880                source: err.into(),
10881            }),
10882        }
10883    }
10884}
10885impl From<crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError> for Error {
10886    fn from(err: crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError) -> Self {
10887        match err {
10888            crate::operation::describe_transit_gateway_attachments::DescribeTransitGatewayAttachmentsError::Unhandled(inner) => {
10889                Error::Unhandled(inner)
10890            }
10891        }
10892    }
10893}
10894impl<R>
10895    From<
10896        ::aws_smithy_runtime_api::client::result::SdkError<
10897            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10898            R,
10899        >,
10900    > for Error
10901where
10902    R: Send + Sync + std::fmt::Debug + 'static,
10903{
10904    fn from(
10905        err: ::aws_smithy_runtime_api::client::result::SdkError<
10906            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError,
10907            R,
10908        >,
10909    ) -> Self {
10910        match err {
10911            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10912            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10913                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10914                source: err.into(),
10915            }),
10916        }
10917    }
10918}
10919impl From<crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError> for Error {
10920    fn from(err: crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError) -> Self {
10921        match err {
10922            crate::operation::describe_transit_gateway_connect_peers::DescribeTransitGatewayConnectPeersError::Unhandled(inner) => {
10923                Error::Unhandled(inner)
10924            }
10925        }
10926    }
10927}
10928impl<R>
10929    From<
10930        ::aws_smithy_runtime_api::client::result::SdkError<
10931            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10932            R,
10933        >,
10934    > for Error
10935where
10936    R: Send + Sync + std::fmt::Debug + 'static,
10937{
10938    fn from(
10939        err: ::aws_smithy_runtime_api::client::result::SdkError<
10940            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError,
10941            R,
10942        >,
10943    ) -> Self {
10944        match err {
10945            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10946            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10947                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10948                source: err.into(),
10949            }),
10950        }
10951    }
10952}
10953impl From<crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError> for Error {
10954    fn from(err: crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError) -> Self {
10955        match err {
10956            crate::operation::describe_transit_gateway_connects::DescribeTransitGatewayConnectsError::Unhandled(inner) => Error::Unhandled(inner),
10957        }
10958    }
10959}
10960impl<R>
10961    From<
10962        ::aws_smithy_runtime_api::client::result::SdkError<
10963            crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError,
10964            R,
10965        >,
10966    > for Error
10967where
10968    R: Send + Sync + std::fmt::Debug + 'static,
10969{
10970    fn from(
10971        err: ::aws_smithy_runtime_api::client::result::SdkError<
10972            crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError,
10973            R,
10974        >,
10975    ) -> Self {
10976        match err {
10977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10980                source: err.into(),
10981            }),
10982        }
10983    }
10984}
10985impl From<crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError> for Error {
10986    fn from(err: crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError) -> Self {
10987        match err {
10988            crate::operation::describe_transit_gateway_metering_policies::DescribeTransitGatewayMeteringPoliciesError::Unhandled(inner) => {
10989                Error::Unhandled(inner)
10990            }
10991        }
10992    }
10993}
10994impl<R>
10995    From<
10996        ::aws_smithy_runtime_api::client::result::SdkError<
10997            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
10998            R,
10999        >,
11000    > for Error
11001where
11002    R: Send + Sync + std::fmt::Debug + 'static,
11003{
11004    fn from(
11005        err: ::aws_smithy_runtime_api::client::result::SdkError<
11006            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError,
11007            R,
11008        >,
11009    ) -> Self {
11010        match err {
11011            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11012            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11013                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11014                source: err.into(),
11015            }),
11016        }
11017    }
11018}
11019impl From<crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError> for Error {
11020    fn from(err: crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError) -> Self {
11021        match err {
11022            crate::operation::describe_transit_gateway_multicast_domains::DescribeTransitGatewayMulticastDomainsError::Unhandled(inner) => {
11023                Error::Unhandled(inner)
11024            }
11025        }
11026    }
11027}
11028impl<R>
11029    From<
11030        ::aws_smithy_runtime_api::client::result::SdkError<
11031            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
11032            R,
11033        >,
11034    > for Error
11035where
11036    R: Send + Sync + std::fmt::Debug + 'static,
11037{
11038    fn from(
11039        err: ::aws_smithy_runtime_api::client::result::SdkError<
11040            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError,
11041            R,
11042        >,
11043    ) -> Self {
11044        match err {
11045            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11046            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11047                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11048                source: err.into(),
11049            }),
11050        }
11051    }
11052}
11053impl From<crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError> for Error {
11054    fn from(err: crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError) -> Self {
11055        match err {
11056            crate::operation::describe_transit_gateway_peering_attachments::DescribeTransitGatewayPeeringAttachmentsError::Unhandled(inner) => {
11057                Error::Unhandled(inner)
11058            }
11059        }
11060    }
11061}
11062impl<R>
11063    From<
11064        ::aws_smithy_runtime_api::client::result::SdkError<
11065            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
11066            R,
11067        >,
11068    > for Error
11069where
11070    R: Send + Sync + std::fmt::Debug + 'static,
11071{
11072    fn from(
11073        err: ::aws_smithy_runtime_api::client::result::SdkError<
11074            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError,
11075            R,
11076        >,
11077    ) -> Self {
11078        match err {
11079            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11080            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11081                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11082                source: err.into(),
11083            }),
11084        }
11085    }
11086}
11087impl From<crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError> for Error {
11088    fn from(err: crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError) -> Self {
11089        match err {
11090            crate::operation::describe_transit_gateway_policy_tables::DescribeTransitGatewayPolicyTablesError::Unhandled(inner) => {
11091                Error::Unhandled(inner)
11092            }
11093        }
11094    }
11095}
11096impl<R>
11097    From<
11098        ::aws_smithy_runtime_api::client::result::SdkError<
11099            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
11100            R,
11101        >,
11102    > for Error
11103where
11104    R: Send + Sync + std::fmt::Debug + 'static,
11105{
11106    fn from(
11107        err: ::aws_smithy_runtime_api::client::result::SdkError<
11108            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError,
11109            R,
11110        >,
11111    ) -> Self {
11112        match err {
11113            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11114            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11115                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11116                source: err.into(),
11117            }),
11118        }
11119    }
11120}
11121impl From<crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError> for Error {
11122    fn from(err: crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError) -> Self {
11123        match err {
11124            crate::operation::describe_transit_gateway_route_table_announcements::DescribeTransitGatewayRouteTableAnnouncementsError::Unhandled(
11125                inner,
11126            ) => Error::Unhandled(inner),
11127        }
11128    }
11129}
11130impl<R>
11131    From<
11132        ::aws_smithy_runtime_api::client::result::SdkError<
11133            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
11134            R,
11135        >,
11136    > for Error
11137where
11138    R: Send + Sync + std::fmt::Debug + 'static,
11139{
11140    fn from(
11141        err: ::aws_smithy_runtime_api::client::result::SdkError<
11142            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError,
11143            R,
11144        >,
11145    ) -> 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::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError> for Error {
11156    fn from(err: crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError) -> Self {
11157        match err {
11158            crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError::Unhandled(inner) => {
11159                Error::Unhandled(inner)
11160            }
11161        }
11162    }
11163}
11164impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>>
11165    for Error
11166where
11167    R: Send + Sync + std::fmt::Debug + 'static,
11168{
11169    fn from(
11170        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError, R>,
11171    ) -> Self {
11172        match err {
11173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11176                source: err.into(),
11177            }),
11178        }
11179    }
11180}
11181impl From<crate::operation::describe_transit_gateways::DescribeTransitGatewaysError> for Error {
11182    fn from(err: crate::operation::describe_transit_gateways::DescribeTransitGatewaysError) -> Self {
11183        match err {
11184            crate::operation::describe_transit_gateways::DescribeTransitGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
11185        }
11186    }
11187}
11188impl<R>
11189    From<
11190        ::aws_smithy_runtime_api::client::result::SdkError<
11191            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
11192            R,
11193        >,
11194    > for Error
11195where
11196    R: Send + Sync + std::fmt::Debug + 'static,
11197{
11198    fn from(
11199        err: ::aws_smithy_runtime_api::client::result::SdkError<
11200            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError,
11201            R,
11202        >,
11203    ) -> Self {
11204        match err {
11205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11208                source: err.into(),
11209            }),
11210        }
11211    }
11212}
11213impl From<crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError> for Error {
11214    fn from(err: crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError) -> Self {
11215        match err {
11216            crate::operation::describe_transit_gateway_vpc_attachments::DescribeTransitGatewayVpcAttachmentsError::Unhandled(inner) => {
11217                Error::Unhandled(inner)
11218            }
11219        }
11220    }
11221}
11222impl<R>
11223    From<
11224        ::aws_smithy_runtime_api::client::result::SdkError<
11225            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
11226            R,
11227        >,
11228    > for Error
11229where
11230    R: Send + Sync + std::fmt::Debug + 'static,
11231{
11232    fn from(
11233        err: ::aws_smithy_runtime_api::client::result::SdkError<
11234            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError,
11235            R,
11236        >,
11237    ) -> Self {
11238        match err {
11239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11242                source: err.into(),
11243            }),
11244        }
11245    }
11246}
11247impl From<crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError> for Error {
11248    fn from(err: crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError) -> Self {
11249        match err {
11250            crate::operation::describe_trunk_interface_associations::DescribeTrunkInterfaceAssociationsError::Unhandled(inner) => {
11251                Error::Unhandled(inner)
11252            }
11253        }
11254    }
11255}
11256impl<R>
11257    From<
11258        ::aws_smithy_runtime_api::client::result::SdkError<
11259            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
11260            R,
11261        >,
11262    > for Error
11263where
11264    R: Send + Sync + std::fmt::Debug + 'static,
11265{
11266    fn from(
11267        err: ::aws_smithy_runtime_api::client::result::SdkError<
11268            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError,
11269            R,
11270        >,
11271    ) -> Self {
11272        match err {
11273            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11274            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11275                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11276                source: err.into(),
11277            }),
11278        }
11279    }
11280}
11281impl From<crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError> for Error {
11282    fn from(err: crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError) -> Self {
11283        match err {
11284            crate::operation::describe_verified_access_endpoints::DescribeVerifiedAccessEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
11285        }
11286    }
11287}
11288impl<R>
11289    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError, R>>
11290    for Error
11291where
11292    R: Send + Sync + std::fmt::Debug + 'static,
11293{
11294    fn from(
11295        err: ::aws_smithy_runtime_api::client::result::SdkError<
11296            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError,
11297            R,
11298        >,
11299    ) -> Self {
11300        match err {
11301            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11302            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11303                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11304                source: err.into(),
11305            }),
11306        }
11307    }
11308}
11309impl From<crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError> for Error {
11310    fn from(err: crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError) -> Self {
11311        match err {
11312            crate::operation::describe_verified_access_groups::DescribeVerifiedAccessGroupsError::Unhandled(inner) => Error::Unhandled(inner),
11313        }
11314    }
11315}
11316impl<R>
11317    From<
11318        ::aws_smithy_runtime_api::client::result::SdkError<
11319            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
11320            R,
11321        >,
11322    > for Error
11323where
11324    R: Send + Sync + std::fmt::Debug + 'static,
11325{
11326    fn from(
11327        err: ::aws_smithy_runtime_api::client::result::SdkError<
11328            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
11329            R,
11330        >,
11331    ) -> Self {
11332        match err {
11333            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11334            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11335                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11336                source: err.into(),
11337            }),
11338        }
11339    }
11340}
11341impl From<crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError>
11342    for Error
11343{
11344    fn from(
11345        err: crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError,
11346    ) -> Self {
11347        match err {
11348            crate::operation::describe_verified_access_instance_logging_configurations::DescribeVerifiedAccessInstanceLoggingConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
11349        }
11350    }
11351}
11352impl<R>
11353    From<
11354        ::aws_smithy_runtime_api::client::result::SdkError<
11355            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
11356            R,
11357        >,
11358    > for Error
11359where
11360    R: Send + Sync + std::fmt::Debug + 'static,
11361{
11362    fn from(
11363        err: ::aws_smithy_runtime_api::client::result::SdkError<
11364            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError,
11365            R,
11366        >,
11367    ) -> Self {
11368        match err {
11369            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11370            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11371                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11372                source: err.into(),
11373            }),
11374        }
11375    }
11376}
11377impl From<crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError> for Error {
11378    fn from(err: crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError) -> Self {
11379        match err {
11380            crate::operation::describe_verified_access_instances::DescribeVerifiedAccessInstancesError::Unhandled(inner) => Error::Unhandled(inner),
11381        }
11382    }
11383}
11384impl<R>
11385    From<
11386        ::aws_smithy_runtime_api::client::result::SdkError<
11387            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
11388            R,
11389        >,
11390    > for Error
11391where
11392    R: Send + Sync + std::fmt::Debug + 'static,
11393{
11394    fn from(
11395        err: ::aws_smithy_runtime_api::client::result::SdkError<
11396            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError,
11397            R,
11398        >,
11399    ) -> Self {
11400        match err {
11401            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11402            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11403                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11404                source: err.into(),
11405            }),
11406        }
11407    }
11408}
11409impl From<crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError> for Error {
11410    fn from(err: crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError) -> Self {
11411        match err {
11412            crate::operation::describe_verified_access_trust_providers::DescribeVerifiedAccessTrustProvidersError::Unhandled(inner) => {
11413                Error::Unhandled(inner)
11414            }
11415        }
11416    }
11417}
11418impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>>
11419    for Error
11420where
11421    R: Send + Sync + std::fmt::Debug + 'static,
11422{
11423    fn from(
11424        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError, R>,
11425    ) -> Self {
11426        match err {
11427            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11428            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11429                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11430                source: err.into(),
11431            }),
11432        }
11433    }
11434}
11435impl From<crate::operation::describe_volume_attribute::DescribeVolumeAttributeError> for Error {
11436    fn from(err: crate::operation::describe_volume_attribute::DescribeVolumeAttributeError) -> Self {
11437        match err {
11438            crate::operation::describe_volume_attribute::DescribeVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
11439        }
11440    }
11441}
11442impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>> for Error
11443where
11444    R: Send + Sync + std::fmt::Debug + 'static,
11445{
11446    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes::DescribeVolumesError, R>) -> Self {
11447        match err {
11448            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11449            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11450                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11451                source: err.into(),
11452            }),
11453        }
11454    }
11455}
11456impl From<crate::operation::describe_volumes::DescribeVolumesError> for Error {
11457    fn from(err: crate::operation::describe_volumes::DescribeVolumesError) -> Self {
11458        match err {
11459            crate::operation::describe_volumes::DescribeVolumesError::Unhandled(inner) => Error::Unhandled(inner),
11460        }
11461    }
11462}
11463impl<R>
11464    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError, R>>
11465    for Error
11466where
11467    R: Send + Sync + std::fmt::Debug + 'static,
11468{
11469    fn from(
11470        err: ::aws_smithy_runtime_api::client::result::SdkError<
11471            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError,
11472            R,
11473        >,
11474    ) -> Self {
11475        match err {
11476            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11477            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11478                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11479                source: err.into(),
11480            }),
11481        }
11482    }
11483}
11484impl From<crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError> for Error {
11485    fn from(err: crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError) -> Self {
11486        match err {
11487            crate::operation::describe_volumes_modifications::DescribeVolumesModificationsError::Unhandled(inner) => Error::Unhandled(inner),
11488        }
11489    }
11490}
11491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>> for Error
11492where
11493    R: Send + Sync + std::fmt::Debug + 'static,
11494{
11495    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_volume_status::DescribeVolumeStatusError, R>) -> Self {
11496        match err {
11497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11500                source: err.into(),
11501            }),
11502        }
11503    }
11504}
11505impl From<crate::operation::describe_volume_status::DescribeVolumeStatusError> for Error {
11506    fn from(err: crate::operation::describe_volume_status::DescribeVolumeStatusError) -> Self {
11507        match err {
11508            crate::operation::describe_volume_status::DescribeVolumeStatusError::Unhandled(inner) => Error::Unhandled(inner),
11509        }
11510    }
11511}
11512impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>> for Error
11513where
11514    R: Send + Sync + std::fmt::Debug + 'static,
11515{
11516    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError, R>) -> Self {
11517        match err {
11518            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11519            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11520                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11521                source: err.into(),
11522            }),
11523        }
11524    }
11525}
11526impl From<crate::operation::describe_vpc_attribute::DescribeVpcAttributeError> for Error {
11527    fn from(err: crate::operation::describe_vpc_attribute::DescribeVpcAttributeError) -> Self {
11528        match err {
11529            crate::operation::describe_vpc_attribute::DescribeVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
11530        }
11531    }
11532}
11533impl<R>
11534    From<
11535        ::aws_smithy_runtime_api::client::result::SdkError<
11536            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
11537            R,
11538        >,
11539    > for Error
11540where
11541    R: Send + Sync + std::fmt::Debug + 'static,
11542{
11543    fn from(
11544        err: ::aws_smithy_runtime_api::client::result::SdkError<
11545            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError,
11546            R,
11547        >,
11548    ) -> Self {
11549        match err {
11550            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11551            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11552                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11553                source: err.into(),
11554            }),
11555        }
11556    }
11557}
11558impl From<crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError> for Error {
11559    fn from(err: crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError) -> Self {
11560        match err {
11561            crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError::Unhandled(inner) => {
11562                Error::Unhandled(inner)
11563            }
11564        }
11565    }
11566}
11567impl<R>
11568    From<
11569        ::aws_smithy_runtime_api::client::result::SdkError<
11570            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
11571            R,
11572        >,
11573    > for Error
11574where
11575    R: Send + Sync + std::fmt::Debug + 'static,
11576{
11577    fn from(
11578        err: ::aws_smithy_runtime_api::client::result::SdkError<
11579            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError,
11580            R,
11581        >,
11582    ) -> Self {
11583        match err {
11584            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11585            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11586                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11587                source: err.into(),
11588            }),
11589        }
11590    }
11591}
11592impl From<crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError> for Error {
11593    fn from(err: crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError) -> Self {
11594        match err {
11595            crate::operation::describe_vpc_block_public_access_options::DescribeVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
11596                Error::Unhandled(inner)
11597            }
11598        }
11599    }
11600}
11601impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>>
11602    for Error
11603where
11604    R: Send + Sync + std::fmt::Debug + 'static,
11605{
11606    fn from(
11607        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError, R>,
11608    ) -> Self {
11609        match err {
11610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11613                source: err.into(),
11614            }),
11615        }
11616    }
11617}
11618impl From<crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError> for Error {
11619    fn from(err: crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError) -> Self {
11620        match err {
11621            crate::operation::describe_vpc_classic_link::DescribeVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
11622        }
11623    }
11624}
11625impl<R>
11626    From<
11627        ::aws_smithy_runtime_api::client::result::SdkError<
11628            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
11629            R,
11630        >,
11631    > for Error
11632where
11633    R: Send + Sync + std::fmt::Debug + 'static,
11634{
11635    fn from(
11636        err: ::aws_smithy_runtime_api::client::result::SdkError<
11637            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError,
11638            R,
11639        >,
11640    ) -> Self {
11641        match err {
11642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11645                source: err.into(),
11646            }),
11647        }
11648    }
11649}
11650impl From<crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError> for Error {
11651    fn from(err: crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError) -> Self {
11652        match err {
11653            crate::operation::describe_vpc_classic_link_dns_support::DescribeVpcClassicLinkDnsSupportError::Unhandled(inner) => {
11654                Error::Unhandled(inner)
11655            }
11656        }
11657    }
11658}
11659impl<R>
11660    From<
11661        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError, R>,
11662    > for Error
11663where
11664    R: Send + Sync + std::fmt::Debug + 'static,
11665{
11666    fn from(
11667        err: ::aws_smithy_runtime_api::client::result::SdkError<
11668            crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError,
11669            R,
11670        >,
11671    ) -> Self {
11672        match err {
11673            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11674            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11675                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11676                source: err.into(),
11677            }),
11678        }
11679    }
11680}
11681impl From<crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError> for Error {
11682    fn from(err: crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError) -> Self {
11683        match err {
11684            crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError::Unhandled(inner) => Error::Unhandled(inner),
11685        }
11686    }
11687}
11688impl<R>
11689    From<
11690        ::aws_smithy_runtime_api::client::result::SdkError<
11691            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
11692            R,
11693        >,
11694    > for Error
11695where
11696    R: Send + Sync + std::fmt::Debug + 'static,
11697{
11698    fn from(
11699        err: ::aws_smithy_runtime_api::client::result::SdkError<
11700            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError,
11701            R,
11702        >,
11703    ) -> Self {
11704        match err {
11705            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11706            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11707                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11708                source: err.into(),
11709            }),
11710        }
11711    }
11712}
11713impl From<crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError> for Error {
11714    fn from(err: crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError) -> Self {
11715        match err {
11716            crate::operation::describe_vpc_endpoint_associations::DescribeVpcEndpointAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
11717        }
11718    }
11719}
11720impl<R>
11721    From<
11722        ::aws_smithy_runtime_api::client::result::SdkError<
11723            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
11724            R,
11725        >,
11726    > for Error
11727where
11728    R: Send + Sync + std::fmt::Debug + 'static,
11729{
11730    fn from(
11731        err: ::aws_smithy_runtime_api::client::result::SdkError<
11732            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError,
11733            R,
11734        >,
11735    ) -> Self {
11736        match err {
11737            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11738            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11739                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11740                source: err.into(),
11741            }),
11742        }
11743    }
11744}
11745impl From<crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError> for Error {
11746    fn from(err: crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError) -> Self {
11747        match err {
11748            crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError::Unhandled(inner) => {
11749                Error::Unhandled(inner)
11750            }
11751        }
11752    }
11753}
11754impl<R>
11755    From<
11756        ::aws_smithy_runtime_api::client::result::SdkError<
11757            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
11758            R,
11759        >,
11760    > for Error
11761where
11762    R: Send + Sync + std::fmt::Debug + 'static,
11763{
11764    fn from(
11765        err: ::aws_smithy_runtime_api::client::result::SdkError<
11766            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError,
11767            R,
11768        >,
11769    ) -> Self {
11770        match err {
11771            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11772            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11773                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11774                source: err.into(),
11775            }),
11776        }
11777    }
11778}
11779impl From<crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError> for Error {
11780    fn from(err: crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError) -> Self {
11781        match err {
11782            crate::operation::describe_vpc_endpoint_connections::DescribeVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11783        }
11784    }
11785}
11786impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>> for Error
11787where
11788    R: Send + Sync + std::fmt::Debug + 'static,
11789{
11790    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError, R>) -> Self {
11791        match err {
11792            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11793            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11794                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11795                source: err.into(),
11796            }),
11797        }
11798    }
11799}
11800impl From<crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError> for Error {
11801    fn from(err: crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError) -> Self {
11802        match err {
11803            crate::operation::describe_vpc_endpoints::DescribeVpcEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
11804        }
11805    }
11806}
11807impl<R>
11808    From<
11809        ::aws_smithy_runtime_api::client::result::SdkError<
11810            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11811            R,
11812        >,
11813    > for Error
11814where
11815    R: Send + Sync + std::fmt::Debug + 'static,
11816{
11817    fn from(
11818        err: ::aws_smithy_runtime_api::client::result::SdkError<
11819            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError,
11820            R,
11821        >,
11822    ) -> Self {
11823        match err {
11824            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11825            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11826                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11827                source: err.into(),
11828            }),
11829        }
11830    }
11831}
11832impl From<crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError> for Error {
11833    fn from(err: crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError) -> Self {
11834        match err {
11835            crate::operation::describe_vpc_endpoint_service_configurations::DescribeVpcEndpointServiceConfigurationsError::Unhandled(inner) => {
11836                Error::Unhandled(inner)
11837            }
11838        }
11839    }
11840}
11841impl<R>
11842    From<
11843        ::aws_smithy_runtime_api::client::result::SdkError<
11844            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11845            R,
11846        >,
11847    > for Error
11848where
11849    R: Send + Sync + std::fmt::Debug + 'static,
11850{
11851    fn from(
11852        err: ::aws_smithy_runtime_api::client::result::SdkError<
11853            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError,
11854            R,
11855        >,
11856    ) -> Self {
11857        match err {
11858            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11859            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11860                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11861                source: err.into(),
11862            }),
11863        }
11864    }
11865}
11866impl From<crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError> for Error {
11867    fn from(err: crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError) -> Self {
11868        match err {
11869            crate::operation::describe_vpc_endpoint_service_permissions::DescribeVpcEndpointServicePermissionsError::Unhandled(inner) => {
11870                Error::Unhandled(inner)
11871            }
11872        }
11873    }
11874}
11875impl<R>
11876    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError, R>>
11877    for Error
11878where
11879    R: Send + Sync + std::fmt::Debug + 'static,
11880{
11881    fn from(
11882        err: ::aws_smithy_runtime_api::client::result::SdkError<
11883            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError,
11884            R,
11885        >,
11886    ) -> Self {
11887        match err {
11888            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11889            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11890                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11891                source: err.into(),
11892            }),
11893        }
11894    }
11895}
11896impl From<crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError> for Error {
11897    fn from(err: crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError) -> Self {
11898        match err {
11899            crate::operation::describe_vpc_endpoint_services::DescribeVpcEndpointServicesError::Unhandled(inner) => Error::Unhandled(inner),
11900        }
11901    }
11902}
11903impl<R>
11904    From<
11905        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError, R>,
11906    > for Error
11907where
11908    R: Send + Sync + std::fmt::Debug + 'static,
11909{
11910    fn from(
11911        err: ::aws_smithy_runtime_api::client::result::SdkError<
11912            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError,
11913            R,
11914        >,
11915    ) -> Self {
11916        match err {
11917            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11918            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11919                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11920                source: err.into(),
11921            }),
11922        }
11923    }
11924}
11925impl From<crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError> for Error {
11926    fn from(err: crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError) -> Self {
11927        match err {
11928            crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11929        }
11930    }
11931}
11932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>> for Error
11933where
11934    R: Send + Sync + std::fmt::Debug + 'static,
11935{
11936    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpcs::DescribeVpcsError, R>) -> Self {
11937        match err {
11938            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11939            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11940                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11941                source: err.into(),
11942            }),
11943        }
11944    }
11945}
11946impl From<crate::operation::describe_vpcs::DescribeVpcsError> for Error {
11947    fn from(err: crate::operation::describe_vpcs::DescribeVpcsError) -> Self {
11948        match err {
11949            crate::operation::describe_vpcs::DescribeVpcsError::Unhandled(inner) => Error::Unhandled(inner),
11950        }
11951    }
11952}
11953impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError, R>>
11954    for Error
11955where
11956    R: Send + Sync + std::fmt::Debug + 'static,
11957{
11958    fn from(
11959        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError, R>,
11960    ) -> Self {
11961        match err {
11962            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11963            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11964                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11965                source: err.into(),
11966            }),
11967        }
11968    }
11969}
11970impl From<crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError> for Error {
11971    fn from(err: crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError) -> Self {
11972        match err {
11973            crate::operation::describe_vpn_concentrators::DescribeVpnConcentratorsError::Unhandled(inner) => Error::Unhandled(inner),
11974        }
11975    }
11976}
11977impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>> for Error
11978where
11979    R: Send + Sync + std::fmt::Debug + 'static,
11980{
11981    fn from(
11982        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError, R>,
11983    ) -> Self {
11984        match err {
11985            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
11986            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
11987                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
11988                source: err.into(),
11989            }),
11990        }
11991    }
11992}
11993impl From<crate::operation::describe_vpn_connections::DescribeVpnConnectionsError> for Error {
11994    fn from(err: crate::operation::describe_vpn_connections::DescribeVpnConnectionsError) -> Self {
11995        match err {
11996            crate::operation::describe_vpn_connections::DescribeVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
11997        }
11998    }
11999}
12000impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>> for Error
12001where
12002    R: Send + Sync + std::fmt::Debug + 'static,
12003{
12004    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError, R>) -> Self {
12005        match err {
12006            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12007            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12008                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12009                source: err.into(),
12010            }),
12011        }
12012    }
12013}
12014impl From<crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError> for Error {
12015    fn from(err: crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError) -> Self {
12016        match err {
12017            crate::operation::describe_vpn_gateways::DescribeVpnGatewaysError::Unhandled(inner) => Error::Unhandled(inner),
12018        }
12019    }
12020}
12021impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>> for Error
12022where
12023    R: Send + Sync + std::fmt::Debug + 'static,
12024{
12025    fn from(
12026        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError, R>,
12027    ) -> Self {
12028        match err {
12029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12032                source: err.into(),
12033            }),
12034        }
12035    }
12036}
12037impl From<crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError> for Error {
12038    fn from(err: crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError) -> Self {
12039        match err {
12040            crate::operation::detach_classic_link_vpc::DetachClassicLinkVpcError::Unhandled(inner) => Error::Unhandled(inner),
12041        }
12042    }
12043}
12044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>> for Error
12045where
12046    R: Send + Sync + std::fmt::Debug + 'static,
12047{
12048    fn from(
12049        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_internet_gateway::DetachInternetGatewayError, R>,
12050    ) -> Self {
12051        match err {
12052            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12053            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12054                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12055                source: err.into(),
12056            }),
12057        }
12058    }
12059}
12060impl From<crate::operation::detach_internet_gateway::DetachInternetGatewayError> for Error {
12061    fn from(err: crate::operation::detach_internet_gateway::DetachInternetGatewayError) -> Self {
12062        match err {
12063            crate::operation::detach_internet_gateway::DetachInternetGatewayError::Unhandled(inner) => Error::Unhandled(inner),
12064        }
12065    }
12066}
12067impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>> for Error
12068where
12069    R: Send + Sync + std::fmt::Debug + 'static,
12070{
12071    fn from(
12072        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_network_interface::DetachNetworkInterfaceError, R>,
12073    ) -> Self {
12074        match err {
12075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12078                source: err.into(),
12079            }),
12080        }
12081    }
12082}
12083impl From<crate::operation::detach_network_interface::DetachNetworkInterfaceError> for Error {
12084    fn from(err: crate::operation::detach_network_interface::DetachNetworkInterfaceError) -> Self {
12085        match err {
12086            crate::operation::detach_network_interface::DetachNetworkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
12087        }
12088    }
12089}
12090impl<R>
12091    From<
12092        ::aws_smithy_runtime_api::client::result::SdkError<
12093            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
12094            R,
12095        >,
12096    > for Error
12097where
12098    R: Send + Sync + std::fmt::Debug + 'static,
12099{
12100    fn from(
12101        err: ::aws_smithy_runtime_api::client::result::SdkError<
12102            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError,
12103            R,
12104        >,
12105    ) -> Self {
12106        match err {
12107            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12108            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12109                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12110                source: err.into(),
12111            }),
12112        }
12113    }
12114}
12115impl From<crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError> for Error {
12116    fn from(err: crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError) -> Self {
12117        match err {
12118            crate::operation::detach_verified_access_trust_provider::DetachVerifiedAccessTrustProviderError::Unhandled(inner) => {
12119                Error::Unhandled(inner)
12120            }
12121        }
12122    }
12123}
12124impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>> for Error
12125where
12126    R: Send + Sync + std::fmt::Debug + 'static,
12127{
12128    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_volume::DetachVolumeError, R>) -> Self {
12129        match err {
12130            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12131            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12132                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12133                source: err.into(),
12134            }),
12135        }
12136    }
12137}
12138impl From<crate::operation::detach_volume::DetachVolumeError> for Error {
12139    fn from(err: crate::operation::detach_volume::DetachVolumeError) -> Self {
12140        match err {
12141            crate::operation::detach_volume::DetachVolumeError::Unhandled(inner) => Error::Unhandled(inner),
12142        }
12143    }
12144}
12145impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>> for Error
12146where
12147    R: Send + Sync + std::fmt::Debug + 'static,
12148{
12149    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::detach_vpn_gateway::DetachVpnGatewayError, R>) -> Self {
12150        match err {
12151            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12152            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12153                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12154                source: err.into(),
12155            }),
12156        }
12157    }
12158}
12159impl From<crate::operation::detach_vpn_gateway::DetachVpnGatewayError> for Error {
12160    fn from(err: crate::operation::detach_vpn_gateway::DetachVpnGatewayError) -> Self {
12161        match err {
12162            crate::operation::detach_vpn_gateway::DetachVpnGatewayError::Unhandled(inner) => Error::Unhandled(inner),
12163        }
12164    }
12165}
12166impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>> for Error
12167where
12168    R: Send + Sync + std::fmt::Debug + 'static,
12169{
12170    fn from(
12171        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_address_transfer::DisableAddressTransferError, R>,
12172    ) -> Self {
12173        match err {
12174            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12175            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12176                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12177                source: err.into(),
12178            }),
12179        }
12180    }
12181}
12182impl From<crate::operation::disable_address_transfer::DisableAddressTransferError> for Error {
12183    fn from(err: crate::operation::disable_address_transfer::DisableAddressTransferError) -> Self {
12184        match err {
12185            crate::operation::disable_address_transfer::DisableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
12186        }
12187    }
12188}
12189impl<R>
12190    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError, R>>
12191    for Error
12192where
12193    R: Send + Sync + std::fmt::Debug + 'static,
12194{
12195    fn from(
12196        err: ::aws_smithy_runtime_api::client::result::SdkError<
12197            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError,
12198            R,
12199        >,
12200    ) -> Self {
12201        match err {
12202            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12203            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12204                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12205                source: err.into(),
12206            }),
12207        }
12208    }
12209}
12210impl From<crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError> for Error {
12211    fn from(err: crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError) -> Self {
12212        match err {
12213            crate::operation::disable_allowed_images_settings::DisableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
12214        }
12215    }
12216}
12217impl<R>
12218    From<
12219        ::aws_smithy_runtime_api::client::result::SdkError<
12220            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
12221            R,
12222        >,
12223    > for Error
12224where
12225    R: Send + Sync + std::fmt::Debug + 'static,
12226{
12227    fn from(
12228        err: ::aws_smithy_runtime_api::client::result::SdkError<
12229            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError,
12230            R,
12231        >,
12232    ) -> Self {
12233        match err {
12234            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12235            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12236                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12237                source: err.into(),
12238            }),
12239        }
12240    }
12241}
12242impl From<crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError> for Error {
12243    fn from(err: crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
12244        match err {
12245            crate::operation::disable_aws_network_performance_metric_subscription::DisableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
12246                inner,
12247            ) => Error::Unhandled(inner),
12248        }
12249    }
12250}
12251impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>> for Error
12252where
12253    R: Send + Sync + std::fmt::Debug + 'static,
12254{
12255    fn from(
12256        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_capacity_manager::DisableCapacityManagerError, R>,
12257    ) -> Self {
12258        match err {
12259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12262                source: err.into(),
12263            }),
12264        }
12265    }
12266}
12267impl From<crate::operation::disable_capacity_manager::DisableCapacityManagerError> for Error {
12268    fn from(err: crate::operation::disable_capacity_manager::DisableCapacityManagerError) -> Self {
12269        match err {
12270            crate::operation::disable_capacity_manager::DisableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
12271        }
12272    }
12273}
12274impl<R>
12275    From<
12276        ::aws_smithy_runtime_api::client::result::SdkError<
12277            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
12278            R,
12279        >,
12280    > for Error
12281where
12282    R: Send + Sync + std::fmt::Debug + 'static,
12283{
12284    fn from(
12285        err: ::aws_smithy_runtime_api::client::result::SdkError<
12286            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError,
12287            R,
12288        >,
12289    ) -> Self {
12290        match err {
12291            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12292            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12293                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12294                source: err.into(),
12295            }),
12296        }
12297    }
12298}
12299impl From<crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError> for Error {
12300    fn from(err: crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError) -> Self {
12301        match err {
12302            crate::operation::disable_ebs_encryption_by_default::DisableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
12303        }
12304    }
12305}
12306impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>> for Error
12307where
12308    R: Send + Sync + std::fmt::Debug + 'static,
12309{
12310    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_launch::DisableFastLaunchError, R>) -> Self {
12311        match err {
12312            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12313            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12314                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12315                source: err.into(),
12316            }),
12317        }
12318    }
12319}
12320impl From<crate::operation::disable_fast_launch::DisableFastLaunchError> for Error {
12321    fn from(err: crate::operation::disable_fast_launch::DisableFastLaunchError) -> Self {
12322        match err {
12323            crate::operation::disable_fast_launch::DisableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
12324        }
12325    }
12326}
12327impl<R>
12328    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError, R>>
12329    for Error
12330where
12331    R: Send + Sync + std::fmt::Debug + 'static,
12332{
12333    fn from(
12334        err: ::aws_smithy_runtime_api::client::result::SdkError<
12335            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError,
12336            R,
12337        >,
12338    ) -> Self {
12339        match err {
12340            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12341            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12342                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12343                source: err.into(),
12344            }),
12345        }
12346    }
12347}
12348impl From<crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError> for Error {
12349    fn from(err: crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError) -> Self {
12350        match err {
12351            crate::operation::disable_fast_snapshot_restores::DisableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
12352        }
12353    }
12354}
12355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>> for Error
12356where
12357    R: Send + Sync + std::fmt::Debug + 'static,
12358{
12359    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image::DisableImageError, R>) -> Self {
12360        match err {
12361            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12362            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12363                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12364                source: err.into(),
12365            }),
12366        }
12367    }
12368}
12369impl From<crate::operation::disable_image::DisableImageError> for Error {
12370    fn from(err: crate::operation::disable_image::DisableImageError) -> Self {
12371        match err {
12372            crate::operation::disable_image::DisableImageError::Unhandled(inner) => Error::Unhandled(inner),
12373        }
12374    }
12375}
12376impl<R>
12377    From<
12378        ::aws_smithy_runtime_api::client::result::SdkError<
12379            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
12380            R,
12381        >,
12382    > for Error
12383where
12384    R: Send + Sync + std::fmt::Debug + 'static,
12385{
12386    fn from(
12387        err: ::aws_smithy_runtime_api::client::result::SdkError<
12388            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError,
12389            R,
12390        >,
12391    ) -> Self {
12392        match err {
12393            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12394            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12395                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12396                source: err.into(),
12397            }),
12398        }
12399    }
12400}
12401impl From<crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError> for Error {
12402    fn from(err: crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError) -> Self {
12403        match err {
12404            crate::operation::disable_image_block_public_access::DisableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
12405        }
12406    }
12407}
12408impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>>
12409    for Error
12410where
12411    R: Send + Sync + std::fmt::Debug + 'static,
12412{
12413    fn from(
12414        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_image_deprecation::DisableImageDeprecationError, R>,
12415    ) -> Self {
12416        match err {
12417            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12418            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12419                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12420                source: err.into(),
12421            }),
12422        }
12423    }
12424}
12425impl From<crate::operation::disable_image_deprecation::DisableImageDeprecationError> for Error {
12426    fn from(err: crate::operation::disable_image_deprecation::DisableImageDeprecationError) -> Self {
12427        match err {
12428            crate::operation::disable_image_deprecation::DisableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
12429        }
12430    }
12431}
12432impl<R>
12433    From<
12434        ::aws_smithy_runtime_api::client::result::SdkError<
12435            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
12436            R,
12437        >,
12438    > for Error
12439where
12440    R: Send + Sync + std::fmt::Debug + 'static,
12441{
12442    fn from(
12443        err: ::aws_smithy_runtime_api::client::result::SdkError<
12444            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError,
12445            R,
12446        >,
12447    ) -> Self {
12448        match err {
12449            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12450            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12451                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12452                source: err.into(),
12453            }),
12454        }
12455    }
12456}
12457impl From<crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError> for Error {
12458    fn from(err: crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError) -> Self {
12459        match err {
12460            crate::operation::disable_image_deregistration_protection::DisableImageDeregistrationProtectionError::Unhandled(inner) => {
12461                Error::Unhandled(inner)
12462            }
12463        }
12464    }
12465}
12466impl<R>
12467    From<
12468        ::aws_smithy_runtime_api::client::result::SdkError<
12469            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError,
12470            R,
12471        >,
12472    > for Error
12473where
12474    R: Send + Sync + std::fmt::Debug + 'static,
12475{
12476    fn from(
12477        err: ::aws_smithy_runtime_api::client::result::SdkError<
12478            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError,
12479            R,
12480        >,
12481    ) -> Self {
12482        match err {
12483            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12484            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12485                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12486                source: err.into(),
12487            }),
12488        }
12489    }
12490}
12491impl From<crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError> for Error {
12492    fn from(err: crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError) -> Self {
12493        match err {
12494            crate::operation::disable_instance_sql_ha_standby_detections::DisableInstanceSqlHaStandbyDetectionsError::Unhandled(inner) => {
12495                Error::Unhandled(inner)
12496            }
12497        }
12498    }
12499}
12500impl<R>
12501    From<
12502        ::aws_smithy_runtime_api::client::result::SdkError<
12503            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
12504            R,
12505        >,
12506    > for Error
12507where
12508    R: Send + Sync + std::fmt::Debug + 'static,
12509{
12510    fn from(
12511        err: ::aws_smithy_runtime_api::client::result::SdkError<
12512            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError,
12513            R,
12514        >,
12515    ) -> Self {
12516        match err {
12517            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12518            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12519                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12520                source: err.into(),
12521            }),
12522        }
12523    }
12524}
12525impl From<crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError> for Error {
12526    fn from(err: crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError) -> Self {
12527        match err {
12528            crate::operation::disable_ipam_organization_admin_account::DisableIpamOrganizationAdminAccountError::Unhandled(inner) => {
12529                Error::Unhandled(inner)
12530            }
12531        }
12532    }
12533}
12534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_ipam_policy::DisableIpamPolicyError, R>> for Error
12535where
12536    R: Send + Sync + std::fmt::Debug + 'static,
12537{
12538    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_ipam_policy::DisableIpamPolicyError, R>) -> Self {
12539        match err {
12540            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12541            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12542                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12543                source: err.into(),
12544            }),
12545        }
12546    }
12547}
12548impl From<crate::operation::disable_ipam_policy::DisableIpamPolicyError> for Error {
12549    fn from(err: crate::operation::disable_ipam_policy::DisableIpamPolicyError) -> Self {
12550        match err {
12551            crate::operation::disable_ipam_policy::DisableIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
12552        }
12553    }
12554}
12555impl<R>
12556    From<
12557        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError, R>,
12558    > for Error
12559where
12560    R: Send + Sync + std::fmt::Debug + 'static,
12561{
12562    fn from(
12563        err: ::aws_smithy_runtime_api::client::result::SdkError<
12564            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError,
12565            R,
12566        >,
12567    ) -> Self {
12568        match err {
12569            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12570            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12571                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12572                source: err.into(),
12573            }),
12574        }
12575    }
12576}
12577impl From<crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError> for Error {
12578    fn from(err: crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError) -> Self {
12579        match err {
12580            crate::operation::disable_route_server_propagation::DisableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
12581        }
12582    }
12583}
12584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>>
12585    for Error
12586where
12587    R: Send + Sync + std::fmt::Debug + 'static,
12588{
12589    fn from(
12590        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError, R>,
12591    ) -> Self {
12592        match err {
12593            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12594            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12595                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12596                source: err.into(),
12597            }),
12598        }
12599    }
12600}
12601impl From<crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError> for Error {
12602    fn from(err: crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError) -> Self {
12603        match err {
12604            crate::operation::disable_serial_console_access::DisableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
12605        }
12606    }
12607}
12608impl<R>
12609    From<
12610        ::aws_smithy_runtime_api::client::result::SdkError<
12611            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
12612            R,
12613        >,
12614    > for Error
12615where
12616    R: Send + Sync + std::fmt::Debug + 'static,
12617{
12618    fn from(
12619        err: ::aws_smithy_runtime_api::client::result::SdkError<
12620            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
12621            R,
12622        >,
12623    ) -> Self {
12624        match err {
12625            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12626            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12627                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12628                source: err.into(),
12629            }),
12630        }
12631    }
12632}
12633impl From<crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError> for Error {
12634    fn from(err: crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError) -> Self {
12635        match err {
12636            crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError::Unhandled(inner) => {
12637                Error::Unhandled(inner)
12638            }
12639        }
12640    }
12641}
12642impl<R>
12643    From<
12644        ::aws_smithy_runtime_api::client::result::SdkError<
12645            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
12646            R,
12647        >,
12648    > for Error
12649where
12650    R: Send + Sync + std::fmt::Debug + 'static,
12651{
12652    fn from(
12653        err: ::aws_smithy_runtime_api::client::result::SdkError<
12654            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError,
12655            R,
12656        >,
12657    ) -> Self {
12658        match err {
12659            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12660            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12661                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12662                source: err.into(),
12663            }),
12664        }
12665    }
12666}
12667impl From<crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError> for Error {
12668    fn from(err: crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError) -> Self {
12669        match err {
12670            crate::operation::disable_transit_gateway_route_table_propagation::DisableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
12671                Error::Unhandled(inner)
12672            }
12673        }
12674    }
12675}
12676impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>>
12677    for Error
12678where
12679    R: Send + Sync + std::fmt::Debug + 'static,
12680{
12681    fn from(
12682        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError, R>,
12683    ) -> Self {
12684        match err {
12685            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12686            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12687                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12688                source: err.into(),
12689            }),
12690        }
12691    }
12692}
12693impl From<crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError> for Error {
12694    fn from(err: crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError) -> Self {
12695        match err {
12696            crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
12697        }
12698    }
12699}
12700impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>> for Error
12701where
12702    R: Send + Sync + std::fmt::Debug + 'static,
12703{
12704    fn from(
12705        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError, R>,
12706    ) -> Self {
12707        match err {
12708            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12709            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12710                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12711                source: err.into(),
12712            }),
12713        }
12714    }
12715}
12716impl From<crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError> for Error {
12717    fn from(err: crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError) -> Self {
12718        match err {
12719            crate::operation::disable_vpc_classic_link::DisableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
12720        }
12721    }
12722}
12723impl<R>
12724    From<
12725        ::aws_smithy_runtime_api::client::result::SdkError<
12726            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
12727            R,
12728        >,
12729    > for Error
12730where
12731    R: Send + Sync + std::fmt::Debug + 'static,
12732{
12733    fn from(
12734        err: ::aws_smithy_runtime_api::client::result::SdkError<
12735            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError,
12736            R,
12737        >,
12738    ) -> Self {
12739        match err {
12740            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12741            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12742                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12743                source: err.into(),
12744            }),
12745        }
12746    }
12747}
12748impl From<crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError> for Error {
12749    fn from(err: crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError) -> Self {
12750        match err {
12751            crate::operation::disable_vpc_classic_link_dns_support::DisableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
12752        }
12753    }
12754}
12755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>> for Error
12756where
12757    R: Send + Sync + std::fmt::Debug + 'static,
12758{
12759    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_address::DisassociateAddressError, R>) -> Self {
12760        match err {
12761            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12762            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12763                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12764                source: err.into(),
12765            }),
12766        }
12767    }
12768}
12769impl From<crate::operation::disassociate_address::DisassociateAddressError> for Error {
12770    fn from(err: crate::operation::disassociate_address::DisassociateAddressError) -> Self {
12771        match err {
12772            crate::operation::disassociate_address::DisassociateAddressError::Unhandled(inner) => Error::Unhandled(inner),
12773        }
12774    }
12775}
12776impl<R>
12777    From<
12778        ::aws_smithy_runtime_api::client::result::SdkError<
12779            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
12780            R,
12781        >,
12782    > for Error
12783where
12784    R: Send + Sync + std::fmt::Debug + 'static,
12785{
12786    fn from(
12787        err: ::aws_smithy_runtime_api::client::result::SdkError<
12788            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError,
12789            R,
12790        >,
12791    ) -> Self {
12792        match err {
12793            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12794            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12795                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12796                source: err.into(),
12797            }),
12798        }
12799    }
12800}
12801impl From<crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError> for Error {
12802    fn from(err: crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError) -> Self {
12803        match err {
12804            crate::operation::disassociate_capacity_reservation_billing_owner::DisassociateCapacityReservationBillingOwnerError::Unhandled(inner) => {
12805                Error::Unhandled(inner)
12806            }
12807        }
12808    }
12809}
12810impl<R>
12811    From<
12812        ::aws_smithy_runtime_api::client::result::SdkError<
12813            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
12814            R,
12815        >,
12816    > for Error
12817where
12818    R: Send + Sync + std::fmt::Debug + 'static,
12819{
12820    fn from(
12821        err: ::aws_smithy_runtime_api::client::result::SdkError<
12822            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError,
12823            R,
12824        >,
12825    ) -> Self {
12826        match err {
12827            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12828            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12829                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12830                source: err.into(),
12831            }),
12832        }
12833    }
12834}
12835impl From<crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError> for Error {
12836    fn from(err: crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError) -> Self {
12837        match err {
12838            crate::operation::disassociate_client_vpn_target_network::DisassociateClientVpnTargetNetworkError::Unhandled(inner) => {
12839                Error::Unhandled(inner)
12840            }
12841        }
12842    }
12843}
12844impl<R>
12845    From<
12846        ::aws_smithy_runtime_api::client::result::SdkError<
12847            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
12848            R,
12849        >,
12850    > for Error
12851where
12852    R: Send + Sync + std::fmt::Debug + 'static,
12853{
12854    fn from(
12855        err: ::aws_smithy_runtime_api::client::result::SdkError<
12856            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError,
12857            R,
12858        >,
12859    ) -> Self {
12860        match err {
12861            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12862            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12863                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12864                source: err.into(),
12865            }),
12866        }
12867    }
12868}
12869impl From<crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError> for Error {
12870    fn from(err: crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError) -> Self {
12871        match err {
12872            crate::operation::disassociate_enclave_certificate_iam_role::DisassociateEnclaveCertificateIamRoleError::Unhandled(inner) => {
12873                Error::Unhandled(inner)
12874            }
12875        }
12876    }
12877}
12878impl<R>
12879    From<
12880        ::aws_smithy_runtime_api::client::result::SdkError<
12881            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
12882            R,
12883        >,
12884    > for Error
12885where
12886    R: Send + Sync + std::fmt::Debug + 'static,
12887{
12888    fn from(
12889        err: ::aws_smithy_runtime_api::client::result::SdkError<
12890            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError,
12891            R,
12892        >,
12893    ) -> Self {
12894        match err {
12895            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12896            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12897                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12898                source: err.into(),
12899            }),
12900        }
12901    }
12902}
12903impl From<crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError> for Error {
12904    fn from(err: crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError) -> Self {
12905        match err {
12906            crate::operation::disassociate_iam_instance_profile::DisassociateIamInstanceProfileError::Unhandled(inner) => Error::Unhandled(inner),
12907        }
12908    }
12909}
12910impl<R>
12911    From<
12912        ::aws_smithy_runtime_api::client::result::SdkError<
12913            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12914            R,
12915        >,
12916    > for Error
12917where
12918    R: Send + Sync + std::fmt::Debug + 'static,
12919{
12920    fn from(
12921        err: ::aws_smithy_runtime_api::client::result::SdkError<
12922            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError,
12923            R,
12924        >,
12925    ) -> Self {
12926        match err {
12927            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
12928            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
12929                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
12930                source: err.into(),
12931            }),
12932        }
12933    }
12934}
12935impl From<crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError> for Error {
12936    fn from(err: crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError) -> Self {
12937        match err {
12938            crate::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
12939        }
12940    }
12941}
12942impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError, R>> 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::disassociate_ipam_byoasn::DisassociateIpamByoasnError, 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::disassociate_ipam_byoasn::DisassociateIpamByoasnError> for Error {
12959    fn from(err: crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError) -> Self {
12960        match err {
12961            crate::operation::disassociate_ipam_byoasn::DisassociateIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
12962        }
12963    }
12964}
12965impl<R>
12966    From<
12967        ::aws_smithy_runtime_api::client::result::SdkError<
12968            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
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::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError,
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::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError> for Error {
12991    fn from(err: crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError) -> Self {
12992        match err {
12993            crate::operation::disassociate_ipam_resource_discovery::DisassociateIpamResourceDiscoveryError::Unhandled(inner) => {
12994                Error::Unhandled(inner)
12995            }
12996        }
12997    }
12998}
12999impl<R>
13000    From<
13001        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError, R>,
13002    > for Error
13003where
13004    R: Send + Sync + std::fmt::Debug + 'static,
13005{
13006    fn from(
13007        err: ::aws_smithy_runtime_api::client::result::SdkError<
13008            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError,
13009            R,
13010        >,
13011    ) -> Self {
13012        match err {
13013            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13014            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13015                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13016                source: err.into(),
13017            }),
13018        }
13019    }
13020}
13021impl From<crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError> for Error {
13022    fn from(err: crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError) -> Self {
13023        match err {
13024            crate::operation::disassociate_nat_gateway_address::DisassociateNatGatewayAddressError::Unhandled(inner) => Error::Unhandled(inner),
13025        }
13026    }
13027}
13028impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>>
13029    for Error
13030where
13031    R: Send + Sync + std::fmt::Debug + 'static,
13032{
13033    fn from(
13034        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_server::DisassociateRouteServerError, R>,
13035    ) -> Self {
13036        match err {
13037            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13038            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13039                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13040                source: err.into(),
13041            }),
13042        }
13043    }
13044}
13045impl From<crate::operation::disassociate_route_server::DisassociateRouteServerError> for Error {
13046    fn from(err: crate::operation::disassociate_route_server::DisassociateRouteServerError) -> Self {
13047        match err {
13048            crate::operation::disassociate_route_server::DisassociateRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
13049        }
13050    }
13051}
13052impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>> for Error
13053where
13054    R: Send + Sync + std::fmt::Debug + 'static,
13055{
13056    fn from(
13057        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_route_table::DisassociateRouteTableError, R>,
13058    ) -> Self {
13059        match err {
13060            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13061            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13062                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13063                source: err.into(),
13064            }),
13065        }
13066    }
13067}
13068impl From<crate::operation::disassociate_route_table::DisassociateRouteTableError> for Error {
13069    fn from(err: crate::operation::disassociate_route_table::DisassociateRouteTableError) -> Self {
13070        match err {
13071            crate::operation::disassociate_route_table::DisassociateRouteTableError::Unhandled(inner) => Error::Unhandled(inner),
13072        }
13073    }
13074}
13075impl<R>
13076    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError, R>>
13077    for Error
13078where
13079    R: Send + Sync + std::fmt::Debug + 'static,
13080{
13081    fn from(
13082        err: ::aws_smithy_runtime_api::client::result::SdkError<
13083            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError,
13084            R,
13085        >,
13086    ) -> Self {
13087        match err {
13088            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13089            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13090                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13091                source: err.into(),
13092            }),
13093        }
13094    }
13095}
13096impl From<crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError> for Error {
13097    fn from(err: crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError) -> Self {
13098        match err {
13099            crate::operation::disassociate_security_group_vpc::DisassociateSecurityGroupVpcError::Unhandled(inner) => Error::Unhandled(inner),
13100        }
13101    }
13102}
13103impl<R>
13104    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError, R>>
13105    for Error
13106where
13107    R: Send + Sync + std::fmt::Debug + 'static,
13108{
13109    fn from(
13110        err: ::aws_smithy_runtime_api::client::result::SdkError<
13111            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError,
13112            R,
13113        >,
13114    ) -> Self {
13115        match err {
13116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13119                source: err.into(),
13120            }),
13121        }
13122    }
13123}
13124impl From<crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError> for Error {
13125    fn from(err: crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError) -> Self {
13126        match err {
13127            crate::operation::disassociate_subnet_cidr_block::DisassociateSubnetCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
13128        }
13129    }
13130}
13131impl<R>
13132    From<
13133        ::aws_smithy_runtime_api::client::result::SdkError<
13134            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
13135            R,
13136        >,
13137    > for Error
13138where
13139    R: Send + Sync + std::fmt::Debug + 'static,
13140{
13141    fn from(
13142        err: ::aws_smithy_runtime_api::client::result::SdkError<
13143            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError,
13144            R,
13145        >,
13146    ) -> Self {
13147        match err {
13148            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13149            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13150                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13151                source: err.into(),
13152            }),
13153        }
13154    }
13155}
13156impl From<crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError> for Error {
13157    fn from(err: crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError) -> Self {
13158        match err {
13159            crate::operation::disassociate_transit_gateway_multicast_domain::DisassociateTransitGatewayMulticastDomainError::Unhandled(inner) => {
13160                Error::Unhandled(inner)
13161            }
13162        }
13163    }
13164}
13165impl<R>
13166    From<
13167        ::aws_smithy_runtime_api::client::result::SdkError<
13168            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
13169            R,
13170        >,
13171    > for Error
13172where
13173    R: Send + Sync + std::fmt::Debug + 'static,
13174{
13175    fn from(
13176        err: ::aws_smithy_runtime_api::client::result::SdkError<
13177            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError,
13178            R,
13179        >,
13180    ) -> Self {
13181        match err {
13182            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13183            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13184                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13185                source: err.into(),
13186            }),
13187        }
13188    }
13189}
13190impl From<crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError> for Error {
13191    fn from(err: crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError) -> Self {
13192        match err {
13193            crate::operation::disassociate_transit_gateway_policy_table::DisassociateTransitGatewayPolicyTableError::Unhandled(inner) => {
13194                Error::Unhandled(inner)
13195            }
13196        }
13197    }
13198}
13199impl<R>
13200    From<
13201        ::aws_smithy_runtime_api::client::result::SdkError<
13202            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
13203            R,
13204        >,
13205    > for Error
13206where
13207    R: Send + Sync + std::fmt::Debug + 'static,
13208{
13209    fn from(
13210        err: ::aws_smithy_runtime_api::client::result::SdkError<
13211            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError,
13212            R,
13213        >,
13214    ) -> Self {
13215        match err {
13216            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13217            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13218                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13219                source: err.into(),
13220            }),
13221        }
13222    }
13223}
13224impl From<crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError> for Error {
13225    fn from(err: crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError) -> Self {
13226        match err {
13227            crate::operation::disassociate_transit_gateway_route_table::DisassociateTransitGatewayRouteTableError::Unhandled(inner) => {
13228                Error::Unhandled(inner)
13229            }
13230        }
13231    }
13232}
13233impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>>
13234    for Error
13235where
13236    R: Send + Sync + std::fmt::Debug + 'static,
13237{
13238    fn from(
13239        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError, R>,
13240    ) -> Self {
13241        match err {
13242            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13243            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13244                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13245                source: err.into(),
13246            }),
13247        }
13248    }
13249}
13250impl From<crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError> for Error {
13251    fn from(err: crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError) -> Self {
13252        match err {
13253            crate::operation::disassociate_trunk_interface::DisassociateTrunkInterfaceError::Unhandled(inner) => Error::Unhandled(inner),
13254        }
13255    }
13256}
13257impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>>
13258    for Error
13259where
13260    R: Send + Sync + std::fmt::Debug + 'static,
13261{
13262    fn from(
13263        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError, R>,
13264    ) -> Self {
13265        match err {
13266            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13267            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13268                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13269                source: err.into(),
13270            }),
13271        }
13272    }
13273}
13274impl From<crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError> for Error {
13275    fn from(err: crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError) -> Self {
13276        match err {
13277            crate::operation::disassociate_vpc_cidr_block::DisassociateVpcCidrBlockError::Unhandled(inner) => Error::Unhandled(inner),
13278        }
13279    }
13280}
13281impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>> for Error
13282where
13283    R: Send + Sync + std::fmt::Debug + 'static,
13284{
13285    fn from(
13286        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_address_transfer::EnableAddressTransferError, R>,
13287    ) -> Self {
13288        match err {
13289            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13290            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13291                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13292                source: err.into(),
13293            }),
13294        }
13295    }
13296}
13297impl From<crate::operation::enable_address_transfer::EnableAddressTransferError> for Error {
13298    fn from(err: crate::operation::enable_address_transfer::EnableAddressTransferError) -> Self {
13299        match err {
13300            crate::operation::enable_address_transfer::EnableAddressTransferError::Unhandled(inner) => Error::Unhandled(inner),
13301        }
13302    }
13303}
13304impl<R>
13305    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError, R>>
13306    for Error
13307where
13308    R: Send + Sync + std::fmt::Debug + 'static,
13309{
13310    fn from(
13311        err: ::aws_smithy_runtime_api::client::result::SdkError<
13312            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError,
13313            R,
13314        >,
13315    ) -> Self {
13316        match err {
13317            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13318            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13319                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13320                source: err.into(),
13321            }),
13322        }
13323    }
13324}
13325impl From<crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError> for Error {
13326    fn from(err: crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError) -> Self {
13327        match err {
13328            crate::operation::enable_allowed_images_settings::EnableAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
13329        }
13330    }
13331}
13332impl<R>
13333    From<
13334        ::aws_smithy_runtime_api::client::result::SdkError<
13335            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
13336            R,
13337        >,
13338    > for Error
13339where
13340    R: Send + Sync + std::fmt::Debug + 'static,
13341{
13342    fn from(
13343        err: ::aws_smithy_runtime_api::client::result::SdkError<
13344            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError,
13345            R,
13346        >,
13347    ) -> Self {
13348        match err {
13349            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13350            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13351                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13352                source: err.into(),
13353            }),
13354        }
13355    }
13356}
13357impl From<crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError> for Error {
13358    fn from(err: crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError) -> Self {
13359        match err {
13360            crate::operation::enable_aws_network_performance_metric_subscription::EnableAwsNetworkPerformanceMetricSubscriptionError::Unhandled(
13361                inner,
13362            ) => Error::Unhandled(inner),
13363        }
13364    }
13365}
13366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>> for Error
13367where
13368    R: Send + Sync + std::fmt::Debug + 'static,
13369{
13370    fn from(
13371        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_capacity_manager::EnableCapacityManagerError, R>,
13372    ) -> Self {
13373        match err {
13374            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13375            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13376                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13377                source: err.into(),
13378            }),
13379        }
13380    }
13381}
13382impl From<crate::operation::enable_capacity_manager::EnableCapacityManagerError> for Error {
13383    fn from(err: crate::operation::enable_capacity_manager::EnableCapacityManagerError) -> Self {
13384        match err {
13385            crate::operation::enable_capacity_manager::EnableCapacityManagerError::Unhandled(inner) => Error::Unhandled(inner),
13386        }
13387    }
13388}
13389impl<R>
13390    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError, R>>
13391    for Error
13392where
13393    R: Send + Sync + std::fmt::Debug + 'static,
13394{
13395    fn from(
13396        err: ::aws_smithy_runtime_api::client::result::SdkError<
13397            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError,
13398            R,
13399        >,
13400    ) -> Self {
13401        match err {
13402            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13403            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13404                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13405                source: err.into(),
13406            }),
13407        }
13408    }
13409}
13410impl From<crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError> for Error {
13411    fn from(err: crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError) -> Self {
13412        match err {
13413            crate::operation::enable_ebs_encryption_by_default::EnableEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
13414        }
13415    }
13416}
13417impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>> for Error
13418where
13419    R: Send + Sync + std::fmt::Debug + 'static,
13420{
13421    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_launch::EnableFastLaunchError, R>) -> Self {
13422        match err {
13423            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13424            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13425                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13426                source: err.into(),
13427            }),
13428        }
13429    }
13430}
13431impl From<crate::operation::enable_fast_launch::EnableFastLaunchError> for Error {
13432    fn from(err: crate::operation::enable_fast_launch::EnableFastLaunchError) -> Self {
13433        match err {
13434            crate::operation::enable_fast_launch::EnableFastLaunchError::Unhandled(inner) => Error::Unhandled(inner),
13435        }
13436    }
13437}
13438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>>
13439    for Error
13440where
13441    R: Send + Sync + std::fmt::Debug + 'static,
13442{
13443    fn from(
13444        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError, R>,
13445    ) -> Self {
13446        match err {
13447            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13448            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13449                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13450                source: err.into(),
13451            }),
13452        }
13453    }
13454}
13455impl From<crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError> for Error {
13456    fn from(err: crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError) -> Self {
13457        match err {
13458            crate::operation::enable_fast_snapshot_restores::EnableFastSnapshotRestoresError::Unhandled(inner) => Error::Unhandled(inner),
13459        }
13460    }
13461}
13462impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>> for Error
13463where
13464    R: Send + Sync + std::fmt::Debug + 'static,
13465{
13466    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image::EnableImageError, R>) -> Self {
13467        match err {
13468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13471                source: err.into(),
13472            }),
13473        }
13474    }
13475}
13476impl From<crate::operation::enable_image::EnableImageError> for Error {
13477    fn from(err: crate::operation::enable_image::EnableImageError) -> Self {
13478        match err {
13479            crate::operation::enable_image::EnableImageError::Unhandled(inner) => Error::Unhandled(inner),
13480        }
13481    }
13482}
13483impl<R>
13484    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError, R>>
13485    for Error
13486where
13487    R: Send + Sync + std::fmt::Debug + 'static,
13488{
13489    fn from(
13490        err: ::aws_smithy_runtime_api::client::result::SdkError<
13491            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError,
13492            R,
13493        >,
13494    ) -> Self {
13495        match err {
13496            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13497            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13498                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13499                source: err.into(),
13500            }),
13501        }
13502    }
13503}
13504impl From<crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError> for Error {
13505    fn from(err: crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError) -> Self {
13506        match err {
13507            crate::operation::enable_image_block_public_access::EnableImageBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
13508        }
13509    }
13510}
13511impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_image_deprecation::EnableImageDeprecationError, R>> 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::enable_image_deprecation::EnableImageDeprecationError, 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::enable_image_deprecation::EnableImageDeprecationError> for Error {
13528    fn from(err: crate::operation::enable_image_deprecation::EnableImageDeprecationError) -> Self {
13529        match err {
13530            crate::operation::enable_image_deprecation::EnableImageDeprecationError::Unhandled(inner) => Error::Unhandled(inner),
13531        }
13532    }
13533}
13534impl<R>
13535    From<
13536        ::aws_smithy_runtime_api::client::result::SdkError<
13537            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
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::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError,
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::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError> for Error {
13560    fn from(err: crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError) -> Self {
13561        match err {
13562            crate::operation::enable_image_deregistration_protection::EnableImageDeregistrationProtectionError::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::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError,
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::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError,
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::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError> for Error {
13594    fn from(err: crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError) -> Self {
13595        match err {
13596            crate::operation::enable_instance_sql_ha_standby_detections::EnableInstanceSqlHaStandbyDetectionsError::Unhandled(inner) => {
13597                Error::Unhandled(inner)
13598            }
13599        }
13600    }
13601}
13602impl<R>
13603    From<
13604        ::aws_smithy_runtime_api::client::result::SdkError<
13605            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
13606            R,
13607        >,
13608    > for Error
13609where
13610    R: Send + Sync + std::fmt::Debug + 'static,
13611{
13612    fn from(
13613        err: ::aws_smithy_runtime_api::client::result::SdkError<
13614            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError,
13615            R,
13616        >,
13617    ) -> Self {
13618        match err {
13619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13622                source: err.into(),
13623            }),
13624        }
13625    }
13626}
13627impl From<crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError> for Error {
13628    fn from(err: crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError) -> Self {
13629        match err {
13630            crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError::Unhandled(inner) => {
13631                Error::Unhandled(inner)
13632            }
13633        }
13634    }
13635}
13636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ipam_policy::EnableIpamPolicyError, R>> for Error
13637where
13638    R: Send + Sync + std::fmt::Debug + 'static,
13639{
13640    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_ipam_policy::EnableIpamPolicyError, R>) -> Self {
13641        match err {
13642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13645                source: err.into(),
13646            }),
13647        }
13648    }
13649}
13650impl From<crate::operation::enable_ipam_policy::EnableIpamPolicyError> for Error {
13651    fn from(err: crate::operation::enable_ipam_policy::EnableIpamPolicyError) -> Self {
13652        match err {
13653            crate::operation::enable_ipam_policy::EnableIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
13654        }
13655    }
13656}
13657impl<R>
13658    From<
13659        ::aws_smithy_runtime_api::client::result::SdkError<
13660            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
13661            R,
13662        >,
13663    > for Error
13664where
13665    R: Send + Sync + std::fmt::Debug + 'static,
13666{
13667    fn from(
13668        err: ::aws_smithy_runtime_api::client::result::SdkError<
13669            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError,
13670            R,
13671        >,
13672    ) -> Self {
13673        match err {
13674            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13675            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13676                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13677                source: err.into(),
13678            }),
13679        }
13680    }
13681}
13682impl From<crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError> for Error {
13683    fn from(err: crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError) -> Self {
13684        match err {
13685            crate::operation::enable_reachability_analyzer_organization_sharing::EnableReachabilityAnalyzerOrganizationSharingError::Unhandled(
13686                inner,
13687            ) => Error::Unhandled(inner),
13688        }
13689    }
13690}
13691impl<R>
13692    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError, R>>
13693    for Error
13694where
13695    R: Send + Sync + std::fmt::Debug + 'static,
13696{
13697    fn from(
13698        err: ::aws_smithy_runtime_api::client::result::SdkError<
13699            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError,
13700            R,
13701        >,
13702    ) -> Self {
13703        match err {
13704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13707                source: err.into(),
13708            }),
13709        }
13710    }
13711}
13712impl From<crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError> for Error {
13713    fn from(err: crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError) -> Self {
13714        match err {
13715            crate::operation::enable_route_server_propagation::EnableRouteServerPropagationError::Unhandled(inner) => Error::Unhandled(inner),
13716        }
13717    }
13718}
13719impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>>
13720    for Error
13721where
13722    R: Send + Sync + std::fmt::Debug + 'static,
13723{
13724    fn from(
13725        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError, R>,
13726    ) -> Self {
13727        match err {
13728            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13729            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13730                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13731                source: err.into(),
13732            }),
13733        }
13734    }
13735}
13736impl From<crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError> for Error {
13737    fn from(err: crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError) -> Self {
13738        match err {
13739            crate::operation::enable_serial_console_access::EnableSerialConsoleAccessError::Unhandled(inner) => Error::Unhandled(inner),
13740        }
13741    }
13742}
13743impl<R>
13744    From<
13745        ::aws_smithy_runtime_api::client::result::SdkError<
13746            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
13747            R,
13748        >,
13749    > for Error
13750where
13751    R: Send + Sync + std::fmt::Debug + 'static,
13752{
13753    fn from(
13754        err: ::aws_smithy_runtime_api::client::result::SdkError<
13755            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError,
13756            R,
13757        >,
13758    ) -> Self {
13759        match err {
13760            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13761            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13762                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13763                source: err.into(),
13764            }),
13765        }
13766    }
13767}
13768impl From<crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError> for Error {
13769    fn from(err: crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError) -> Self {
13770        match err {
13771            crate::operation::enable_snapshot_block_public_access::EnableSnapshotBlockPublicAccessError::Unhandled(inner) => Error::Unhandled(inner),
13772        }
13773    }
13774}
13775impl<R>
13776    From<
13777        ::aws_smithy_runtime_api::client::result::SdkError<
13778            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
13779            R,
13780        >,
13781    > for Error
13782where
13783    R: Send + Sync + std::fmt::Debug + 'static,
13784{
13785    fn from(
13786        err: ::aws_smithy_runtime_api::client::result::SdkError<
13787            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError,
13788            R,
13789        >,
13790    ) -> Self {
13791        match err {
13792            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13793            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13794                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13795                source: err.into(),
13796            }),
13797        }
13798    }
13799}
13800impl From<crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError> for Error {
13801    fn from(err: crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError) -> Self {
13802        match err {
13803            crate::operation::enable_transit_gateway_route_table_propagation::EnableTransitGatewayRouteTablePropagationError::Unhandled(inner) => {
13804                Error::Unhandled(inner)
13805            }
13806        }
13807    }
13808}
13809impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>>
13810    for Error
13811where
13812    R: Send + Sync + std::fmt::Debug + 'static,
13813{
13814    fn from(
13815        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError, R>,
13816    ) -> Self {
13817        match err {
13818            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13819            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13820                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13821                source: err.into(),
13822            }),
13823        }
13824    }
13825}
13826impl From<crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError> for Error {
13827    fn from(err: crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError) -> Self {
13828        match err {
13829            crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError::Unhandled(inner) => Error::Unhandled(inner),
13830        }
13831    }
13832}
13833impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>> for Error
13834where
13835    R: Send + Sync + std::fmt::Debug + 'static,
13836{
13837    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_volume_io::EnableVolumeIOError, R>) -> Self {
13838        match err {
13839            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13840            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13841                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13842                source: err.into(),
13843            }),
13844        }
13845    }
13846}
13847impl From<crate::operation::enable_volume_io::EnableVolumeIOError> for Error {
13848    fn from(err: crate::operation::enable_volume_io::EnableVolumeIOError) -> Self {
13849        match err {
13850            crate::operation::enable_volume_io::EnableVolumeIOError::Unhandled(inner) => Error::Unhandled(inner),
13851        }
13852    }
13853}
13854impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>> for Error
13855where
13856    R: Send + Sync + std::fmt::Debug + 'static,
13857{
13858    fn from(
13859        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError, R>,
13860    ) -> Self {
13861        match err {
13862            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13863            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13864                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13865                source: err.into(),
13866            }),
13867        }
13868    }
13869}
13870impl From<crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError> for Error {
13871    fn from(err: crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError) -> Self {
13872        match err {
13873            crate::operation::enable_vpc_classic_link::EnableVpcClassicLinkError::Unhandled(inner) => Error::Unhandled(inner),
13874        }
13875    }
13876}
13877impl<R>
13878    From<
13879        ::aws_smithy_runtime_api::client::result::SdkError<
13880            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
13881            R,
13882        >,
13883    > for Error
13884where
13885    R: Send + Sync + std::fmt::Debug + 'static,
13886{
13887    fn from(
13888        err: ::aws_smithy_runtime_api::client::result::SdkError<
13889            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError,
13890            R,
13891        >,
13892    ) -> Self {
13893        match err {
13894            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13895            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13896                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13897                source: err.into(),
13898            }),
13899        }
13900    }
13901}
13902impl From<crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError> for Error {
13903    fn from(err: crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError) -> Self {
13904        match err {
13905            crate::operation::enable_vpc_classic_link_dns_support::EnableVpcClassicLinkDnsSupportError::Unhandled(inner) => Error::Unhandled(inner),
13906        }
13907    }
13908}
13909impl<R>
13910    From<
13911        ::aws_smithy_runtime_api::client::result::SdkError<
13912            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13913            R,
13914        >,
13915    > for Error
13916where
13917    R: Send + Sync + std::fmt::Debug + 'static,
13918{
13919    fn from(
13920        err: ::aws_smithy_runtime_api::client::result::SdkError<
13921            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13922            R,
13923        >,
13924    ) -> Self {
13925        match err {
13926            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13927            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13928                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13929                source: err.into(),
13930            }),
13931        }
13932    }
13933}
13934impl From<crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError> for Error {
13935    fn from(
13936        err: crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError,
13937    ) -> Self {
13938        match err {
13939            crate::operation::export_client_vpn_client_certificate_revocation_list::ExportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
13940        }
13941    }
13942}
13943impl<R>
13944    From<
13945        ::aws_smithy_runtime_api::client::result::SdkError<
13946            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13947            R,
13948        >,
13949    > for Error
13950where
13951    R: Send + Sync + std::fmt::Debug + 'static,
13952{
13953    fn from(
13954        err: ::aws_smithy_runtime_api::client::result::SdkError<
13955            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError,
13956            R,
13957        >,
13958    ) -> Self {
13959        match err {
13960            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13961            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13962                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13963                source: err.into(),
13964            }),
13965        }
13966    }
13967}
13968impl From<crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError> for Error {
13969    fn from(err: crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError) -> Self {
13970        match err {
13971            crate::operation::export_client_vpn_client_configuration::ExportClientVpnClientConfigurationError::Unhandled(inner) => {
13972                Error::Unhandled(inner)
13973            }
13974        }
13975    }
13976}
13977impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>> for Error
13978where
13979    R: Send + Sync + std::fmt::Debug + 'static,
13980{
13981    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_image::ExportImageError, R>) -> Self {
13982        match err {
13983            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
13984            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
13985                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
13986                source: err.into(),
13987            }),
13988        }
13989    }
13990}
13991impl From<crate::operation::export_image::ExportImageError> for Error {
13992    fn from(err: crate::operation::export_image::ExportImageError) -> Self {
13993        match err {
13994            crate::operation::export_image::ExportImageError::Unhandled(inner) => Error::Unhandled(inner),
13995        }
13996    }
13997}
13998impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>>
13999    for Error
14000where
14001    R: Send + Sync + std::fmt::Debug + 'static,
14002{
14003    fn from(
14004        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError, R>,
14005    ) -> Self {
14006        match err {
14007            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14008            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14009                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14010                source: err.into(),
14011            }),
14012        }
14013    }
14014}
14015impl From<crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError> for Error {
14016    fn from(err: crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError) -> Self {
14017        match err {
14018            crate::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
14019        }
14020    }
14021}
14022impl<R>
14023    From<
14024        ::aws_smithy_runtime_api::client::result::SdkError<
14025            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
14026            R,
14027        >,
14028    > for Error
14029where
14030    R: Send + Sync + std::fmt::Debug + 'static,
14031{
14032    fn from(
14033        err: ::aws_smithy_runtime_api::client::result::SdkError<
14034            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
14035            R,
14036        >,
14037    ) -> Self {
14038        match err {
14039            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14040            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14041                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14042                source: err.into(),
14043            }),
14044        }
14045    }
14046}
14047impl From<crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError> for Error {
14048    fn from(
14049        err: crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError,
14050    ) -> Self {
14051        match err {
14052            crate::operation::export_verified_access_instance_client_configuration::ExportVerifiedAccessInstanceClientConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
14053        }
14054    }
14055}
14056impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>>
14057    for Error
14058where
14059    R: Send + Sync + std::fmt::Debug + 'static,
14060{
14061    fn from(
14062        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError, R>,
14063    ) -> Self {
14064        match err {
14065            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14066            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14067                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14068                source: err.into(),
14069            }),
14070        }
14071    }
14072}
14073impl From<crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError> for Error {
14074    fn from(err: crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError) -> Self {
14075        match err {
14076            crate::operation::get_active_vpn_tunnel_status::GetActiveVpnTunnelStatusError::Unhandled(inner) => Error::Unhandled(inner),
14077        }
14078    }
14079}
14080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>>
14081    for Error
14082where
14083    R: Send + Sync + std::fmt::Debug + 'static,
14084{
14085    fn from(
14086        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError, R>,
14087    ) -> Self {
14088        match err {
14089            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14090            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14091                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14092                source: err.into(),
14093            }),
14094        }
14095    }
14096}
14097impl From<crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError> for Error {
14098    fn from(err: crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError) -> Self {
14099        match err {
14100            crate::operation::get_allowed_images_settings::GetAllowedImagesSettingsError::Unhandled(inner) => Error::Unhandled(inner),
14101        }
14102    }
14103}
14104impl<R>
14105    From<
14106        ::aws_smithy_runtime_api::client::result::SdkError<
14107            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
14108            R,
14109        >,
14110    > for Error
14111where
14112    R: Send + Sync + std::fmt::Debug + 'static,
14113{
14114    fn from(
14115        err: ::aws_smithy_runtime_api::client::result::SdkError<
14116            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError,
14117            R,
14118        >,
14119    ) -> Self {
14120        match err {
14121            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14122            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14123                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14124                source: err.into(),
14125            }),
14126        }
14127    }
14128}
14129impl From<crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError> for Error {
14130    fn from(err: crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError) -> Self {
14131        match err {
14132            crate::operation::get_associated_enclave_certificate_iam_roles::GetAssociatedEnclaveCertificateIamRolesError::Unhandled(inner) => {
14133                Error::Unhandled(inner)
14134            }
14135        }
14136    }
14137}
14138impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>>
14139    for Error
14140where
14141    R: Send + Sync + std::fmt::Debug + 'static,
14142{
14143    fn from(
14144        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError, R>,
14145    ) -> Self {
14146        match err {
14147            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14148            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14149                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14150                source: err.into(),
14151            }),
14152        }
14153    }
14154}
14155impl From<crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError> for Error {
14156    fn from(err: crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError) -> Self {
14157        match err {
14158            crate::operation::get_associated_ipv6_pool_cidrs::GetAssociatedIpv6PoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14159        }
14160    }
14161}
14162impl<R>
14163    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError, R>>
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_aws_network_performance_data::GetAwsNetworkPerformanceDataError,
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_aws_network_performance_data::GetAwsNetworkPerformanceDataError> for Error {
14184    fn from(err: crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError) -> Self {
14185        match err {
14186            crate::operation::get_aws_network_performance_data::GetAwsNetworkPerformanceDataError::Unhandled(inner) => Error::Unhandled(inner),
14187        }
14188    }
14189}
14190impl<R>
14191    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError, R>>
14192    for Error
14193where
14194    R: Send + Sync + std::fmt::Debug + 'static,
14195{
14196    fn from(
14197        err: ::aws_smithy_runtime_api::client::result::SdkError<
14198            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError,
14199            R,
14200        >,
14201    ) -> Self {
14202        match err {
14203            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14204            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14205                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14206                source: err.into(),
14207            }),
14208        }
14209    }
14210}
14211impl From<crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError> for Error {
14212    fn from(err: crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError) -> Self {
14213        match err {
14214            crate::operation::get_capacity_manager_attributes::GetCapacityManagerAttributesError::Unhandled(inner) => Error::Unhandled(inner),
14215        }
14216    }
14217}
14218impl<R>
14219    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError, R>>
14220    for Error
14221where
14222    R: Send + Sync + std::fmt::Debug + 'static,
14223{
14224    fn from(
14225        err: ::aws_smithy_runtime_api::client::result::SdkError<
14226            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError,
14227            R,
14228        >,
14229    ) -> Self {
14230        match err {
14231            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14232            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14233                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14234                source: err.into(),
14235            }),
14236        }
14237    }
14238}
14239impl From<crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError> for Error {
14240    fn from(err: crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError) -> Self {
14241        match err {
14242            crate::operation::get_capacity_manager_metric_data::GetCapacityManagerMetricDataError::Unhandled(inner) => Error::Unhandled(inner),
14243        }
14244    }
14245}
14246impl<R>
14247    From<
14248        ::aws_smithy_runtime_api::client::result::SdkError<
14249            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
14250            R,
14251        >,
14252    > for Error
14253where
14254    R: Send + Sync + std::fmt::Debug + 'static,
14255{
14256    fn from(
14257        err: ::aws_smithy_runtime_api::client::result::SdkError<
14258            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError,
14259            R,
14260        >,
14261    ) -> Self {
14262        match err {
14263            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14264            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14265                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14266                source: err.into(),
14267            }),
14268        }
14269    }
14270}
14271impl From<crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError> for Error {
14272    fn from(err: crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError) -> Self {
14273        match err {
14274            crate::operation::get_capacity_manager_metric_dimensions::GetCapacityManagerMetricDimensionsError::Unhandled(inner) => {
14275                Error::Unhandled(inner)
14276            }
14277        }
14278    }
14279}
14280impl<R>
14281    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError, R>>
14282    for Error
14283where
14284    R: Send + Sync + std::fmt::Debug + 'static,
14285{
14286    fn from(
14287        err: ::aws_smithy_runtime_api::client::result::SdkError<
14288            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError,
14289            R,
14290        >,
14291    ) -> Self {
14292        match err {
14293            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14294            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14295                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14296                source: err.into(),
14297            }),
14298        }
14299    }
14300}
14301impl From<crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError> for Error {
14302    fn from(err: crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError) -> Self {
14303        match err {
14304            crate::operation::get_capacity_reservation_usage::GetCapacityReservationUsageError::Unhandled(inner) => Error::Unhandled(inner),
14305        }
14306    }
14307}
14308impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>> for Error
14309where
14310    R: Send + Sync + std::fmt::Debug + 'static,
14311{
14312    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError, R>) -> Self {
14313        match err {
14314            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14315            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14316                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14317                source: err.into(),
14318            }),
14319        }
14320    }
14321}
14322impl From<crate::operation::get_coip_pool_usage::GetCoipPoolUsageError> for Error {
14323    fn from(err: crate::operation::get_coip_pool_usage::GetCoipPoolUsageError) -> Self {
14324        match err {
14325            crate::operation::get_coip_pool_usage::GetCoipPoolUsageError::Unhandled(inner) => Error::Unhandled(inner),
14326        }
14327    }
14328}
14329impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>> for Error
14330where
14331    R: Send + Sync + std::fmt::Debug + 'static,
14332{
14333    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_output::GetConsoleOutputError, R>) -> Self {
14334        match err {
14335            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14336            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14337                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14338                source: err.into(),
14339            }),
14340        }
14341    }
14342}
14343impl From<crate::operation::get_console_output::GetConsoleOutputError> for Error {
14344    fn from(err: crate::operation::get_console_output::GetConsoleOutputError) -> Self {
14345        match err {
14346            crate::operation::get_console_output::GetConsoleOutputError::Unhandled(inner) => Error::Unhandled(inner),
14347        }
14348    }
14349}
14350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>> for Error
14351where
14352    R: Send + Sync + std::fmt::Debug + 'static,
14353{
14354    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_console_screenshot::GetConsoleScreenshotError, R>) -> Self {
14355        match err {
14356            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14357            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14358                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14359                source: err.into(),
14360            }),
14361        }
14362    }
14363}
14364impl From<crate::operation::get_console_screenshot::GetConsoleScreenshotError> for Error {
14365    fn from(err: crate::operation::get_console_screenshot::GetConsoleScreenshotError) -> Self {
14366        match err {
14367            crate::operation::get_console_screenshot::GetConsoleScreenshotError::Unhandled(inner) => Error::Unhandled(inner),
14368        }
14369    }
14370}
14371impl<R>
14372    From<
14373        ::aws_smithy_runtime_api::client::result::SdkError<
14374            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
14375            R,
14376        >,
14377    > for Error
14378where
14379    R: Send + Sync + std::fmt::Debug + 'static,
14380{
14381    fn from(
14382        err: ::aws_smithy_runtime_api::client::result::SdkError<
14383            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError,
14384            R,
14385        >,
14386    ) -> Self {
14387        match err {
14388            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14389            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14390                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14391                source: err.into(),
14392            }),
14393        }
14394    }
14395}
14396impl From<crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError> for Error {
14397    fn from(err: crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError) -> Self {
14398        match err {
14399            crate::operation::get_declarative_policies_report_summary::GetDeclarativePoliciesReportSummaryError::Unhandled(inner) => {
14400                Error::Unhandled(inner)
14401            }
14402        }
14403    }
14404}
14405impl<R>
14406    From<
14407        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError, R>,
14408    > for Error
14409where
14410    R: Send + Sync + std::fmt::Debug + 'static,
14411{
14412    fn from(
14413        err: ::aws_smithy_runtime_api::client::result::SdkError<
14414            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError,
14415            R,
14416        >,
14417    ) -> Self {
14418        match err {
14419            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14420            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14421                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14422                source: err.into(),
14423            }),
14424        }
14425    }
14426}
14427impl From<crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError> for Error {
14428    fn from(err: crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError) -> Self {
14429        match err {
14430            crate::operation::get_default_credit_specification::GetDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
14431        }
14432    }
14433}
14434impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>>
14435    for Error
14436where
14437    R: Send + Sync + std::fmt::Debug + 'static,
14438{
14439    fn from(
14440        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError, R>,
14441    ) -> Self {
14442        match err {
14443            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14444            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14445                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14446                source: err.into(),
14447            }),
14448        }
14449    }
14450}
14451impl From<crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError> for Error {
14452    fn from(err: crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError) -> Self {
14453        match err {
14454            crate::operation::get_ebs_default_kms_key_id::GetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
14455        }
14456    }
14457}
14458impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>>
14459    for Error
14460where
14461    R: Send + Sync + std::fmt::Debug + 'static,
14462{
14463    fn from(
14464        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError, R>,
14465    ) -> Self {
14466        match err {
14467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14470                source: err.into(),
14471            }),
14472        }
14473    }
14474}
14475impl From<crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError> for Error {
14476    fn from(err: crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError) -> Self {
14477        match err {
14478            crate::operation::get_ebs_encryption_by_default::GetEbsEncryptionByDefaultError::Unhandled(inner) => Error::Unhandled(inner),
14479        }
14480    }
14481}
14482impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError, R>> for Error
14483where
14484    R: Send + Sync + std::fmt::Debug + 'static,
14485{
14486    fn from(
14487        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError, R>,
14488    ) -> Self {
14489        match err {
14490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14493                source: err.into(),
14494            }),
14495        }
14496    }
14497}
14498impl From<crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError> for Error {
14499    fn from(err: crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError) -> Self {
14500        match err {
14501            crate::operation::get_enabled_ipam_policy::GetEnabledIpamPolicyError::Unhandled(inner) => Error::Unhandled(inner),
14502        }
14503    }
14504}
14505impl<R>
14506    From<
14507        ::aws_smithy_runtime_api::client::result::SdkError<
14508            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
14509            R,
14510        >,
14511    > for Error
14512where
14513    R: Send + Sync + std::fmt::Debug + 'static,
14514{
14515    fn from(
14516        err: ::aws_smithy_runtime_api::client::result::SdkError<
14517            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError,
14518            R,
14519        >,
14520    ) -> Self {
14521        match err {
14522            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14523            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14524                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14525                source: err.into(),
14526            }),
14527        }
14528    }
14529}
14530impl From<crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError> for Error {
14531    fn from(err: crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError) -> Self {
14532        match err {
14533            crate::operation::get_flow_logs_integration_template::GetFlowLogsIntegrationTemplateError::Unhandled(inner) => Error::Unhandled(inner),
14534        }
14535    }
14536}
14537impl<R>
14538    From<
14539        ::aws_smithy_runtime_api::client::result::SdkError<
14540            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
14541            R,
14542        >,
14543    > for Error
14544where
14545    R: Send + Sync + std::fmt::Debug + 'static,
14546{
14547    fn from(
14548        err: ::aws_smithy_runtime_api::client::result::SdkError<
14549            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError,
14550            R,
14551        >,
14552    ) -> Self {
14553        match err {
14554            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14555            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14556                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14557                source: err.into(),
14558            }),
14559        }
14560    }
14561}
14562impl From<crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError> for Error {
14563    fn from(err: crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError) -> Self {
14564        match err {
14565            crate::operation::get_groups_for_capacity_reservation::GetGroupsForCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
14566        }
14567    }
14568}
14569impl<R>
14570    From<
14571        ::aws_smithy_runtime_api::client::result::SdkError<
14572            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
14573            R,
14574        >,
14575    > for Error
14576where
14577    R: Send + Sync + std::fmt::Debug + 'static,
14578{
14579    fn from(
14580        err: ::aws_smithy_runtime_api::client::result::SdkError<
14581            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError,
14582            R,
14583        >,
14584    ) -> Self {
14585        match err {
14586            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14587            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14588                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14589                source: err.into(),
14590            }),
14591        }
14592    }
14593}
14594impl From<crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError> for Error {
14595    fn from(err: crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError) -> Self {
14596        match err {
14597            crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError::Unhandled(inner) => {
14598                Error::Unhandled(inner)
14599            }
14600        }
14601    }
14602}
14603impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_image_ancestry::GetImageAncestryError, R>> for Error
14604where
14605    R: Send + Sync + std::fmt::Debug + 'static,
14606{
14607    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_image_ancestry::GetImageAncestryError, R>) -> Self {
14608        match err {
14609            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14610            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14611                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14612                source: err.into(),
14613            }),
14614        }
14615    }
14616}
14617impl From<crate::operation::get_image_ancestry::GetImageAncestryError> for Error {
14618    fn from(err: crate::operation::get_image_ancestry::GetImageAncestryError) -> Self {
14619        match err {
14620            crate::operation::get_image_ancestry::GetImageAncestryError::Unhandled(inner) => Error::Unhandled(inner),
14621        }
14622    }
14623}
14624impl<R>
14625    From<
14626        ::aws_smithy_runtime_api::client::result::SdkError<
14627            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
14628            R,
14629        >,
14630    > for Error
14631where
14632    R: Send + Sync + std::fmt::Debug + 'static,
14633{
14634    fn from(
14635        err: ::aws_smithy_runtime_api::client::result::SdkError<
14636            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError,
14637            R,
14638        >,
14639    ) -> Self {
14640        match err {
14641            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14642            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14643                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14644                source: err.into(),
14645            }),
14646        }
14647    }
14648}
14649impl From<crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError> for Error {
14650    fn from(err: crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError) -> Self {
14651        match err {
14652            crate::operation::get_image_block_public_access_state::GetImageBlockPublicAccessStateError::Unhandled(inner) => Error::Unhandled(inner),
14653        }
14654    }
14655}
14656impl<R>
14657    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError, R>>
14658    for Error
14659where
14660    R: Send + Sync + std::fmt::Debug + 'static,
14661{
14662    fn from(
14663        err: ::aws_smithy_runtime_api::client::result::SdkError<
14664            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError,
14665            R,
14666        >,
14667    ) -> Self {
14668        match err {
14669            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14670            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14671                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14672                source: err.into(),
14673            }),
14674        }
14675    }
14676}
14677impl From<crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError> for Error {
14678    fn from(err: crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError) -> Self {
14679        match err {
14680            crate::operation::get_instance_metadata_defaults::GetInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
14681        }
14682    }
14683}
14684impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>> for Error
14685where
14686    R: Send + Sync + std::fmt::Debug + 'static,
14687{
14688    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError, R>) -> Self {
14689        match err {
14690            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14691            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14692                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14693                source: err.into(),
14694            }),
14695        }
14696    }
14697}
14698impl From<crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError> for Error {
14699    fn from(err: crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError) -> Self {
14700        match err {
14701            crate::operation::get_instance_tpm_ek_pub::GetInstanceTpmEkPubError::Unhandled(inner) => Error::Unhandled(inner),
14702        }
14703    }
14704}
14705impl<R>
14706    From<
14707        ::aws_smithy_runtime_api::client::result::SdkError<
14708            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
14709            R,
14710        >,
14711    > for Error
14712where
14713    R: Send + Sync + std::fmt::Debug + 'static,
14714{
14715    fn from(
14716        err: ::aws_smithy_runtime_api::client::result::SdkError<
14717            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError,
14718            R,
14719        >,
14720    ) -> Self {
14721        match err {
14722            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14723            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14724                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14725                source: err.into(),
14726            }),
14727        }
14728    }
14729}
14730impl From<crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError> for Error {
14731    fn from(err: crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError) -> Self {
14732        match err {
14733            crate::operation::get_instance_types_from_instance_requirements::GetInstanceTypesFromInstanceRequirementsError::Unhandled(inner) => {
14734                Error::Unhandled(inner)
14735            }
14736        }
14737    }
14738}
14739impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>> for Error
14740where
14741    R: Send + Sync + std::fmt::Debug + 'static,
14742{
14743    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError, R>) -> Self {
14744        match err {
14745            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14746            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14747                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14748                source: err.into(),
14749            }),
14750        }
14751    }
14752}
14753impl From<crate::operation::get_instance_uefi_data::GetInstanceUefiDataError> for Error {
14754    fn from(err: crate::operation::get_instance_uefi_data::GetInstanceUefiDataError) -> Self {
14755        match err {
14756            crate::operation::get_instance_uefi_data::GetInstanceUefiDataError::Unhandled(inner) => Error::Unhandled(inner),
14757        }
14758    }
14759}
14760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>> for Error
14761where
14762    R: Send + Sync + std::fmt::Debug + 'static,
14763{
14764    fn from(
14765        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError, R>,
14766    ) -> Self {
14767        match err {
14768            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14769            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14770                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14771                source: err.into(),
14772            }),
14773        }
14774    }
14775}
14776impl From<crate::operation::get_ipam_address_history::GetIpamAddressHistoryError> for Error {
14777    fn from(err: crate::operation::get_ipam_address_history::GetIpamAddressHistoryError) -> Self {
14778        match err {
14779            crate::operation::get_ipam_address_history::GetIpamAddressHistoryError::Unhandled(inner) => Error::Unhandled(inner),
14780        }
14781    }
14782}
14783impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>>
14784    for Error
14785where
14786    R: Send + Sync + std::fmt::Debug + 'static,
14787{
14788    fn from(
14789        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError, R>,
14790    ) -> Self {
14791        match err {
14792            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14793            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14794                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14795                source: err.into(),
14796            }),
14797        }
14798    }
14799}
14800impl From<crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError> for Error {
14801    fn from(err: crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError) -> Self {
14802        match err {
14803            crate::operation::get_ipam_discovered_accounts::GetIpamDiscoveredAccountsError::Unhandled(inner) => Error::Unhandled(inner),
14804        }
14805    }
14806}
14807impl<R>
14808    From<
14809        ::aws_smithy_runtime_api::client::result::SdkError<
14810            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
14811            R,
14812        >,
14813    > for Error
14814where
14815    R: Send + Sync + std::fmt::Debug + 'static,
14816{
14817    fn from(
14818        err: ::aws_smithy_runtime_api::client::result::SdkError<
14819            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError,
14820            R,
14821        >,
14822    ) -> Self {
14823        match err {
14824            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14825            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14826                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14827                source: err.into(),
14828            }),
14829        }
14830    }
14831}
14832impl From<crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError> for Error {
14833    fn from(err: crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError) -> Self {
14834        match err {
14835            crate::operation::get_ipam_discovered_public_addresses::GetIpamDiscoveredPublicAddressesError::Unhandled(inner) => {
14836                Error::Unhandled(inner)
14837            }
14838        }
14839    }
14840}
14841impl<R>
14842    From<
14843        ::aws_smithy_runtime_api::client::result::SdkError<
14844            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
14845            R,
14846        >,
14847    > for Error
14848where
14849    R: Send + Sync + std::fmt::Debug + 'static,
14850{
14851    fn from(
14852        err: ::aws_smithy_runtime_api::client::result::SdkError<
14853            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError,
14854            R,
14855        >,
14856    ) -> Self {
14857        match err {
14858            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14859            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14860                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14861                source: err.into(),
14862            }),
14863        }
14864    }
14865}
14866impl From<crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError> for Error {
14867    fn from(err: crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError) -> Self {
14868        match err {
14869            crate::operation::get_ipam_discovered_resource_cidrs::GetIpamDiscoveredResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14870        }
14871    }
14872}
14873impl<R>
14874    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError, R>>
14875    for Error
14876where
14877    R: Send + Sync + std::fmt::Debug + 'static,
14878{
14879    fn from(
14880        err: ::aws_smithy_runtime_api::client::result::SdkError<
14881            crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError,
14882            R,
14883        >,
14884    ) -> Self {
14885        match err {
14886            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14887            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14888                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14889                source: err.into(),
14890            }),
14891        }
14892    }
14893}
14894impl From<crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError> for Error {
14895    fn from(err: crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError) -> Self {
14896        match err {
14897            crate::operation::get_ipam_policy_allocation_rules::GetIpamPolicyAllocationRulesError::Unhandled(inner) => Error::Unhandled(inner),
14898        }
14899    }
14900}
14901impl<R>
14902    From<
14903        ::aws_smithy_runtime_api::client::result::SdkError<
14904            crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError,
14905            R,
14906        >,
14907    > for Error
14908where
14909    R: Send + Sync + std::fmt::Debug + 'static,
14910{
14911    fn from(
14912        err: ::aws_smithy_runtime_api::client::result::SdkError<
14913            crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError,
14914            R,
14915        >,
14916    ) -> Self {
14917        match err {
14918            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14919            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14920                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14921                source: err.into(),
14922            }),
14923        }
14924    }
14925}
14926impl From<crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError> for Error {
14927    fn from(err: crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError) -> Self {
14928        match err {
14929            crate::operation::get_ipam_policy_organization_targets::GetIpamPolicyOrganizationTargetsError::Unhandled(inner) => {
14930                Error::Unhandled(inner)
14931            }
14932        }
14933    }
14934}
14935impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>>
14936    for Error
14937where
14938    R: Send + Sync + std::fmt::Debug + 'static,
14939{
14940    fn from(
14941        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError, R>,
14942    ) -> Self {
14943        match err {
14944            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14945            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14946                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14947                source: err.into(),
14948            }),
14949        }
14950    }
14951}
14952impl From<crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError> for Error {
14953    fn from(err: crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError) -> Self {
14954        match err {
14955            crate::operation::get_ipam_pool_allocations::GetIpamPoolAllocationsError::Unhandled(inner) => Error::Unhandled(inner),
14956        }
14957    }
14958}
14959impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>> for Error
14960where
14961    R: Send + Sync + std::fmt::Debug + 'static,
14962{
14963    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError, R>) -> Self {
14964        match err {
14965            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14966            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14967                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
14968                source: err.into(),
14969            }),
14970        }
14971    }
14972}
14973impl From<crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError> for Error {
14974    fn from(err: crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError) -> Self {
14975        match err {
14976            crate::operation::get_ipam_pool_cidrs::GetIpamPoolCidrsError::Unhandled(inner) => Error::Unhandled(inner),
14977        }
14978    }
14979}
14980impl<R>
14981    From<
14982        ::aws_smithy_runtime_api::client::result::SdkError<
14983            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError,
14984            R,
14985        >,
14986    > for Error
14987where
14988    R: Send + Sync + std::fmt::Debug + 'static,
14989{
14990    fn from(
14991        err: ::aws_smithy_runtime_api::client::result::SdkError<
14992            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError,
14993            R,
14994        >,
14995    ) -> Self {
14996        match err {
14997            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
14998            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
14999                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15000                source: err.into(),
15001            }),
15002        }
15003    }
15004}
15005impl From<crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError> for Error {
15006    fn from(err: crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError) -> Self {
15007        match err {
15008            crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError::Unhandled(inner) => Error::Unhandled(inner),
15009        }
15010    }
15011}
15012impl<R>
15013    From<
15014        ::aws_smithy_runtime_api::client::result::SdkError<
15015            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError,
15016            R,
15017        >,
15018    > for Error
15019where
15020    R: Send + Sync + std::fmt::Debug + 'static,
15021{
15022    fn from(
15023        err: ::aws_smithy_runtime_api::client::result::SdkError<
15024            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError,
15025            R,
15026        >,
15027    ) -> Self {
15028        match err {
15029            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15030            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15031                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15032                source: err.into(),
15033            }),
15034        }
15035    }
15036}
15037impl From<crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError> for Error {
15038    fn from(err: crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError) -> Self {
15039        match err {
15040            crate::operation::get_ipam_prefix_list_resolver_version_entries::GetIpamPrefixListResolverVersionEntriesError::Unhandled(inner) => {
15041                Error::Unhandled(inner)
15042            }
15043        }
15044    }
15045}
15046impl<R>
15047    From<
15048        ::aws_smithy_runtime_api::client::result::SdkError<
15049            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError,
15050            R,
15051        >,
15052    > for Error
15053where
15054    R: Send + Sync + std::fmt::Debug + 'static,
15055{
15056    fn from(
15057        err: ::aws_smithy_runtime_api::client::result::SdkError<
15058            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError,
15059            R,
15060        >,
15061    ) -> Self {
15062        match err {
15063            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15064            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15065                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15066                source: err.into(),
15067            }),
15068        }
15069    }
15070}
15071impl From<crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError> for Error {
15072    fn from(err: crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError) -> Self {
15073        match err {
15074            crate::operation::get_ipam_prefix_list_resolver_versions::GetIpamPrefixListResolverVersionsError::Unhandled(inner) => {
15075                Error::Unhandled(inner)
15076            }
15077        }
15078    }
15079}
15080impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>> for Error
15081where
15082    R: Send + Sync + std::fmt::Debug + 'static,
15083{
15084    fn from(
15085        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError, R>,
15086    ) -> Self {
15087        match err {
15088            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15089            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15090                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15091                source: err.into(),
15092            }),
15093        }
15094    }
15095}
15096impl From<crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError> for Error {
15097    fn from(err: crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError) -> Self {
15098        match err {
15099            crate::operation::get_ipam_resource_cidrs::GetIpamResourceCidrsError::Unhandled(inner) => Error::Unhandled(inner),
15100        }
15101    }
15102}
15103impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>> for Error
15104where
15105    R: Send + Sync + std::fmt::Debug + 'static,
15106{
15107    fn from(
15108        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_launch_template_data::GetLaunchTemplateDataError, R>,
15109    ) -> Self {
15110        match err {
15111            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15112            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15113                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15114                source: err.into(),
15115            }),
15116        }
15117    }
15118}
15119impl From<crate::operation::get_launch_template_data::GetLaunchTemplateDataError> for Error {
15120    fn from(err: crate::operation::get_launch_template_data::GetLaunchTemplateDataError) -> Self {
15121        match err {
15122            crate::operation::get_launch_template_data::GetLaunchTemplateDataError::Unhandled(inner) => Error::Unhandled(inner),
15123        }
15124    }
15125}
15126impl<R>
15127    From<
15128        ::aws_smithy_runtime_api::client::result::SdkError<
15129            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
15130            R,
15131        >,
15132    > for Error
15133where
15134    R: Send + Sync + std::fmt::Debug + 'static,
15135{
15136    fn from(
15137        err: ::aws_smithy_runtime_api::client::result::SdkError<
15138            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError,
15139            R,
15140        >,
15141    ) -> Self {
15142        match err {
15143            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15144            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15145                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15146                source: err.into(),
15147            }),
15148        }
15149    }
15150}
15151impl From<crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError> for Error {
15152    fn from(err: crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError) -> Self {
15153        match err {
15154            crate::operation::get_managed_prefix_list_associations::GetManagedPrefixListAssociationsError::Unhandled(inner) => {
15155                Error::Unhandled(inner)
15156            }
15157        }
15158    }
15159}
15160impl<R>
15161    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError, R>>
15162    for Error
15163where
15164    R: Send + Sync + std::fmt::Debug + 'static,
15165{
15166    fn from(
15167        err: ::aws_smithy_runtime_api::client::result::SdkError<
15168            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError,
15169            R,
15170        >,
15171    ) -> Self {
15172        match err {
15173            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15174            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15175                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15176                source: err.into(),
15177            }),
15178        }
15179    }
15180}
15181impl From<crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError> for Error {
15182    fn from(err: crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError) -> Self {
15183        match err {
15184            crate::operation::get_managed_prefix_list_entries::GetManagedPrefixListEntriesError::Unhandled(inner) => Error::Unhandled(inner),
15185        }
15186    }
15187}
15188impl<R>
15189    From<
15190        ::aws_smithy_runtime_api::client::result::SdkError<
15191            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
15192            R,
15193        >,
15194    > for Error
15195where
15196    R: Send + Sync + std::fmt::Debug + 'static,
15197{
15198    fn from(
15199        err: ::aws_smithy_runtime_api::client::result::SdkError<
15200            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError,
15201            R,
15202        >,
15203    ) -> Self {
15204        match err {
15205            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15206            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15207                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15208                source: err.into(),
15209            }),
15210        }
15211    }
15212}
15213impl From<crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError> for Error {
15214    fn from(err: crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError) -> Self {
15215        match err {
15216            crate::operation::get_network_insights_access_scope_analysis_findings::GetNetworkInsightsAccessScopeAnalysisFindingsError::Unhandled(
15217                inner,
15218            ) => Error::Unhandled(inner),
15219        }
15220    }
15221}
15222impl<R>
15223    From<
15224        ::aws_smithy_runtime_api::client::result::SdkError<
15225            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
15226            R,
15227        >,
15228    > for Error
15229where
15230    R: Send + Sync + std::fmt::Debug + 'static,
15231{
15232    fn from(
15233        err: ::aws_smithy_runtime_api::client::result::SdkError<
15234            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError,
15235            R,
15236        >,
15237    ) -> Self {
15238        match err {
15239            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15240            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15241                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15242                source: err.into(),
15243            }),
15244        }
15245    }
15246}
15247impl From<crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError> for Error {
15248    fn from(err: crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError) -> Self {
15249        match err {
15250            crate::operation::get_network_insights_access_scope_content::GetNetworkInsightsAccessScopeContentError::Unhandled(inner) => {
15251                Error::Unhandled(inner)
15252            }
15253        }
15254    }
15255}
15256impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>> for Error
15257where
15258    R: Send + Sync + std::fmt::Debug + 'static,
15259{
15260    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_password_data::GetPasswordDataError, R>) -> Self {
15261        match err {
15262            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15263            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15264                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15265                source: err.into(),
15266            }),
15267        }
15268    }
15269}
15270impl From<crate::operation::get_password_data::GetPasswordDataError> for Error {
15271    fn from(err: crate::operation::get_password_data::GetPasswordDataError) -> Self {
15272        match err {
15273            crate::operation::get_password_data::GetPasswordDataError::Unhandled(inner) => Error::Unhandled(inner),
15274        }
15275    }
15276}
15277impl<R>
15278    From<
15279        ::aws_smithy_runtime_api::client::result::SdkError<
15280            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
15281            R,
15282        >,
15283    > for Error
15284where
15285    R: Send + Sync + std::fmt::Debug + 'static,
15286{
15287    fn from(
15288        err: ::aws_smithy_runtime_api::client::result::SdkError<
15289            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError,
15290            R,
15291        >,
15292    ) -> Self {
15293        match err {
15294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15297                source: err.into(),
15298            }),
15299        }
15300    }
15301}
15302impl From<crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError> for Error {
15303    fn from(err: crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError) -> Self {
15304        match err {
15305            crate::operation::get_reserved_instances_exchange_quote::GetReservedInstancesExchangeQuoteError::Unhandled(inner) => {
15306                Error::Unhandled(inner)
15307            }
15308        }
15309    }
15310}
15311impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>>
15312    for Error
15313where
15314    R: Send + Sync + std::fmt::Debug + 'static,
15315{
15316    fn from(
15317        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_associations::GetRouteServerAssociationsError, R>,
15318    ) -> Self {
15319        match err {
15320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15323                source: err.into(),
15324            }),
15325        }
15326    }
15327}
15328impl From<crate::operation::get_route_server_associations::GetRouteServerAssociationsError> for Error {
15329    fn from(err: crate::operation::get_route_server_associations::GetRouteServerAssociationsError) -> Self {
15330        match err {
15331            crate::operation::get_route_server_associations::GetRouteServerAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
15332        }
15333    }
15334}
15335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>>
15336    for Error
15337where
15338    R: Send + Sync + std::fmt::Debug + 'static,
15339{
15340    fn from(
15341        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError, R>,
15342    ) -> Self {
15343        match err {
15344            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15345            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15346                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15347                source: err.into(),
15348            }),
15349        }
15350    }
15351}
15352impl From<crate::operation::get_route_server_propagations::GetRouteServerPropagationsError> for Error {
15353    fn from(err: crate::operation::get_route_server_propagations::GetRouteServerPropagationsError) -> Self {
15354        match err {
15355            crate::operation::get_route_server_propagations::GetRouteServerPropagationsError::Unhandled(inner) => Error::Unhandled(inner),
15356        }
15357    }
15358}
15359impl<R>
15360    From<
15361        ::aws_smithy_runtime_api::client::result::SdkError<
15362            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
15363            R,
15364        >,
15365    > for Error
15366where
15367    R: Send + Sync + std::fmt::Debug + 'static,
15368{
15369    fn from(
15370        err: ::aws_smithy_runtime_api::client::result::SdkError<
15371            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError,
15372            R,
15373        >,
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::get_route_server_routing_database::GetRouteServerRoutingDatabaseError> for Error {
15385    fn from(err: crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError) -> Self {
15386        match err {
15387            crate::operation::get_route_server_routing_database::GetRouteServerRoutingDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
15388        }
15389    }
15390}
15391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>>
15392    for Error
15393where
15394    R: Send + Sync + std::fmt::Debug + 'static,
15395{
15396    fn from(
15397        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError, R>,
15398    ) -> Self {
15399        match err {
15400            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15401            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15402                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15403                source: err.into(),
15404            }),
15405        }
15406    }
15407}
15408impl From<crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError> for Error {
15409    fn from(err: crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError) -> Self {
15410        match err {
15411            crate::operation::get_security_groups_for_vpc::GetSecurityGroupsForVpcError::Unhandled(inner) => Error::Unhandled(inner),
15412        }
15413    }
15414}
15415impl<R>
15416    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError, R>>
15417    for Error
15418where
15419    R: Send + Sync + std::fmt::Debug + 'static,
15420{
15421    fn from(
15422        err: ::aws_smithy_runtime_api::client::result::SdkError<
15423            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError,
15424            R,
15425        >,
15426    ) -> Self {
15427        match err {
15428            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15429            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15430                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15431                source: err.into(),
15432            }),
15433        }
15434    }
15435}
15436impl From<crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError> for Error {
15437    fn from(err: crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError) -> Self {
15438        match err {
15439            crate::operation::get_serial_console_access_status::GetSerialConsoleAccessStatusError::Unhandled(inner) => Error::Unhandled(inner),
15440        }
15441    }
15442}
15443impl<R>
15444    From<
15445        ::aws_smithy_runtime_api::client::result::SdkError<
15446            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
15447            R,
15448        >,
15449    > for Error
15450where
15451    R: Send + Sync + std::fmt::Debug + 'static,
15452{
15453    fn from(
15454        err: ::aws_smithy_runtime_api::client::result::SdkError<
15455            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError,
15456            R,
15457        >,
15458    ) -> Self {
15459        match err {
15460            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15461            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15462                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15463                source: err.into(),
15464            }),
15465        }
15466    }
15467}
15468impl From<crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError> for Error {
15469    fn from(err: crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError) -> Self {
15470        match err {
15471            crate::operation::get_snapshot_block_public_access_state::GetSnapshotBlockPublicAccessStateError::Unhandled(inner) => {
15472                Error::Unhandled(inner)
15473            }
15474        }
15475    }
15476}
15477impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>>
15478    for Error
15479where
15480    R: Send + Sync + std::fmt::Debug + 'static,
15481{
15482    fn from(
15483        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError, R>,
15484    ) -> Self {
15485        match err {
15486            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15487            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15488                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15489                source: err.into(),
15490            }),
15491        }
15492    }
15493}
15494impl From<crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError> for Error {
15495    fn from(err: crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError) -> Self {
15496        match err {
15497            crate::operation::get_spot_placement_scores::GetSpotPlacementScoresError::Unhandled(inner) => Error::Unhandled(inner),
15498        }
15499    }
15500}
15501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>>
15502    for Error
15503where
15504    R: Send + Sync + std::fmt::Debug + 'static,
15505{
15506    fn from(
15507        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError, R>,
15508    ) -> Self {
15509        match err {
15510            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15511            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15512                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15513                source: err.into(),
15514            }),
15515        }
15516    }
15517}
15518impl From<crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError> for Error {
15519    fn from(err: crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError) -> Self {
15520        match err {
15521            crate::operation::get_subnet_cidr_reservations::GetSubnetCidrReservationsError::Unhandled(inner) => Error::Unhandled(inner),
15522        }
15523    }
15524}
15525impl<R>
15526    From<
15527        ::aws_smithy_runtime_api::client::result::SdkError<
15528            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
15529            R,
15530        >,
15531    > for Error
15532where
15533    R: Send + Sync + std::fmt::Debug + 'static,
15534{
15535    fn from(
15536        err: ::aws_smithy_runtime_api::client::result::SdkError<
15537            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError,
15538            R,
15539        >,
15540    ) -> Self {
15541        match err {
15542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15545                source: err.into(),
15546            }),
15547        }
15548    }
15549}
15550impl From<crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError> for Error {
15551    fn from(err: crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError) -> Self {
15552        match err {
15553            crate::operation::get_transit_gateway_attachment_propagations::GetTransitGatewayAttachmentPropagationsError::Unhandled(inner) => {
15554                Error::Unhandled(inner)
15555            }
15556        }
15557    }
15558}
15559impl<R>
15560    From<
15561        ::aws_smithy_runtime_api::client::result::SdkError<
15562            crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError,
15563            R,
15564        >,
15565    > for Error
15566where
15567    R: Send + Sync + std::fmt::Debug + 'static,
15568{
15569    fn from(
15570        err: ::aws_smithy_runtime_api::client::result::SdkError<
15571            crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError,
15572            R,
15573        >,
15574    ) -> Self {
15575        match err {
15576            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15577            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15578                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15579                source: err.into(),
15580            }),
15581        }
15582    }
15583}
15584impl From<crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError> for Error {
15585    fn from(err: crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError) -> Self {
15586        match err {
15587            crate::operation::get_transit_gateway_metering_policy_entries::GetTransitGatewayMeteringPolicyEntriesError::Unhandled(inner) => {
15588                Error::Unhandled(inner)
15589            }
15590        }
15591    }
15592}
15593impl<R>
15594    From<
15595        ::aws_smithy_runtime_api::client::result::SdkError<
15596            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
15597            R,
15598        >,
15599    > for Error
15600where
15601    R: Send + Sync + std::fmt::Debug + 'static,
15602{
15603    fn from(
15604        err: ::aws_smithy_runtime_api::client::result::SdkError<
15605            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError,
15606            R,
15607        >,
15608    ) -> Self {
15609        match err {
15610            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15611            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15612                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15613                source: err.into(),
15614            }),
15615        }
15616    }
15617}
15618impl From<crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError> for Error {
15619    fn from(err: crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError) -> Self {
15620        match err {
15621            crate::operation::get_transit_gateway_multicast_domain_associations::GetTransitGatewayMulticastDomainAssociationsError::Unhandled(
15622                inner,
15623            ) => Error::Unhandled(inner),
15624        }
15625    }
15626}
15627impl<R>
15628    From<
15629        ::aws_smithy_runtime_api::client::result::SdkError<
15630            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
15631            R,
15632        >,
15633    > for Error
15634where
15635    R: Send + Sync + std::fmt::Debug + 'static,
15636{
15637    fn from(
15638        err: ::aws_smithy_runtime_api::client::result::SdkError<
15639            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError,
15640            R,
15641        >,
15642    ) -> Self {
15643        match err {
15644            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15645            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15646                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15647                source: err.into(),
15648            }),
15649        }
15650    }
15651}
15652impl From<crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError> for Error {
15653    fn from(err: crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError) -> Self {
15654        match err {
15655            crate::operation::get_transit_gateway_policy_table_associations::GetTransitGatewayPolicyTableAssociationsError::Unhandled(inner) => {
15656                Error::Unhandled(inner)
15657            }
15658        }
15659    }
15660}
15661impl<R>
15662    From<
15663        ::aws_smithy_runtime_api::client::result::SdkError<
15664            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
15665            R,
15666        >,
15667    > for Error
15668where
15669    R: Send + Sync + std::fmt::Debug + 'static,
15670{
15671    fn from(
15672        err: ::aws_smithy_runtime_api::client::result::SdkError<
15673            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError,
15674            R,
15675        >,
15676    ) -> Self {
15677        match err {
15678            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15679            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15680                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15681                source: err.into(),
15682            }),
15683        }
15684    }
15685}
15686impl From<crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError> for Error {
15687    fn from(err: crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError) -> Self {
15688        match err {
15689            crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError::Unhandled(inner) => {
15690                Error::Unhandled(inner)
15691            }
15692        }
15693    }
15694}
15695impl<R>
15696    From<
15697        ::aws_smithy_runtime_api::client::result::SdkError<
15698            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
15699            R,
15700        >,
15701    > for Error
15702where
15703    R: Send + Sync + std::fmt::Debug + 'static,
15704{
15705    fn from(
15706        err: ::aws_smithy_runtime_api::client::result::SdkError<
15707            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError,
15708            R,
15709        >,
15710    ) -> Self {
15711        match err {
15712            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15713            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15714                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15715                source: err.into(),
15716            }),
15717        }
15718    }
15719}
15720impl From<crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError> for Error {
15721    fn from(err: crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError) -> Self {
15722        match err {
15723            crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError::Unhandled(inner) => {
15724                Error::Unhandled(inner)
15725            }
15726        }
15727    }
15728}
15729impl<R>
15730    From<
15731        ::aws_smithy_runtime_api::client::result::SdkError<
15732            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
15733            R,
15734        >,
15735    > for Error
15736where
15737    R: Send + Sync + std::fmt::Debug + 'static,
15738{
15739    fn from(
15740        err: ::aws_smithy_runtime_api::client::result::SdkError<
15741            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError,
15742            R,
15743        >,
15744    ) -> Self {
15745        match err {
15746            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15747            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15748                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15749                source: err.into(),
15750            }),
15751        }
15752    }
15753}
15754impl From<crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError> for Error {
15755    fn from(err: crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError) -> Self {
15756        match err {
15757            crate::operation::get_transit_gateway_route_table_associations::GetTransitGatewayRouteTableAssociationsError::Unhandled(inner) => {
15758                Error::Unhandled(inner)
15759            }
15760        }
15761    }
15762}
15763impl<R>
15764    From<
15765        ::aws_smithy_runtime_api::client::result::SdkError<
15766            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
15767            R,
15768        >,
15769    > for Error
15770where
15771    R: Send + Sync + std::fmt::Debug + 'static,
15772{
15773    fn from(
15774        err: ::aws_smithy_runtime_api::client::result::SdkError<
15775            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError,
15776            R,
15777        >,
15778    ) -> Self {
15779        match err {
15780            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15781            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15782                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15783                source: err.into(),
15784            }),
15785        }
15786    }
15787}
15788impl From<crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError> for Error {
15789    fn from(err: crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError) -> Self {
15790        match err {
15791            crate::operation::get_transit_gateway_route_table_propagations::GetTransitGatewayRouteTablePropagationsError::Unhandled(inner) => {
15792                Error::Unhandled(inner)
15793            }
15794        }
15795    }
15796}
15797impl<R>
15798    From<
15799        ::aws_smithy_runtime_api::client::result::SdkError<
15800            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
15801            R,
15802        >,
15803    > for Error
15804where
15805    R: Send + Sync + std::fmt::Debug + 'static,
15806{
15807    fn from(
15808        err: ::aws_smithy_runtime_api::client::result::SdkError<
15809            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError,
15810            R,
15811        >,
15812    ) -> Self {
15813        match err {
15814            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15815            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15816                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15817                source: err.into(),
15818            }),
15819        }
15820    }
15821}
15822impl From<crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError> for Error {
15823    fn from(err: crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError) -> Self {
15824        match err {
15825            crate::operation::get_verified_access_endpoint_policy::GetVerifiedAccessEndpointPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15826        }
15827    }
15828}
15829impl<R>
15830    From<
15831        ::aws_smithy_runtime_api::client::result::SdkError<
15832            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
15833            R,
15834        >,
15835    > for Error
15836where
15837    R: Send + Sync + std::fmt::Debug + 'static,
15838{
15839    fn from(
15840        err: ::aws_smithy_runtime_api::client::result::SdkError<
15841            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError,
15842            R,
15843        >,
15844    ) -> Self {
15845        match err {
15846            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15847            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15848                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15849                source: err.into(),
15850            }),
15851        }
15852    }
15853}
15854impl From<crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError> for Error {
15855    fn from(err: crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError) -> Self {
15856        match err {
15857            crate::operation::get_verified_access_endpoint_targets::GetVerifiedAccessEndpointTargetsError::Unhandled(inner) => {
15858                Error::Unhandled(inner)
15859            }
15860        }
15861    }
15862}
15863impl<R>
15864    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError, R>>
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::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError,
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::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError> for Error {
15885    fn from(err: crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError) -> Self {
15886        match err {
15887            crate::operation::get_verified_access_group_policy::GetVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
15888        }
15889    }
15890}
15891impl<R>
15892    From<
15893        ::aws_smithy_runtime_api::client::result::SdkError<
15894            crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError,
15895            R,
15896        >,
15897    > for Error
15898where
15899    R: Send + Sync + std::fmt::Debug + 'static,
15900{
15901    fn from(
15902        err: ::aws_smithy_runtime_api::client::result::SdkError<
15903            crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError,
15904            R,
15905        >,
15906    ) -> Self {
15907        match err {
15908            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15909            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15910                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15911                source: err.into(),
15912            }),
15913        }
15914    }
15915}
15916impl From<crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError> for Error {
15917    fn from(err: crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError) -> Self {
15918        match err {
15919            crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError::Unhandled(
15920                inner,
15921            ) => Error::Unhandled(inner),
15922        }
15923    }
15924}
15925impl<R>
15926    From<
15927        ::aws_smithy_runtime_api::client::result::SdkError<
15928            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
15929            R,
15930        >,
15931    > for Error
15932where
15933    R: Send + Sync + std::fmt::Debug + 'static,
15934{
15935    fn from(
15936        err: ::aws_smithy_runtime_api::client::result::SdkError<
15937            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError,
15938            R,
15939        >,
15940    ) -> Self {
15941        match err {
15942            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15943            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15944                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15945                source: err.into(),
15946            }),
15947        }
15948    }
15949}
15950impl From<crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError> for Error {
15951    fn from(err: crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError) -> Self {
15952        match err {
15953            crate::operation::get_vpn_connection_device_sample_configuration::GetVpnConnectionDeviceSampleConfigurationError::Unhandled(inner) => {
15954                Error::Unhandled(inner)
15955            }
15956        }
15957    }
15958}
15959impl<R>
15960    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError, R>>
15961    for Error
15962where
15963    R: Send + Sync + std::fmt::Debug + 'static,
15964{
15965    fn from(
15966        err: ::aws_smithy_runtime_api::client::result::SdkError<
15967            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError,
15968            R,
15969        >,
15970    ) -> Self {
15971        match err {
15972            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
15973            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
15974                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
15975                source: err.into(),
15976            }),
15977        }
15978    }
15979}
15980impl From<crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError> for Error {
15981    fn from(err: crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError) -> Self {
15982        match err {
15983            crate::operation::get_vpn_connection_device_types::GetVpnConnectionDeviceTypesError::Unhandled(inner) => Error::Unhandled(inner),
15984        }
15985    }
15986}
15987impl<R>
15988    From<
15989        ::aws_smithy_runtime_api::client::result::SdkError<
15990            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
15991            R,
15992        >,
15993    > for Error
15994where
15995    R: Send + Sync + std::fmt::Debug + 'static,
15996{
15997    fn from(
15998        err: ::aws_smithy_runtime_api::client::result::SdkError<
15999            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError,
16000            R,
16001        >,
16002    ) -> Self {
16003        match err {
16004            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16005            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16006                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16007                source: err.into(),
16008            }),
16009        }
16010    }
16011}
16012impl From<crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError> for Error {
16013    fn from(err: crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError) -> Self {
16014        match err {
16015            crate::operation::get_vpn_tunnel_replacement_status::GetVpnTunnelReplacementStatusError::Unhandled(inner) => Error::Unhandled(inner),
16016        }
16017    }
16018}
16019impl<R>
16020    From<
16021        ::aws_smithy_runtime_api::client::result::SdkError<
16022            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
16023            R,
16024        >,
16025    > for Error
16026where
16027    R: Send + Sync + std::fmt::Debug + 'static,
16028{
16029    fn from(
16030        err: ::aws_smithy_runtime_api::client::result::SdkError<
16031            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
16032            R,
16033        >,
16034    ) -> Self {
16035        match err {
16036            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16037            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16038                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16039                source: err.into(),
16040            }),
16041        }
16042    }
16043}
16044impl From<crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError> for Error {
16045    fn from(
16046        err: crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError,
16047    ) -> Self {
16048        match err {
16049            crate::operation::import_client_vpn_client_certificate_revocation_list::ImportClientVpnClientCertificateRevocationListError::Unhandled(inner) => Error::Unhandled(inner),
16050        }
16051    }
16052}
16053impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>> for Error
16054where
16055    R: Send + Sync + std::fmt::Debug + 'static,
16056{
16057    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_image::ImportImageError, R>) -> Self {
16058        match err {
16059            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16060            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16061                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16062                source: err.into(),
16063            }),
16064        }
16065    }
16066}
16067impl From<crate::operation::import_image::ImportImageError> for Error {
16068    fn from(err: crate::operation::import_image::ImportImageError) -> Self {
16069        match err {
16070            crate::operation::import_image::ImportImageError::Unhandled(inner) => Error::Unhandled(inner),
16071        }
16072    }
16073}
16074impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>> for Error
16075where
16076    R: Send + Sync + std::fmt::Debug + 'static,
16077{
16078    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_instance::ImportInstanceError, R>) -> Self {
16079        match err {
16080            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16081            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16082                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16083                source: err.into(),
16084            }),
16085        }
16086    }
16087}
16088impl From<crate::operation::import_instance::ImportInstanceError> for Error {
16089    fn from(err: crate::operation::import_instance::ImportInstanceError) -> Self {
16090        match err {
16091            crate::operation::import_instance::ImportInstanceError::Unhandled(inner) => Error::Unhandled(inner),
16092        }
16093    }
16094}
16095impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>> for Error
16096where
16097    R: Send + Sync + std::fmt::Debug + 'static,
16098{
16099    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_key_pair::ImportKeyPairError, R>) -> Self {
16100        match err {
16101            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16102            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16103                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16104                source: err.into(),
16105            }),
16106        }
16107    }
16108}
16109impl From<crate::operation::import_key_pair::ImportKeyPairError> for Error {
16110    fn from(err: crate::operation::import_key_pair::ImportKeyPairError) -> Self {
16111        match err {
16112            crate::operation::import_key_pair::ImportKeyPairError::Unhandled(inner) => Error::Unhandled(inner),
16113        }
16114    }
16115}
16116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>> for Error
16117where
16118    R: Send + Sync + std::fmt::Debug + 'static,
16119{
16120    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_snapshot::ImportSnapshotError, R>) -> Self {
16121        match err {
16122            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16123            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16124                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16125                source: err.into(),
16126            }),
16127        }
16128    }
16129}
16130impl From<crate::operation::import_snapshot::ImportSnapshotError> for Error {
16131    fn from(err: crate::operation::import_snapshot::ImportSnapshotError) -> Self {
16132        match err {
16133            crate::operation::import_snapshot::ImportSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
16134        }
16135    }
16136}
16137impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>> for Error
16138where
16139    R: Send + Sync + std::fmt::Debug + 'static,
16140{
16141    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_volume::ImportVolumeError, R>) -> Self {
16142        match err {
16143            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16144            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16145                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16146                source: err.into(),
16147            }),
16148        }
16149    }
16150}
16151impl From<crate::operation::import_volume::ImportVolumeError> for Error {
16152    fn from(err: crate::operation::import_volume::ImportVolumeError) -> Self {
16153        match err {
16154            crate::operation::import_volume::ImportVolumeError::Unhandled(inner) => Error::Unhandled(inner),
16155        }
16156    }
16157}
16158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>>
16159    for Error
16160where
16161    R: Send + Sync + std::fmt::Debug + 'static,
16162{
16163    fn from(
16164        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError, R>,
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::list_images_in_recycle_bin::ListImagesInRecycleBinError> for Error {
16176    fn from(err: crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError) -> Self {
16177        match err {
16178            crate::operation::list_images_in_recycle_bin::ListImagesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
16179        }
16180    }
16181}
16182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>>
16183    for Error
16184where
16185    R: Send + Sync + std::fmt::Debug + 'static,
16186{
16187    fn from(
16188        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError, R>,
16189    ) -> Self {
16190        match err {
16191            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16192            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16193                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16194                source: err.into(),
16195            }),
16196        }
16197    }
16198}
16199impl From<crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError> for Error {
16200    fn from(err: crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError) -> Self {
16201        match err {
16202            crate::operation::list_snapshots_in_recycle_bin::ListSnapshotsInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
16203        }
16204    }
16205}
16206impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError, R>>
16207    for Error
16208where
16209    R: Send + Sync + std::fmt::Debug + 'static,
16210{
16211    fn from(
16212        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError, R>,
16213    ) -> Self {
16214        match err {
16215            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16216            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16217                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16218                source: err.into(),
16219            }),
16220        }
16221    }
16222}
16223impl From<crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError> for Error {
16224    fn from(err: crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError) -> Self {
16225        match err {
16226            crate::operation::list_volumes_in_recycle_bin::ListVolumesInRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
16227        }
16228    }
16229}
16230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>> for Error
16231where
16232    R: Send + Sync + std::fmt::Debug + 'static,
16233{
16234    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::lock_snapshot::LockSnapshotError, R>) -> Self {
16235        match err {
16236            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16237            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16238                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16239                source: err.into(),
16240            }),
16241        }
16242    }
16243}
16244impl From<crate::operation::lock_snapshot::LockSnapshotError> for Error {
16245    fn from(err: crate::operation::lock_snapshot::LockSnapshotError) -> Self {
16246        match err {
16247            crate::operation::lock_snapshot::LockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
16248        }
16249    }
16250}
16251impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>> for Error
16252where
16253    R: Send + Sync + std::fmt::Debug + 'static,
16254{
16255    fn from(
16256        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_address_attribute::ModifyAddressAttributeError, R>,
16257    ) -> Self {
16258        match err {
16259            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16260            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16261                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16262                source: err.into(),
16263            }),
16264        }
16265    }
16266}
16267impl From<crate::operation::modify_address_attribute::ModifyAddressAttributeError> for Error {
16268    fn from(err: crate::operation::modify_address_attribute::ModifyAddressAttributeError) -> Self {
16269        match err {
16270            crate::operation::modify_address_attribute::ModifyAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16271        }
16272    }
16273}
16274impl<R>
16275    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError, R>>
16276    for Error
16277where
16278    R: Send + Sync + std::fmt::Debug + 'static,
16279{
16280    fn from(
16281        err: ::aws_smithy_runtime_api::client::result::SdkError<
16282            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError,
16283            R,
16284        >,
16285    ) -> Self {
16286        match err {
16287            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16288            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16289                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16290                source: err.into(),
16291            }),
16292        }
16293    }
16294}
16295impl From<crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError> for Error {
16296    fn from(err: crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError) -> Self {
16297        match err {
16298            crate::operation::modify_availability_zone_group::ModifyAvailabilityZoneGroupError::Unhandled(inner) => Error::Unhandled(inner),
16299        }
16300    }
16301}
16302impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>>
16303    for Error
16304where
16305    R: Send + Sync + std::fmt::Debug + 'static,
16306{
16307    fn from(
16308        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError, R>,
16309    ) -> Self {
16310        match err {
16311            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16312            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16313                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16314                source: err.into(),
16315            }),
16316        }
16317    }
16318}
16319impl From<crate::operation::modify_capacity_reservation::ModifyCapacityReservationError> for Error {
16320    fn from(err: crate::operation::modify_capacity_reservation::ModifyCapacityReservationError) -> Self {
16321        match err {
16322            crate::operation::modify_capacity_reservation::ModifyCapacityReservationError::Unhandled(inner) => Error::Unhandled(inner),
16323        }
16324    }
16325}
16326impl<R>
16327    From<
16328        ::aws_smithy_runtime_api::client::result::SdkError<
16329            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
16330            R,
16331        >,
16332    > for Error
16333where
16334    R: Send + Sync + std::fmt::Debug + 'static,
16335{
16336    fn from(
16337        err: ::aws_smithy_runtime_api::client::result::SdkError<
16338            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError,
16339            R,
16340        >,
16341    ) -> Self {
16342        match err {
16343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16346                source: err.into(),
16347            }),
16348        }
16349    }
16350}
16351impl From<crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError> for Error {
16352    fn from(err: crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError) -> Self {
16353        match err {
16354            crate::operation::modify_capacity_reservation_fleet::ModifyCapacityReservationFleetError::Unhandled(inner) => Error::Unhandled(inner),
16355        }
16356    }
16357}
16358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>>
16359    for Error
16360where
16361    R: Send + Sync + std::fmt::Debug + 'static,
16362{
16363    fn from(
16364        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError, R>,
16365    ) -> Self {
16366        match err {
16367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16370                source: err.into(),
16371            }),
16372        }
16373    }
16374}
16375impl From<crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError> for Error {
16376    fn from(err: crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError) -> Self {
16377        match err {
16378            crate::operation::modify_client_vpn_endpoint::ModifyClientVpnEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16379        }
16380    }
16381}
16382impl<R>
16383    From<
16384        ::aws_smithy_runtime_api::client::result::SdkError<
16385            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
16386            R,
16387        >,
16388    > for Error
16389where
16390    R: Send + Sync + std::fmt::Debug + 'static,
16391{
16392    fn from(
16393        err: ::aws_smithy_runtime_api::client::result::SdkError<
16394            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError,
16395            R,
16396        >,
16397    ) -> Self {
16398        match err {
16399            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16400            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16401                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16402                source: err.into(),
16403            }),
16404        }
16405    }
16406}
16407impl From<crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError> for Error {
16408    fn from(err: crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError) -> Self {
16409        match err {
16410            crate::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationError::Unhandled(inner) => Error::Unhandled(inner),
16411        }
16412    }
16413}
16414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>>
16415    for Error
16416where
16417    R: Send + Sync + std::fmt::Debug + 'static,
16418{
16419    fn from(
16420        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError, R>,
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_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError> for Error {
16432    fn from(err: crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError) -> Self {
16433        match err {
16434            crate::operation::modify_ebs_default_kms_key_id::ModifyEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
16435        }
16436    }
16437}
16438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>> for Error
16439where
16440    R: Send + Sync + std::fmt::Debug + 'static,
16441{
16442    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fleet::ModifyFleetError, R>) -> Self {
16443        match err {
16444            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16445            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16446                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16447                source: err.into(),
16448            }),
16449        }
16450    }
16451}
16452impl From<crate::operation::modify_fleet::ModifyFleetError> for Error {
16453    fn from(err: crate::operation::modify_fleet::ModifyFleetError) -> Self {
16454        match err {
16455            crate::operation::modify_fleet::ModifyFleetError::Unhandled(inner) => Error::Unhandled(inner),
16456        }
16457    }
16458}
16459impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>>
16460    for Error
16461where
16462    R: Send + Sync + std::fmt::Debug + 'static,
16463{
16464    fn from(
16465        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError, R>,
16466    ) -> Self {
16467        match err {
16468            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16469            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16470                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16471                source: err.into(),
16472            }),
16473        }
16474    }
16475}
16476impl From<crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError> for Error {
16477    fn from(err: crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError) -> Self {
16478        match err {
16479            crate::operation::modify_fpga_image_attribute::ModifyFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16480        }
16481    }
16482}
16483impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>> for Error
16484where
16485    R: Send + Sync + std::fmt::Debug + 'static,
16486{
16487    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_hosts::ModifyHostsError, R>) -> Self {
16488        match err {
16489            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16490            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16491                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16492                source: err.into(),
16493            }),
16494        }
16495    }
16496}
16497impl From<crate::operation::modify_hosts::ModifyHostsError> for Error {
16498    fn from(err: crate::operation::modify_hosts::ModifyHostsError) -> Self {
16499        match err {
16500            crate::operation::modify_hosts::ModifyHostsError::Unhandled(inner) => Error::Unhandled(inner),
16501        }
16502    }
16503}
16504impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>>
16505    for Error
16506where
16507    R: Send + Sync + std::fmt::Debug + 'static,
16508{
16509    fn from(
16510        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError, R>,
16511    ) -> Self {
16512        match err {
16513            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16514            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16515                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16516                source: err.into(),
16517            }),
16518        }
16519    }
16520}
16521impl From<crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError> for Error {
16522    fn from(err: crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError) -> Self {
16523        match err {
16524            crate::operation::modify_identity_id_format::ModifyIdentityIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
16525        }
16526    }
16527}
16528impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>> for Error
16529where
16530    R: Send + Sync + std::fmt::Debug + 'static,
16531{
16532    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_id_format::ModifyIdFormatError, R>) -> Self {
16533        match err {
16534            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16535            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16536                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16537                source: err.into(),
16538            }),
16539        }
16540    }
16541}
16542impl From<crate::operation::modify_id_format::ModifyIdFormatError> for Error {
16543    fn from(err: crate::operation::modify_id_format::ModifyIdFormatError) -> Self {
16544        match err {
16545            crate::operation::modify_id_format::ModifyIdFormatError::Unhandled(inner) => Error::Unhandled(inner),
16546        }
16547    }
16548}
16549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>> for Error
16550where
16551    R: Send + Sync + std::fmt::Debug + 'static,
16552{
16553    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_image_attribute::ModifyImageAttributeError, R>) -> Self {
16554        match err {
16555            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16556            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16557                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16558                source: err.into(),
16559            }),
16560        }
16561    }
16562}
16563impl From<crate::operation::modify_image_attribute::ModifyImageAttributeError> for Error {
16564    fn from(err: crate::operation::modify_image_attribute::ModifyImageAttributeError) -> Self {
16565        match err {
16566            crate::operation::modify_image_attribute::ModifyImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16567        }
16568    }
16569}
16570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>>
16571    for Error
16572where
16573    R: Send + Sync + std::fmt::Debug + 'static,
16574{
16575    fn from(
16576        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError, R>,
16577    ) -> Self {
16578        match err {
16579            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16580            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16581                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16582                source: err.into(),
16583            }),
16584        }
16585    }
16586}
16587impl From<crate::operation::modify_instance_attribute::ModifyInstanceAttributeError> for Error {
16588    fn from(err: crate::operation::modify_instance_attribute::ModifyInstanceAttributeError) -> Self {
16589        match err {
16590            crate::operation::modify_instance_attribute::ModifyInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
16591        }
16592    }
16593}
16594impl<R>
16595    From<
16596        ::aws_smithy_runtime_api::client::result::SdkError<
16597            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
16598            R,
16599        >,
16600    > for Error
16601where
16602    R: Send + Sync + std::fmt::Debug + 'static,
16603{
16604    fn from(
16605        err: ::aws_smithy_runtime_api::client::result::SdkError<
16606            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError,
16607            R,
16608        >,
16609    ) -> Self {
16610        match err {
16611            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16612            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16613                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16614                source: err.into(),
16615            }),
16616        }
16617    }
16618}
16619impl From<crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError> for Error {
16620    fn from(err: crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError) -> Self {
16621        match err {
16622            crate::operation::modify_instance_capacity_reservation_attributes::ModifyInstanceCapacityReservationAttributesError::Unhandled(inner) => {
16623                Error::Unhandled(inner)
16624            }
16625        }
16626    }
16627}
16628impl<R>
16629    From<
16630        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError, R>,
16631    > for Error
16632where
16633    R: Send + Sync + std::fmt::Debug + 'static,
16634{
16635    fn from(
16636        err: ::aws_smithy_runtime_api::client::result::SdkError<
16637            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError,
16638            R,
16639        >,
16640    ) -> Self {
16641        match err {
16642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16645                source: err.into(),
16646            }),
16647        }
16648    }
16649}
16650impl From<crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError> for Error {
16651    fn from(err: crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError) -> Self {
16652        match err {
16653            crate::operation::modify_instance_connect_endpoint::ModifyInstanceConnectEndpointError::Unhandled(inner) => Error::Unhandled(inner),
16654        }
16655    }
16656}
16657impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>>
16658    for Error
16659where
16660    R: Send + Sync + std::fmt::Debug + 'static,
16661{
16662    fn from(
16663        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError, R>,
16664    ) -> Self {
16665        match err {
16666            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16667            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16668                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16669                source: err.into(),
16670            }),
16671        }
16672    }
16673}
16674impl From<crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError> for Error {
16675    fn from(err: crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError) -> Self {
16676        match err {
16677            crate::operation::modify_instance_cpu_options::ModifyInstanceCpuOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16678        }
16679    }
16680}
16681impl<R>
16682    From<
16683        ::aws_smithy_runtime_api::client::result::SdkError<
16684            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
16685            R,
16686        >,
16687    > for Error
16688where
16689    R: Send + Sync + std::fmt::Debug + 'static,
16690{
16691    fn from(
16692        err: ::aws_smithy_runtime_api::client::result::SdkError<
16693            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError,
16694            R,
16695        >,
16696    ) -> Self {
16697        match err {
16698            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16699            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16700                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16701                source: err.into(),
16702            }),
16703        }
16704    }
16705}
16706impl From<crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError> for Error {
16707    fn from(err: crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError) -> Self {
16708        match err {
16709            crate::operation::modify_instance_credit_specification::ModifyInstanceCreditSpecificationError::Unhandled(inner) => {
16710                Error::Unhandled(inner)
16711            }
16712        }
16713    }
16714}
16715impl<R>
16716    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError, R>>
16717    for Error
16718where
16719    R: Send + Sync + std::fmt::Debug + 'static,
16720{
16721    fn from(
16722        err: ::aws_smithy_runtime_api::client::result::SdkError<
16723            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError,
16724            R,
16725        >,
16726    ) -> Self {
16727        match err {
16728            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16729            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16730                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16731                source: err.into(),
16732            }),
16733        }
16734    }
16735}
16736impl From<crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError> for Error {
16737    fn from(err: crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError) -> Self {
16738        match err {
16739            crate::operation::modify_instance_event_start_time::ModifyInstanceEventStartTimeError::Unhandled(inner) => Error::Unhandled(inner),
16740        }
16741    }
16742}
16743impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>>
16744    for Error
16745where
16746    R: Send + Sync + std::fmt::Debug + 'static,
16747{
16748    fn from(
16749        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError, R>,
16750    ) -> Self {
16751        match err {
16752            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16753            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16754                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16755                source: err.into(),
16756            }),
16757        }
16758    }
16759}
16760impl From<crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError> for Error {
16761    fn from(err: crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError) -> Self {
16762        match err {
16763            crate::operation::modify_instance_event_window::ModifyInstanceEventWindowError::Unhandled(inner) => Error::Unhandled(inner),
16764        }
16765    }
16766}
16767impl<R>
16768    From<
16769        ::aws_smithy_runtime_api::client::result::SdkError<
16770            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
16771            R,
16772        >,
16773    > for Error
16774where
16775    R: Send + Sync + std::fmt::Debug + 'static,
16776{
16777    fn from(
16778        err: ::aws_smithy_runtime_api::client::result::SdkError<
16779            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError,
16780            R,
16781        >,
16782    ) -> Self {
16783        match err {
16784            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16785            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16786                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16787                source: err.into(),
16788            }),
16789        }
16790    }
16791}
16792impl From<crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError> for Error {
16793    fn from(err: crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError) -> Self {
16794        match err {
16795            crate::operation::modify_instance_maintenance_options::ModifyInstanceMaintenanceOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16796        }
16797    }
16798}
16799impl<R>
16800    From<
16801        ::aws_smithy_runtime_api::client::result::SdkError<
16802            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
16803            R,
16804        >,
16805    > for Error
16806where
16807    R: Send + Sync + std::fmt::Debug + 'static,
16808{
16809    fn from(
16810        err: ::aws_smithy_runtime_api::client::result::SdkError<
16811            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError,
16812            R,
16813        >,
16814    ) -> Self {
16815        match err {
16816            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16817            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16818                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16819                source: err.into(),
16820            }),
16821        }
16822    }
16823}
16824impl From<crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError> for Error {
16825    fn from(err: crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError) -> Self {
16826        match err {
16827            crate::operation::modify_instance_metadata_defaults::ModifyInstanceMetadataDefaultsError::Unhandled(inner) => Error::Unhandled(inner),
16828        }
16829    }
16830}
16831impl<R>
16832    From<
16833        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError, R>,
16834    > for Error
16835where
16836    R: Send + Sync + std::fmt::Debug + 'static,
16837{
16838    fn from(
16839        err: ::aws_smithy_runtime_api::client::result::SdkError<
16840            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError,
16841            R,
16842        >,
16843    ) -> Self {
16844        match err {
16845            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16846            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16847                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16848                source: err.into(),
16849            }),
16850        }
16851    }
16852}
16853impl From<crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError> for Error {
16854    fn from(err: crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError) -> Self {
16855        match err {
16856            crate::operation::modify_instance_metadata_options::ModifyInstanceMetadataOptionsError::Unhandled(inner) => Error::Unhandled(inner),
16857        }
16858    }
16859}
16860impl<R>
16861    From<
16862        ::aws_smithy_runtime_api::client::result::SdkError<
16863            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
16864            R,
16865        >,
16866    > for Error
16867where
16868    R: Send + Sync + std::fmt::Debug + 'static,
16869{
16870    fn from(
16871        err: ::aws_smithy_runtime_api::client::result::SdkError<
16872            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError,
16873            R,
16874        >,
16875    ) -> Self {
16876        match err {
16877            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16878            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16879                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16880                source: err.into(),
16881            }),
16882        }
16883    }
16884}
16885impl From<crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError> for Error {
16886    fn from(err: crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError) -> Self {
16887        match err {
16888            crate::operation::modify_instance_network_performance_options::ModifyInstanceNetworkPerformanceOptionsError::Unhandled(inner) => {
16889                Error::Unhandled(inner)
16890            }
16891        }
16892    }
16893}
16894impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>>
16895    for Error
16896where
16897    R: Send + Sync + std::fmt::Debug + 'static,
16898{
16899    fn from(
16900        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_instance_placement::ModifyInstancePlacementError, R>,
16901    ) -> Self {
16902        match err {
16903            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16904            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16905                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16906                source: err.into(),
16907            }),
16908        }
16909    }
16910}
16911impl From<crate::operation::modify_instance_placement::ModifyInstancePlacementError> for Error {
16912    fn from(err: crate::operation::modify_instance_placement::ModifyInstancePlacementError) -> Self {
16913        match err {
16914            crate::operation::modify_instance_placement::ModifyInstancePlacementError::Unhandled(inner) => Error::Unhandled(inner),
16915        }
16916    }
16917}
16918impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>> for Error
16919where
16920    R: Send + Sync + std::fmt::Debug + 'static,
16921{
16922    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam::ModifyIpamError, R>) -> Self {
16923        match err {
16924            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16925            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16926                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16927                source: err.into(),
16928            }),
16929        }
16930    }
16931}
16932impl From<crate::operation::modify_ipam::ModifyIpamError> for Error {
16933    fn from(err: crate::operation::modify_ipam::ModifyIpamError) -> Self {
16934        match err {
16935            crate::operation::modify_ipam::ModifyIpamError::Unhandled(inner) => Error::Unhandled(inner),
16936        }
16937    }
16938}
16939impl<R>
16940    From<
16941        ::aws_smithy_runtime_api::client::result::SdkError<
16942            crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError,
16943            R,
16944        >,
16945    > for Error
16946where
16947    R: Send + Sync + std::fmt::Debug + 'static,
16948{
16949    fn from(
16950        err: ::aws_smithy_runtime_api::client::result::SdkError<
16951            crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError,
16952            R,
16953        >,
16954    ) -> Self {
16955        match err {
16956            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16957            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16958                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16959                source: err.into(),
16960            }),
16961        }
16962    }
16963}
16964impl From<crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError> for Error {
16965    fn from(err: crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError) -> Self {
16966        match err {
16967            crate::operation::modify_ipam_policy_allocation_rules::ModifyIpamPolicyAllocationRulesError::Unhandled(inner) => Error::Unhandled(inner),
16968        }
16969    }
16970}
16971impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>> for Error
16972where
16973    R: Send + Sync + std::fmt::Debug + 'static,
16974{
16975    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_pool::ModifyIpamPoolError, R>) -> Self {
16976        match err {
16977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
16978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
16979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
16980                source: err.into(),
16981            }),
16982        }
16983    }
16984}
16985impl From<crate::operation::modify_ipam_pool::ModifyIpamPoolError> for Error {
16986    fn from(err: crate::operation::modify_ipam_pool::ModifyIpamPoolError) -> Self {
16987        match err {
16988            crate::operation::modify_ipam_pool::ModifyIpamPoolError::Unhandled(inner) => Error::Unhandled(inner),
16989        }
16990    }
16991}
16992impl<R>
16993    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError, R>>
16994    for Error
16995where
16996    R: Send + Sync + std::fmt::Debug + 'static,
16997{
16998    fn from(
16999        err: ::aws_smithy_runtime_api::client::result::SdkError<
17000            crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError,
17001            R,
17002        >,
17003    ) -> Self {
17004        match err {
17005            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17006            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17007                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17008                source: err.into(),
17009            }),
17010        }
17011    }
17012}
17013impl From<crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError> for Error {
17014    fn from(err: crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError) -> Self {
17015        match err {
17016            crate::operation::modify_ipam_prefix_list_resolver::ModifyIpamPrefixListResolverError::Unhandled(inner) => Error::Unhandled(inner),
17017        }
17018    }
17019}
17020impl<R>
17021    From<
17022        ::aws_smithy_runtime_api::client::result::SdkError<
17023            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError,
17024            R,
17025        >,
17026    > for Error
17027where
17028    R: Send + Sync + std::fmt::Debug + 'static,
17029{
17030    fn from(
17031        err: ::aws_smithy_runtime_api::client::result::SdkError<
17032            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError,
17033            R,
17034        >,
17035    ) -> Self {
17036        match err {
17037            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17038            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17039                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17040                source: err.into(),
17041            }),
17042        }
17043    }
17044}
17045impl From<crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError> for Error {
17046    fn from(err: crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError) -> Self {
17047        match err {
17048            crate::operation::modify_ipam_prefix_list_resolver_target::ModifyIpamPrefixListResolverTargetError::Unhandled(inner) => {
17049                Error::Unhandled(inner)
17050            }
17051        }
17052    }
17053}
17054impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>>
17055    for Error
17056where
17057    R: Send + Sync + std::fmt::Debug + 'static,
17058{
17059    fn from(
17060        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError, R>,
17061    ) -> Self {
17062        match err {
17063            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17064            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17065                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17066                source: err.into(),
17067            }),
17068        }
17069    }
17070}
17071impl From<crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError> for Error {
17072    fn from(err: crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError) -> Self {
17073        match err {
17074            crate::operation::modify_ipam_resource_cidr::ModifyIpamResourceCidrError::Unhandled(inner) => Error::Unhandled(inner),
17075        }
17076    }
17077}
17078impl<R>
17079    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError, R>>
17080    for Error
17081where
17082    R: Send + Sync + std::fmt::Debug + 'static,
17083{
17084    fn from(
17085        err: ::aws_smithy_runtime_api::client::result::SdkError<
17086            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError,
17087            R,
17088        >,
17089    ) -> Self {
17090        match err {
17091            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17092            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17093                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17094                source: err.into(),
17095            }),
17096        }
17097    }
17098}
17099impl From<crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError> for Error {
17100    fn from(err: crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError) -> Self {
17101        match err {
17102            crate::operation::modify_ipam_resource_discovery::ModifyIpamResourceDiscoveryError::Unhandled(inner) => Error::Unhandled(inner),
17103        }
17104    }
17105}
17106impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>> for Error
17107where
17108    R: Send + Sync + std::fmt::Debug + 'static,
17109{
17110    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_ipam_scope::ModifyIpamScopeError, R>) -> Self {
17111        match err {
17112            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17113            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17114                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17115                source: err.into(),
17116            }),
17117        }
17118    }
17119}
17120impl From<crate::operation::modify_ipam_scope::ModifyIpamScopeError> for Error {
17121    fn from(err: crate::operation::modify_ipam_scope::ModifyIpamScopeError) -> Self {
17122        match err {
17123            crate::operation::modify_ipam_scope::ModifyIpamScopeError::Unhandled(inner) => Error::Unhandled(inner),
17124        }
17125    }
17126}
17127impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>> for Error
17128where
17129    R: Send + Sync + std::fmt::Debug + 'static,
17130{
17131    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_launch_template::ModifyLaunchTemplateError, R>) -> Self {
17132        match err {
17133            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17134            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17135                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17136                source: err.into(),
17137            }),
17138        }
17139    }
17140}
17141impl From<crate::operation::modify_launch_template::ModifyLaunchTemplateError> for Error {
17142    fn from(err: crate::operation::modify_launch_template::ModifyLaunchTemplateError) -> Self {
17143        match err {
17144            crate::operation::modify_launch_template::ModifyLaunchTemplateError::Unhandled(inner) => Error::Unhandled(inner),
17145        }
17146    }
17147}
17148impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>>
17149    for Error
17150where
17151    R: Send + Sync + std::fmt::Debug + 'static,
17152{
17153    fn from(
17154        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError, R>,
17155    ) -> Self {
17156        match err {
17157            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17158            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17159                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17160                source: err.into(),
17161            }),
17162        }
17163    }
17164}
17165impl From<crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError> for Error {
17166    fn from(err: crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError) -> Self {
17167        match err {
17168            crate::operation::modify_local_gateway_route::ModifyLocalGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
17169        }
17170    }
17171}
17172impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>>
17173    for Error
17174where
17175    R: Send + Sync + std::fmt::Debug + 'static,
17176{
17177    fn from(
17178        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError, R>,
17179    ) -> Self {
17180        match err {
17181            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17182            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17183                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17184                source: err.into(),
17185            }),
17186        }
17187    }
17188}
17189impl From<crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError> for Error {
17190    fn from(err: crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError) -> Self {
17191        match err {
17192            crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError::Unhandled(inner) => Error::Unhandled(inner),
17193        }
17194    }
17195}
17196impl<R>
17197    From<
17198        ::aws_smithy_runtime_api::client::result::SdkError<
17199            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
17200            R,
17201        >,
17202    > for Error
17203where
17204    R: Send + Sync + std::fmt::Debug + 'static,
17205{
17206    fn from(
17207        err: ::aws_smithy_runtime_api::client::result::SdkError<
17208            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError,
17209            R,
17210        >,
17211    ) -> Self {
17212        match err {
17213            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17214            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17215                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17216                source: err.into(),
17217            }),
17218        }
17219    }
17220}
17221impl From<crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError> for Error {
17222    fn from(err: crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError) -> Self {
17223        match err {
17224            crate::operation::modify_network_interface_attribute::ModifyNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17225        }
17226    }
17227}
17228impl<R>
17229    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError, R>>
17230    for Error
17231where
17232    R: Send + Sync + std::fmt::Debug + 'static,
17233{
17234    fn from(
17235        err: ::aws_smithy_runtime_api::client::result::SdkError<
17236            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError,
17237            R,
17238        >,
17239    ) -> Self {
17240        match err {
17241            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17242            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17243                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17244                source: err.into(),
17245            }),
17246        }
17247    }
17248}
17249impl From<crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError> for Error {
17250    fn from(err: crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError) -> Self {
17251        match err {
17252            crate::operation::modify_private_dns_name_options::ModifyPrivateDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
17253        }
17254    }
17255}
17256impl<R>
17257    From<
17258        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError, R>,
17259    > for Error
17260where
17261    R: Send + Sync + std::fmt::Debug + 'static,
17262{
17263    fn from(
17264        err: ::aws_smithy_runtime_api::client::result::SdkError<
17265            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError,
17266            R,
17267        >,
17268    ) -> Self {
17269        match err {
17270            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17271            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17272                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17273                source: err.into(),
17274            }),
17275        }
17276    }
17277}
17278impl From<crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError> for Error {
17279    fn from(err: crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError) -> Self {
17280        match err {
17281            crate::operation::modify_public_ip_dns_name_options::ModifyPublicIpDnsNameOptionsError::Unhandled(inner) => Error::Unhandled(inner),
17282        }
17283    }
17284}
17285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>>
17286    for Error
17287where
17288    R: Send + Sync + std::fmt::Debug + 'static,
17289{
17290    fn from(
17291        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_reserved_instances::ModifyReservedInstancesError, R>,
17292    ) -> Self {
17293        match err {
17294            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17295            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17296                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17297                source: err.into(),
17298            }),
17299        }
17300    }
17301}
17302impl From<crate::operation::modify_reserved_instances::ModifyReservedInstancesError> for Error {
17303    fn from(err: crate::operation::modify_reserved_instances::ModifyReservedInstancesError) -> Self {
17304        match err {
17305            crate::operation::modify_reserved_instances::ModifyReservedInstancesError::Unhandled(inner) => Error::Unhandled(inner),
17306        }
17307    }
17308}
17309impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>> for Error
17310where
17311    R: Send + Sync + std::fmt::Debug + 'static,
17312{
17313    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_route_server::ModifyRouteServerError, R>) -> Self {
17314        match err {
17315            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17316            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17317                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17318                source: err.into(),
17319            }),
17320        }
17321    }
17322}
17323impl From<crate::operation::modify_route_server::ModifyRouteServerError> for Error {
17324    fn from(err: crate::operation::modify_route_server::ModifyRouteServerError) -> Self {
17325        match err {
17326            crate::operation::modify_route_server::ModifyRouteServerError::Unhandled(inner) => Error::Unhandled(inner),
17327        }
17328    }
17329}
17330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>>
17331    for Error
17332where
17333    R: Send + Sync + std::fmt::Debug + 'static,
17334{
17335    fn from(
17336        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError, R>,
17337    ) -> Self {
17338        match err {
17339            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17340            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17341                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17342                source: err.into(),
17343            }),
17344        }
17345    }
17346}
17347impl From<crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError> for Error {
17348    fn from(err: crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError) -> Self {
17349        match err {
17350            crate::operation::modify_security_group_rules::ModifySecurityGroupRulesError::Unhandled(inner) => Error::Unhandled(inner),
17351        }
17352    }
17353}
17354impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>>
17355    for Error
17356where
17357    R: Send + Sync + std::fmt::Debug + 'static,
17358{
17359    fn from(
17360        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError, R>,
17361    ) -> Self {
17362        match err {
17363            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17364            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17365                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17366                source: err.into(),
17367            }),
17368        }
17369    }
17370}
17371impl From<crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError> for Error {
17372    fn from(err: crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError) -> Self {
17373        match err {
17374            crate::operation::modify_snapshot_attribute::ModifySnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17375        }
17376    }
17377}
17378impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>> for Error
17379where
17380    R: Send + Sync + std::fmt::Debug + 'static,
17381{
17382    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_snapshot_tier::ModifySnapshotTierError, R>) -> Self {
17383        match err {
17384            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17385            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17386                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17387                source: err.into(),
17388            }),
17389        }
17390    }
17391}
17392impl From<crate::operation::modify_snapshot_tier::ModifySnapshotTierError> for Error {
17393    fn from(err: crate::operation::modify_snapshot_tier::ModifySnapshotTierError) -> Self {
17394        match err {
17395            crate::operation::modify_snapshot_tier::ModifySnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
17396        }
17397    }
17398}
17399impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>>
17400    for Error
17401where
17402    R: Send + Sync + std::fmt::Debug + 'static,
17403{
17404    fn from(
17405        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError, R>,
17406    ) -> Self {
17407        match err {
17408            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17409            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17410                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17411                source: err.into(),
17412            }),
17413        }
17414    }
17415}
17416impl From<crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError> for Error {
17417    fn from(err: crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError) -> Self {
17418        match err {
17419            crate::operation::modify_spot_fleet_request::ModifySpotFleetRequestError::Unhandled(inner) => Error::Unhandled(inner),
17420        }
17421    }
17422}
17423impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>> for Error
17424where
17425    R: Send + Sync + std::fmt::Debug + 'static,
17426{
17427    fn from(
17428        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError, R>,
17429    ) -> Self {
17430        match err {
17431            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17432            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17433                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17434                source: err.into(),
17435            }),
17436        }
17437    }
17438}
17439impl From<crate::operation::modify_subnet_attribute::ModifySubnetAttributeError> for Error {
17440    fn from(err: crate::operation::modify_subnet_attribute::ModifySubnetAttributeError) -> Self {
17441        match err {
17442            crate::operation::modify_subnet_attribute::ModifySubnetAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17443        }
17444    }
17445}
17446impl<R>
17447    From<
17448        ::aws_smithy_runtime_api::client::result::SdkError<
17449            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
17450            R,
17451        >,
17452    > for Error
17453where
17454    R: Send + Sync + std::fmt::Debug + 'static,
17455{
17456    fn from(
17457        err: ::aws_smithy_runtime_api::client::result::SdkError<
17458            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError,
17459            R,
17460        >,
17461    ) -> Self {
17462        match err {
17463            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17464            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17465                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17466                source: err.into(),
17467            }),
17468        }
17469    }
17470}
17471impl From<crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError> for Error {
17472    fn from(err: crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError) -> Self {
17473        match err {
17474            crate::operation::modify_traffic_mirror_filter_network_services::ModifyTrafficMirrorFilterNetworkServicesError::Unhandled(inner) => {
17475                Error::Unhandled(inner)
17476            }
17477        }
17478    }
17479}
17480impl<R>
17481    From<
17482        ::aws_smithy_runtime_api::client::result::SdkError<
17483            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
17484            R,
17485        >,
17486    > for Error
17487where
17488    R: Send + Sync + std::fmt::Debug + 'static,
17489{
17490    fn from(
17491        err: ::aws_smithy_runtime_api::client::result::SdkError<
17492            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError,
17493            R,
17494        >,
17495    ) -> Self {
17496        match err {
17497            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17498            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17499                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17500                source: err.into(),
17501            }),
17502        }
17503    }
17504}
17505impl From<crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError> for Error {
17506    fn from(err: crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError) -> Self {
17507        match err {
17508            crate::operation::modify_traffic_mirror_filter_rule::ModifyTrafficMirrorFilterRuleError::Unhandled(inner) => Error::Unhandled(inner),
17509        }
17510    }
17511}
17512impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>>
17513    for Error
17514where
17515    R: Send + Sync + std::fmt::Debug + 'static,
17516{
17517    fn from(
17518        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError, R>,
17519    ) -> Self {
17520        match err {
17521            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17522            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17523                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17524                source: err.into(),
17525            }),
17526        }
17527    }
17528}
17529impl From<crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError> for Error {
17530    fn from(err: crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError) -> Self {
17531        match err {
17532            crate::operation::modify_traffic_mirror_session::ModifyTrafficMirrorSessionError::Unhandled(inner) => Error::Unhandled(inner),
17533        }
17534    }
17535}
17536impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>> for Error
17537where
17538    R: Send + Sync + std::fmt::Debug + 'static,
17539{
17540    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_transit_gateway::ModifyTransitGatewayError, R>) -> Self {
17541        match err {
17542            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17543            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17544                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17545                source: err.into(),
17546            }),
17547        }
17548    }
17549}
17550impl From<crate::operation::modify_transit_gateway::ModifyTransitGatewayError> for Error {
17551    fn from(err: crate::operation::modify_transit_gateway::ModifyTransitGatewayError) -> Self {
17552        match err {
17553            crate::operation::modify_transit_gateway::ModifyTransitGatewayError::Unhandled(inner) => Error::Unhandled(inner),
17554        }
17555    }
17556}
17557impl<R>
17558    From<
17559        ::aws_smithy_runtime_api::client::result::SdkError<
17560            crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError,
17561            R,
17562        >,
17563    > for Error
17564where
17565    R: Send + Sync + std::fmt::Debug + 'static,
17566{
17567    fn from(
17568        err: ::aws_smithy_runtime_api::client::result::SdkError<
17569            crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError,
17570            R,
17571        >,
17572    ) -> Self {
17573        match err {
17574            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17575            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17576                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17577                source: err.into(),
17578            }),
17579        }
17580    }
17581}
17582impl From<crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError> for Error {
17583    fn from(err: crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError) -> Self {
17584        match err {
17585            crate::operation::modify_transit_gateway_metering_policy::ModifyTransitGatewayMeteringPolicyError::Unhandled(inner) => {
17586                Error::Unhandled(inner)
17587            }
17588        }
17589    }
17590}
17591impl<R>
17592    From<
17593        ::aws_smithy_runtime_api::client::result::SdkError<
17594            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
17595            R,
17596        >,
17597    > for Error
17598where
17599    R: Send + Sync + std::fmt::Debug + 'static,
17600{
17601    fn from(
17602        err: ::aws_smithy_runtime_api::client::result::SdkError<
17603            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError,
17604            R,
17605        >,
17606    ) -> Self {
17607        match err {
17608            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17609            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17610                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17611                source: err.into(),
17612            }),
17613        }
17614    }
17615}
17616impl From<crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError> for Error {
17617    fn from(err: crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError) -> Self {
17618        match err {
17619            crate::operation::modify_transit_gateway_prefix_list_reference::ModifyTransitGatewayPrefixListReferenceError::Unhandled(inner) => {
17620                Error::Unhandled(inner)
17621            }
17622        }
17623    }
17624}
17625impl<R>
17626    From<
17627        ::aws_smithy_runtime_api::client::result::SdkError<
17628            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
17629            R,
17630        >,
17631    > for Error
17632where
17633    R: Send + Sync + std::fmt::Debug + 'static,
17634{
17635    fn from(
17636        err: ::aws_smithy_runtime_api::client::result::SdkError<
17637            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError,
17638            R,
17639        >,
17640    ) -> Self {
17641        match err {
17642            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17643            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17644                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17645                source: err.into(),
17646            }),
17647        }
17648    }
17649}
17650impl From<crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError> for Error {
17651    fn from(err: crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError) -> Self {
17652        match err {
17653            crate::operation::modify_transit_gateway_vpc_attachment::ModifyTransitGatewayVpcAttachmentError::Unhandled(inner) => {
17654                Error::Unhandled(inner)
17655            }
17656        }
17657    }
17658}
17659impl<R>
17660    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError, R>>
17661    for Error
17662where
17663    R: Send + Sync + std::fmt::Debug + 'static,
17664{
17665    fn from(
17666        err: ::aws_smithy_runtime_api::client::result::SdkError<
17667            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError,
17668            R,
17669        >,
17670    ) -> Self {
17671        match err {
17672            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17673            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17674                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17675                source: err.into(),
17676            }),
17677        }
17678    }
17679}
17680impl From<crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError> for Error {
17681    fn from(err: crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError) -> Self {
17682        match err {
17683            crate::operation::modify_verified_access_endpoint::ModifyVerifiedAccessEndpointError::Unhandled(inner) => Error::Unhandled(inner),
17684        }
17685    }
17686}
17687impl<R>
17688    From<
17689        ::aws_smithy_runtime_api::client::result::SdkError<
17690            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
17691            R,
17692        >,
17693    > for Error
17694where
17695    R: Send + Sync + std::fmt::Debug + 'static,
17696{
17697    fn from(
17698        err: ::aws_smithy_runtime_api::client::result::SdkError<
17699            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError,
17700            R,
17701        >,
17702    ) -> Self {
17703        match err {
17704            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17705            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17706                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17707                source: err.into(),
17708            }),
17709        }
17710    }
17711}
17712impl From<crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError> for Error {
17713    fn from(err: crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError) -> Self {
17714        match err {
17715            crate::operation::modify_verified_access_endpoint_policy::ModifyVerifiedAccessEndpointPolicyError::Unhandled(inner) => {
17716                Error::Unhandled(inner)
17717            }
17718        }
17719    }
17720}
17721impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>>
17722    for Error
17723where
17724    R: Send + Sync + std::fmt::Debug + 'static,
17725{
17726    fn from(
17727        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError, R>,
17728    ) -> Self {
17729        match err {
17730            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17731            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17732                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17733                source: err.into(),
17734            }),
17735        }
17736    }
17737}
17738impl From<crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError> for Error {
17739    fn from(err: crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError) -> Self {
17740        match err {
17741            crate::operation::modify_verified_access_group::ModifyVerifiedAccessGroupError::Unhandled(inner) => Error::Unhandled(inner),
17742        }
17743    }
17744}
17745impl<R>
17746    From<
17747        ::aws_smithy_runtime_api::client::result::SdkError<
17748            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
17749            R,
17750        >,
17751    > for Error
17752where
17753    R: Send + Sync + std::fmt::Debug + 'static,
17754{
17755    fn from(
17756        err: ::aws_smithy_runtime_api::client::result::SdkError<
17757            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError,
17758            R,
17759        >,
17760    ) -> Self {
17761        match err {
17762            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17763            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17764                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17765                source: err.into(),
17766            }),
17767        }
17768    }
17769}
17770impl From<crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError> for Error {
17771    fn from(err: crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError) -> Self {
17772        match err {
17773            crate::operation::modify_verified_access_group_policy::ModifyVerifiedAccessGroupPolicyError::Unhandled(inner) => Error::Unhandled(inner),
17774        }
17775    }
17776}
17777impl<R>
17778    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError, R>>
17779    for Error
17780where
17781    R: Send + Sync + std::fmt::Debug + 'static,
17782{
17783    fn from(
17784        err: ::aws_smithy_runtime_api::client::result::SdkError<
17785            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError,
17786            R,
17787        >,
17788    ) -> Self {
17789        match err {
17790            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17791            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17792                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17793                source: err.into(),
17794            }),
17795        }
17796    }
17797}
17798impl From<crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError> for Error {
17799    fn from(err: crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError) -> Self {
17800        match err {
17801            crate::operation::modify_verified_access_instance::ModifyVerifiedAccessInstanceError::Unhandled(inner) => Error::Unhandled(inner),
17802        }
17803    }
17804}
17805impl<R>
17806    From<
17807        ::aws_smithy_runtime_api::client::result::SdkError<
17808            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
17809            R,
17810        >,
17811    > for Error
17812where
17813    R: Send + Sync + std::fmt::Debug + 'static,
17814{
17815    fn from(
17816        err: ::aws_smithy_runtime_api::client::result::SdkError<
17817            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
17818            R,
17819        >,
17820    ) -> Self {
17821        match err {
17822            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17823            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17824                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17825                source: err.into(),
17826            }),
17827        }
17828    }
17829}
17830impl From<crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError> for Error {
17831    fn from(
17832        err: crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError,
17833    ) -> Self {
17834        match err {
17835            crate::operation::modify_verified_access_instance_logging_configuration::ModifyVerifiedAccessInstanceLoggingConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
17836        }
17837    }
17838}
17839impl<R>
17840    From<
17841        ::aws_smithy_runtime_api::client::result::SdkError<
17842            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
17843            R,
17844        >,
17845    > for Error
17846where
17847    R: Send + Sync + std::fmt::Debug + 'static,
17848{
17849    fn from(
17850        err: ::aws_smithy_runtime_api::client::result::SdkError<
17851            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError,
17852            R,
17853        >,
17854    ) -> Self {
17855        match err {
17856            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17857            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17858                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17859                source: err.into(),
17860            }),
17861        }
17862    }
17863}
17864impl From<crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError> for Error {
17865    fn from(err: crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError) -> Self {
17866        match err {
17867            crate::operation::modify_verified_access_trust_provider::ModifyVerifiedAccessTrustProviderError::Unhandled(inner) => {
17868                Error::Unhandled(inner)
17869            }
17870        }
17871    }
17872}
17873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>> for Error
17874where
17875    R: Send + Sync + std::fmt::Debug + 'static,
17876{
17877    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume::ModifyVolumeError, R>) -> Self {
17878        match err {
17879            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17880            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17881                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17882                source: err.into(),
17883            }),
17884        }
17885    }
17886}
17887impl From<crate::operation::modify_volume::ModifyVolumeError> for Error {
17888    fn from(err: crate::operation::modify_volume::ModifyVolumeError) -> Self {
17889        match err {
17890            crate::operation::modify_volume::ModifyVolumeError::Unhandled(inner) => Error::Unhandled(inner),
17891        }
17892    }
17893}
17894impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>> for Error
17895where
17896    R: Send + Sync + std::fmt::Debug + 'static,
17897{
17898    fn from(
17899        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError, R>,
17900    ) -> Self {
17901        match err {
17902            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17903            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17904                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17905                source: err.into(),
17906            }),
17907        }
17908    }
17909}
17910impl From<crate::operation::modify_volume_attribute::ModifyVolumeAttributeError> for Error {
17911    fn from(err: crate::operation::modify_volume_attribute::ModifyVolumeAttributeError) -> Self {
17912        match err {
17913            crate::operation::modify_volume_attribute::ModifyVolumeAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17914        }
17915    }
17916}
17917impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>> for Error
17918where
17919    R: Send + Sync + std::fmt::Debug + 'static,
17920{
17921    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_attribute::ModifyVpcAttributeError, R>) -> 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::modify_vpc_attribute::ModifyVpcAttributeError> for Error {
17932    fn from(err: crate::operation::modify_vpc_attribute::ModifyVpcAttributeError) -> Self {
17933        match err {
17934            crate::operation::modify_vpc_attribute::ModifyVpcAttributeError::Unhandled(inner) => Error::Unhandled(inner),
17935        }
17936    }
17937}
17938impl<R>
17939    From<
17940        ::aws_smithy_runtime_api::client::result::SdkError<
17941            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
17942            R,
17943        >,
17944    > for Error
17945where
17946    R: Send + Sync + std::fmt::Debug + 'static,
17947{
17948    fn from(
17949        err: ::aws_smithy_runtime_api::client::result::SdkError<
17950            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError,
17951            R,
17952        >,
17953    ) -> Self {
17954        match err {
17955            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17956            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17957                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17958                source: err.into(),
17959            }),
17960        }
17961    }
17962}
17963impl From<crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError> for Error {
17964    fn from(err: crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError) -> Self {
17965        match err {
17966            crate::operation::modify_vpc_block_public_access_exclusion::ModifyVpcBlockPublicAccessExclusionError::Unhandled(inner) => {
17967                Error::Unhandled(inner)
17968            }
17969        }
17970    }
17971}
17972impl<R>
17973    From<
17974        ::aws_smithy_runtime_api::client::result::SdkError<
17975            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
17976            R,
17977        >,
17978    > for Error
17979where
17980    R: Send + Sync + std::fmt::Debug + 'static,
17981{
17982    fn from(
17983        err: ::aws_smithy_runtime_api::client::result::SdkError<
17984            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError,
17985            R,
17986        >,
17987    ) -> Self {
17988        match err {
17989            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
17990            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
17991                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
17992                source: err.into(),
17993            }),
17994        }
17995    }
17996}
17997impl From<crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError> for Error {
17998    fn from(err: crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError) -> Self {
17999        match err {
18000            crate::operation::modify_vpc_block_public_access_options::ModifyVpcBlockPublicAccessOptionsError::Unhandled(inner) => {
18001                Error::Unhandled(inner)
18002            }
18003        }
18004    }
18005}
18006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError, R>>
18007    for Error
18008where
18009    R: Send + Sync + std::fmt::Debug + 'static,
18010{
18011    fn from(
18012        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError, R>,
18013    ) -> Self {
18014        match err {
18015            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18016            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18017                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18018                source: err.into(),
18019            }),
18020        }
18021    }
18022}
18023impl From<crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError> for Error {
18024    fn from(err: crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError) -> Self {
18025        match err {
18026            crate::operation::modify_vpc_encryption_control::ModifyVpcEncryptionControlError::Unhandled(inner) => Error::Unhandled(inner),
18027        }
18028    }
18029}
18030impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>> for Error
18031where
18032    R: Send + Sync + std::fmt::Debug + 'static,
18033{
18034    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError, R>) -> Self {
18035        match err {
18036            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18037            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18038                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18039                source: err.into(),
18040            }),
18041        }
18042    }
18043}
18044impl From<crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError> for Error {
18045    fn from(err: crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError) -> Self {
18046        match err {
18047            crate::operation::modify_vpc_endpoint::ModifyVpcEndpointError::Unhandled(inner) => Error::Unhandled(inner),
18048        }
18049    }
18050}
18051impl<R>
18052    From<
18053        ::aws_smithy_runtime_api::client::result::SdkError<
18054            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
18055            R,
18056        >,
18057    > for Error
18058where
18059    R: Send + Sync + std::fmt::Debug + 'static,
18060{
18061    fn from(
18062        err: ::aws_smithy_runtime_api::client::result::SdkError<
18063            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError,
18064            R,
18065        >,
18066    ) -> Self {
18067        match err {
18068            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18069            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18070                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18071                source: err.into(),
18072            }),
18073        }
18074    }
18075}
18076impl From<crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError> for Error {
18077    fn from(err: crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError) -> Self {
18078        match err {
18079            crate::operation::modify_vpc_endpoint_connection_notification::ModifyVpcEndpointConnectionNotificationError::Unhandled(inner) => {
18080                Error::Unhandled(inner)
18081            }
18082        }
18083    }
18084}
18085impl<R>
18086    From<
18087        ::aws_smithy_runtime_api::client::result::SdkError<
18088            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
18089            R,
18090        >,
18091    > for Error
18092where
18093    R: Send + Sync + std::fmt::Debug + 'static,
18094{
18095    fn from(
18096        err: ::aws_smithy_runtime_api::client::result::SdkError<
18097            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError,
18098            R,
18099        >,
18100    ) -> Self {
18101        match err {
18102            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18103            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18104                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18105                source: err.into(),
18106            }),
18107        }
18108    }
18109}
18110impl From<crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError> for Error {
18111    fn from(err: crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError) -> Self {
18112        match err {
18113            crate::operation::modify_vpc_endpoint_service_configuration::ModifyVpcEndpointServiceConfigurationError::Unhandled(inner) => {
18114                Error::Unhandled(inner)
18115            }
18116        }
18117    }
18118}
18119impl<R>
18120    From<
18121        ::aws_smithy_runtime_api::client::result::SdkError<
18122            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
18123            R,
18124        >,
18125    > for Error
18126where
18127    R: Send + Sync + std::fmt::Debug + 'static,
18128{
18129    fn from(
18130        err: ::aws_smithy_runtime_api::client::result::SdkError<
18131            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError,
18132            R,
18133        >,
18134    ) -> Self {
18135        match err {
18136            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18137            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18138                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18139                source: err.into(),
18140            }),
18141        }
18142    }
18143}
18144impl From<crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError> for Error {
18145    fn from(err: crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError) -> Self {
18146        match err {
18147            crate::operation::modify_vpc_endpoint_service_payer_responsibility::ModifyVpcEndpointServicePayerResponsibilityError::Unhandled(
18148                inner,
18149            ) => Error::Unhandled(inner),
18150        }
18151    }
18152}
18153impl<R>
18154    From<
18155        ::aws_smithy_runtime_api::client::result::SdkError<
18156            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
18157            R,
18158        >,
18159    > for Error
18160where
18161    R: Send + Sync + std::fmt::Debug + 'static,
18162{
18163    fn from(
18164        err: ::aws_smithy_runtime_api::client::result::SdkError<
18165            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError,
18166            R,
18167        >,
18168    ) -> Self {
18169        match err {
18170            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18171            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18172                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18173                source: err.into(),
18174            }),
18175        }
18176    }
18177}
18178impl From<crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError> for Error {
18179    fn from(err: crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError) -> Self {
18180        match err {
18181            crate::operation::modify_vpc_endpoint_service_permissions::ModifyVpcEndpointServicePermissionsError::Unhandled(inner) => {
18182                Error::Unhandled(inner)
18183            }
18184        }
18185    }
18186}
18187impl<R>
18188    From<
18189        ::aws_smithy_runtime_api::client::result::SdkError<
18190            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
18191            R,
18192        >,
18193    > for Error
18194where
18195    R: Send + Sync + std::fmt::Debug + 'static,
18196{
18197    fn from(
18198        err: ::aws_smithy_runtime_api::client::result::SdkError<
18199            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError,
18200            R,
18201        >,
18202    ) -> Self {
18203        match err {
18204            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18205            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18206                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18207                source: err.into(),
18208            }),
18209        }
18210    }
18211}
18212impl From<crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError> for Error {
18213    fn from(err: crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError) -> Self {
18214        match err {
18215            crate::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsError::Unhandled(inner) => {
18216                Error::Unhandled(inner)
18217            }
18218        }
18219    }
18220}
18221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>> for Error
18222where
18223    R: Send + Sync + std::fmt::Debug + 'static,
18224{
18225    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError, R>) -> Self {
18226        match err {
18227            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18228            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18229                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18230                source: err.into(),
18231            }),
18232        }
18233    }
18234}
18235impl From<crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError> for Error {
18236    fn from(err: crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError) -> Self {
18237        match err {
18238            crate::operation::modify_vpc_tenancy::ModifyVpcTenancyError::Unhandled(inner) => Error::Unhandled(inner),
18239        }
18240    }
18241}
18242impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>> for Error
18243where
18244    R: Send + Sync + std::fmt::Debug + 'static,
18245{
18246    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection::ModifyVpnConnectionError, R>) -> Self {
18247        match err {
18248            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18249            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18250                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18251                source: err.into(),
18252            }),
18253        }
18254    }
18255}
18256impl From<crate::operation::modify_vpn_connection::ModifyVpnConnectionError> for Error {
18257    fn from(err: crate::operation::modify_vpn_connection::ModifyVpnConnectionError) -> Self {
18258        match err {
18259            crate::operation::modify_vpn_connection::ModifyVpnConnectionError::Unhandled(inner) => Error::Unhandled(inner),
18260        }
18261    }
18262}
18263impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>>
18264    for Error
18265where
18266    R: Send + Sync + std::fmt::Debug + 'static,
18267{
18268    fn from(
18269        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError, R>,
18270    ) -> Self {
18271        match err {
18272            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18273            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18274                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18275                source: err.into(),
18276            }),
18277        }
18278    }
18279}
18280impl From<crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError> for Error {
18281    fn from(err: crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError) -> Self {
18282        match err {
18283            crate::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsError::Unhandled(inner) => Error::Unhandled(inner),
18284        }
18285    }
18286}
18287impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>>
18288    for Error
18289where
18290    R: Send + Sync + std::fmt::Debug + 'static,
18291{
18292    fn from(
18293        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError, R>,
18294    ) -> Self {
18295        match err {
18296            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18297            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18298                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18299                source: err.into(),
18300            }),
18301        }
18302    }
18303}
18304impl From<crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError> for Error {
18305    fn from(err: crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError) -> Self {
18306        match err {
18307            crate::operation::modify_vpn_tunnel_certificate::ModifyVpnTunnelCertificateError::Unhandled(inner) => Error::Unhandled(inner),
18308        }
18309    }
18310}
18311impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>>
18312    for Error
18313where
18314    R: Send + Sync + std::fmt::Debug + 'static,
18315{
18316    fn from(
18317        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError, R>,
18318    ) -> Self {
18319        match err {
18320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18323                source: err.into(),
18324            }),
18325        }
18326    }
18327}
18328impl From<crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError> for Error {
18329    fn from(err: crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError) -> Self {
18330        match err {
18331            crate::operation::modify_vpn_tunnel_options::ModifyVpnTunnelOptionsError::Unhandled(inner) => Error::Unhandled(inner),
18332        }
18333    }
18334}
18335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>> for Error
18336where
18337    R: Send + Sync + std::fmt::Debug + 'static,
18338{
18339    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::monitor_instances::MonitorInstancesError, R>) -> Self {
18340        match err {
18341            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18342            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18343                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18344                source: err.into(),
18345            }),
18346        }
18347    }
18348}
18349impl From<crate::operation::monitor_instances::MonitorInstancesError> for Error {
18350    fn from(err: crate::operation::monitor_instances::MonitorInstancesError) -> Self {
18351        match err {
18352            crate::operation::monitor_instances::MonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18353        }
18354    }
18355}
18356impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>> for Error
18357where
18358    R: Send + Sync + std::fmt::Debug + 'static,
18359{
18360    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_address_to_vpc::MoveAddressToVpcError, R>) -> Self {
18361        match err {
18362            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18363            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18364                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18365                source: err.into(),
18366            }),
18367        }
18368    }
18369}
18370impl From<crate::operation::move_address_to_vpc::MoveAddressToVpcError> for Error {
18371    fn from(err: crate::operation::move_address_to_vpc::MoveAddressToVpcError) -> Self {
18372        match err {
18373            crate::operation::move_address_to_vpc::MoveAddressToVpcError::Unhandled(inner) => Error::Unhandled(inner),
18374        }
18375    }
18376}
18377impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>> for Error
18378where
18379    R: Send + Sync + std::fmt::Debug + 'static,
18380{
18381    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError, R>) -> Self {
18382        match err {
18383            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18384            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18385                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18386                source: err.into(),
18387            }),
18388        }
18389    }
18390}
18391impl From<crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError> for Error {
18392    fn from(err: crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError) -> Self {
18393        match err {
18394            crate::operation::move_byoip_cidr_to_ipam::MoveByoipCidrToIpamError::Unhandled(inner) => Error::Unhandled(inner),
18395        }
18396    }
18397}
18398impl<R>
18399    From<
18400        ::aws_smithy_runtime_api::client::result::SdkError<
18401            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
18402            R,
18403        >,
18404    > for Error
18405where
18406    R: Send + Sync + std::fmt::Debug + 'static,
18407{
18408    fn from(
18409        err: ::aws_smithy_runtime_api::client::result::SdkError<
18410            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError,
18411            R,
18412        >,
18413    ) -> Self {
18414        match err {
18415            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18416            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18417                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18418                source: err.into(),
18419            }),
18420        }
18421    }
18422}
18423impl From<crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError> for Error {
18424    fn from(err: crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError) -> Self {
18425        match err {
18426            crate::operation::move_capacity_reservation_instances::MoveCapacityReservationInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18427        }
18428    }
18429}
18430impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>> for Error
18431where
18432    R: Send + Sync + std::fmt::Debug + 'static,
18433{
18434    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError, R>) -> Self {
18435        match err {
18436            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18437            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18438                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18439                source: err.into(),
18440            }),
18441        }
18442    }
18443}
18444impl From<crate::operation::provision_byoip_cidr::ProvisionByoipCidrError> for Error {
18445    fn from(err: crate::operation::provision_byoip_cidr::ProvisionByoipCidrError) -> Self {
18446        match err {
18447            crate::operation::provision_byoip_cidr::ProvisionByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
18448        }
18449    }
18450}
18451impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>> for Error
18452where
18453    R: Send + Sync + std::fmt::Debug + 'static,
18454{
18455    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError, R>) -> Self {
18456        match err {
18457            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18458            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18459                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18460                source: err.into(),
18461            }),
18462        }
18463    }
18464}
18465impl From<crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError> for Error {
18466    fn from(err: crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError) -> Self {
18467        match err {
18468            crate::operation::provision_ipam_byoasn::ProvisionIpamByoasnError::Unhandled(inner) => Error::Unhandled(inner),
18469        }
18470    }
18471}
18472impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>> for Error
18473where
18474    R: Send + Sync + std::fmt::Debug + 'static,
18475{
18476    fn from(
18477        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError, R>,
18478    ) -> Self {
18479        match err {
18480            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18481            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18482                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18483                source: err.into(),
18484            }),
18485        }
18486    }
18487}
18488impl From<crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError> for Error {
18489    fn from(err: crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError) -> Self {
18490        match err {
18491            crate::operation::provision_ipam_pool_cidr::ProvisionIpamPoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
18492        }
18493    }
18494}
18495impl<R>
18496    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError, R>>
18497    for Error
18498where
18499    R: Send + Sync + std::fmt::Debug + 'static,
18500{
18501    fn from(
18502        err: ::aws_smithy_runtime_api::client::result::SdkError<
18503            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError,
18504            R,
18505        >,
18506    ) -> Self {
18507        match err {
18508            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18509            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18510                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18511                source: err.into(),
18512            }),
18513        }
18514    }
18515}
18516impl From<crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError> for Error {
18517    fn from(err: crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError) -> Self {
18518        match err {
18519            crate::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrError::Unhandled(inner) => Error::Unhandled(inner),
18520        }
18521    }
18522}
18523impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>> for Error
18524where
18525    R: Send + Sync + std::fmt::Debug + 'static,
18526{
18527    fn from(
18528        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError, R>,
18529    ) -> Self {
18530        match err {
18531            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18532            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18533                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18534                source: err.into(),
18535            }),
18536        }
18537    }
18538}
18539impl From<crate::operation::purchase_capacity_block::PurchaseCapacityBlockError> for Error {
18540    fn from(err: crate::operation::purchase_capacity_block::PurchaseCapacityBlockError) -> Self {
18541        match err {
18542            crate::operation::purchase_capacity_block::PurchaseCapacityBlockError::Unhandled(inner) => Error::Unhandled(inner),
18543        }
18544    }
18545}
18546impl<R>
18547    From<
18548        ::aws_smithy_runtime_api::client::result::SdkError<
18549            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
18550            R,
18551        >,
18552    > for Error
18553where
18554    R: Send + Sync + std::fmt::Debug + 'static,
18555{
18556    fn from(
18557        err: ::aws_smithy_runtime_api::client::result::SdkError<
18558            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError,
18559            R,
18560        >,
18561    ) -> Self {
18562        match err {
18563            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18564            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18565                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18566                source: err.into(),
18567            }),
18568        }
18569    }
18570}
18571impl From<crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError> for Error {
18572    fn from(err: crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError) -> Self {
18573        match err {
18574            crate::operation::purchase_capacity_block_extension::PurchaseCapacityBlockExtensionError::Unhandled(inner) => Error::Unhandled(inner),
18575        }
18576    }
18577}
18578impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>>
18579    for Error
18580where
18581    R: Send + Sync + std::fmt::Debug + 'static,
18582{
18583    fn from(
18584        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_host_reservation::PurchaseHostReservationError, R>,
18585    ) -> Self {
18586        match err {
18587            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18588            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18589                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18590                source: err.into(),
18591            }),
18592        }
18593    }
18594}
18595impl From<crate::operation::purchase_host_reservation::PurchaseHostReservationError> for Error {
18596    fn from(err: crate::operation::purchase_host_reservation::PurchaseHostReservationError) -> Self {
18597        match err {
18598            crate::operation::purchase_host_reservation::PurchaseHostReservationError::Unhandled(inner) => Error::Unhandled(inner),
18599        }
18600    }
18601}
18602impl<R>
18603    From<
18604        ::aws_smithy_runtime_api::client::result::SdkError<
18605            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
18606            R,
18607        >,
18608    > for Error
18609where
18610    R: Send + Sync + std::fmt::Debug + 'static,
18611{
18612    fn from(
18613        err: ::aws_smithy_runtime_api::client::result::SdkError<
18614            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError,
18615            R,
18616        >,
18617    ) -> Self {
18618        match err {
18619            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18620            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18621                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18622                source: err.into(),
18623            }),
18624        }
18625    }
18626}
18627impl From<crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError> for Error {
18628    fn from(err: crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError) -> Self {
18629        match err {
18630            crate::operation::purchase_reserved_instances_offering::PurchaseReservedInstancesOfferingError::Unhandled(inner) => {
18631                Error::Unhandled(inner)
18632            }
18633        }
18634    }
18635}
18636impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>>
18637    for Error
18638where
18639    R: Send + Sync + std::fmt::Debug + 'static,
18640{
18641    fn from(
18642        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError, R>,
18643    ) -> Self {
18644        match err {
18645            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18646            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18647                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18648                source: err.into(),
18649            }),
18650        }
18651    }
18652}
18653impl From<crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError> for Error {
18654    fn from(err: crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError) -> Self {
18655        match err {
18656            crate::operation::purchase_scheduled_instances::PurchaseScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18657        }
18658    }
18659}
18660impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>> for Error
18661where
18662    R: Send + Sync + std::fmt::Debug + 'static,
18663{
18664    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reboot_instances::RebootInstancesError, R>) -> Self {
18665        match err {
18666            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18667            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18668                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18669                source: err.into(),
18670            }),
18671        }
18672    }
18673}
18674impl From<crate::operation::reboot_instances::RebootInstancesError> for Error {
18675    fn from(err: crate::operation::reboot_instances::RebootInstancesError) -> Self {
18676        match err {
18677            crate::operation::reboot_instances::RebootInstancesError::Unhandled(inner) => Error::Unhandled(inner),
18678        }
18679    }
18680}
18681impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>> for Error
18682where
18683    R: Send + Sync + std::fmt::Debug + 'static,
18684{
18685    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_image::RegisterImageError, R>) -> Self {
18686        match err {
18687            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18688            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18689                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18690                source: err.into(),
18691            }),
18692        }
18693    }
18694}
18695impl From<crate::operation::register_image::RegisterImageError> for Error {
18696    fn from(err: crate::operation::register_image::RegisterImageError) -> Self {
18697        match err {
18698            crate::operation::register_image::RegisterImageError::Unhandled(inner) => Error::Unhandled(inner),
18699        }
18700    }
18701}
18702impl<R>
18703    From<
18704        ::aws_smithy_runtime_api::client::result::SdkError<
18705            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
18706            R,
18707        >,
18708    > for Error
18709where
18710    R: Send + Sync + std::fmt::Debug + 'static,
18711{
18712    fn from(
18713        err: ::aws_smithy_runtime_api::client::result::SdkError<
18714            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError,
18715            R,
18716        >,
18717    ) -> Self {
18718        match err {
18719            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18720            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18721                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18722                source: err.into(),
18723            }),
18724        }
18725    }
18726}
18727impl From<crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError> for Error {
18728    fn from(err: crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError) -> Self {
18729        match err {
18730            crate::operation::register_instance_event_notification_attributes::RegisterInstanceEventNotificationAttributesError::Unhandled(inner) => {
18731                Error::Unhandled(inner)
18732            }
18733        }
18734    }
18735}
18736impl<R>
18737    From<
18738        ::aws_smithy_runtime_api::client::result::SdkError<
18739            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
18740            R,
18741        >,
18742    > for Error
18743where
18744    R: Send + Sync + std::fmt::Debug + 'static,
18745{
18746    fn from(
18747        err: ::aws_smithy_runtime_api::client::result::SdkError<
18748            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError,
18749            R,
18750        >,
18751    ) -> Self {
18752        match err {
18753            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18754            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18755                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18756                source: err.into(),
18757            }),
18758        }
18759    }
18760}
18761impl From<crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError> for Error {
18762    fn from(err: crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError) -> Self {
18763        match err {
18764            crate::operation::register_transit_gateway_multicast_group_members::RegisterTransitGatewayMulticastGroupMembersError::Unhandled(
18765                inner,
18766            ) => Error::Unhandled(inner),
18767        }
18768    }
18769}
18770impl<R>
18771    From<
18772        ::aws_smithy_runtime_api::client::result::SdkError<
18773            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
18774            R,
18775        >,
18776    > for Error
18777where
18778    R: Send + Sync + std::fmt::Debug + 'static,
18779{
18780    fn from(
18781        err: ::aws_smithy_runtime_api::client::result::SdkError<
18782            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError,
18783            R,
18784        >,
18785    ) -> Self {
18786        match err {
18787            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18788            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18789                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18790                source: err.into(),
18791            }),
18792        }
18793    }
18794}
18795impl From<crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError> for Error {
18796    fn from(err: crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError) -> Self {
18797        match err {
18798            crate::operation::register_transit_gateway_multicast_group_sources::RegisterTransitGatewayMulticastGroupSourcesError::Unhandled(
18799                inner,
18800            ) => Error::Unhandled(inner),
18801        }
18802    }
18803}
18804impl<R>
18805    From<
18806        ::aws_smithy_runtime_api::client::result::SdkError<
18807            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
18808            R,
18809        >,
18810    > for Error
18811where
18812    R: Send + Sync + std::fmt::Debug + 'static,
18813{
18814    fn from(
18815        err: ::aws_smithy_runtime_api::client::result::SdkError<
18816            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError,
18817            R,
18818        >,
18819    ) -> Self {
18820        match err {
18821            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18822            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18823                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18824                source: err.into(),
18825            }),
18826        }
18827    }
18828}
18829impl From<crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError> for Error {
18830    fn from(err: crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError) -> Self {
18831        match err {
18832            crate::operation::reject_capacity_reservation_billing_ownership::RejectCapacityReservationBillingOwnershipError::Unhandled(inner) => {
18833                Error::Unhandled(inner)
18834            }
18835        }
18836    }
18837}
18838impl<R>
18839    From<
18840        ::aws_smithy_runtime_api::client::result::SdkError<
18841            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
18842            R,
18843        >,
18844    > for Error
18845where
18846    R: Send + Sync + std::fmt::Debug + 'static,
18847{
18848    fn from(
18849        err: ::aws_smithy_runtime_api::client::result::SdkError<
18850            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
18851            R,
18852        >,
18853    ) -> Self {
18854        match err {
18855            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18856            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18857                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18858                source: err.into(),
18859            }),
18860        }
18861    }
18862}
18863impl From<crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError> for Error {
18864    fn from(
18865        err: crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError,
18866    ) -> Self {
18867        match err {
18868            crate::operation::reject_transit_gateway_multicast_domain_associations::RejectTransitGatewayMulticastDomainAssociationsError::Unhandled(inner) => Error::Unhandled(inner),
18869        }
18870    }
18871}
18872impl<R>
18873    From<
18874        ::aws_smithy_runtime_api::client::result::SdkError<
18875            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
18876            R,
18877        >,
18878    > for Error
18879where
18880    R: Send + Sync + std::fmt::Debug + 'static,
18881{
18882    fn from(
18883        err: ::aws_smithy_runtime_api::client::result::SdkError<
18884            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError,
18885            R,
18886        >,
18887    ) -> Self {
18888        match err {
18889            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18890            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18891                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18892                source: err.into(),
18893            }),
18894        }
18895    }
18896}
18897impl From<crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError> for Error {
18898    fn from(err: crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError) -> Self {
18899        match err {
18900            crate::operation::reject_transit_gateway_peering_attachment::RejectTransitGatewayPeeringAttachmentError::Unhandled(inner) => {
18901                Error::Unhandled(inner)
18902            }
18903        }
18904    }
18905}
18906impl<R>
18907    From<
18908        ::aws_smithy_runtime_api::client::result::SdkError<
18909            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
18910            R,
18911        >,
18912    > for Error
18913where
18914    R: Send + Sync + std::fmt::Debug + 'static,
18915{
18916    fn from(
18917        err: ::aws_smithy_runtime_api::client::result::SdkError<
18918            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError,
18919            R,
18920        >,
18921    ) -> Self {
18922        match err {
18923            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18924            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18925                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18926                source: err.into(),
18927            }),
18928        }
18929    }
18930}
18931impl From<crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError> for Error {
18932    fn from(err: crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError) -> Self {
18933        match err {
18934            crate::operation::reject_transit_gateway_vpc_attachment::RejectTransitGatewayVpcAttachmentError::Unhandled(inner) => {
18935                Error::Unhandled(inner)
18936            }
18937        }
18938    }
18939}
18940impl<R>
18941    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError, R>>
18942    for Error
18943where
18944    R: Send + Sync + std::fmt::Debug + 'static,
18945{
18946    fn from(
18947        err: ::aws_smithy_runtime_api::client::result::SdkError<
18948            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError,
18949            R,
18950        >,
18951    ) -> Self {
18952        match err {
18953            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18954            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18955                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18956                source: err.into(),
18957            }),
18958        }
18959    }
18960}
18961impl From<crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError> for Error {
18962    fn from(err: crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError) -> Self {
18963        match err {
18964            crate::operation::reject_vpc_endpoint_connections::RejectVpcEndpointConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
18965        }
18966    }
18967}
18968impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>>
18969    for Error
18970where
18971    R: Send + Sync + std::fmt::Debug + 'static,
18972{
18973    fn from(
18974        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError, R>,
18975    ) -> Self {
18976        match err {
18977            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18978            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
18979                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
18980                source: err.into(),
18981            }),
18982        }
18983    }
18984}
18985impl From<crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError> for Error {
18986    fn from(err: crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError) -> Self {
18987        match err {
18988            crate::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionError::Unhandled(inner) => Error::Unhandled(inner),
18989        }
18990    }
18991}
18992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>> for Error
18993where
18994    R: Send + Sync + std::fmt::Debug + 'static,
18995{
18996    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_address::ReleaseAddressError, R>) -> Self {
18997        match err {
18998            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
18999            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19000                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19001                source: err.into(),
19002            }),
19003        }
19004    }
19005}
19006impl From<crate::operation::release_address::ReleaseAddressError> for Error {
19007    fn from(err: crate::operation::release_address::ReleaseAddressError) -> Self {
19008        match err {
19009            crate::operation::release_address::ReleaseAddressError::Unhandled(inner) => Error::Unhandled(inner),
19010        }
19011    }
19012}
19013impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>> for Error
19014where
19015    R: Send + Sync + std::fmt::Debug + 'static,
19016{
19017    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_hosts::ReleaseHostsError, R>) -> Self {
19018        match err {
19019            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19020            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19021                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19022                source: err.into(),
19023            }),
19024        }
19025    }
19026}
19027impl From<crate::operation::release_hosts::ReleaseHostsError> for Error {
19028    fn from(err: crate::operation::release_hosts::ReleaseHostsError) -> Self {
19029        match err {
19030            crate::operation::release_hosts::ReleaseHostsError::Unhandled(inner) => Error::Unhandled(inner),
19031        }
19032    }
19033}
19034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>>
19035    for Error
19036where
19037    R: Send + Sync + std::fmt::Debug + 'static,
19038{
19039    fn from(
19040        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError, R>,
19041    ) -> Self {
19042        match err {
19043            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19044            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19045                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19046                source: err.into(),
19047            }),
19048        }
19049    }
19050}
19051impl From<crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError> for Error {
19052    fn from(err: crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError) -> Self {
19053        match err {
19054            crate::operation::release_ipam_pool_allocation::ReleaseIpamPoolAllocationError::Unhandled(inner) => Error::Unhandled(inner),
19055        }
19056    }
19057}
19058impl<R>
19059    From<
19060        ::aws_smithy_runtime_api::client::result::SdkError<
19061            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
19062            R,
19063        >,
19064    > for Error
19065where
19066    R: Send + Sync + std::fmt::Debug + 'static,
19067{
19068    fn from(
19069        err: ::aws_smithy_runtime_api::client::result::SdkError<
19070            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError,
19071            R,
19072        >,
19073    ) -> Self {
19074        match err {
19075            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19076            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19077                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19078                source: err.into(),
19079            }),
19080        }
19081    }
19082}
19083impl From<crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError> for Error {
19084    fn from(err: crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError) -> Self {
19085        match err {
19086            crate::operation::replace_iam_instance_profile_association::ReplaceIamInstanceProfileAssociationError::Unhandled(inner) => {
19087                Error::Unhandled(inner)
19088            }
19089        }
19090    }
19091}
19092impl<R>
19093    From<
19094        ::aws_smithy_runtime_api::client::result::SdkError<
19095            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
19096            R,
19097        >,
19098    > for Error
19099where
19100    R: Send + Sync + std::fmt::Debug + 'static,
19101{
19102    fn from(
19103        err: ::aws_smithy_runtime_api::client::result::SdkError<
19104            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError,
19105            R,
19106        >,
19107    ) -> Self {
19108        match err {
19109            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19110            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19111                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19112                source: err.into(),
19113            }),
19114        }
19115    }
19116}
19117impl From<crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError> for Error {
19118    fn from(err: crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError) -> Self {
19119        match err {
19120            crate::operation::replace_image_criteria_in_allowed_images_settings::ReplaceImageCriteriaInAllowedImagesSettingsError::Unhandled(
19121                inner,
19122            ) => Error::Unhandled(inner),
19123        }
19124    }
19125}
19126impl<R>
19127    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError, R>>
19128    for Error
19129where
19130    R: Send + Sync + std::fmt::Debug + 'static,
19131{
19132    fn from(
19133        err: ::aws_smithy_runtime_api::client::result::SdkError<
19134            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError,
19135            R,
19136        >,
19137    ) -> Self {
19138        match err {
19139            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19140            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19141                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19142                source: err.into(),
19143            }),
19144        }
19145    }
19146}
19147impl From<crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError> for Error {
19148    fn from(err: crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError) -> Self {
19149        match err {
19150            crate::operation::replace_network_acl_association::ReplaceNetworkAclAssociationError::Unhandled(inner) => Error::Unhandled(inner),
19151        }
19152    }
19153}
19154impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>>
19155    for Error
19156where
19157    R: Send + Sync + std::fmt::Debug + 'static,
19158{
19159    fn from(
19160        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError, R>,
19161    ) -> Self {
19162        match err {
19163            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19164            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19165                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19166                source: err.into(),
19167            }),
19168        }
19169    }
19170}
19171impl From<crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError> for Error {
19172    fn from(err: crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError) -> Self {
19173        match err {
19174            crate::operation::replace_network_acl_entry::ReplaceNetworkAclEntryError::Unhandled(inner) => Error::Unhandled(inner),
19175        }
19176    }
19177}
19178impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>> for Error
19179where
19180    R: Send + Sync + std::fmt::Debug + 'static,
19181{
19182    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route::ReplaceRouteError, R>) -> Self {
19183        match err {
19184            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19185            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19186                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19187                source: err.into(),
19188            }),
19189        }
19190    }
19191}
19192impl From<crate::operation::replace_route::ReplaceRouteError> for Error {
19193    fn from(err: crate::operation::replace_route::ReplaceRouteError) -> Self {
19194        match err {
19195            crate::operation::replace_route::ReplaceRouteError::Unhandled(inner) => Error::Unhandled(inner),
19196        }
19197    }
19198}
19199impl<R>
19200    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError, R>>
19201    for Error
19202where
19203    R: Send + Sync + std::fmt::Debug + 'static,
19204{
19205    fn from(
19206        err: ::aws_smithy_runtime_api::client::result::SdkError<
19207            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError,
19208            R,
19209        >,
19210    ) -> Self {
19211        match err {
19212            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19213            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19214                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19215                source: err.into(),
19216            }),
19217        }
19218    }
19219}
19220impl From<crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError> for Error {
19221    fn from(err: crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError) -> Self {
19222        match err {
19223            crate::operation::replace_route_table_association::ReplaceRouteTableAssociationError::Unhandled(inner) => Error::Unhandled(inner),
19224        }
19225    }
19226}
19227impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>>
19228    for Error
19229where
19230    R: Send + Sync + std::fmt::Debug + 'static,
19231{
19232    fn from(
19233        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError, R>,
19234    ) -> Self {
19235        match err {
19236            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19237            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19238                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19239                source: err.into(),
19240            }),
19241        }
19242    }
19243}
19244impl From<crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError> for Error {
19245    fn from(err: crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError) -> Self {
19246        match err {
19247            crate::operation::replace_transit_gateway_route::ReplaceTransitGatewayRouteError::Unhandled(inner) => Error::Unhandled(inner),
19248        }
19249    }
19250}
19251impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>> for Error
19252where
19253    R: Send + Sync + std::fmt::Debug + 'static,
19254{
19255    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError, R>) -> Self {
19256        match err {
19257            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19258            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19259                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19260                source: err.into(),
19261            }),
19262        }
19263    }
19264}
19265impl From<crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError> for Error {
19266    fn from(err: crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError) -> Self {
19267        match err {
19268            crate::operation::replace_vpn_tunnel::ReplaceVpnTunnelError::Unhandled(inner) => Error::Unhandled(inner),
19269        }
19270    }
19271}
19272impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>> for Error
19273where
19274    R: Send + Sync + std::fmt::Debug + 'static,
19275{
19276    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::report_instance_status::ReportInstanceStatusError, R>) -> Self {
19277        match err {
19278            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19279            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19280                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19281                source: err.into(),
19282            }),
19283        }
19284    }
19285}
19286impl From<crate::operation::report_instance_status::ReportInstanceStatusError> for Error {
19287    fn from(err: crate::operation::report_instance_status::ReportInstanceStatusError) -> Self {
19288        match err {
19289            crate::operation::report_instance_status::ReportInstanceStatusError::Unhandled(inner) => Error::Unhandled(inner),
19290        }
19291    }
19292}
19293impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>> for Error
19294where
19295    R: Send + Sync + std::fmt::Debug + 'static,
19296{
19297    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_fleet::RequestSpotFleetError, R>) -> Self {
19298        match err {
19299            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19300            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19301                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19302                source: err.into(),
19303            }),
19304        }
19305    }
19306}
19307impl From<crate::operation::request_spot_fleet::RequestSpotFleetError> for Error {
19308    fn from(err: crate::operation::request_spot_fleet::RequestSpotFleetError) -> Self {
19309        match err {
19310            crate::operation::request_spot_fleet::RequestSpotFleetError::Unhandled(inner) => Error::Unhandled(inner),
19311        }
19312    }
19313}
19314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>> for Error
19315where
19316    R: Send + Sync + std::fmt::Debug + 'static,
19317{
19318    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::request_spot_instances::RequestSpotInstancesError, R>) -> Self {
19319        match err {
19320            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19321            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19322                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19323                source: err.into(),
19324            }),
19325        }
19326    }
19327}
19328impl From<crate::operation::request_spot_instances::RequestSpotInstancesError> for Error {
19329    fn from(err: crate::operation::request_spot_instances::RequestSpotInstancesError) -> Self {
19330        match err {
19331            crate::operation::request_spot_instances::RequestSpotInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19332        }
19333    }
19334}
19335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>> for Error
19336where
19337    R: Send + Sync + std::fmt::Debug + 'static,
19338{
19339    fn from(
19340        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_address_attribute::ResetAddressAttributeError, R>,
19341    ) -> Self {
19342        match err {
19343            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19344            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19345                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19346                source: err.into(),
19347            }),
19348        }
19349    }
19350}
19351impl From<crate::operation::reset_address_attribute::ResetAddressAttributeError> for Error {
19352    fn from(err: crate::operation::reset_address_attribute::ResetAddressAttributeError) -> Self {
19353        match err {
19354            crate::operation::reset_address_attribute::ResetAddressAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19355        }
19356    }
19357}
19358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>>
19359    for Error
19360where
19361    R: Send + Sync + std::fmt::Debug + 'static,
19362{
19363    fn from(
19364        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError, R>,
19365    ) -> Self {
19366        match err {
19367            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19368            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19369                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19370                source: err.into(),
19371            }),
19372        }
19373    }
19374}
19375impl From<crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError> for Error {
19376    fn from(err: crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError) -> Self {
19377        match err {
19378            crate::operation::reset_ebs_default_kms_key_id::ResetEbsDefaultKmsKeyIdError::Unhandled(inner) => Error::Unhandled(inner),
19379        }
19380    }
19381}
19382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>>
19383    for Error
19384where
19385    R: Send + Sync + std::fmt::Debug + 'static,
19386{
19387    fn from(
19388        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError, R>,
19389    ) -> Self {
19390        match err {
19391            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19392            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19393                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19394                source: err.into(),
19395            }),
19396        }
19397    }
19398}
19399impl From<crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError> for Error {
19400    fn from(err: crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError) -> Self {
19401        match err {
19402            crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19403        }
19404    }
19405}
19406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>> for Error
19407where
19408    R: Send + Sync + std::fmt::Debug + 'static,
19409{
19410    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_image_attribute::ResetImageAttributeError, R>) -> Self {
19411        match err {
19412            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19413            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19414                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19415                source: err.into(),
19416            }),
19417        }
19418    }
19419}
19420impl From<crate::operation::reset_image_attribute::ResetImageAttributeError> for Error {
19421    fn from(err: crate::operation::reset_image_attribute::ResetImageAttributeError) -> Self {
19422        match err {
19423            crate::operation::reset_image_attribute::ResetImageAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19424        }
19425    }
19426}
19427impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>> for Error
19428where
19429    R: Send + Sync + std::fmt::Debug + 'static,
19430{
19431    fn from(
19432        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_instance_attribute::ResetInstanceAttributeError, R>,
19433    ) -> Self {
19434        match err {
19435            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19436            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19437                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19438                source: err.into(),
19439            }),
19440        }
19441    }
19442}
19443impl From<crate::operation::reset_instance_attribute::ResetInstanceAttributeError> for Error {
19444    fn from(err: crate::operation::reset_instance_attribute::ResetInstanceAttributeError) -> Self {
19445        match err {
19446            crate::operation::reset_instance_attribute::ResetInstanceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19447        }
19448    }
19449}
19450impl<R>
19451    From<
19452        ::aws_smithy_runtime_api::client::result::SdkError<
19453            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
19454            R,
19455        >,
19456    > for Error
19457where
19458    R: Send + Sync + std::fmt::Debug + 'static,
19459{
19460    fn from(
19461        err: ::aws_smithy_runtime_api::client::result::SdkError<
19462            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError,
19463            R,
19464        >,
19465    ) -> Self {
19466        match err {
19467            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19468            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19469                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19470                source: err.into(),
19471            }),
19472        }
19473    }
19474}
19475impl From<crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError> for Error {
19476    fn from(err: crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError) -> Self {
19477        match err {
19478            crate::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19479        }
19480    }
19481}
19482impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>> for Error
19483where
19484    R: Send + Sync + std::fmt::Debug + 'static,
19485{
19486    fn from(
19487        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError, R>,
19488    ) -> Self {
19489        match err {
19490            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19491            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19492                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19493                source: err.into(),
19494            }),
19495        }
19496    }
19497}
19498impl From<crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError> for Error {
19499    fn from(err: crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError) -> Self {
19500        match err {
19501            crate::operation::reset_snapshot_attribute::ResetSnapshotAttributeError::Unhandled(inner) => Error::Unhandled(inner),
19502        }
19503    }
19504}
19505impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>>
19506    for Error
19507where
19508    R: Send + Sync + std::fmt::Debug + 'static,
19509{
19510    fn from(
19511        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_address_to_classic::RestoreAddressToClassicError, R>,
19512    ) -> Self {
19513        match err {
19514            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19515            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19516                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19517                source: err.into(),
19518            }),
19519        }
19520    }
19521}
19522impl From<crate::operation::restore_address_to_classic::RestoreAddressToClassicError> for Error {
19523    fn from(err: crate::operation::restore_address_to_classic::RestoreAddressToClassicError) -> Self {
19524        match err {
19525            crate::operation::restore_address_to_classic::RestoreAddressToClassicError::Unhandled(inner) => Error::Unhandled(inner),
19526        }
19527    }
19528}
19529impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>>
19530    for Error
19531where
19532    R: Send + Sync + std::fmt::Debug + 'static,
19533{
19534    fn from(
19535        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError, R>,
19536    ) -> Self {
19537        match err {
19538            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19539            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19540                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19541                source: err.into(),
19542            }),
19543        }
19544    }
19545}
19546impl From<crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError> for Error {
19547    fn from(err: crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError) -> Self {
19548        match err {
19549            crate::operation::restore_image_from_recycle_bin::RestoreImageFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
19550        }
19551    }
19552}
19553impl<R>
19554    From<
19555        ::aws_smithy_runtime_api::client::result::SdkError<
19556            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
19557            R,
19558        >,
19559    > for Error
19560where
19561    R: Send + Sync + std::fmt::Debug + 'static,
19562{
19563    fn from(
19564        err: ::aws_smithy_runtime_api::client::result::SdkError<
19565            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError,
19566            R,
19567        >,
19568    ) -> Self {
19569        match err {
19570            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19571            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19572                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19573                source: err.into(),
19574            }),
19575        }
19576    }
19577}
19578impl From<crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError> for Error {
19579    fn from(err: crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError) -> Self {
19580        match err {
19581            crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError::Unhandled(inner) => Error::Unhandled(inner),
19582        }
19583    }
19584}
19585impl<R>
19586    From<
19587        ::aws_smithy_runtime_api::client::result::SdkError<
19588            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
19589            R,
19590        >,
19591    > for Error
19592where
19593    R: Send + Sync + std::fmt::Debug + 'static,
19594{
19595    fn from(
19596        err: ::aws_smithy_runtime_api::client::result::SdkError<
19597            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError,
19598            R,
19599        >,
19600    ) -> Self {
19601        match err {
19602            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19603            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19604                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19605                source: err.into(),
19606            }),
19607        }
19608    }
19609}
19610impl From<crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError> for Error {
19611    fn from(err: crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError) -> Self {
19612        match err {
19613            crate::operation::restore_snapshot_from_recycle_bin::RestoreSnapshotFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
19614        }
19615    }
19616}
19617impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>> for Error
19618where
19619    R: Send + Sync + std::fmt::Debug + 'static,
19620{
19621    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError, R>) -> Self {
19622        match err {
19623            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19624            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19625                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19626                source: err.into(),
19627            }),
19628        }
19629    }
19630}
19631impl From<crate::operation::restore_snapshot_tier::RestoreSnapshotTierError> for Error {
19632    fn from(err: crate::operation::restore_snapshot_tier::RestoreSnapshotTierError) -> Self {
19633        match err {
19634            crate::operation::restore_snapshot_tier::RestoreSnapshotTierError::Unhandled(inner) => Error::Unhandled(inner),
19635        }
19636    }
19637}
19638impl<R>
19639    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError, R>>
19640    for Error
19641where
19642    R: Send + Sync + std::fmt::Debug + 'static,
19643{
19644    fn from(
19645        err: ::aws_smithy_runtime_api::client::result::SdkError<
19646            crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError,
19647            R,
19648        >,
19649    ) -> Self {
19650        match err {
19651            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19652            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19653                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19654                source: err.into(),
19655            }),
19656        }
19657    }
19658}
19659impl From<crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError> for Error {
19660    fn from(err: crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError) -> Self {
19661        match err {
19662            crate::operation::restore_volume_from_recycle_bin::RestoreVolumeFromRecycleBinError::Unhandled(inner) => Error::Unhandled(inner),
19663        }
19664    }
19665}
19666impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>>
19667    for Error
19668where
19669    R: Send + Sync + std::fmt::Debug + 'static,
19670{
19671    fn from(
19672        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError, R>,
19673    ) -> Self {
19674        match err {
19675            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19676            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19677                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19678                source: err.into(),
19679            }),
19680        }
19681    }
19682}
19683impl From<crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError> for Error {
19684    fn from(err: crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError) -> Self {
19685        match err {
19686            crate::operation::revoke_client_vpn_ingress::RevokeClientVpnIngressError::Unhandled(inner) => Error::Unhandled(inner),
19687        }
19688    }
19689}
19690impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>>
19691    for Error
19692where
19693    R: Send + Sync + std::fmt::Debug + 'static,
19694{
19695    fn from(
19696        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError, R>,
19697    ) -> Self {
19698        match err {
19699            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19700            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19701                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19702                source: err.into(),
19703            }),
19704        }
19705    }
19706}
19707impl From<crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError> for Error {
19708    fn from(err: crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError) -> Self {
19709        match err {
19710            crate::operation::revoke_security_group_egress::RevokeSecurityGroupEgressError::Unhandled(inner) => Error::Unhandled(inner),
19711        }
19712    }
19713}
19714impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>>
19715    for Error
19716where
19717    R: Send + Sync + std::fmt::Debug + 'static,
19718{
19719    fn from(
19720        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError, R>,
19721    ) -> Self {
19722        match err {
19723            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19724            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19725                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19726                source: err.into(),
19727            }),
19728        }
19729    }
19730}
19731impl From<crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError> for Error {
19732    fn from(err: crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError) -> Self {
19733        match err {
19734            crate::operation::revoke_security_group_ingress::RevokeSecurityGroupIngressError::Unhandled(inner) => Error::Unhandled(inner),
19735        }
19736    }
19737}
19738impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>> for Error
19739where
19740    R: Send + Sync + std::fmt::Debug + 'static,
19741{
19742    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_instances::RunInstancesError, R>) -> Self {
19743        match err {
19744            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19745            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19746                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19747                source: err.into(),
19748            }),
19749        }
19750    }
19751}
19752impl From<crate::operation::run_instances::RunInstancesError> for Error {
19753    fn from(err: crate::operation::run_instances::RunInstancesError) -> Self {
19754        match err {
19755            crate::operation::run_instances::RunInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19756        }
19757    }
19758}
19759impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>> for Error
19760where
19761    R: Send + Sync + std::fmt::Debug + 'static,
19762{
19763    fn from(
19764        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_scheduled_instances::RunScheduledInstancesError, R>,
19765    ) -> Self {
19766        match err {
19767            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19768            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19769                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19770                source: err.into(),
19771            }),
19772        }
19773    }
19774}
19775impl From<crate::operation::run_scheduled_instances::RunScheduledInstancesError> for Error {
19776    fn from(err: crate::operation::run_scheduled_instances::RunScheduledInstancesError) -> Self {
19777        match err {
19778            crate::operation::run_scheduled_instances::RunScheduledInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19779        }
19780    }
19781}
19782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>>
19783    for Error
19784where
19785    R: Send + Sync + std::fmt::Debug + 'static,
19786{
19787    fn from(
19788        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError, R>,
19789    ) -> Self {
19790        match err {
19791            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19792            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19793                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19794                source: err.into(),
19795            }),
19796        }
19797    }
19798}
19799impl From<crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError> for Error {
19800    fn from(err: crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError) -> Self {
19801        match err {
19802            crate::operation::search_local_gateway_routes::SearchLocalGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
19803        }
19804    }
19805}
19806impl<R>
19807    From<
19808        ::aws_smithy_runtime_api::client::result::SdkError<
19809            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
19810            R,
19811        >,
19812    > for Error
19813where
19814    R: Send + Sync + std::fmt::Debug + 'static,
19815{
19816    fn from(
19817        err: ::aws_smithy_runtime_api::client::result::SdkError<
19818            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError,
19819            R,
19820        >,
19821    ) -> Self {
19822        match err {
19823            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19824            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19825                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19826                source: err.into(),
19827            }),
19828        }
19829    }
19830}
19831impl From<crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError> for Error {
19832    fn from(err: crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError) -> Self {
19833        match err {
19834            crate::operation::search_transit_gateway_multicast_groups::SearchTransitGatewayMulticastGroupsError::Unhandled(inner) => {
19835                Error::Unhandled(inner)
19836            }
19837        }
19838    }
19839}
19840impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>>
19841    for Error
19842where
19843    R: Send + Sync + std::fmt::Debug + 'static,
19844{
19845    fn from(
19846        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError, R>,
19847    ) -> Self {
19848        match err {
19849            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19850            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19851                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19852                source: err.into(),
19853            }),
19854        }
19855    }
19856}
19857impl From<crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError> for Error {
19858    fn from(err: crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError) -> Self {
19859        match err {
19860            crate::operation::search_transit_gateway_routes::SearchTransitGatewayRoutesError::Unhandled(inner) => Error::Unhandled(inner),
19861        }
19862    }
19863}
19864impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>>
19865    for Error
19866where
19867    R: Send + Sync + std::fmt::Debug + 'static,
19868{
19869    fn from(
19870        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError, R>,
19871    ) -> Self {
19872        match err {
19873            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19874            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19875                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19876                source: err.into(),
19877            }),
19878        }
19879    }
19880}
19881impl From<crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError> for Error {
19882    fn from(err: crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError) -> Self {
19883        match err {
19884            crate::operation::send_diagnostic_interrupt::SendDiagnosticInterruptError::Unhandled(inner) => Error::Unhandled(inner),
19885        }
19886    }
19887}
19888impl<R>
19889    From<
19890        ::aws_smithy_runtime_api::client::result::SdkError<
19891            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
19892            R,
19893        >,
19894    > for Error
19895where
19896    R: Send + Sync + std::fmt::Debug + 'static,
19897{
19898    fn from(
19899        err: ::aws_smithy_runtime_api::client::result::SdkError<
19900            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError,
19901            R,
19902        >,
19903    ) -> Self {
19904        match err {
19905            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19906            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19907                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19908                source: err.into(),
19909            }),
19910        }
19911    }
19912}
19913impl From<crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError> for Error {
19914    fn from(err: crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError) -> Self {
19915        match err {
19916            crate::operation::start_declarative_policies_report::StartDeclarativePoliciesReportError::Unhandled(inner) => Error::Unhandled(inner),
19917        }
19918    }
19919}
19920impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>> for Error
19921where
19922    R: Send + Sync + std::fmt::Debug + 'static,
19923{
19924    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_instances::StartInstancesError, R>) -> Self {
19925        match err {
19926            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19927            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19928                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19929                source: err.into(),
19930            }),
19931        }
19932    }
19933}
19934impl From<crate::operation::start_instances::StartInstancesError> for Error {
19935    fn from(err: crate::operation::start_instances::StartInstancesError) -> Self {
19936        match err {
19937            crate::operation::start_instances::StartInstancesError::Unhandled(inner) => Error::Unhandled(inner),
19938        }
19939    }
19940}
19941impl<R>
19942    From<
19943        ::aws_smithy_runtime_api::client::result::SdkError<
19944            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
19945            R,
19946        >,
19947    > for Error
19948where
19949    R: Send + Sync + std::fmt::Debug + 'static,
19950{
19951    fn from(
19952        err: ::aws_smithy_runtime_api::client::result::SdkError<
19953            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
19954            R,
19955        >,
19956    ) -> Self {
19957        match err {
19958            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19959            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19960                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19961                source: err.into(),
19962            }),
19963        }
19964    }
19965}
19966impl From<crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError> for Error {
19967    fn from(err: crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError) -> Self {
19968        match err {
19969            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError::Unhandled(inner) => {
19970                Error::Unhandled(inner)
19971            }
19972        }
19973    }
19974}
19975impl<R>
19976    From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError, R>>
19977    for Error
19978where
19979    R: Send + Sync + std::fmt::Debug + 'static,
19980{
19981    fn from(
19982        err: ::aws_smithy_runtime_api::client::result::SdkError<
19983            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError,
19984            R,
19985        >,
19986    ) -> Self {
19987        match err {
19988            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
19989            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
19990                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
19991                source: err.into(),
19992            }),
19993        }
19994    }
19995}
19996impl From<crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError> for Error {
19997    fn from(err: crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError) -> Self {
19998        match err {
19999            crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError::Unhandled(inner) => Error::Unhandled(inner),
20000        }
20001    }
20002}
20003impl<R>
20004    From<
20005        ::aws_smithy_runtime_api::client::result::SdkError<
20006            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
20007            R,
20008        >,
20009    > for Error
20010where
20011    R: Send + Sync + std::fmt::Debug + 'static,
20012{
20013    fn from(
20014        err: ::aws_smithy_runtime_api::client::result::SdkError<
20015            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
20016            R,
20017        >,
20018    ) -> Self {
20019        match err {
20020            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20021            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20022                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20023                source: err.into(),
20024            }),
20025        }
20026    }
20027}
20028impl From<crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError> for Error {
20029    fn from(err: crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError) -> Self {
20030        match err {
20031            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError::Unhandled(
20032                inner,
20033            ) => Error::Unhandled(inner),
20034        }
20035    }
20036}
20037impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>> for Error
20038where
20039    R: Send + Sync + std::fmt::Debug + 'static,
20040{
20041    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_instances::StopInstancesError, R>) -> Self {
20042        match err {
20043            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20044            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20045                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20046                source: err.into(),
20047            }),
20048        }
20049    }
20050}
20051impl From<crate::operation::stop_instances::StopInstancesError> for Error {
20052    fn from(err: crate::operation::stop_instances::StopInstancesError) -> Self {
20053        match err {
20054            crate::operation::stop_instances::StopInstancesError::Unhandled(inner) => Error::Unhandled(inner),
20055        }
20056    }
20057}
20058impl<R>
20059    From<
20060        ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError, R>,
20061    > for Error
20062where
20063    R: Send + Sync + std::fmt::Debug + 'static,
20064{
20065    fn from(
20066        err: ::aws_smithy_runtime_api::client::result::SdkError<
20067            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError,
20068            R,
20069        >,
20070    ) -> Self {
20071        match err {
20072            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20073            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20074                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20075                source: err.into(),
20076            }),
20077        }
20078    }
20079}
20080impl From<crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError> for Error {
20081    fn from(err: crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError) -> Self {
20082        match err {
20083            crate::operation::terminate_client_vpn_connections::TerminateClientVpnConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
20084        }
20085    }
20086}
20087impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>> for Error
20088where
20089    R: Send + Sync + std::fmt::Debug + 'static,
20090{
20091    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::terminate_instances::TerminateInstancesError, R>) -> Self {
20092        match err {
20093            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20094            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20095                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20096                source: err.into(),
20097            }),
20098        }
20099    }
20100}
20101impl From<crate::operation::terminate_instances::TerminateInstancesError> for Error {
20102    fn from(err: crate::operation::terminate_instances::TerminateInstancesError) -> Self {
20103        match err {
20104            crate::operation::terminate_instances::TerminateInstancesError::Unhandled(inner) => Error::Unhandled(inner),
20105        }
20106    }
20107}
20108impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>> for Error
20109where
20110    R: Send + Sync + std::fmt::Debug + 'static,
20111{
20112    fn from(
20113        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError, R>,
20114    ) -> Self {
20115        match err {
20116            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20117            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20118                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20119                source: err.into(),
20120            }),
20121        }
20122    }
20123}
20124impl From<crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError> for Error {
20125    fn from(err: crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError) -> Self {
20126        match err {
20127            crate::operation::unassign_ipv6_addresses::UnassignIpv6AddressesError::Unhandled(inner) => Error::Unhandled(inner),
20128        }
20129    }
20130}
20131impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>>
20132    for Error
20133where
20134    R: Send + Sync + std::fmt::Debug + 'static,
20135{
20136    fn from(
20137        err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError, R>,
20138    ) -> Self {
20139        match err {
20140            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20141            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20142                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20143                source: err.into(),
20144            }),
20145        }
20146    }
20147}
20148impl From<crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError> for Error {
20149    fn from(err: crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError) -> Self {
20150        match err {
20151            crate::operation::unassign_private_ip_addresses::UnassignPrivateIpAddressesError::Unhandled(inner) => Error::Unhandled(inner),
20152        }
20153    }
20154}
20155impl<R>
20156    From<
20157        ::aws_smithy_runtime_api::client::result::SdkError<
20158            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
20159            R,
20160        >,
20161    > for Error
20162where
20163    R: Send + Sync + std::fmt::Debug + 'static,
20164{
20165    fn from(
20166        err: ::aws_smithy_runtime_api::client::result::SdkError<
20167            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
20168            R,
20169        >,
20170    ) -> Self {
20171        match err {
20172            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20173            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20174                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20175                source: err.into(),
20176            }),
20177        }
20178    }
20179}
20180impl From<crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError> for Error {
20181    fn from(err: crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError) -> Self {
20182        match err {
20183            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError::Unhandled(inner) => {
20184                Error::Unhandled(inner)
20185            }
20186        }
20187    }
20188}
20189impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>> for Error
20190where
20191    R: Send + Sync + std::fmt::Debug + 'static,
20192{
20193    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unlock_snapshot::UnlockSnapshotError, R>) -> Self {
20194        match err {
20195            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20196            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20197                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20198                source: err.into(),
20199            }),
20200        }
20201    }
20202}
20203impl From<crate::operation::unlock_snapshot::UnlockSnapshotError> for Error {
20204    fn from(err: crate::operation::unlock_snapshot::UnlockSnapshotError) -> Self {
20205        match err {
20206            crate::operation::unlock_snapshot::UnlockSnapshotError::Unhandled(inner) => Error::Unhandled(inner),
20207        }
20208    }
20209}
20210impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>> for Error
20211where
20212    R: Send + Sync + std::fmt::Debug + 'static,
20213{
20214    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::unmonitor_instances::UnmonitorInstancesError, R>) -> Self {
20215        match err {
20216            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20217            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20218                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20219                source: err.into(),
20220            }),
20221        }
20222    }
20223}
20224impl From<crate::operation::unmonitor_instances::UnmonitorInstancesError> for Error {
20225    fn from(err: crate::operation::unmonitor_instances::UnmonitorInstancesError) -> Self {
20226        match err {
20227            crate::operation::unmonitor_instances::UnmonitorInstancesError::Unhandled(inner) => Error::Unhandled(inner),
20228        }
20229    }
20230}
20231impl<R>
20232    From<
20233        ::aws_smithy_runtime_api::client::result::SdkError<
20234            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
20235            R,
20236        >,
20237    > for Error
20238where
20239    R: Send + Sync + std::fmt::Debug + 'static,
20240{
20241    fn from(
20242        err: ::aws_smithy_runtime_api::client::result::SdkError<
20243            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError,
20244            R,
20245        >,
20246    ) -> Self {
20247        match err {
20248            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20249            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20250                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20251                source: err.into(),
20252            }),
20253        }
20254    }
20255}
20256impl From<crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError> for Error {
20257    fn from(err: crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError) -> Self {
20258        match err {
20259            crate::operation::update_capacity_manager_organizations_access::UpdateCapacityManagerOrganizationsAccessError::Unhandled(inner) => {
20260                Error::Unhandled(inner)
20261            }
20262        }
20263    }
20264}
20265impl<R>
20266    From<
20267        ::aws_smithy_runtime_api::client::result::SdkError<
20268            crate::operation::update_interruptible_capacity_reservation_allocation::UpdateInterruptibleCapacityReservationAllocationError,
20269            R,
20270        >,
20271    > for Error
20272where
20273    R: Send + Sync + std::fmt::Debug + 'static,
20274{
20275    fn from(
20276        err: ::aws_smithy_runtime_api::client::result::SdkError<
20277            crate::operation::update_interruptible_capacity_reservation_allocation::UpdateInterruptibleCapacityReservationAllocationError,
20278            R,
20279        >,
20280    ) -> Self {
20281        match err {
20282            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20283            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20284                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20285                source: err.into(),
20286            }),
20287        }
20288    }
20289}
20290impl From<crate::operation::update_interruptible_capacity_reservation_allocation::UpdateInterruptibleCapacityReservationAllocationError> for Error {
20291    fn from(
20292        err: crate::operation::update_interruptible_capacity_reservation_allocation::UpdateInterruptibleCapacityReservationAllocationError,
20293    ) -> Self {
20294        match err {
20295            crate::operation::update_interruptible_capacity_reservation_allocation::UpdateInterruptibleCapacityReservationAllocationError::Unhandled(inner) => Error::Unhandled(inner),
20296        }
20297    }
20298}
20299impl<R>
20300    From<
20301        ::aws_smithy_runtime_api::client::result::SdkError<
20302            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
20303            R,
20304        >,
20305    > for Error
20306where
20307    R: Send + Sync + std::fmt::Debug + 'static,
20308{
20309    fn from(
20310        err: ::aws_smithy_runtime_api::client::result::SdkError<
20311            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
20312            R,
20313        >,
20314    ) -> Self {
20315        match err {
20316            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20317            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20318                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20319                source: err.into(),
20320            }),
20321        }
20322    }
20323}
20324impl From<crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError> for Error {
20325    fn from(err: crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError) -> Self {
20326        match err {
20327            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError::Unhandled(inner) => {
20328                Error::Unhandled(inner)
20329            }
20330        }
20331    }
20332}
20333impl<R>
20334    From<
20335        ::aws_smithy_runtime_api::client::result::SdkError<
20336            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
20337            R,
20338        >,
20339    > for Error
20340where
20341    R: Send + Sync + std::fmt::Debug + 'static,
20342{
20343    fn from(
20344        err: ::aws_smithy_runtime_api::client::result::SdkError<
20345            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
20346            R,
20347        >,
20348    ) -> Self {
20349        match err {
20350            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20351            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20352                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20353                source: err.into(),
20354            }),
20355        }
20356    }
20357}
20358impl From<crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError> for Error {
20359    fn from(err: crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError) -> Self {
20360        match err {
20361            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError::Unhandled(inner) => {
20362                Error::Unhandled(inner)
20363            }
20364        }
20365    }
20366}
20367impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>> for Error
20368where
20369    R: Send + Sync + std::fmt::Debug + 'static,
20370{
20371    fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError, R>) -> Self {
20372        match err {
20373            ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
20374            _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20375                meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
20376                source: err.into(),
20377            }),
20378        }
20379    }
20380}
20381impl From<crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError> for Error {
20382    fn from(err: crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError) -> Self {
20383        match err {
20384            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError::Unhandled(inner) => Error::Unhandled(inner),
20385        }
20386    }
20387}
20388impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
20389where
20390    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
20391    E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
20392{
20393    fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
20394        Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
20395            meta: ::std::default::Default::default(),
20396            source: err.into(),
20397        })
20398    }
20399}
20400impl ::std::error::Error for Error {
20401    fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
20402        match self {
20403            Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
20404        }
20405    }
20406}
20407impl ::aws_types::request_id::RequestId for Error {
20408    fn request_id(&self) -> Option<&str> {
20409        match self {
20410            Self::Unhandled(e) => e.meta.request_id(),
20411        }
20412    }
20413}